This is a monorepo for developing simple typescript interfaces, implementations of those interfaces, and related artifacts. For more information, see ts-simple-interfaces and ts-simple-interfaces-testing.
This monorepo is based on @wymp/ts-monorepo-poc. See that project for documentation on the general ideas.
# This repo uses pnpm; install it or update it if necessary
npm i -g pnpm
pnpm i
pnpm check
- To lint/prettify everything:
pnpm format
- To bump all package versions:
pnpm version:bump major|minor|patch
- To publish all packages:
pnpm publish:all
- To generate docs:
pnpm docs:gen
- To view docs:
pnpm docs:view
- Create a new branch from the latest code:
git fetch origin && git checkout -b your-branch origin/current
- Install deps and make sure everything is good to start out with:
pnpm i && pnpm check
- Make all your changes.
- When finished, format the code and regenerate docs:
pnpm format && pnpm docs:gen
- Finally, bump version and publish everything:
pnpm version:bump minor && pnpm publish:all