We welcome contributions to this project.
To release a snapshot version to test changes, run the following command:
npm run snapshot
pnpm changeset
pnpm version-packages
grlz 'new version'
pnpm release
pnpm update-examples
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 forlangbase
.
{
"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.