Browse Source

ci: add install command to build-schematics script

pull/5141/head
mehmet-erim 6 years ago
parent
commit
be10b9b9f8
  1. 5
      npm/ng-packs/scripts/build-schematics.ts

5
npm/ng-packs/scripts/build-schematics.ts

@ -48,6 +48,11 @@ async function* copyPackageFiles(packageName: string) {
(async () => { (async () => {
await fse.remove(`../dist/${PACKAGE_TO_BUILD}`); await fse.remove(`../dist/${PACKAGE_TO_BUILD}`);
await execa('yarn', ['install', '--ignore-scripts'], {
stdout: 'inherit',
cwd: `../packages/${PACKAGE_TO_BUILD}`,
});
await execa( await execa(
'tsc', 'tsc',
['-p', `packages/${PACKAGE_TO_BUILD}/tsconfig.json`, '--outDir', `dist/${PACKAGE_TO_BUILD}`], ['-p', `packages/${PACKAGE_TO_BUILD}/tsconfig.json`, '--outDir', `dist/${PACKAGE_TO_BUILD}`],

Loading…
Cancel
Save