mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(cli): bump release-it v15 (#10773)
This commit is contained in:
parent
2f1066e9c6
commit
eea5f002a7
@ -33,7 +33,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "^9.0.13",
|
"@types/fs-extra": "^9.0.13",
|
||||||
"@types/inquirer": "^8.1.3",
|
"@types/inquirer": "^8.1.3",
|
||||||
"release-it": "^14.11.6",
|
"release-it": "^15.1.1",
|
||||||
"typescript": "~4.5.2"
|
"typescript": "~4.5.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"esbuild": "^0.14.29",
|
"esbuild": "^0.14.29",
|
||||||
"release-it": "^14.2.2",
|
"release-it": "^15.1.1",
|
||||||
"typescript": "~4.5.2"
|
"typescript": "~4.5.2"
|
||||||
},
|
},
|
||||||
"release-it": {
|
"release-it": {
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
"postcss": "^8.3.11",
|
"postcss": "^8.3.11",
|
||||||
"postcss-load-config": "^3.1.0",
|
"postcss-load-config": "^3.1.0",
|
||||||
"prettier": "^2.5.0",
|
"prettier": "^2.5.0",
|
||||||
"release-it": "^14.11.6",
|
"release-it": "^15.1.1",
|
||||||
"stylelint": "^13.0.0",
|
"stylelint": "^13.0.0",
|
||||||
"transliteration": "^2.2.0",
|
"transliteration": "^2.2.0",
|
||||||
"typescript": "^4.5.2",
|
"typescript": "^4.5.2",
|
||||||
|
@ -4,7 +4,7 @@ import { join, dirname } from 'path';
|
|||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
|
|
||||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||||
const PLUGIN_PATH = join(__dirname, '../../cjs/vant-cli-release-plugin.cjs');
|
const PLUGIN_PATH = join(__dirname, '../compiler/vant-cli-release-plugin.js');
|
||||||
|
|
||||||
export async function release(command: { tag?: string }) {
|
export async function release(command: { tag?: string }) {
|
||||||
await releaseIt({
|
await releaseIt({
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
const releaseIt = require('release-it');
|
import { Plugin } from 'release-it';
|
||||||
const { execSync } = require('child_process');
|
import { execSync } from 'child_process';
|
||||||
|
|
||||||
class VantCliReleasePlugin extends releaseIt.Plugin {
|
class VantCliReleasePlugin extends Plugin {
|
||||||
async beforeRelease() {
|
async beforeRelease() {
|
||||||
// log an empty line
|
// log an empty line
|
||||||
console.log('');
|
console.log('');
|
||||||
@ -11,4 +11,4 @@ class VantCliReleasePlugin extends releaseIt.Plugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = VantCliReleasePlugin;
|
export default VantCliReleasePlugin;
|
@ -23,7 +23,7 @@
|
|||||||
"author": "chenjiahan",
|
"author": "chenjiahan",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"release-it": "^14.11.6"
|
"release-it": "^15.1.1"
|
||||||
},
|
},
|
||||||
"release-it": {
|
"release-it": {
|
||||||
"git": {
|
"git": {
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"esbuild": "^0.14.29",
|
"esbuild": "^0.14.29",
|
||||||
"release-it": "^14.2.2",
|
"release-it": "^15.1.1",
|
||||||
"typescript": "~4.5.2"
|
"typescript": "~4.5.2"
|
||||||
},
|
},
|
||||||
"release-it": {
|
"release-it": {
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"esbuild": "^0.14.29",
|
"esbuild": "^0.14.29",
|
||||||
"release-it": "^14.0.2",
|
"release-it": "^15.1.1",
|
||||||
"typescript": "~4.5.2",
|
"typescript": "~4.5.2",
|
||||||
"vue": "^3.2.27"
|
"vue": "^3.2.27"
|
||||||
},
|
},
|
||||||
|
2131
pnpm-lock.yaml
generated
2131
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user