Skip to content

Commit

Permalink
build: 📦 引入@muyianking/config
Browse files Browse the repository at this point in the history
  • Loading branch information
MuyianKing committed Jan 16, 2025
1 parent 86cdb97 commit f402f1b
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 129 deletions.
3 changes: 3 additions & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const commitlint = require('@muyianking/config/commitlint.config.cjs')

module.exports = commitlint
88 changes: 0 additions & 88 deletions commitlint.config.js

This file was deleted.

83 changes: 42 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,44 @@
{
"name": "@muyianking/cli",
"type": "module",
"version": "0.2.2",
"private": false,
"scripts": {
"update-dep": "npm-check-updates && ncu -u && pnpm i",
"commit": "git add . && git cz",
"lint": "git add . && lint-staged",
"husky-lint": "git add . && lint-staged",
"prepare": "husky",
"log": "conventional-changelog -p angular -i CHANGELOG.md -s",
"publish": "node ./script/publish.js"
},
"dependencies": {
"download-git-repo": "^3.0.2",
"fs-extra": "^11.2.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint/eslintrc": "^3.1.0",
"cz-git": "^1.10.1",
"eslint": "^9.13.0",
"eslint-plugin-format": "^0.1.2",
"husky": "^9.1.6",
"lint-staged": "^15.2.10"
},
"resolutions": {
"bin-wrapper": "npm:bin-wrapper-china"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix"
]
}
"name": "@muyianking/cli",
"type": "module",
"version": "0.2.2",
"private": false,
"scripts": {
"update-dep": "npm-check-updates && ncu -u && pnpm i",
"commit": "git add . && git cz",
"lint": "git add . && lint-staged",
"husky-lint": "git add . && lint-staged",
"prepare": "husky",
"log": "conventional-changelog -p angular -i CHANGELOG.md -s",
"publish": "node ./script/publish.js"
},
"dependencies": {
"download-git-repo": "^3.0.2",
"fs-extra": "^11.2.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint/eslintrc": "^3.1.0",
"@muyianking/config": "^0.0.4",
"cz-git": "^1.10.1",
"eslint": "^9.13.0",
"eslint-plugin-format": "^0.1.2",
"husky": "^9.1.6",
"lint-staged": "^15.2.10"
},
"resolutions": {
"bin-wrapper": "npm:bin-wrapper-china"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix"
]
}
}
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f402f1b

Please sign in to comment.