Skip to content

Commit ecc9b01

Browse files
committed
Add build to monorepo postinstall
1 parent bc44c5c commit ecc9b01

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"apps/common-app"
1111
],
1212
"scripts": {
13-
"postinstall": "husky",
13+
"postinstall": "yarn build",
14+
"build": "husky && yarn workspaces foreach --all --parallel --topological-dev run build",
1415
"ts-check": "yarn workspaces foreach --all --parallel --topological-dev run ts-check",
1516
"lint-js": "yarn workspaces foreach --all --parallel --topological-dev run lint-js",
1617
"format-js": "yarn workspaces foreach --all --parallel --topological-dev run format-js",

yarn.lock

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13723,7 +13723,7 @@ __metadata:
1372313723
languageName: node
1372413724
linkType: hard
1372513725

13726-
"react-native-safe-area-context@npm:5.4.0, react-native-safe-area-context@npm:^5.4.0":
13726+
"react-native-safe-area-context@npm:5.4.0":
1372713727
version: 5.4.0
1372813728
resolution: "react-native-safe-area-context@npm:5.4.0"
1372913729
peerDependencies:
@@ -13733,6 +13733,16 @@ __metadata:
1373313733
languageName: node
1373413734
linkType: hard
1373513735

13736+
"react-native-safe-area-context@npm:^5.4.0":
13737+
version: 5.4.1
13738+
resolution: "react-native-safe-area-context@npm:5.4.1"
13739+
peerDependencies:
13740+
react: "*"
13741+
react-native: "*"
13742+
checksum: 10c0/6da614f4e9318c784700f0586d19d866f565ae08029c9a38cb1b03fd578af3838f2a6d5321c4a220dc7d698d919faf544536b60e45b7cc97f985349328041de2
13743+
languageName: node
13744+
linkType: hard
13745+
1373613746
"react-native-svg@npm:15.11.2":
1373713747
version: 15.11.2
1373813748
resolution: "react-native-svg@npm:15.11.2"

0 commit comments

Comments
 (0)