@sdxc/kit 2026.11.1 → 2026.11.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.
Files changed (58) hide show
  1. package/README.md +68 -0
  2. package/changelog.jsonl +260 -0
  3. package/config.schema.json +14 -0
  4. package/dist/ci/install.d.ts +15 -0
  5. package/dist/ci/install.js +27 -0
  6. package/dist/ci/locate.d.ts +23 -0
  7. package/dist/ci/locate.js +43 -0
  8. package/dist/cli.js +6 -0
  9. package/dist/commands/ci/clean.d.ts +11 -0
  10. package/dist/commands/ci/clean.js +15 -0
  11. package/dist/commands/ci/list.d.ts +16 -0
  12. package/dist/commands/ci/list.js +24 -0
  13. package/dist/commands/ci/run.d.ts +70 -0
  14. package/dist/commands/ci/run.js +43 -0
  15. package/dist/commands/ci/signoff.d.ts +15 -0
  16. package/dist/commands/ci/signoff.js +15 -0
  17. package/dist/commands/ci/verify.d.ts +17 -0
  18. package/dist/commands/ci/verify.js +15 -0
  19. package/dist/commands/create.js +3 -0
  20. package/dist/commands/pkg.d.ts +16 -0
  21. package/dist/commands/pkg.js +71 -0
  22. package/dist/commands/routes.d.ts +1 -1
  23. package/dist/config.d.ts +10 -4
  24. package/dist/config.js +8 -0
  25. package/dist/contract.d.ts +65 -1
  26. package/dist/contract.js +51 -0
  27. package/dist/create/workspace.d.ts +15 -0
  28. package/dist/create/workspace.js +42 -0
  29. package/dist/doctor/checks.js +4 -0
  30. package/dist/doctor/ci.d.ts +15 -0
  31. package/dist/doctor/ci.js +63 -0
  32. package/dist/doctor/translations.d.ts +19 -0
  33. package/dist/doctor/translations.js +144 -0
  34. package/dist/package-manager.d.ts +2 -0
  35. package/dist/package-manager.js +16 -2
  36. package/dist/pkg/catalog.d.ts +12 -0
  37. package/dist/pkg/catalog.js +153 -0
  38. package/dist/pkg/resolve.d.ts +67 -0
  39. package/dist/pkg/resolve.js +147 -0
  40. package/dist/upgrade/changelog.d.ts +2 -2
  41. package/dist/upgrade/project.d.ts +2 -2
  42. package/package.json +10 -8
  43. package/registry/ui/banner.json +16 -0
  44. package/registry/ui/confirm.json +8 -4
  45. package/registry/ui/group.json +2 -2
  46. package/registry/ui/input.json +2 -2
  47. package/registry/ui/link-button.json +2 -2
  48. package/registry/ui/property-list.json +18 -0
  49. package/registry/ui/relative-time.json +17 -0
  50. package/registry/ui/status-dot.json +16 -0
  51. package/registry/ui/text-field.json +7 -3
  52. package/registry/ui/timeline.json +16 -0
  53. package/registry/ui/typeset.json +2 -2
  54. package/templates/app/.config/sdxc/ci.ts +26 -0
  55. package/templates/app/.github/workflows/ci.yml +46 -0
  56. package/templates/app/README.md +4 -0
  57. package/templates/app/package.json +1 -0
  58. package/templates/app/public/_headers +4 -0
package/README.md CHANGED
@@ -76,6 +76,70 @@ Every `@sdxc/*` package versions as the UTC date it was published, and a daily r
76
76
 
77
77
  Commands run from the project root, the nearest directory with a `package.json`. `sdxc <command> --help` prints a command's arguments and flags, and `--help --json` prints them as data for an agent. Every command that runs tasks also takes `--no-progress`.
78
78
 
79
+ #### `sdxc ci`
80
+
81
+ Run the project's CI script (.config/sdxc/ci.ts), and sign green commits off on GitHub
82
+
83
+ | Flag | Does |
84
+ | --------------------- | --------------------------------------------------------------------------------------- |
85
+ | `--only <pattern>` | Run only steps, groups or entries (Workspaces/@acme/ui) matching it; * spans / |
86
+ | `--skip <pattern>` | Leave out steps, groups or entries matching it |
87
+ | `--scope <workspace>` | Keep matrix entries for this workspace path or name and its dependents |
88
+ | `--runner <runner>` | local or remote: run as on a laptop or on a CI host; detected from the CI variable |
89
+ | `--push` | After a green run, push the tested commit to its upstream branch, then sign off |
90
+ | `--no-signoff` | Make ci.signoff a plain success that posts nothing |
91
+ | `--no-cache` | Run every step, ignoring passes stored for unchanged inputs |
92
+ | `--concurrency <n>` | Most steps running at once; the machine's available parallelism by default |
93
+ | `--remote <name>` | Git remote to push to and read the GitHub repository from; the upstream's by default |
94
+ | `--token-env <NAME>` | Environment variable holding the GitHub token; `gh auth token` answers when it is unset |
95
+ | `-v, --verbose` | Print every step's log, not only a failed one's |
96
+ | `--json` | Print the report as JSON |
97
+ | `--rerun-failed` | Run only the steps the last recorded run failed |
98
+ | `--no-install` | Skip the frozen-lockfile install a local run starts with |
99
+
100
+ #### `sdxc ci list`
101
+
102
+ Print the steps and matrix entries a fully passing run takes, without running any
103
+
104
+ | Flag | Does |
105
+ | --------------------- | ---------------------------------------------------------------------------------- |
106
+ | `--only <pattern>` | Run only steps, groups or entries (Workspaces/@acme/ui) matching it; * spans / |
107
+ | `--skip <pattern>` | Leave out steps, groups or entries matching it |
108
+ | `--scope <workspace>` | Keep matrix entries for this workspace path or name and its dependents |
109
+ | `--runner <runner>` | local or remote: run as on a laptop or on a CI host; detected from the CI variable |
110
+ | `--matrix <name>` | Print only the entry keys of this matrix |
111
+ | `--json` | Print the report as JSON |
112
+
113
+ #### `sdxc ci signoff [sha]`
114
+
115
+ Post the signoff an earlier green run recorded for a commit already on GitHub
116
+
117
+ | Flag | Does |
118
+ | -------------------- | --------------------------------------------------------------------------------------- |
119
+ | `--remote <name>` | Git remote to push to and read the GitHub repository from; the upstream's by default |
120
+ | `--token-env <NAME>` | Environment variable holding the GitHub token; `gh auth token` answers when it is unset |
121
+ | `--json` | Print the report as JSON |
122
+
123
+ #### `sdxc ci verify <sha>`
124
+
125
+ Exit 0 when a contributor signed the commit off, 1 when nobody did, 2 when GitHub cannot be reached
126
+
127
+ | Flag | Does |
128
+ | --------------------- | --------------------------------------------------------------------------------------- |
129
+ | `--wait <duration>` | Poll until a signoff appears or this long passes: 30s, 2m, 500ms |
130
+ | `--repo <owner/name>` | The GitHub repository; read from the git remote when left out |
131
+ | `--remote <name>` | Git remote to push to and read the GitHub repository from; the upstream's by default |
132
+ | `--token-env <NAME>` | Environment variable holding the GitHub token; `gh auth token` answers when it is unset |
133
+ | `--json` | Print the report as JSON |
134
+
135
+ #### `sdxc ci clean`
136
+
137
+ Remove the step cache and run history kept in the git directory; signoff records stay
138
+
139
+ | Flag | Does |
140
+ | -------- | ------------------------ |
141
+ | `--json` | Print the report as JSON |
142
+
79
143
  #### `sdxc create [directory]`
80
144
 
81
145
  Write a new project from a built-in template or a GitHub repository
@@ -398,6 +462,10 @@ Print every route with its controller and the middleware that runs for it
398
462
  | `--except-path <path>` | Leave out routes under a path, as /api or /mcp; repeat it or list them |
399
463
  | `--sort <field>` | Order routes by name, pattern, method, controller instead of declaration order |
400
464
 
465
+ #### `sdxc pkg [name...]`
466
+
467
+ Run an @sdxc package's command line through bunx or npx; with no name, list them
468
+
401
469
  #### `sdxc run [command...]`
402
470
 
403
471
  Run the project's own command line (run.entry, default bootstrap/cli.ts)