Commit 6cdc424
authored
fix(build-system-tests): pass --no-gitInit & --packageManager to nuxi init for CI (#7029)
* fix(build-system-tests): pass --no-gitInit to nuxi init for CI
nuxi >=3.36 now requires an explicit --gitInit/--no-gitInit argument when
run in a non-interactive terminal. The hourly Build System Test Canary
(vue/nuxt latest) job pins nuxi@latest, so the new CLI broke 'nuxi init'
with:
Non-interactive terminal detected. Missing required argument: --gitInit
Process completed with exit code 2
The mega-app is throwaway and needs no git repo, so pass --no-gitInit.
Fixes the Github Build System Test Failure alarm (V2257625415).
* fix(build-system-tests): also pass --packageManager=npm to nuxi init
nuxi >=3.36 requires BOTH --gitInit and --packageManager as explicit flags
in a non-interactive terminal. --no-gitInit alone advances to a second
failure: 'Missing required argument: --packageManager'. Verified locally
that 'nuxi init -t v4 --no-gitInit --packageManager=npm' exits 0 and
scaffolds the project. build-system-tests is npm-based throughout.1 parent 091c4cf commit 6cdc424
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| |||
0 commit comments