From 913578e3f7b926d8022d09fdccaccba7f21e4d5b Mon Sep 17 00:00:00 2001 From: sumeyye Date: Thu, 31 Jul 2025 09:57:23 +0300 Subject: [PATCH] remove: ngcc option check from the publish script --- npm/ng-packs/scripts/publish.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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']); }