We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dcdcbc1 + 0883673 commit fe1d571Copy full SHA for fe1d571
npm/ng-packs/scripts/publish.ts
@@ -47,7 +47,22 @@ program.parse(process.argv);
47
48
if (program.preview) await replaceWithPreview(program.nextVersion);
49
50
- await execa('yarn', ['build', '--noInstall'], { stdout: 'inherit' });
+ const parallel = process.env.NX_PARALLEL || '2';
51
+ await execa(
52
+ 'yarn',
53
+ [
54
+ 'nx',
55
+ 'run-many',
56
+ '--target=build',
57
+ '--all',
58
+ '--exclude=dev-app,schematics',
59
+ '--prod',
60
+ '--parallel',
61
+ String(parallel),
62
+ ],
63
+ { stdout: 'inherit', cwd: '../' },
64
+ );
65
+
66
await execa('yarn', ['build:schematics'], { stdout: 'inherit' });
67
} catch (error) {
68
console.error(error.stderr);
0 commit comments