Skip to content

Commit b04b412

Browse files
author
hubert
committed
chore: replace husky to yorkie
1 parent 355d961 commit b04b412

File tree

2 files changed

+726
-501
lines changed

2 files changed

+726
-501
lines changed

package.json

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"scripts": {
1111
"build": "lerna run build --sort --stream --scope=@vue-async/*",
1212
"test": "jest --coverage --passWithNoTests",
13-
"test:utils": "jest packages/utils/",
1413
"prepublishOnly": "yarn install --ignore-scripts && yarn changelog && yarn build && yarn test",
1514
"release": "lerna publish",
1615
"release:git": "lerna publish form-git",
@@ -23,19 +22,14 @@
2322
"changelog": "node ./scripts/genChangelog.js",
2423
"commit": "git-cz"
2524
},
26-
"config": {
27-
"commitizen": {
28-
"path": "./node_modules/cz-lerna-changelog"
29-
}
30-
},
3125
"dependencies": {},
3226
"devDependencies": {
3327
"@babel/cli": "^7.9.0",
3428
"@babel/core": "^7.9.0",
3529
"@babel/preset-env": "^7.9.0",
3630
"@babel/preset-typescript": "^7.16.7",
37-
"@commitlint/cli": "^8.3.4",
38-
"@commitlint/config-conventional": "^8.3.4",
31+
"@commitlint/cli": "^12.1.4",
32+
"@commitlint/config-conventional": "^12.1.4",
3933
"@rollup/plugin-babel": "^5.0.0",
4034
"@rollup/plugin-commonjs": "^11.1.0",
4135
"@rollup/plugin-json": "^4.0.2",
@@ -62,7 +56,6 @@
6256
"eslint-plugin-prettier": "^3.1.2",
6357
"fs-extra": "^10.1.0",
6458
"glob-gitignore": "^1.0.14",
65-
"husky": ">=1",
6659
"jest": "^26.0.0",
6760
"jest-dom": "^3.1.2",
6861
"lerna": "^3.20.2",
@@ -83,16 +76,19 @@
8376
"ts-jest": "^26.0.0",
8477
"ts-loader": "^8.0.3",
8578
"ts-node": "^10.7.0",
86-
"ttypescript": "^1.5.13",
8779
"typescript": "^4.1.5",
88-
"util": "^0.12.1"
80+
"util": "^0.12.1",
81+
"yorkie": "^2.0.0"
8982
},
90-
"husky": {
91-
"hooks": {
92-
"pre-commit": "lint-staged && yarn test",
93-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
83+
"config": {
84+
"commitizen": {
85+
"path": "./node_modules/cz-lerna-changelog"
9486
}
9587
},
88+
"gitHooks": {
89+
"commit-msg": "commitlint -e -V",
90+
"pre-commit": "lint-staged"
91+
},
9692
"workspaces": {
9793
"packages": [
9894
"packages/*",

0 commit comments

Comments
 (0)