Skip to content

Commit

Permalink
build: add prepare and postinstall scripts to low level packages (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mzogheib committed Jul 14, 2024
1 parent 3f6270b commit e6b47f2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/client-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"clean-build": "rm -rf dist",
"build": "yarn clean-build && tsc",
"type-check": "tsc --noEmit",
"prepublishOnly": "yarn build"
"prepare": "yarn build",
"postinstall": "yarn build"
},
"dependencies": {
"@quoll/lib": "^0.5.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"clean-build": "rm -rf dist",
"build": "yarn clean-build && tsc",
"type-check": "tsc --noEmit",
"prepublishOnly": "yarn build"
"prepare": "yarn build",
"postinstall": "yarn build"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.3",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"prepare": "yarn build",
"postinstall": "yarn build",
"size": "size-limit",
"analyze": "size-limit --why",
"storybook": "storybook dev -p 6006",
Expand Down
2 changes: 2 additions & 0 deletions packages/ui-primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"scripts": {
"start": "tsc --watch",
"build": "tsc",
"prepare": "yarn build",
"postinstall": "yarn build",
"type-check": "tsc --noEmit",
"prepublishOnly": "yarn build"
},
Expand Down

0 comments on commit e6b47f2

Please sign in to comment.