@pie-framework/build-helper
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -13,3 +13,2 @@ "use strict"; | ||
const exec_1 = require("./exec"); | ||
const changelog_1 = require("./changelog"); | ||
const { resolve, relative } = require('path'); | ||
@@ -86,19 +85,6 @@ const debug = require('debug'); | ||
beforePublish() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const dir = resolve(this.projectRoot, 'packages'); | ||
if (this.args.next) { | ||
log('[beforePublish] dir:', dir); | ||
yield changelog_1.writeNextChangelogJson(dir); | ||
} | ||
else { | ||
yield changelog_1.rmNextChangelogJson(dir); | ||
} | ||
yield changelog_1.writeReleasedChangelogJson(dir); | ||
yield this.runCmd('git add .', { cwd: this.projectRoot }); | ||
yield this.commit(this.projectRoot, '[travis skip] update changelogs'); | ||
}); | ||
return Promise.resolve(); | ||
} | ||
afterPublish() { | ||
const dir = resolve(this.projectRoot, 'packages'); | ||
return changelog_1.rmChangelogJson(dir); | ||
return Promise.resolve(); | ||
} | ||
@@ -105,0 +91,0 @@ release() { |
{ | ||
"name": "@pie-framework/build-helper", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
257032
578