We welcome contributions to this project.
To release a snapshot version to test changes, run the following command:
npm run snapshotpnpm changeset
pnpm version-packages
grlz 'new version'
pnpm release
pnpm update-examplesTo 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.jsonto point to the local package forlangbase.
{
"dependencies": {
"langbase": "workspace:*"
}
}- Now run in the root:
pnpm clean-all && pnpm installThen run the development server:
pnpm devBy doing this, the Next.js example will use the local packages instead of the published ones.