Skip to content

Commit

Permalink
fix: 优化 移除了不必要的依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen committed Mar 15, 2023
1 parent 0d138e9 commit ca52bb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@types/debug": "^4.1.5",
"@types/ejs": "^3.1.0",
"@types/fs-extra": "^9.0.4",
"@types/inquirer": "^9.0.3",
"@types/lodash": "^4.14.165",
"@types/node": "^18.0.0",
"@types/promise.any": "^2.0.0",
Expand All @@ -51,7 +52,6 @@
"conventional-changelog-cli": "^2.1.1",
"conventional-changelog-cmyr-config": "^2.0.2",
"cross-env": "^7.0.2",
"cz-conventional-changelog": "^3.3.0",
"cz-conventional-changelog-cmyr": "^1.0.0",
"debug": "^4.3.1",
"eslint": "^7.14.0",
Expand All @@ -64,8 +64,7 @@
"semantic-release": "^19.0.2",
"ts-node": "^10.2.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.1.2",
"validate-commit-msg": "^2.14.0"
"typescript": "^4.1.2"
},
"dependencies": {
"@lint-md/core": "^0.2.1",
Expand Down
2 changes: 1 addition & 1 deletion src/plopfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ module.exports = function (plop: NodePlopAPI) {
},
},
]
return inquirer.prompt(questions)
return inquirer.prompt(questions as any)
},
actions() {
const actions: ActionType[] = []
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ async function initHusky(projectPath: string) {
}
const keyname = `*.{${extnames.join(',')}}`
const devDependencies = {
'@commitlint/cli': '^15.0.0',
// '@commitlint/cli': '^15.0.0',
'@commitlint/config-conventional': '^15.0.0',
husky: '^8.0.1',
'lint-staged': '^12.1.2',
Expand Down

0 comments on commit ca52bb9

Please sign in to comment.