How to create new package?
- Use
yarn generate-package @scope/new-package-name
- it will generate package boilerplate inscope/new-package-name
folder.
How to use this new package?
- Place this package to dependency field of package.json in package where you want to use it.
- Run
yarn refs
to generate tsconfig refs. - Run
yarn
to let yarn symlink this package.