This is a skeleton project for implementing mono-repository using lerna, typescript, jest, eslint, prettier and madge
List of useful commands that could be used by developers. Execution in the command-line interface should be prefixed with yarn
package manager.
Command | Description |
---|---|
storybook |
run storybook for development on port 3000 |
build-storybook |
build storybook production distribution. |
lint |
run linter against current application codebase. |
test |
run unit tests. |
test:cov |
run unit tests with coverage reporter. |
prettier |
run code formatter process against current codebase. |
This project uses Conventional Commits to enforce common commit standards.
Command | Description |
---|---|
npx git-cz |
run commit command line interface. |
Command | Description |
---|---|
npx lerna run build |
run build script from package.json for each package |
Command | Description |
---|---|
npx lerna add <name>[@ver] packages/<name> [--dev] |
Add dependency to specific package in mono-repository. |
Command | Description |
---|---|
update-packages |
run update wizard command line interface. |