Browse Source

remove: ngcc option check from the publish script

pull/23422/head
sumeyye 6 months ago
parent
commit
913578e3f7
  1. 9
      npm/ng-packs/scripts/publish.ts

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

@ -47,7 +47,7 @@ program.parse(process.argv);
if (program.preview) await replaceWithPreview(program.nextVersion);
await execa('yarn', ['build', '--noInstall', '--skipNgcc'], { stdout: 'inherit' });
await execa('yarn', ['build', '--noInstall'], { stdout: 'inherit' });
await execa('yarn', ['build:schematics'], { stdout: 'inherit' });
} catch (error) {
console.error(error.stderr);
@ -98,12 +98,7 @@ program.parse(process.argv);
})();
async function updateVersion(version: string) {
await execa(
'yarn',
['update-version', version],
{ stdout: 'inherit', cwd: '../' },
);
await execa('yarn', ['update-version', version], { stdout: 'inherit', cwd: '../' });
await execa('yarn', ['replace-with-tilde']);
}

Loading…
Cancel
Save