@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 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`), with a `servers` entry naming the base URL of the API |
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.31.0` for
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voxgig/create-sdkgen",
3
- "version": "0.30.0",
3
+ "version": "0.30.2",
4
4
  "main": "dist/create-sdkgen.js",
5
5
  "type": "commonjs",
6
6
  "types": "dist/create-sdkgen.d.ts",
@@ -29,9 +29,9 @@
29
29
  "devDependencies": {
30
30
  "@types/node": ">=25.6",
31
31
  "typescript": ">=6.0",
32
- "@voxgig/apidef": "~8.18.1",
32
+ "@voxgig/apidef": "~8.20.0",
33
33
  "@voxgig/model": "~12.0.0",
34
- "@voxgig/sdkgen": "~4.31.0",
34
+ "@voxgig/sdkgen": "~4.32.0",
35
35
  "@voxgig/util": ">=0.5",
36
36
  "@voxgig/struct": ">=0.2",
37
37
  "jostraca": ">=0.39.0",