keen / mono-repo-skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mono-repository skeleton

written in typescript styled with prettier tested with jest Commitizen friendly yarn lerna

This is a skeleton project for implementing mono-repository using lerna, typescript, jest, eslint, prettier and madge

npm scripts

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.

commit

This project uses Conventional Commits to enforce common commit standards.

Command Description
npx git-cz run commit command line interface.

build packages

Command Description
npx lerna run build run build script from package.json for each package

add dependency to package

Command Description
npx lerna add <name>[@ver] packages/<name> [--dev] Add dependency to specific package in mono-repository.

updating dependencies

Command Description
update-packages run update wizard command line interface.

About


Languages

Language:JavaScript 73.6%Language:TypeScript 19.0%Language:Shell 7.4%