Commit 3c46252
committed
refactor(test): remove dotenvx and npm-run-all2 dependencies
- Replace dotenvx with direct env variable setting in test runner
- Run vitest directly instead of wrapping with dotenvx process
- Remove unused npm-run-all2 dependency
- Update pre-commit hook to use inline env vars
- Add NODE_COMPILE_CACHE and NODE_ENV to test environment
- Improves test startup time by eliminating wrapper process
All env vars from .env.test now set directly in spawnOptions.env1 parent 4a2c1d5 commit 3c46252
File tree
4 files changed
+13
-194
lines changed- .husky
- scripts
4 files changed
+13
-194
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
112 | | - | |
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
| |||
0 commit comments