@voxgig/create-sdkgen 0.20.2 → 0.20.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voxgig/create-sdkgen",
3
- "version": "0.20.2",
3
+ "version": "0.20.4",
4
4
  "main": "dist/create-sdkgen.js",
5
5
  "type": "commonjs",
6
6
  "types": "dist/create-sdkgen.d.ts",
@@ -306,17 +306,20 @@ jobs:
306
306
  continue-on-error: true
307
307
  steps:
308
308
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
309
- # 0.13, NOT 0.14+: the generated build.zig.zon declares `.name` as a
310
- # plain string, which 0.14 rejects ("expected enum literal"). Package_zig
311
- # says the string form matches the target's toolchain pin — keep the two
312
- # in step, or move both to the enum-literal + fingerprint form together.
309
+ # 0.16, matching the generated build.zig.zon's enum-literal `.name` +
310
+ # `.fingerprint` form and the rest of the voxgig toolchain: struct,
311
+ # omni and sekreto all pin 0.16 too. This pin and Package_zig.ts move
312
+ # TOGETHER — the zon form 0.16 requires is exactly what 0.13 cannot
313
+ # parse, so a split leaves the generated SDK unbuildable on one side
314
+ # or the other. It was 0.13 until the target was ported, which is
315
+ # what let omni's zig port be vendored at all.
313
316
  # NODE24 EXCEPTION: setup-zig has no node24 release — v1 and v2 are both
314
317
  # node20 — so it stays on v1 and will emit a deprecation warning.
315
318
  # Revisit when upstream ships one.
316
319
  - if: hashFiles('zig/build.zig') != ''
317
320
  uses: mlugg/setup-zig@53fc45b17fe98b52f92ee5ea08ff48a85a3e7eb7 # v1
318
321
  with:
319
- version: '0.13.0'
322
+ version: '0.16.0'
320
323
  - if: hashFiles('zig/build.zig') != ''
321
324
  run: make -C zig test
322
325
 
@@ -3,6 +3,7 @@
3
3
  import {
4
4
  cmp,
5
5
  Deploy,
6
+ PublishWorkflow,
6
7
  ReadmeTop,
7
8
  AgentGuideTop,
8
9
  License,
@@ -30,6 +31,13 @@ const Top = cmp(function Top(props: any) {
30
31
  // credentials injected by the aql key vault) plus an all-targets
31
32
  // `make deploy-dry` rehearsal.
32
33
  Deploy({})
34
+
35
+ // Publishing an npm target from CI with no token: a dispatch workflow per
36
+ // npm target using GitHub OIDC trusted publishing, and the one-time
37
+ // set-up a maintainer must do, written to `.sdk/PUBLISHING.md` — beside
38
+ // the generator rather than into the target's own docs, which describe
39
+ // the SDK to the people who install it.
40
+ PublishWorkflow({})
33
41
  })
34
42
 
35
43