Skip to content

Commit

Permalink
fix(distribution): remove postinstall hook (#290)
Browse files Browse the repository at this point in the history
The workspace needs catppuccin-vscode to build in postinstall, since other workspaces rely on it.
  • Loading branch information
nekowinston authored Jan 10, 2024
1 parent 8162693 commit fdc716b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"g:typecheck": "tsc --noEmit -p packages/catppuccin-vsc && tsc --noEmit -p packages/catppuccin-vsc-storybook",
"lint": "eslint . --ext .ts \"$@\" && yarn g:typecheck",
"postinstall": "husky install"
"postinstall": "husky install && yarn compiled:pack"
},
"workspaces": [
"packages/*"
Expand Down
3 changes: 1 addition & 2 deletions packages/catppuccin-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
},
"scripts": {
"compiled:pack": "npm pack",
"prepack": "yarn core:build && yarn node ./build.mjs",
"postinstall": "yarn prepack"
"prepack": "yarn core:build && node ./build.mjs"
}
}

0 comments on commit fdc716b

Please sign in to comment.