Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.32 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.32 KB

monorepo

Bun monorepos are a bit undeveloped and undocumented. Some common commands you'll need are:

  • bun i typescript --cwd=apps/app2
  • bun --filter git-sell dev
  • bun --cwd=apps/git-sell ngrok http 5173 --domain=pleased-manually-lab.ngrok-free.app

Workflow

Copybara mirrors some packages to their own repos, for example, react-router-busy.

PRs coming to react-router-busy are mirrored back to the monorepo and are merged there, which then deletes them from react-router-busy and finally pushes those changes back to react-router-busy.

Only commits in the monorepo that affect any files mirrored to react-router-busy are reflected there. Changes are only pushed to react-router-busy once a week to conserve free Action minutes.

Releasing is done in the package's mirrored repo, eg, react-router-busy. This makes GitHub releases and tags show for everyone since the monorepo is private. This is also more cost effective since Action minutes don't count for public repos. This is also fine because semantic-release promotes not making commits during release to reduce complexity.

Database

  • turso db create [database-name] --from-db open-the-hunter