-
Notifications
You must be signed in to change notification settings - Fork 3
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
Installed Storybook with Vite and Lit support. #18
Conversation
… the last commit Note that the Sidebar component is visible in Storybook, but it looks nothing like the application itself because of all the global styles that are required
for more information, see https://pre-commit.ci
What does this mean? Can you explain how to use it? |
Yeah, my bad for not including an explanation of the script. Run the following command:
If this doesn't work, update the dependencies using You should then be able to open the link displayed in the console (ctrl click) and view the Storybook UI in the console. This will have some generic components created on initialization, as well as the Sidebar component that looks terrible because of a lack of global styling. I'm not sure how to get the latest changes from the lit branch to storybook, but I could also add the new |
Ohh wow that is cool! Just some conflicts to resolve and this should be good |
@CodyCBakerPhD Not used to the Github Pull Request tab so didn't see those conflicts. Should be good to go! |
OK so this is why I'm so against having the Are there any actual changes to the file that are important to us, or required by the PR? |
Yes these changes are important. The CI won't pass unless the '@storybook /xxx' dependencies are included in the The recommended way to install Storybook ( Ultimately, there will often be changes to Does that make sense? |
I guess just shock factor at the scale of it... In Python we only make deliberate, small, clear changes to dependency stack when absolutely necessary and it never produces inflated changelogs Some example PRs from what you pointed to seem to just go with it: facebook/react#26326, facebook/react#26205, facebook/react#24916 Sure hope it stabilizes more over time |
Yeah, I understand where you're coming from. The impact on the changelog really depends on the number of dependencies that the dependencies you're adding have. If you refer back to #17, this also updates the Storybook is a monstrous dependency, hence all the changes here. |
This PR installs a new version of Storybook with Vite and Lit support.
A Caveat
The Sidebar component is visible in Storybook—but it looks nothing like the application itself because of all the global styles that are required. This can be cleaned up in future PRs.