client-ts icon indicating copy to clipboard operation
client-ts copied to clipboard

Add version checks for the CLI

Open SferaDev opened this issue 2 years ago • 3 comments

Make sure the CLI and codegen use the same version or a semver compatible one.

Criteria:

  • Projects should NOT have a pinned codegen version.
  • Users should always be in the latest CLI version.
  • Codegen breaking changes should be avoided, and only happening in major version releases.

SferaDev avatar Nov 25 '22 08:11 SferaDev

🦋 Changeset detected

Latest commit: 355c9c3532291b921ea633aa736127d759bacfe1

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "@xata.io/client" specified in the `linked` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.
The package or glob expression "@xata.io/codegen" specified in the `linked` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

changeset-bot[bot] avatar Nov 25 '22 08:11 changeset-bot[bot]

size-limit report 📦

Path Size
packages/client/dist/index.mjs 14.1 KB (0%)
packages/client/dist/index.cjs 15.19 KB (+0.04% 🔺)
packages/codegen/dist/index.mjs 3.11 MB (0%)
packages/codegen/dist/index.cjs 3.11 MB (0%)

github-actions[bot] avatar Nov 25 '22 08:11 github-actions[bot]

Your pull request has been published to npm.

You can install it by running:

npm install @xata.io/[email protected]

To test the CLI, run:

npx @xata.io/[email protected]

github-actions[bot] avatar Nov 25 '22 08:11 github-actions[bot]