- Next JS
- Tailwind
- Storybook
- Typescript
- graphql-codegen/typescript
- CraftCMS
- @svgr/webpack
- Hygen generator
- Lerna
- Husky
- Jest
- Cypruss
- eslint
- prettier
- stylelint
- commitlint
- GraphQL api
- Blog listing/pagination + entries
- Home page entry
- Pages structure (supports multiple types)
- Global (build time) data
- SEOMatic component
- Formie helpers, including auto generated graphql mutations
- To setup the frontend tooling and nextjs run
yarn install
ornpm install
- To install CraftCMS please refer to the CraftCMS Docs
yarn dev
: starts the app package nextjs serveryarn test
: run all of the testsyarn build
: build the next js appyarn start
: start the production siteyarn lint
: lint the frontend codeyarn storybook
: runs the ui package storybook serveryarn release
: tag a release, update changelog
yarn new:component
: create a new componentyarn new:page
: create a new nextjs pageyarn new:context
: create a new context provider
/packages/cms
: Craft CMS/packages/app
: Next JS codebase/packages/ui
: Design system
See https://www.graphql-code-generator.com/docs/plugins/typescript-graphql-request for docs