Monorepo for webhookthing
pnpm install
pnpm devpnpm dev-cliFirst, add changes with changesets:
npx changeset addThen, make a new version & publish
pnpm publish-cliThis is half a guide half our "lessons learned" from doing this too many times.
Example PR where we added the logger package
- Create a new folder in either
packages/orapps/a. Generally we recommend putting things inpackages/if they'll be used in >1 thing inapps/ - Create a package.json that imports the shared eslint and tsconfig
a. Probably easiest to copy-paste a minimal package at this point,
@captain/loggeris a good one - Add the new package's path to all the weird places it needs to be listed
a.
pnpm-workspace.yaml(note: Might be covered already with one of the/*instances) b..vscode/settings.json->eslint.workingDirectoriesc. If being used incli,apps/cli/cli/tsup.config.ts->noExternal - Do one last
pnpm installand you should be good to go!