fix(@vant/cli): release plugin not work

This commit is contained in:
chenjiahan
2021-11-04 20:12:26 +08:00
parent 30510c01c6
commit 4f40157057
3 changed files with 15 additions and 16 deletions

View File

@@ -1,15 +0,0 @@
import releaseIt from 'release-it';
import { build } from '../commands/build.js';
import { changelog } from '../commands/changelog.js';
class VantCliReleasePlugin extends releaseIt.Plugin {
async beforeRelease() {
// log an empty line
console.log('');
await build();
await changelog();
}
}
module.exports = VantCliReleasePlugin;