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

Add build:storybook task to turbo #13

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

Diogomartf
Copy link
Contributor

@Diogomartf Diogomartf commented May 15, 2024

this helps fix the build on deploy

Now vercel does the 2 deploys.

Copy link

vercel bot commented May 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 2:04pm
swapr-ui-lib-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 2:04pm
swapr-ui-lib-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 2:04pm
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 2:04pm

package.json Outdated
Comment on lines 17 to 19
"build:ui": "turbo run build --filter=./packages/ui",
"build:storybook": "turbo run build:storybook --filter=./packages/ui",
"build:website": "turbo run build --filter=./apps/website",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"build:ui": "turbo run build --filter=./packages/ui",
"build:storybook": "turbo run build:storybook --filter=./packages/ui",
"build:website": "turbo run build --filter=./apps/website",
"build:ui": "turbo run build --filter=swapr-ui",
"build:storybook": "turbo run build:storybook --filter=swapr-ui",
"build:website": "turbo run build --filter=swapr-ui-website",

This looks cleaner to me, what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, updated.

Copy link
Contributor

@berteotti berteotti left a comment

Choose a reason for hiding this comment

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

Looks good, just made a comment to improve

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