Skip to content

Commit

Permalink
build: avoid repeative patch-package.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardo2016x committed Nov 28, 2024
1 parent d560bfe commit 49b8011
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devtools": "react-devtools",
"doctor": "react-native doctor",
"ensure-git-hooks": "yarn ../../ install-husky",
"postinstall": "yarn build:deps && yarn build-inpage && patch-package",
"postinstall": "yarn build:deps && yarn build-inpage",
"ios": "react-native run-ios",
"link-assets": "react-native-asset && sh ./scripts/fns.sh cleanup_fonts_assets",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile/scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cleanup_fonts_assets;

cd $repo_dir/apps/mobile;
echo "3. Patch npm packages"
yarn patch-package
yarn apply-patch

echo "3. Link Assets"
echo "4. Link Assets"
yarn link-assets

0 comments on commit 49b8011

Please sign in to comment.