File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ async function initNestApp() {
22
22
// out so badly that they can't clean up.
23
23
await deleteNestApp ( )
24
24
}
25
- await exec ( 'npx nest new --package-manager npm --skip-git test-app' )
25
+ // skip install of deps because we will install them later to force peer dep failures on nest 10.x
26
+ await exec ( 'npx nest new --package-manager npm --skip-git --skip-install test-app' )
27
+ // on versions of nest 10.x peer dep issues exist, ignore them and force install
28
+ await exec ( 'npm install --prefix test-app --force' , { cwd : __dirname } )
26
29
// We patch the default Nest app with some of our own functions.
27
30
for ( const fname of [ 'main.ts' , 'app.controller.ts' ] ) {
28
31
await fsPromises . copyFile ( `${ PATCH_DIR } /${ fname } ` , `${ APP_DIR } /src/${ fname } ` )
You can’t perform that action at this time.
0 commit comments