Skip to content
/ monorepo Public template
forked from outsrc/monorepo

Frontend monorepo template

Notifications You must be signed in to change notification settings

AntonyF-Andreani/monorepo

This branch is 1 commit ahead of outsrc/monorepo:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

216e60b · Jun 9, 2021

History

8 Commits
Jun 9, 2021
Nov 23, 2020
Nov 23, 2020
Jun 9, 2021
Nov 23, 2020
Jun 9, 2021
Jun 9, 2021
Nov 23, 2020
Nov 23, 2020
Nov 23, 2020
Nov 23, 2020
Nov 23, 2020
Nov 23, 2020
Jun 9, 2021
Jun 9, 2021
Jun 9, 2021
Jun 9, 2021
Nov 23, 2020
Jan 11, 2021

Repository files navigation

monorepo

This is a Frontend monorepo template for NextJS applications.

Supports:

  • Create application / shared module
  • Shared TypeScript / ESLint / Prettier configs
  • Global and per Application Storybook
  • Global and per Application Start / Stop
  • Global and per Application / Shared Module Tests

Start

$ yarn
$ yarn test
$ yarn start

$ open http://localhost:3000/template

To create new Application / Shared Module

$ yarn generate

And follow the prompts

Storybook

Global Storybook

$ yarn storybook

Local Application Storybook

$ yarn workspace @andreani/template storybook

Tests

Run all tests

$ yarn test

Run Application / Shared Module only tests

$ yarn workspace @andreani/template test

$ yarn workspace @andreani/functions test

Running Applications

To run all applications on SSG mode (no dev mode)

$ yarn start

To run all applications using dev mode for some

$ yarn start --dev template

(You can now make changes to the @andreani/template application and see changes hot reloading on the browser)

To stop all applications

$ yarn stop

Change repository organization.

If you want to make this repo yours start by using the change-org script.

$ yarn change-org --from @andreani --to @yourcompany

About

Frontend monorepo template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 68.5%
  • JavaScript 29.8%
  • SCSS 1.7%