Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 861 Bytes

CONTRIBUTING.md

File metadata and controls

53 lines (36 loc) · 861 Bytes

Contributing

We welcome contributions to this project.


Releasing a snapshot version

To release a snapshot version to test changes, run the following command:

npm run snapshot

Releasing a new version

pnpm changeset
pnpm version-packages
grlz 'new version'
pnpm release
pnpm update-examples

Testing locally

To test the changes locally, you can run the following command:

  • Navigate to an example's folder like the Next.js one in examples/nextjs.

  • Change the package.json to point to the local package for langbase.

{
  "dependencies": {
    "langbase": "workspace:*"
  },
}
  • Now run in the root:
pnpm clean-all && pnpm install

Then run the development server:

pnpm dev

By doing this, the Next.js example will use the local packages instead of the published ones.