mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-16 12:04:12 +08:00
chore(deps): drop esbuild-kit/cjs-loader (#20414)
* chore(deps): drop `esbuild-kit/cjs-loader` * chore: use `commitlint/config-conventional` * Update commitlint.config.mjs Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com> * chore: tsx shortcut tweaks * chore: add final lock --------- Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
This commit is contained in:
@ -1 +1 @@
|
|||||||
pnpm exec commitlint --config commitlint.config.js --edit "${1}"
|
pnpm exec commitlint --config commitlint.config.mjs --edit "${1}"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
// commitlint uses `ts-node` to load typescript config, it's too slow. So we replace it with `esbuild`.
|
|
||||||
require('@esbuild-kit/cjs-loader')
|
|
||||||
module.exports = require('./commitlint.config.ts').default
|
|
@ -40,7 +40,9 @@ const subjectComplete = gitStatus
|
|||||||
?.replace(/\//g, '%%')
|
?.replace(/\//g, '%%')
|
||||||
?.match(/packages%%components%%((\w|-)*)/)?.[1]
|
?.match(/packages%%components%%((\w|-)*)/)?.[1]
|
||||||
|
|
||||||
|
/** @type { import('cz-git').UserConfig } */
|
||||||
export default {
|
export default {
|
||||||
|
extends: '@commitlint/config-conventional',
|
||||||
rules: {
|
rules: {
|
||||||
/**
|
/**
|
||||||
* type[scope]: [function] description
|
* type[scope]: [function] description
|
@ -7,7 +7,7 @@
|
|||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "gulp --require @esbuild-kit/cjs-loader -f gulpfile.ts",
|
"start": "gulp --require tsx/dist/loader.cjs -f gulpfile.ts",
|
||||||
"dev": "pnpm run stub",
|
"dev": "pnpm run stub",
|
||||||
"stub": "unbuild --stub"
|
"stub": "unbuild --stub"
|
||||||
},
|
},
|
||||||
@ -36,8 +36,8 @@
|
|||||||
"unplugin-vue-macros": "^0.11.2"
|
"unplugin-vue-macros": "^0.11.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@esbuild-kit/cjs-loader": "^2.2.1",
|
|
||||||
"@pnpm/types": "^8.4.0",
|
"@pnpm/types": "^8.4.0",
|
||||||
|
"tsx": "^4.19.3",
|
||||||
"unbuild": "^2.0.0",
|
"unbuild": "^2.0.0",
|
||||||
"vue": "^3.2.37"
|
"vue": "^3.2.37"
|
||||||
}
|
}
|
||||||
|
11
package.json
11
package.json
@ -68,12 +68,11 @@
|
|||||||
"normalize-wheel-es": "^1.2.0"
|
"normalize-wheel-es": "^1.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^18.6.1",
|
"@commitlint/cli": "^19.0.0",
|
||||||
"@commitlint/config-conventional": "^18.6.3",
|
"@commitlint/config-conventional": "^19.0.0",
|
||||||
"@element-plus/build": "workspace:^0.0.1",
|
"@element-plus/build": "workspace:^0.0.1",
|
||||||
"@element-plus/build-utils": "workspace:^0.0.1",
|
"@element-plus/build-utils": "workspace:^0.0.1",
|
||||||
"@element-plus/eslint-config": "workspace:*",
|
"@element-plus/eslint-config": "workspace:*",
|
||||||
"@esbuild-kit/cjs-loader": "^2.2.1",
|
|
||||||
"@pnpm/find-workspace-packages": "^4.0.16",
|
"@pnpm/find-workspace-packages": "^4.0.16",
|
||||||
"@pnpm/logger": "^4.0.0",
|
"@pnpm/logger": "^4.0.0",
|
||||||
"@pnpm/types": "^8.4.0",
|
"@pnpm/types": "^8.4.0",
|
||||||
@ -92,8 +91,8 @@
|
|||||||
"concurrently": "^7.2.2",
|
"concurrently": "^7.2.2",
|
||||||
"consola": "^2.15.3",
|
"consola": "^2.15.3",
|
||||||
"csstype": "^2.6.20",
|
"csstype": "^2.6.20",
|
||||||
"cz-git": "^1.3.8",
|
"cz-git": "^1.11.1",
|
||||||
"czg": "^1.3.8",
|
"czg": "^1.11.1",
|
||||||
"eslint": "^8.57.1",
|
"eslint": "^8.57.1",
|
||||||
"eslint-define-config": "^1.5.1",
|
"eslint-define-config": "^1.5.1",
|
||||||
"expect-type": "^0.13.0",
|
"expect-type": "^0.13.0",
|
||||||
@ -108,7 +107,7 @@
|
|||||||
"resize-observer-polyfill": "^1.5.1",
|
"resize-observer-polyfill": "^1.5.1",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"sass": "^1.79.3",
|
"sass": "^1.79.3",
|
||||||
"tsx": "^4.7.1",
|
"tsx": "^4.19.3",
|
||||||
"type-fest": "^2.14.0",
|
"type-fest": "^2.14.0",
|
||||||
"typescript": "~5.5.4",
|
"typescript": "~5.5.4",
|
||||||
"unplugin-vue-macros": "^2.7.11",
|
"unplugin-vue-macros": "^2.7.11",
|
||||||
|
@ -24,11 +24,10 @@
|
|||||||
"style": "index.css",
|
"style": "index.css",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rimraf dist",
|
"clean": "rimraf dist",
|
||||||
"build": "gulp --require @esbuild-kit/cjs-loader"
|
"build": "gulp --require tsx/dist/loader.cjs"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@element-plus/build": "workspace:*",
|
"@element-plus/build": "workspace:*",
|
||||||
"@esbuild-kit/cjs-loader": "^2.2.1",
|
|
||||||
"@types/gulp-autoprefixer": "^0.0.33",
|
"@types/gulp-autoprefixer": "^0.0.33",
|
||||||
"@types/gulp-rename": "^2.0.1",
|
"@types/gulp-rename": "^2.0.1",
|
||||||
"@types/gulp-sass": "^5.0.0",
|
"@types/gulp-sass": "^5.0.0",
|
||||||
@ -36,7 +35,8 @@
|
|||||||
"gulp-autoprefixer": "^8.0.0",
|
"gulp-autoprefixer": "^8.0.0",
|
||||||
"gulp-rename": "^2.0.0",
|
"gulp-rename": "^2.0.0",
|
||||||
"gulp-sass": "^6.0.0",
|
"gulp-sass": "^6.0.0",
|
||||||
"postcss": "^8.4.35"
|
"postcss": "^8.4.35",
|
||||||
|
"tsx": "^4.19.3"
|
||||||
},
|
},
|
||||||
"gitHead": "c69724230befa8fede0e6b9c37fb0b7e39fd7cdd"
|
"gitHead": "c69724230befa8fede0e6b9c37fb0b7e39fd7cdd"
|
||||||
}
|
}
|
||||||
|
783
pnpm-lock.yaml
generated
783
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user