Closed leerob closed 2 years ago
Another thought: maybe the component library includes our preferred way of staying - is it Tailwind? Stitches?
Great idea
IMO #269 doesn't resolve this issue. The key thing missing would be per-component versioning.
I need to do this for work anyways, so I don't mind contributing back!
How far can I go with this template? Want me to integrate husky + lint-staged? Can I integrate Intuit's Auto? @leerob said no Storybook and I haven't been able to set it up anyways so I can go with Nextra.
@kylemh @jaredpalmer @leerob any updates on this. The current template is very basic as it's missing testing and previewing components using storybook or something similar. also it misses Husky and lint-staged and maybe commitlint. also, it would be great if eslint is treated as tsconfig, so you can have both browser and server rules seprated.
I'll definitely contribute as soon as I have any free time.
I did what I could to help by outlining what I think is missing here
I'm sure Jared is absolutely trying his best to tackle everything, always, all at once ❤️
Update: We now have a design system example using:
https://github.com/vercel/turborepo/tree/main/examples/design-system
Was going to raise an issue on best practice for nextjs + design system package + storybook, and stumbled on this one. Seems like the design system example is good basis. I had a couple of queries on it...
@leerob Is there any example available related to Vue & Storybook ?
Describe the feature you'd like to request
A starter example component library where each component is published as its own NPM package.
Describe the solution you'd like
Describe alternatives you've considered
Maybe tsup is a better solution here? Open to suggestions.
Storybook doesn't seem like the right choice because it brings in webpack and Babel and ideally this solution avoids those entirely.