@mypaas/hcm-cli
Version:
Vant Cli 是一个 Vue 组件库构建工具,通过 Vant Cli 可以快速搭建一套功能完备的 Vue 组件库。
18 lines (17 loc) • 641 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const release_it_1 = __importDefault(require("release-it"));
const build_1 = require("../commands/build");
const changelog_1 = require("../commands/changelog");
class VantCliReleasePlugin extends release_it_1.default.Plugin {
async beforeRelease() {
// log an empty line
console.log('');
await build_1.build();
await changelog_1.changelog();
}
}
module.exports = VantCliReleasePlugin;