Next.js / Chakra-ui / Storybook / Turborepo starter

Apps and packages

  • web: a Next.js app with Chakra-ui theme provider
  • web-stories: the storybook for this repo. Note: stories can be declared from any package.
  • config: eslint, stylelint, prettier and jest configurations
  • package-template: an empty package useful for creating new packages
  • theme: a ChakraUI theme definition
  • tsconfig: tsconfig.jsons used throughout the monorepo
  • ui: a stub React component library used by web application
  • utils: a utilities package

Build

To build all apps and packages, run the following command:

yarn run build

Develop

To develop all apps and packages, run the following command:

yarn run dev

Run the storybook

yarn storybook

Run the linters

Eslint

yarn run lint

Stylelint

yarn run lint:css

Run the tests

yarn run test