Browse Source

feature(scripts): add process exit

pull/1572/head
mehmet-erim 7 years ago
parent
commit
492de784dc
  1. 2
      npm/ng-packs/scripts/build.js
  2. 3
      npm/ng-packs/scripts/sync.js

2
npm/ng-packs/scripts/build.js

@ -35,4 +35,6 @@ import fse from 'fs-extra';
cwd: '../', cwd: '../',
}); });
}); });
process.exit(0);
})(); })();

3
npm/ng-packs/scripts/sync.js

@ -1,5 +1,4 @@
// ESM syntax is supported. // ESM syntax is supported.
import execa from 'execa';
import fse from 'fs-extra'; import fse from 'fs-extra';
(async () => { (async () => {
@ -21,4 +20,6 @@ import fse from 'fs-extra';
await fse.writeJSON(srcPackagePath, { ...srcPackage, version }, { spaces: 2 }); await fse.writeJSON(srcPackagePath, { ...srcPackage, version }, { spaces: 2 });
}); });
process.exit(0);
})(); })();

Loading…
Cancel
Save