A step by step list of how to build packages with Typescript
- Setup Git repository
- initialise npm
- Install Typescript
- Initialize
tsc - Install prettier and add config
- install eslint and add config
- add tsup and tsup config to build packages
- Add tsx to run ts files locally
- Add scripts for build, dev, testing, linting
- add vitest
- Setup workflow to run test, lint etc. on PR merge
- Generate NPM access token
- Add
NPM_TOKENas a secret to github - Add changesets
- add Pipeline to publish