chromaui / learnstorybook.com

Static site and content for Storybook tutorials
https://storybook.js.org/tutorials/
MIT License
2.4k stars 436 forks source link

getting started guide #761

Open dataf3l opened 3 months ago

dataf3l commented 3 months ago

in the guide you say:

https://github.com/chromaui/learnstorybook.com/blob/master/content/intro-to-storybook/react/en/get-started.md

git add .

this may accidentally add the node_modules folder.

should we add a step to prevent that? maybe some new person will make this mistake and will create large repos.

just a thought

jonniebigodes commented 3 months ago

@dataf3l thanks for reaching out to us with your feedback. We appreciate it. While I understand your reasoning, both the template and a standard application initialized via a generator (e.g., Vite) will automatically set up a .gitignore file configured with a set of files and directories that should not be committed and pushed to a repository. Adding it wouldn't bring anything new to the tutorial and would add a breaking point in the documentation (if it was added as an aside), or extend it more unnecessarily.