Skip to content

Commit

Permalink
Updated post-install script
Browse files Browse the repository at this point in the history
  • Loading branch information
glyph-cat committed Jan 5, 2025
1 parent 1dbd695 commit e2228c4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"types": "lib/types/index.d.ts",
"scripts": {
"patch-install": "sh ./scripts/run/patch-install.sh",
"postinstall": "if [ -e \"./scripts/run/post-install.sh\" ]; then sh ./scripts/run/post-install.sh; fi",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:path": "eslint",
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions scripts/run/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ set -e
for item in ./packages/*; do
if [ -d "$item" ]; then
yarn --cwd $item install
if [ "$item" = "./packages/react" ]; then
yarn --cwd $item patch-install
fi
fi
done

0 comments on commit e2228c4

Please sign in to comment.