|
|
@ -22,7 +22,8 @@ if (! exists) {
|
|
|
|
fs.writeFileSync("package.json", JSON.stringify(pkg, null, 4) + "\n");
|
|
|
|
fs.writeFileSync("package.json", JSON.stringify(pkg, null, 4) + "\n");
|
|
|
|
|
|
|
|
|
|
|
|
// Also update package-lock.json
|
|
|
|
// Also update package-lock.json
|
|
|
|
childProcess.spawnSync("npm", [ "install" ]);
|
|
|
|
const npm = /^win/.test(process.platform) ? "npm.cmd" : "npm";
|
|
|
|
|
|
|
|
childProcess.spawnSync(npm, [ "install" ]);
|
|
|
|
|
|
|
|
|
|
|
|
commit(version);
|
|
|
|
commit(version);
|
|
|
|
tag(version);
|
|
|
|
tag(version);
|
|
|
|