-
Notifications
You must be signed in to change notification settings - Fork 130
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/showtime/showtime/Hc9zk8aL5VJcz8Zu22iQreSq4M6N |
package.json
Outdated
@@ -45,7 +45,8 @@ | |||
"clean": "yarn clean:turbo & yarn clean:node-modules", | |||
"clean:turbo": "rm -rf ./node_modules/.cache/turbo", | |||
"clean:node-modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +", | |||
"postinstall": "patch-package" | |||
"postinstall": "patch-package", | |||
"nuke": "yarn clean && rm -rf apps/storybook-react-native/android && rm -rf apps/storybook-react-native/ios && rm -rf apps/expo/android && rm -rf apps/expo/ios" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome addition!
My nitpick are not blockers but do you think clean:mobile might be a more aligned script name? Also if you have the time it could be helpful to add the new script to the script command section of the readme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I agree about naming. I'll go for clean:native
as it is removing the native iOS and Android folders.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion! Updated and added in readme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Same nitpick as Lois about naming.
Don't know when or how this went wrong. I'll add basic end-to-end tests to avoid having a bad build or bad bundle in staging
.
PR Preview - Storybook on Chromatic |
Why
Fixes the below error appearing due to context menu library and adds a
nuke
scriptTest Plan