@naturali/cli 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -105,3 +105,15 @@ pipeline.
105
105
 
106
106
  Hand-written source is limited to dispatch, flag parsing, credentials and help;
107
107
  there is no per-endpoint code.
108
+
109
+ ## Versioning
110
+
111
+ Releases are automatic, and the version tracks the API rather than a hand-picked
112
+ schedule. Any change to `api/openapi/v1/*.yaml` regenerates this package and
113
+ publishes it — new endpoints become new commands without anyone editing the CLI
114
+ — and so does a change to `@naturali/sdk`, which is bundled in at build time
115
+ rather than resolved from npm.
116
+
117
+ `fix:`/`chore:` changes release a patch, `feat:` a minor, and a breaking change
118
+ is held for human approval before it reaches npm. See the repository
119
+ [README](../../README.md#releasing).
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ var __exportAll = (all, no_symbols) => {
18
18
  };
19
19
  //#endregion
20
20
  //#region package.json
21
- var version = "0.1.0";
21
+ var version = "0.1.1";
22
22
  //#endregion
23
23
  //#region ../sdk/src/generated/core/bodySerializer.gen.ts
24
24
  const jsonBodySerializer = { bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value) };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,7 +32,7 @@
32
32
  "tsx": "^4.23.1",
33
33
  "typescript": "~6.0.3",
34
34
  "vitest": "^4.1.10",
35
- "@naturali/sdk": "0.1.0"
35
+ "@naturali/sdk": "0.1.1"
36
36
  },
37
37
  "scripts": {
38
38
  "generate": "pnpm --filter @naturali/sdk generate && tsx scripts/generate.ts",