@voxgig/create-sdkgen 0.30.0 → 0.30.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 +2 -2
- package/package.json +1 -1
- package/project/standard/.sdk/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ generated output and is overwritten on each regenerate.
|
|
|
33
33
|
| Flag | Meaning |
|
|
34
34
|
| --- | --- |
|
|
35
35
|
| `<name>` | SDK name (kebab-case), the package base name |
|
|
36
|
-
| `-d, --def <spec>` | OpenAPI 3 spec file (`.yaml`/`.json`)
|
|
36
|
+
| `-d, --def <spec>` | OpenAPI 3 spec file (`.yaml`/`.json`). Its `servers` entry names the base URL of the API. A spec without one still builds: the SDK then takes the URL as its `base` server variable, or `.sdk/build/apidef.js` fixes one with the `server` option |
|
|
37
37
|
| `-o, --folder <dir>` | output directory (default `<name>-sdk`) |
|
|
38
38
|
| `-t, --target <langs>` | targets to add during scaffold (e.g. `ts,py,go`) |
|
|
39
39
|
| `-f, --feature <feats>` | features to add (e.g. `test`) |
|
|
@@ -89,7 +89,7 @@ such a project and re-scaffolds it.
|
|
|
89
89
|
- **[@voxgig/sdkgen](https://github.com/voxgig/sdkgen)** — generates the SDKs from the model.
|
|
90
90
|
|
|
91
91
|
The scaffold's `.sdk/package.json` pins each Voxgig toolchain package to the
|
|
92
|
-
patch line this release of create-sdkgen was released with: `~4.
|
|
92
|
+
patch line this release of create-sdkgen was released with: `~4.32.0` for
|
|
93
93
|
`@voxgig/sdkgen`, and likewise for `@voxgig/apidef`, `@voxgig/model` and
|
|
94
94
|
`@voxgig/docgen`. A release that carries these pins, pinned or not, scaffolds
|
|
95
95
|
a project that installs a toolchain able to drive what the scaffold wrote. A
|
package/package.json
CHANGED
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": ">=25.6",
|
|
31
31
|
"typescript": ">=6.0",
|
|
32
|
-
"@voxgig/apidef": "~8.
|
|
32
|
+
"@voxgig/apidef": "~8.20.0",
|
|
33
33
|
"@voxgig/model": "~12.0.0",
|
|
34
|
-
"@voxgig/sdkgen": "~4.
|
|
34
|
+
"@voxgig/sdkgen": "~4.32.0",
|
|
35
35
|
"@voxgig/util": ">=0.5",
|
|
36
36
|
"@voxgig/struct": ">=0.2",
|
|
37
37
|
"jostraca": ">=0.39.0",
|