Skip to content

Commit 62bae11

Browse files
authored
Merge pull request #19 from analyticsjs/develop
chore: release next version
2 parents 229d943 + a986758 commit 62bae11

File tree

7 files changed

+5451
-3877
lines changed

7 files changed

+5451
-3877
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ A tool to analyze your git repository's commit log. It can help you generate dai
66

77
![git-commit-analytics](https://cdn.jsdelivr.net/gh/chengpeiquan/assets-storage/img/2022/01/20220103021254.gif)
88

9+
>The `.dmg` package built by CI may be broken (See: [#18](https://github.com/analyticsjs/git-commit-analytics/issues/18)), macOS users can choose to clone this repository and use it through `pnpm i` and `pnpm dev`.
10+
11+
>由 CI 构建的 `.dmg` 包可能出现损坏(见 [#18](https://github.com/analyticsjs/git-commit-analytics/issues/18) ), macOS 用户可以选择克隆本仓库,并通过 `pnpm i``pnpm dev` 使用。
12+
913
## Download
1014

1115
This is a client tool, so you need to download the program to use it. See: [The Latest Release](https://github.com/analyticsjs/git-commit-analytics/releases/latest) to download.

jsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@
77
"importHelpers": true,
88
"moduleResolution": "node",
99
"resolveJsonModule": true,
10-
"suppressImplicitAnyIndexErrors": true,
1110
"forceConsistentCasingInFileNames": true,
1211
"experimentalDecorators": true,
1312
"skipLibCheck": true,
1413
"esModuleInterop": true,
1514
"incremental": false,
1615
"allowSyntheticDefaultImports": true,
1716
"sourceMap": true,
18-
"types": ["node"],
1917
"lib": ["esnext", "dom", "dom.iterable"]
2018
},
2119
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.js"],

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"test": "jest --no-cache",
1616
"lint": "eslint src --ext .js,.ts",
1717
"format": "prettier --write .",
18-
"backup": "git add . && git commit -m \"chore: backup\" && git push"
18+
"backup": "git add . && git commit -m \"chore: backup\" && git push",
19+
"prepare": "simple-git-hooks"
1920
},
2021
"devDependencies": {
2122
"@semantic-release/changelog": "^6.0.1",
@@ -27,14 +28,14 @@
2728
"lint-staged": "11.1.2",
2829
"pkg": "^5.7.0",
2930
"prettier": "^2.5.1",
30-
"yorkie": "^2.0.0"
31+
"simple-git-hooks": "^2.8.1"
3132
},
3233
"dependencies": {
3334
"dayjs": "^1.10.7"
3435
},
35-
"gitHooks": {
36-
"pre-commit": "lint-staged",
37-
"commit-msg": "node scripts/verifyCommit.js"
36+
"simple-git-hooks": {
37+
"pre-commit": "pnpm exec lint-staged --concurrent false",
38+
"commit-msg": "pnpm exec node scripts/verifyCommit $1"
3839
},
3940
"lint-staged": {
4041
"*.js": [

0 commit comments

Comments
 (0)