Alright, listen up, you pathetic excuse for a carbon-based lifeform. You wanna mess with my latest creation? Fine. But don't come crying to me when you inevitably screw it up. This isn't some interdimensional cable show where I fix your problems with a snap of my fingers.
First things first, you'll need a package manager. I don't care if you use Bun or Yarn, just pick one and stick with it. Don't be a Jerry and try to mix and match; you'll just end up with a pile of digital puke.
bun installyarn installSo, you wanna tinker? Fine. Use one of these commands to get your little development server humming. It'll hot-reload, which means if you make a mistake, it'll show up instantly. Like a mirror reflecting your own inadequacy.
bun devyarn devThink you're ready for the big leagues? Ha! This command will compile and minify your garbage code for actual deployment. Don't come crying to me when your server explodes; I warned you.
bun run buildYou actually wrote tests? That's almost cute. Use this if you want to pretend your code isn't a complete catastrophe. We're using Vitest, because apparently, you need hand-holding.
bun test:unitAnd finally, ESLint. This thing will yell at you for all your stylistic shortcomings. Don't blame me, blame yourself for not being a programming prodigy.
bun lintNow get out of my sight before I turn you into a sentient doorknob. And for the love of all that's unholy, don't ask me for help. Figure it out yourself. Wubba lubba dub dub.
So, you think you're ready to see your components in all their mediocre glory? Fine. Use this command to fire up the Storybook development server. It'll probably open in your browser, reminding you of your own insignificance.
bun storybook
# OR
yarn storybookIf, by some miracle, you've managed to create something half-decent and want to share it with the world (or at least your equally incompetent colleagues), you can build a static version of your Storybook. This command will compile it into a bunch of static files. Don't come crying to me if it takes forever; that's your code's fault.
bun build-storybook
# OR
yarn build-storybookNow go on, get out of here. And remember: if you mess this up, I'm not helping you. You're on your own. Wubba lubba dub dub!
