@naturali/cli 0.27.0 → 0.27.2
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 +14 -9
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -94,12 +94,17 @@ there is no per-endpoint code.
|
|
|
94
94
|
|
|
95
95
|
## Versioning
|
|
96
96
|
|
|
97
|
-
Releases are automatic, and the version
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
97
|
+
Releases are automatic, and the version is **shared with the API and with
|
|
98
|
+
`@naturali/sdk`** — one number, one git tag, three packages. `@naturali/cli@0.28.0`
|
|
99
|
+
speaks to API 0.28.0, and `naturali --help` is generated from the specs that
|
|
100
|
+
release was built from, so it is always the authority on what your version can do.
|
|
101
|
+
|
|
102
|
+
Any change to `api/openapi/v1/*.yaml` regenerates this package and publishes it —
|
|
103
|
+
new endpoints become new commands without anyone editing the CLI — and so does a
|
|
104
|
+
change to `@naturali/sdk`, which is bundled in at build time rather than resolved
|
|
105
|
+
from npm.
|
|
106
|
+
|
|
107
|
+
`fix:`/`chore:` changes release a patch and `feat:` a minor, inferred from the
|
|
108
|
+
squashed commit subject. Every case publishes on merge, breaking changes
|
|
109
|
+
included. See the repository [README](../../README.md#releasing) and
|
|
110
|
+
[`CHANGELOG.md`](../../CHANGELOG.md).
|
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region package.json
|
|
20
|
-
var version = "0.27.
|
|
20
|
+
var version = "0.27.2";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
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.27.
|
|
3
|
+
"version": "0.27.2",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"tsx": "^4.23.1",
|
|
32
32
|
"typescript": "~6.0.3",
|
|
33
33
|
"vitest": "^4.1.10",
|
|
34
|
-
"@naturali/sdk": "0.27.
|
|
34
|
+
"@naturali/sdk": "0.27.2"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"generate": "tsx scripts/generate.ts",
|