From 4b0894eba76ab4873b9e4688b42e6a4b931bd4ec Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Wed, 5 Aug 2020 16:52:47 +0300 Subject: [PATCH] chore: replace npm with yarn command --- npm/ng-packs/scripts/publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/ng-packs/scripts/publish.ts b/npm/ng-packs/scripts/publish.ts index 99f38733a2..1514d229fc 100644 --- a/npm/ng-packs/scripts/publish.ts +++ b/npm/ng-packs/scripts/publish.ts @@ -27,7 +27,7 @@ const publish = async () => { try { await fse.remove('../dist'); - await execa('npm', ['install'], { stdout: 'inherit', cwd: '../' }); + await execa('yarn', ['install', '--ignore-scripts'], { stdout: 'inherit', cwd: '../' }); await fse.rename('../lerna.version.json', '../lerna.json');