diff --git a/npm/ng-packs/scripts/publish.ts b/npm/ng-packs/scripts/publish.ts index 56778c5a41..cedfcf3c44 100644 --- a/npm/ng-packs/scripts/publish.ts +++ b/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']); }