agent-ide 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-ide",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "程式碼智能工具集 for AI Agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/shared/index.js",
|
|
@@ -12,10 +12,13 @@
|
|
|
12
12
|
"build": "tsc && tsc-alias && npm run postbuild",
|
|
13
13
|
"postbuild": "mkdir -p dist/plugins/swift/swift-bridge && cp src/plugins/swift/swift-bridge/swift-parser dist/plugins/swift/swift-bridge/ 2>/dev/null || true",
|
|
14
14
|
"pretest": "bash scripts/cleanup-vitest.sh",
|
|
15
|
-
"test": "
|
|
16
|
-
"test:
|
|
17
|
-
"test:
|
|
18
|
-
"test:
|
|
15
|
+
"test": "pnpm test:e2e && pnpm test:unit",
|
|
16
|
+
"test:e2e": "NODE_OPTIONS='--expose-gc --max-old-space-size=4096' npx vitest run --config vitest.config.e2e.ts --coverage",
|
|
17
|
+
"test:unit": "NODE_OPTIONS='--expose-gc --max-old-space-size=2048' npx vitest run --config vitest.config.unit.ts --coverage",
|
|
18
|
+
"test:e2e:watch": "NODE_OPTIONS='--expose-gc --max-old-space-size=4096' npx vitest --watch --config vitest.config.e2e.ts",
|
|
19
|
+
"test:unit:watch": "NODE_OPTIONS='--expose-gc --max-old-space-size=2048' npx vitest --watch --config vitest.config.unit.ts",
|
|
20
|
+
"test:e2e:bail": "NODE_OPTIONS='--expose-gc --max-old-space-size=4096' npx vitest run --config vitest.config.e2e.ts --bail=1",
|
|
21
|
+
"test:unit:bail": "NODE_OPTIONS='--expose-gc --max-old-space-size=2048' npx vitest run --config vitest.config.unit.ts --bail=1",
|
|
19
22
|
"typecheck": "tsc --noEmit",
|
|
20
23
|
"lint": "eslint 'src/**/*.ts' 'tests/**/*.{ts,js}' --fix",
|
|
21
24
|
"review:test": "codex \"review 所有測試 code, 把修改建議更新到 review.md\""
|