Skip to content

Commit

Permalink
Yarn only supports postinstall. (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang authored Dec 12, 2024
1 parent bc6bc31 commit fd9f21c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
npx lint-staged
yarn run lint-staged
yarn run tsc --noEmit --strict
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"make:nvidia": "yarn run make -- --nvidia",
"notarize": "node debug/notarize.js",
"package": "yarn run vite:compile && todesktop build --code-sign=false --async",
"prepare": "husky",
"postinstall": "husky",
"publish": "yarn run vite:compile && todesktop build --async",
"publish:staging": "yarn run vite:compile && todesktop build --config=./todesktop.staging.json --async",
"reset-install": "node scripts/resetInstall.js",
Expand All @@ -50,7 +50,8 @@
"vite:compile": "vite build --config vite.main.config.ts && vite build --config vite.preload.config.ts",
"vite:types": "vite build --config vite.types.config.ts && node scripts/prepareTypes.js",
"release:types": "node scripts/releaseTypes.js",
"update:frontend": "node scripts/updateFrontend.js"
"update:frontend": "node scripts/updateFrontend.js",
"prepare": "husky"
},
"devDependencies": {
"@electron/fuses": "^1.8.0",
Expand Down

0 comments on commit fd9f21c

Please sign in to comment.