Skip to content

Commit 4e561cf

Browse files
authored
Merge pull request #698 from rotu/thorough-squid
2 parents 6777924 + e9b2284 commit 4e561cf

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

package.json

+12-8
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,20 @@
6666
"typescript": "~4.9.5",
6767
"which": "^5.0.0"
6868
},
69+
"engines": {
70+
"node": ">= 10",
71+
"pnpm": ">= 9"
72+
},
73+
"overrides": {
74+
"typescript": "~4.9.5",
75+
"node-gyp": "10.0.1"
76+
},
6977
"pnpm": {
7078
"overrides": {
7179
"typescript": "~4.9.5",
7280
"node-gyp": "10.0.1"
7381
}
7482
},
75-
"engines": {
76-
"node": ">= 10",
77-
"pnpm": ">= 9"
78-
},
7983
"files": [
8084
"CHANGELOG.md",
8185
"LICENSE.txt",
@@ -119,15 +123,15 @@
119123
"format.prettier": "prettier -l --cache --cache-location ./.cache/prettier --write .",
120124
"format.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h",
121125
"lint-test.eslint": "eslint './**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/",
122-
"lint.eslint": "pnpm run lint-test.eslint --fix",
126+
"lint.eslint": "run-s 'lint-test.eslint --fix'",
123127
"lint.tsc": "tsc --noEmit -p ./src/tsconfig.json",
124128
"lint.tsc-test": "tsc --noEmit -p ./test/tsconfig.json",
125129
"lint.clang-tidy": "git ls-files --exclude-standard | grep -E '\\.(cpp|hpp|c|cc|cxx|hxx|h|ixx)$' | xargs -n 1 -P $(nproc) clang-tidy",
126130
"lint": "run-p lint.tsc-test lint.tsc lint.eslint format",
127131
"lint-test": "run-s lint-test.eslint",
128132
"bench": "node --expose-gc test/bench",
129-
"prepare": "pnpm run build.js",
130-
"bump": "pnpx npm-check-updates -u -x typescript,eslint,chai,@types/chai && pnpx typesync"
133+
"prepare": "run-s build.js",
134+
"bump": "npx npm-check-updates -u -x typescript,eslint,chai,@types/chai && npx typesync"
131135
},
132136
"cmake-ts": {
133137
"nodeAPI": "node-addon-api",
@@ -246,4 +250,4 @@
246250
],
247251
"license": "MIT AND MPL-2.0",
248252
"author": "Amin Yahyaabadi <[email protected]>, Rolf Timmermans <[email protected]>"
249-
}
253+
}

0 commit comments

Comments
 (0)