Skip to content
/ bgdk Public

Baked Goods Development Kit (or CRA for vanilla-extract)

License

Notifications You must be signed in to change notification settings

ehyland/bgdk

Repository files navigation

Baked Good Development Kit

Or, create react app for vanilla-extract apps.

Project Archived

I started this project when setting up vanilla-extract was not a simple task.

Since then the vanilla extract team have built many great framework and bundler integrations.

I'd recommend using one of them instead of bgdk.

Features

  • Pre-configures webpack, babel, jest & storybook for vanilla-extract
  • Dev server
  • Component generator
  • Easily extended through .babelrc, jest.config.js, .browserslistrc & bgdk.config.js (coming soon)

Create a new app

# with npm
npm init bgdk ./my-new-app

# with yarn
yarn create bgdk ./my-new-app

Start the app in dev mode

bgdk dev

Create a build for production

bgdk build

Serve built app (for local testing only)

bgdk serve

Generate a component

bgdk component src/component/ComponentName

TODO

  • Add project bootstrap command with template
  • Add component generator
  • Add docs to readme
  • Open source
  • Setup releases in CI with changesets
  • Break storybook helpers into it's own package
  • Config preset for babel
  • Config preset for jest
  • Config preset for eslint
  • 🚀 v1