@sdxc/kit 2026.10.30 → 2026.11.3

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 (162) hide show
  1. package/README.md +59 -0
  2. package/changelog.jsonl +346 -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 +5 -0
  9. package/dist/commands/ci/list.d.ts +16 -0
  10. package/dist/commands/ci/list.js +24 -0
  11. package/dist/commands/ci/run.d.ts +65 -0
  12. package/dist/commands/ci/run.js +36 -0
  13. package/dist/commands/ci/signoff.d.ts +15 -0
  14. package/dist/commands/ci/signoff.js +15 -0
  15. package/dist/commands/ci/verify.d.ts +17 -0
  16. package/dist/commands/ci/verify.js +15 -0
  17. package/dist/commands/create.js +3 -0
  18. package/dist/commands/pkg.d.ts +16 -0
  19. package/dist/commands/pkg.js +71 -0
  20. package/dist/commands/routes.d.ts +1 -1
  21. package/dist/config.d.ts +10 -4
  22. package/dist/config.js +8 -0
  23. package/dist/contract.d.ts +60 -1
  24. package/dist/contract.js +46 -0
  25. package/dist/create/workspace.d.ts +15 -0
  26. package/dist/create/workspace.js +42 -0
  27. package/dist/doctor/checks.js +4 -0
  28. package/dist/doctor/ci.d.ts +15 -0
  29. package/dist/doctor/ci.js +63 -0
  30. package/dist/doctor/translations.d.ts +19 -0
  31. package/dist/doctor/translations.js +144 -0
  32. package/dist/make/declare.js +32 -11
  33. package/dist/package-manager.d.ts +2 -0
  34. package/dist/package-manager.js +16 -2
  35. package/dist/pkg/catalog.d.ts +12 -0
  36. package/dist/pkg/catalog.js +153 -0
  37. package/dist/pkg/resolve.d.ts +67 -0
  38. package/dist/pkg/resolve.js +147 -0
  39. package/dist/upgrade/changelog.d.ts +2 -2
  40. package/dist/upgrade/project.d.ts +2 -2
  41. package/package.json +10 -8
  42. package/registry/ui/accordion.json +2 -2
  43. package/registry/ui/alert-dialog.json +2 -2
  44. package/registry/ui/alert.json +2 -2
  45. package/registry/ui/aspect-ratio.json +2 -2
  46. package/registry/ui/avatar.json +6 -3
  47. package/registry/ui/badge.json +2 -2
  48. package/registry/ui/banner.json +16 -0
  49. package/registry/ui/breadcrumbs.json +2 -2
  50. package/registry/ui/button.json +5 -3
  51. package/registry/ui/calendar.json +2 -2
  52. package/registry/ui/card.json +2 -2
  53. package/registry/ui/carousel.json +2 -2
  54. package/registry/ui/checkbox-group.json +2 -2
  55. package/registry/ui/checkbox.json +2 -2
  56. package/registry/ui/combobox.json +2 -2
  57. package/registry/ui/command.json +2 -2
  58. package/registry/ui/confirm.json +8 -4
  59. package/registry/ui/cta-group.json +2 -2
  60. package/registry/ui/date-field.json +2 -2
  61. package/registry/ui/date-picker.json +2 -2
  62. package/registry/ui/date-range-picker.json +2 -2
  63. package/registry/ui/description.json +2 -2
  64. package/registry/ui/dialog-dismiss.json +13 -0
  65. package/registry/ui/dialog.json +2 -2
  66. package/registry/ui/disclosure.json +2 -2
  67. package/registry/ui/drawer.json +2 -2
  68. package/registry/ui/field-error.json +2 -2
  69. package/registry/ui/form.json +2 -2
  70. package/registry/ui/group.json +2 -2
  71. package/registry/ui/header.json +2 -2
  72. package/registry/ui/heading-scope.json +2 -2
  73. package/registry/ui/heading.json +3 -3
  74. package/registry/ui/highlight.json +3 -3
  75. package/registry/ui/hover-card.json +2 -2
  76. package/registry/ui/image-placeholder.json +2 -2
  77. package/registry/ui/input.json +2 -2
  78. package/registry/ui/item.json +2 -2
  79. package/registry/ui/keyboard.json +2 -2
  80. package/registry/ui/label.json +2 -2
  81. package/registry/ui/link-button.json +5 -3
  82. package/registry/ui/link.json +2 -2
  83. package/registry/ui/listbox.json +2 -2
  84. package/registry/ui/menu.json +2 -2
  85. package/registry/ui/meter.json +2 -2
  86. package/registry/ui/modal.json +2 -2
  87. package/registry/ui/nav-link.json +2 -2
  88. package/registry/ui/navigation-menu.json +2 -2
  89. package/registry/ui/number-field.json +2 -2
  90. package/registry/ui/otp-field.json +2 -2
  91. package/registry/ui/overlay-arrow.json +2 -2
  92. package/registry/ui/pagination.json +2 -2
  93. package/registry/ui/popover.json +2 -2
  94. package/registry/ui/progress-bar.json +2 -2
  95. package/registry/ui/property-list.json +18 -0
  96. package/registry/ui/radio-group.json +2 -2
  97. package/registry/ui/range-calendar.json +2 -2
  98. package/registry/ui/relative-time.json +17 -0
  99. package/registry/ui/scroll-area.json +2 -2
  100. package/registry/ui/search-field.json +2 -2
  101. package/registry/ui/section.json +2 -2
  102. package/registry/ui/select.json +2 -2
  103. package/registry/ui/selection-indicator.json +2 -2
  104. package/registry/ui/sentinel-row.json +2 -2
  105. package/registry/ui/separator.json +2 -2
  106. package/registry/ui/shared-element.json +2 -2
  107. package/registry/ui/sheet.json +2 -2
  108. package/registry/ui/sidebar.json +2 -2
  109. package/registry/ui/slider.json +2 -2
  110. package/registry/ui/spinner.json +2 -2
  111. package/registry/ui/status-dot.json +16 -0
  112. package/registry/ui/switch.json +2 -2
  113. package/registry/ui/tabs.json +2 -2
  114. package/registry/ui/tag-group.json +2 -2
  115. package/registry/ui/text-field.json +7 -3
  116. package/registry/ui/text.json +2 -2
  117. package/registry/ui/textarea.json +2 -2
  118. package/registry/ui/time-field.json +2 -2
  119. package/registry/ui/timeline.json +16 -0
  120. package/registry/ui/toggle-button.json +2 -2
  121. package/registry/ui/tooltip.json +2 -2
  122. package/registry/ui/typeset.json +2 -2
  123. package/registry/ui/youtube-embed.json +2 -2
  124. package/stubs/scaffold.controller.index.stub +1 -1
  125. package/templates/app/.config/sdxc/ci.ts +26 -0
  126. package/templates/app/.github/workflows/ci.yml +46 -0
  127. package/templates/app/README.md +4 -0
  128. package/templates/app/package.json +1 -0
  129. package/templates/app/public/_headers +4 -0
  130. package/registry/ui/attachment.json +0 -15
  131. package/registry/ui/bubble.json +0 -13
  132. package/registry/ui/chart.json +0 -13
  133. package/registry/ui/color-area.json +0 -13
  134. package/registry/ui/color-field.json +0 -20
  135. package/registry/ui/color-picker.json +0 -17
  136. package/registry/ui/color-slider.json +0 -13
  137. package/registry/ui/color-swatch-picker.json +0 -15
  138. package/registry/ui/color-swatch.json +0 -13
  139. package/registry/ui/color-wheel.json +0 -13
  140. package/registry/ui/context-menu.json +0 -16
  141. package/registry/ui/drop-indicator.json +0 -13
  142. package/registry/ui/drop-zone.json +0 -13
  143. package/registry/ui/empty.json +0 -15
  144. package/registry/ui/feature.json +0 -18
  145. package/registry/ui/file-trigger.json +0 -13
  146. package/registry/ui/grid-list.json +0 -18
  147. package/registry/ui/logo-cloud.json +0 -16
  148. package/registry/ui/marker.json +0 -13
  149. package/registry/ui/marketing-header.json +0 -18
  150. package/registry/ui/marketing-section.json +0 -16
  151. package/registry/ui/menubar.json +0 -13
  152. package/registry/ui/message-scroller.json +0 -16
  153. package/registry/ui/message.json +0 -13
  154. package/registry/ui/resizable.json +0 -13
  155. package/registry/ui/shortcut-list.json +0 -18
  156. package/registry/ui/skeleton.json +0 -13
  157. package/registry/ui/split.json +0 -16
  158. package/registry/ui/stat-strip.json +0 -16
  159. package/registry/ui/table.json +0 -16
  160. package/registry/ui/toast.json +0 -16
  161. package/registry/ui/toolbar.json +0 -13
  162. package/registry/ui/tree.json +0 -18
package/README.md CHANGED
@@ -76,6 +76,61 @@ 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
+ | `--no-install` | Skip the frozen-lockfile install a local run starts with |
98
+
99
+ #### `sdxc ci list`
100
+
101
+ Print the steps and matrix entries a fully passing run takes, without running any
102
+
103
+ | Flag | Does |
104
+ | --------------------- | ---------------------------------------------------------------------------------- |
105
+ | `--only <pattern>` | Run only steps, groups or entries (Workspaces/@acme/ui) matching it; * spans / |
106
+ | `--skip <pattern>` | Leave out steps, groups or entries matching it |
107
+ | `--scope <workspace>` | Keep matrix entries for this workspace path or name and its dependents |
108
+ | `--runner <runner>` | local or remote: run as on a laptop or on a CI host; detected from the CI variable |
109
+ | `--matrix <name>` | Print only the entry keys of this matrix |
110
+ | `--json` | Print the report as JSON |
111
+
112
+ #### `sdxc ci signoff [sha]`
113
+
114
+ Post the signoff an earlier green run recorded for a commit already on GitHub
115
+
116
+ | Flag | Does |
117
+ | -------------------- | --------------------------------------------------------------------------------------- |
118
+ | `--remote <name>` | Git remote to push to and read the GitHub repository from; the upstream's by default |
119
+ | `--token-env <NAME>` | Environment variable holding the GitHub token; `gh auth token` answers when it is unset |
120
+ | `--json` | Print the report as JSON |
121
+
122
+ #### `sdxc ci verify <sha>`
123
+
124
+ Exit 0 when a contributor signed the commit off, 1 when nobody did, 2 when GitHub cannot be reached
125
+
126
+ | Flag | Does |
127
+ | --------------------- | --------------------------------------------------------------------------------------- |
128
+ | `--wait <duration>` | Poll until a signoff appears or this long passes: 30s, 2m, 500ms |
129
+ | `--repo <owner/name>` | The GitHub repository; read from the git remote when left out |
130
+ | `--remote <name>` | Git remote to push to and read the GitHub repository from; the upstream's by default |
131
+ | `--token-env <NAME>` | Environment variable holding the GitHub token; `gh auth token` answers when it is unset |
132
+ | `--json` | Print the report as JSON |
133
+
79
134
  #### `sdxc create [directory]`
80
135
 
81
136
  Write a new project from a built-in template or a GitHub repository
@@ -398,6 +453,10 @@ Print every route with its controller and the middleware that runs for it
398
453
  | `--except-path <path>` | Leave out routes under a path, as /api or /mcp; repeat it or list them |
399
454
  | `--sort <field>` | Order routes by name, pattern, method, controller instead of declaration order |
400
455
 
456
+ #### `sdxc pkg [name...]`
457
+
458
+ Run an @sdxc package's command line through bunx or npx; with no name, list them
459
+
401
460
  #### `sdxc run [command...]`
402
461
 
403
462
  Run the project's own command line (run.entry, default bootstrap/cli.ts)