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

storybook: add SB to serving and use esbuild for it. #292

Merged
merged 3 commits into from Jul 29, 2022

Conversation

pablo-mayrgundter
Copy link
Member

@pablo-mayrgundter pablo-mayrgundter commented Jul 28, 2022

This includes new build rules and slight change in how we build.

Storybook can now be accessed at our Netlify and bldrs.ai by appending /sb to the host. I'll add a link when this PR builds.

Usually yarn serve will build, but it wiped out the existing serving directory and rebuilt it. I tried this with storybook, but SB takes a long time to build and it doesn't hot serve.

Documented the updated package scripts here:
https://github.com/bldrs-ai/Share/wiki/Dev:-Guide#package-scripts

@netlify
Copy link

netlify bot commented Jul 28, 2022

Deploy Preview for bldrs-share ready!

Name Link
🔨 Latest commit f3f1e33
🔍 Latest deploy log https://app.netlify.com/sites/bldrs-share/deploys/62e3cb1ad36f280008ddade3
😎 Deploy Preview https://deploy-preview-292--bldrs-share.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pablo-mayrgundter pablo-mayrgundter self-assigned this Jul 28, 2022
@pablo-mayrgundter pablo-mayrgundter added the code Code cleanup, refactoring, style and lint label Jul 28, 2022
@pablo-mayrgundter pablo-mayrgundter marked this pull request as ready for review July 28, 2022 18:35
@pablo-mayrgundter
Copy link
Member Author

Not sure why the netlify link goes to /sb now.. i'll try to fix that up.

@pablo-mayrgundter
Copy link
Member Author

Also, a follow-on for this is maybe add /docs to our .gitignore so we are sure we stop checking it in.

@pablo-mayrgundter pablo-mayrgundter merged commit fb15e09 into bldrs-ai:main Jul 29, 2022
@pablo-mayrgundter pablo-mayrgundter deleted the hosted-storybook-2 branch August 2, 2022 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Code cleanup, refactoring, style and lint
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

None yet

2 participants