Skip to content

Commit edca5a5

Browse files
committed
fix: funding and pnpm
1 parent 5297686 commit edca5a5

File tree

6 files changed

+1698
-1600
lines changed

6 files changed

+1698
-1600
lines changed

.github/funding.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
github: [posva]
2-
open_collective: vuejs
1+
github: [riderx]

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit "${1}"

commitlint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = {extends: ['@commitlint/config-conventional']}

package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,8 @@
4646
"test:e2e:headless": "node e2e/runner.js -e chrome-headless --skiptags no-headless",
4747
"test:e2e:native": "node e2e/runner.js -e chrome --tag no-headless",
4848
"test:e2e:ci": "node e2e/runner.js -e firefox --retries 2",
49-
"test:e2e:bs": "node e2e/runner.js --local -e edge_pre_chrome,android44 -c e2e/nightwatch.browserstack.js --tag browserstack"
50-
},
51-
"gitHooks": {
52-
"pre-commit": "lint-staged",
53-
"commit-msg": "node scripts/verifyCommit.js"
49+
"test:e2e:bs": "node e2e/runner.js --local -e edge_pre_chrome,android44 -c e2e/nightwatch.browserstack.js --tag browserstack",
50+
"prepare": "husky install"
5451
},
5552
"lint-staged": {
5653
"*.js": [
@@ -68,6 +65,8 @@
6865
"attributes": "vetur/attributes.json"
6966
},
7067
"devDependencies": {
68+
"@commitlint/cli": "^17.1.1",
69+
"@commitlint/config-conventional": "^17.1.0",
7170
"@microsoft/api-extractor": "7.29.5",
7271
"@rollup/plugin-alias": "3.1.9",
7372
"@rollup/plugin-commonjs": "22.0.2",
@@ -96,6 +95,7 @@
9695
"faked-promise": "^2.2.2",
9796
"gh-pages": "^4.0.0",
9897
"html-webpack-plugin": "5.5.0",
98+
"husky": "^8.0.1",
9999
"jest": "28.1.3",
100100
"jest-mock-warn": "^1.1.0",
101101
"lint-staged": "13.0.3",
@@ -109,6 +109,7 @@
109109
"rollup-plugin-typescript2": "0.33.0",
110110
"selenium-server": "^3.141.59",
111111
"serve-handler": "^6.1.3",
112+
"ts-node": "^10.9.1",
112113
"typescript": "4.7.4",
113114
"vite": "^2.8.4",
114115
"vitepress": "0.22.4",

0 commit comments

Comments
 (0)