From 14f8089c5c5b31244f8499613ec54fea6bf3c7ad Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Fri, 21 Aug 2020 16:16:24 +0300 Subject: [PATCH] ci: add schematics publish command to publish script --- npm/ng-packs/scripts/publish.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/npm/ng-packs/scripts/publish.ts b/npm/ng-packs/scripts/publish.ts index e76af16601..b8da3637db 100644 --- a/npm/ng-packs/scripts/publish.ts +++ b/npm/ng-packs/scripts/publish.ts @@ -53,7 +53,9 @@ const publish = async () => { if (program.preview) await replaceWithPreview(program.nextVersion); - await execa('yarn', ['build', '--noInstall'], { stdout: 'inherit' }); + await execa('yarn', ['build', '--noInstall', '--skipNgcc'], { stdout: 'inherit' }); + + await execa('yarn', ['build:schematics'], { stdout: 'inherit' }); await fse.rename('../lerna.publish.json', '../lerna.json');