Skip to content

Commit 28c5360

Browse files
committed
test(app): fix build script
1 parent 9e6ba0d commit 28c5360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build-app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const cleanup = directory => new Promise(resolve => require('rimraf')(directory,
2424
async function build(cliTag = 'latest') {
2525
const projectName = (Number.isInteger(+cliTag[0]) ? `ng${cliTag}` : cliTag).replace(/\./, '');
2626
const projectPath = join(integrationsPath, projectName);
27-
const ngNewCmd = `ng new ${projectName} --strict --style=scss --skip-install --skip-git --routing --standalone=false`;
28-
const buildCmd = 'ng build --configuration production';
27+
const ngNewCmd = `npx ng new ${projectName} --strict --style=scss --skip-install --skip-git --routing --standalone=false`;
28+
const buildCmd = 'npx ng build --configuration production';
2929

3030
console.info(`- Angular CLI tag: ${cliTag}`);
3131
console.info(`- Project path: ${projectPath}`);

0 commit comments

Comments
 (0)