Vite version of the application built in the book CCTDD: Cypress Component Test Driven Development.
The Webpack version of the application can be found here.
# specify the registry in case you are using a proprietary registry
yarn install --registry https://registry.yarnpkg.com
# parallel unit, typecheck, lint, format
yarn validate
# no need to have server running for these:
yarn cy:open-ct # for cypress component test runner
yarn cy:run-ct # headless version
# runs the ui and api servers, then opens e2e runner
yarn cy:open-e2e
yarn cy:run-e2e # headless version
yarn test # run unit tests with jest
build --> Cypress e2e test
--> Cypress component test
--> Typecheck
--> Lint
--> Unit test