build: 添加 cross-env 依赖并更新单元测试脚本

在 package.json 和 pnpm-lock.yaml 中添加 cross-env 依赖,用于在单元测试时设置 NODE_ENV=unittest 环境变量。同时更新 AGENTS.md 文档说明单元测试环境要求。
This commit is contained in:
xiaojunnuo
2026-05-10 17:06:00 +08:00
parent 4755216505
commit 923676c7d5
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -36,6 +36,9 @@ importers:
axios:
specifier: ^1.9.0
version: 1.9.0(debug@4.4.3)
cross-env:
specifier: ^7.0.3
version: 7.0.3
medium-zoom:
specifier: ^1.1.0
version: 1.1.0