Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit 044f19f

Browse files
committed
chore: update deps
1 parent 26d889a commit 044f19f

8 files changed

+527
-543
lines changed

.husky/commit-msg

-4
This file was deleted.

.husky/pre-commit

-4
This file was deleted.

.lintstagedrc.cjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2-
'*.md': 'markdownlint --fix --ignore=CHANGELOG.md --ignore-path=.gitignore',
2+
'*.md': 'markdownlint --fix --ignore-path=.gitignore',
33
'./src/*.{js,cjs,mjs,ts,cts,mts}': 'eslint --fix --cache --ignore-path=.gitignore',
4+
'./src/*.{ts,cts,mts,tsx}': () => 'tsc -p tsconfig.json --noEmit'
45
};

.simple-git-hooks.cjs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
"pre-commit": "npx lint-staged",
3+
"commit-msg": "npx commitlint --edit ${1}",
4+
};

package.json

+22-21
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
"check:deps": "taze",
3333
"check:types": "tsc --noEmit",
3434
"dev": "rollup -c --watch",
35-
"lint": "run-p lint:eslint lint:markdownlint lint:publint check:types test:coverage",
35+
"lint": "conc \"pnpm:lint:eslint\" \"pnpm:lint:markdownlint\" \"pnpm:lint:publint\" \"pnpm:check:types\" \"pnpm:test:coverage\"",
3636
"lint:eslint": "eslint ./src --fix --cache --ignore-path=.gitignore",
37-
"lint:markdownlint": "markdownlint . --fix --ignore=CHANGELOG.md --ignore-path=.gitignore",
37+
"lint:markdownlint": "markdownlint . --fix --ignore-path=.gitignore",
3838
"lint:publint": "publint",
39-
"prepare": "is-ci || husky install",
39+
"prepare": "is-ci || simple-git-hooks",
4040
"release": "pnpm install && pnpm run build && pnpm run lint && bumpp",
4141
"prepublishOnly": "pnpm run build",
4242
"test": "vitest typecheck --run",
@@ -48,33 +48,34 @@
4848
"vue3": "npm:vue@^3.2.47"
4949
},
5050
"devDependencies": {
51-
"@commitlint/cli": "^17.5.1",
52-
"@commitlint/config-conventional": "^17.4.4",
53-
"@commitlint/prompt": "^17.5.0",
51+
"@commitlint/cli": "^17.6.1",
52+
"@commitlint/config-conventional": "^17.6.1",
53+
"@commitlint/prompt": "^17.6.1",
5454
"@modyqyw/fabric": "^7.5.0",
55-
"@modyqyw/utils": "^5.0.0",
56-
"@tsconfig/node18": "^1.0.1",
57-
"@types/node": "^18.15.11",
58-
"@typescript-eslint/eslint-plugin": "^5.57.1",
59-
"@typescript-eslint/parser": "^5.57.1",
60-
"@vitest/coverage-c8": "^0.29.8",
55+
"@modyqyw/utils": "^6.0.0",
56+
"@tsconfig/node18": "^2.0.0",
57+
"@types/node": "^18.16.1",
58+
"@typescript-eslint/eslint-plugin": "^5.59.1",
59+
"@typescript-eslint/parser": "^5.59.1",
60+
"@vitest/coverage-c8": "^0.30.1",
6161
"bumpp": "^9.1.0",
6262
"c8": "^7.13.0",
6363
"commitizen": "^4.3.0",
64-
"eslint": "^8.37.0",
64+
"concurrently": "^8.0.1",
65+
"eslint": "^8.39.0",
6566
"husky": "^8.0.3",
6667
"is-ci": "^3.0.1",
67-
"lint-staged": "^13.2.0",
68+
"lint-staged": "^13.2.2",
6869
"markdownlint-cli": "^0.33.0",
69-
"npm-run-all": "^4.1.5",
70-
"prettier": "^2.8.7",
70+
"prettier": "^2.8.8",
7171
"publint": "^0.1.11",
72-
"rollup": "^3.20.2",
72+
"rollup": "^3.21.0",
7373
"rollup-plugin-delete": "^2.0.0",
7474
"rollup-plugin-dts": "^5.3.0",
75-
"taze": "^0.9.1",
76-
"typescript": "^5.0.3",
77-
"vitest": "^0.29.8"
75+
"simple-git-hooks": "^2.8.1",
76+
"taze": "^0.9.2",
77+
"typescript": "^5.0.4",
78+
"vitest": "^0.30.1"
7879
},
7980
"peerDependencies": {
8081
"@uni-helper/uni-app-types": "^0.5.1"
@@ -84,7 +85,7 @@
8485
"optional": true
8586
}
8687
},
87-
"packageManager": "pnpm@8.1.1",
88+
"packageManager": "pnpm@8.3.1",
8889
"engines": {
8990
"node": ">=14.18"
9091
},

0 commit comments

Comments
 (0)