Browse Source

Merge pull request #24032 from abpframework/auto-merge/rel-10-0/4071

Merge branch dev with rel-10.0
pull/24033/head
Ma Liming 4 months ago
committed by GitHub
parent
commit
5c2d44eee6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 17
      npm/ng-packs/scripts/publish.ts

17
npm/ng-packs/scripts/publish.ts

@ -47,7 +47,22 @@ program.parse(process.argv);
if (program.preview) await replaceWithPreview(program.nextVersion);
await execa('yarn', ['build', '--noInstall'], { stdout: 'inherit' });
const parallel = process.env.NX_PARALLEL || '2';
await execa(
'yarn',
[
'nx',
'run-many',
'--target=build',
'--all',
'--exclude=dev-app,schematics',
'--prod',
'--parallel',
String(parallel),
],
{ stdout: 'inherit', cwd: '../' },
);
await execa('yarn', ['build:schematics'], { stdout: 'inherit' });
} catch (error) {
console.error(error.stderr);

Loading…
Cancel
Save