Where do you start when you want to kick off a new TypeScript + React package or library? How do you add StoryBook into the mix?
This sounds like a daunting task if you haven't done it before, and even if you did, it's still kind of a pain in the butt.
Configuring a package is a myriad of decisions and tinkering with many files and configs of different tools.
What if I told you it doesn't have to be a pain at all? What if it's even a delightful experience? What if all you need to do is run one command? Wouldn't that blow your mind?!
So here it is, the command you've been waiting for:
npx tsdx create my-new-project
Follow the prompts and choose
That's it! Thanks for reading 😃
If you'd like a deeper dive and learn how to build a component library that uses Tailwind and Styled Components as well - check out my previous post: "How to Build A React TS Tailwind Design System"