|
109 | 109 | "release:publish": "pnpm release:prepare && npm publish --ignore-scripts .tmp/release/*.tgz", |
110 | 110 | "ad": "node bin/agent-device.mjs", |
111 | 111 | "bench:help-conformance": "node scripts/help-conformance-bench.mjs", |
112 | | - "maestro:conformance": "node --experimental-strip-types --test packages/maestro/test/conformance/verify.test.ts packages/maestro/test/conformance/differential/run.test.ts packages/maestro/test/conformance/differential/invariants.test.ts", |
| 112 | + "maestro:conformance": "node --experimental-strip-types scripts/node-test-tmpdir.ts --experimental-strip-types --test packages/maestro/test/conformance/verify.test.ts packages/maestro/test/conformance/differential/run.test.ts packages/maestro/test/conformance/differential/invariants.test.ts", |
113 | 113 | "maestro:conformance:regenerate": "node --experimental-strip-types scripts/maestro-conformance/regenerate.mjs", |
114 | 114 | "maestro:conformance:differential": "node --experimental-strip-types packages/maestro/test/conformance/differential/run.ts", |
115 | 115 | "size": "node scripts/size-report.mjs", |
|
118 | 118 | "mutation:baseline": "node --experimental-strip-types scripts/mutation/run.ts --update", |
119 | 119 | "mutation:check": "node --experimental-strip-types scripts/mutation/run.ts --no-run", |
120 | 120 | "mutation:affected": "node --experimental-strip-types scripts/mutation/run.ts --affected", |
121 | | - "mutation:test": "node --experimental-strip-types --test scripts/mutation/*.test.ts", |
| 121 | + "mutation:test": "node --experimental-strip-types scripts/node-test-tmpdir.ts --experimental-strip-types --test scripts/mutation/*.test.ts", |
122 | 122 | "lint": "oxlint . --deny-warnings", |
123 | 123 | "format": "node ./node_modules/oxfmt/bin/oxfmt --write", |
124 | 124 | "format:check": "node ./node_modules/oxfmt/bin/oxfmt --check", |
|
127 | 127 | "fallow:baseline": "fallow dead-code --save-baseline fallow-baselines/dead-code.json --summary && fallow health --report-only --save-baseline fallow-baselines/health.json --summary", |
128 | 128 | "check:fallow": "fallow audit", |
129 | 129 | "check:affected": "node --experimental-strip-types scripts/check-affected/run.ts", |
130 | | - "check:affected:test": "node --experimental-strip-types --test scripts/check-affected/model.test.ts scripts/check-affected/run.test.ts", |
| 130 | + "check:affected:test": "node --experimental-strip-types scripts/node-test-tmpdir.ts --experimental-strip-types --test scripts/check-affected/model.test.ts scripts/check-affected/run.test.ts", |
131 | 131 | "check:coverage-changed": "node --experimental-strip-types scripts/coverage-changed/run.ts", |
132 | | - "check:coverage-changed:test": "node --experimental-strip-types --test scripts/coverage-changed/model.test.ts scripts/coverage-changed/run.test.ts", |
133 | | - "check:layering": "node --experimental-strip-types --test scripts/layering/model.test.ts scripts/layering/zone-policy.test.ts scripts/layering/daemon-modularity.test.ts scripts/layering/package-boundaries.test.ts scripts/layering/facade-exports.test.ts scripts/layering/bin-alias-fast-path.test.ts && node --experimental-strip-types scripts/layering/check.ts", |
| 132 | + "check:coverage-changed:test": "node --experimental-strip-types scripts/node-test-tmpdir.ts --experimental-strip-types --test scripts/coverage-changed/model.test.ts scripts/coverage-changed/run.test.ts", |
| 133 | + "check:layering": "node --experimental-strip-types scripts/node-test-tmpdir.ts --experimental-strip-types --test scripts/layering/model.test.ts scripts/layering/zone-policy.test.ts scripts/layering/daemon-modularity.test.ts scripts/layering/package-boundaries.test.ts scripts/layering/facade-exports.test.ts scripts/layering/bin-alias-fast-path.test.ts && node --experimental-strip-types scripts/layering/check.ts", |
134 | 134 | "depgraph": "node --experimental-strip-types scripts/depgraph/build.ts", |
135 | | - "depgraph:test": "node --experimental-strip-types --test scripts/depgraph/model.test.ts scripts/depgraph/affected.test.ts", |
| 135 | + "depgraph:test": "node --experimental-strip-types scripts/node-test-tmpdir.ts --experimental-strip-types --test scripts/depgraph/model.test.ts scripts/depgraph/affected.test.ts", |
136 | 136 | "check:production-exports": "fallow dead-code --config fallow-production-exports.json --production --unused-exports --fail-on-issues", |
137 | 137 | "check:bundle-owner-files": "node --experimental-strip-types scripts/check-bundle-owner-files.ts", |
138 | 138 | "check:package": "node --experimental-strip-types scripts/check-package.ts", |
139 | 139 | "check:command-docs": "vitest run --project unit-core src/__tests__/command-doc-coverage.test.ts", |
140 | 140 | "check:replay-compat": "node --experimental-strip-types scripts/check-replay-compat-provenance.ts", |
141 | 141 | "check:tmpdir-leaks": "node --experimental-strip-types scripts/check-tmpdir-leaks.ts", |
142 | | - "check:tmpdir-leaks:test": "node --experimental-strip-types --test scripts/check-tmpdir-leaks-model.test.ts scripts/vitest-tmpdir-global-setup.test.ts", |
| 142 | + "check:tmpdir-leaks:test": "node --experimental-strip-types scripts/node-test-tmpdir.ts --experimental-strip-types --test scripts/check-tmpdir-leaks-model.test.ts scripts/vitest-tmpdir-global-setup.test.ts scripts/node-test-tmpdir.test.ts", |
143 | 143 | "check:freerange": "fr", |
144 | 144 | "check:quick": "pnpm lint && pnpm typecheck", |
145 | 145 | "sync:mcp-metadata": "node scripts/sync-mcp-metadata.mjs", |
|
165 | 165 | "test:maestro-compat": "vitest run --project unit-core packages/maestro src/daemon/adapters/maestro src/compat/__tests__/replay-input.test.ts", |
166 | 166 | "test:coverage": "vitest run --coverage", |
167 | 167 | "test:coverage:ci": "node --experimental-strip-types scripts/lib/contention-retry-run.ts --coverage", |
168 | | - "check:contention-retry": "node --experimental-strip-types --test scripts/lib/contention-retry-policy.test.ts", |
| 168 | + "check:contention-retry": "node --experimental-strip-types scripts/node-test-tmpdir.ts --experimental-strip-types --test scripts/lib/contention-retry-policy.test.ts", |
169 | 169 | "test:integration:provider": "vitest run --project provider-integration", |
170 | 170 | "test:integration:progress": "node --experimental-strip-types scripts/integration-progress.ts", |
171 | 171 | "test:integration:progress:check": "node --experimental-strip-types scripts/integration-progress.ts --check", |
172 | | - "test:fixture-cache": "node --test test/ci/trusted-fixture-artifact.test.mjs", |
| 172 | + "test:fixture-cache": "node --experimental-strip-types scripts/node-test-tmpdir.ts --test test/ci/trusted-fixture-artifact.test.mjs", |
173 | 173 | "test:output-economy": "vitest run --project output-economy", |
174 | | - "test:smoke:web": "pnpm build && node --test test/integration/smoke-web-platform.test.ts", |
175 | | - "test:smoke": "node --test test/integration/smoke-*.test.ts", |
176 | | - "test:integration:node": "node --test test/integration/*.test.ts", |
| 174 | + "test:smoke:web": "pnpm build && node --experimental-strip-types scripts/node-test-tmpdir.ts --test test/integration/smoke-web-platform.test.ts", |
| 175 | + "test:smoke": "node --experimental-strip-types scripts/node-test-tmpdir.ts --test test/integration/smoke-*.test.ts", |
| 176 | + "test:integration:node": "node --experimental-strip-types scripts/node-test-tmpdir.ts --test test/integration/*.test.ts", |
177 | 177 | "test:integration": "pnpm test:integration:node && pnpm test:integration:provider", |
178 | | - "test:concurrency-torture": "node --test test/integration/nightly/concurrency-torture.test.ts", |
| 178 | + "test:concurrency-torture": "node --experimental-strip-types scripts/node-test-tmpdir.ts --test test/integration/nightly/concurrency-torture.test.ts", |
179 | 179 | "test:replay:ios": "node --experimental-strip-types src/bin.ts test test/integration/replays/ios/simulator", |
180 | 180 | "test:replay:ios-device": "node --experimental-strip-types src/bin.ts test test/integration/replays/ios/device", |
181 | 181 | "test:replay:android": "node --experimental-strip-types src/bin.ts test test/integration/replays/android", |
|
0 commit comments