mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Update .husky, husky install is deprecated
This commit is contained in:
parent
0fcc65d19a
commit
3038249e5f
3 changed files with 18 additions and 7 deletions
|
|
@ -1,4 +1 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
yarn test
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
"test:unit": "ava",
|
||||
"test:unit:watch": "yarn run test:unit -- --watch",
|
||||
"test:e2e": "ava --config ava-e2e.config.js",
|
||||
"postinstall": "yarn run v8-snapshot && webpack --config-name hyper-app && electron-builder install-app-deps && yarn run rebuild-node-pty && cpy --cwd=target node_modules \"../../app/\" && husky install && yarn run generate-schema",
|
||||
"postinstall": "yarn run v8-snapshot && webpack --config-name hyper-app && electron-builder install-app-deps && yarn run rebuild-node-pty && cpy --cwd=target node_modules \"../../app/\" && husky init && yarn run generate-schema",
|
||||
"rebuild-node-pty": "electron-rebuild -f -o node-pty -m target",
|
||||
"dist": "yarn run build && electron-builder",
|
||||
"clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer",
|
||||
|
|
@ -20,7 +20,8 @@
|
|||
"v8-snapshot:arch": "yarn run mk-snapshot && yarn run cp-snapshot",
|
||||
"mk-snapshot": "cross-env ELECTRON_CUSTOM_VERSION=$npm_package_devDependencies_electron node node_modules/electron-mksnapshot/download-mksnapshot.js && node bin/mk-snapshot.js",
|
||||
"cp-snapshot": "node bin/cp-snapshot.js",
|
||||
"generate-schema": "typescript-json-schema ./typings/config.d.ts rawConfig -o ./app/config/schema.json --required"
|
||||
"generate-schema": "typescript-json-schema ./typings/config.d.ts rawConfig -o ./app/config/schema.json --required",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
|
|
@ -121,7 +122,8 @@
|
|||
"eslint-plugin-lodash": "^7.4.0",
|
||||
"eslint-plugin-prettier": "^5.2.1",
|
||||
"eslint-plugin-react": "7.35.0",
|
||||
"husky": "9.1.5",
|
||||
"husky": "^9.1.5",
|
||||
"husky-init": "^8.0.0",
|
||||
"inquirer": "10.1.8",
|
||||
"node-addon-api": "8.1.0",
|
||||
"null-loader": "4.0.1",
|
||||
|
|
|
|||
14
yarn.lock
14
yarn.lock
|
|
@ -4938,7 +4938,19 @@ humanize-ms@^1.2.1:
|
|||
dependencies:
|
||||
ms "^2.0.0"
|
||||
|
||||
husky@9.1.5:
|
||||
husky-init@^8.0.0:
|
||||
version "8.0.0"
|
||||
resolved "https://registry.npmjs.org/husky-init/-/husky-init-8.0.0.tgz#af1773803a44a0625a2d9d415cc892f51847e7d0"
|
||||
integrity sha512-P9qq7eOInj853p57QhK/QDKahx8Vd+hWWmzA+N+Q3/dsHH+DFUeRurRd6ZSFzF1Ol/6yUS+fa9yMw5Dao0pxxw==
|
||||
dependencies:
|
||||
husky "^8.0.0"
|
||||
|
||||
husky@^8.0.0:
|
||||
version "8.0.3"
|
||||
resolved "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
|
||||
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
|
||||
|
||||
husky@^9.1.5:
|
||||
version "9.1.5"
|
||||
resolved "https://registry.npmjs.org/husky/-/husky-9.1.5.tgz#2b6edede53ee1adbbd3a3da490628a23f5243b83"
|
||||
integrity sha512-rowAVRUBfI0b4+niA4SJMhfQwc107VLkBUgEYYAOQAbqDCnra1nYh83hF/MDmhYs9t9n1E3DuKOrs2LYNC+0Ag==
|
||||
|
|
|
|||
Loading…
Reference in a new issue