Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the windows equivalent command to the unix storybook script. #2069

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

anagrd-ai
Copy link
Contributor

Eg "npm run storybook-windows". The unix version fails on a windows machine.

… "npm run storybook-windows". The unix version fails on a windows machine.

Signed-off-by: Jason Smart <jlsmart@meta.com>
@mtoy-googly-moogly mtoy-googly-moogly merged commit fe4e1dd into main Dec 31, 2024
11 checks passed
@mtoy-googly-moogly mtoy-googly-moogly deleted the jlsmart-renderbugs branch December 31, 2024 22:13
@@ -24,6 +24,7 @@
"clean": "tsc --build --clean",
"prepublishOnly": "npm run build",
"storybook": "rm -rf ./node_modules/.cache && storybook dev -p 6006",
"storybook-windows": "del /s /q .\\node_modules\\.cache && storybook dev -p 6006",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a bystander comment: rimraf is what often gets used for cross-platform removal of old stuff. You'd use rimraf as CLI commands like in this random example

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@srenatus thanks for the tip! wish you had beat me to the review.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was merely a chance find on my end. I hadn't been looking at Malloy in a long while 😅

@anagrd-ai anagrd-ai restored the jlsmart-renderbugs branch January 1, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants