Adding a new package
Replace foo
with your new package name in the instructions below.
cd packages
mkdir foo && cd foo
pnpm init
code package.json
and update thedescription
fieldpnpm install
pnpm -w meta-updater
For any packages that you need to depend on, you can run
pnpm add some-package
from the packages/foo
directory. Note that some-package
could be a local package, eg @cursorless/common
. In that case, you need to re-run pnpm -w meta-updater
after adding the dependency, so that the Typescript references can be updated.