- Install
pnpm - Install deps with
pnpm i
You can copy /demo/.env-example to /demo/.env:
DATABASE_URL=postgresql://postgres:prisma@localhost:5432/stl_demo
NEXTAUTH_JWT_SECRET=(random string)
NEXTAUTH_SECRET=(random string)
In /demo:
docker compose up -dbrew services start postgresql@14 # run the initdb manually if needed
brew services info postgresql@14 # expect loading to be truein /demo/.env, set it like so:
DATABASE_URL=postgresql://$USER:prisma@localhost:5432/stl_demosuch that this works:
psql -U $USER -d postgresIn /demo:
pnpm prisma migrate dev(In monorepo root directory)
pnpm watchTypeScript won't be able to resolve packages' references to each other before their
build output is in packages/*/dist. The build:watch command runs tsc -b --watch
on the packages, so that changes in one are quickly available in another.
In /demo:
pnpm dev(In monorepo root directory)
pnpm testTo create a release:
- Merge the feature PR into main. The commit message should follow conventional commits.
- Wait for release-please to run, which should result in a PR being opened. Merge that PR.
git checkout main && git pull mainpnpm publish-git