@astryxdesign/cli 0.6.0 → 0.6.1

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 (219) hide show
  1. package/CHANGELOG.md +48 -1
  2. package/README.md +76 -67
  3. package/api/build/build.test.mjs +37 -0
  4. package/api/build/build.type.mjs +1 -1
  5. package/api/build/kit/kit.mjs +31 -1
  6. package/api/component/_adapter.mjs +14 -28
  7. package/api/component/integration-import-agreement.test.mjs +318 -0
  8. package/api/doctor/doctor.d.mts +32 -3
  9. package/api/doctor/doctor.doc.mjs +2 -1
  10. package/api/doctor/doctor.mjs +97 -4
  11. package/api/doctor/doctor.test.mjs +90 -1
  12. package/api/gap-report/gap-report-worker.d.mts +4 -0
  13. package/api/gap-report/gap-report-worker.mjs +73 -0
  14. package/api/gap-report/gap-report.d.mts +81 -0
  15. package/api/gap-report/gap-report.doc.d.mts +9 -0
  16. package/api/gap-report/gap-report.doc.mjs +127 -0
  17. package/api/gap-report/gap-report.mjs +707 -0
  18. package/api/gap-report/gap-report.test.mjs +1210 -0
  19. package/api/gap-report/gap-report.type.d.mts +88 -0
  20. package/api/gap-report/gap-report.type.mjs +69 -0
  21. package/api/index.d.mts +8 -1
  22. package/api/index.mjs +24 -1
  23. package/api/integration/add-contribution.d.mts +44 -0
  24. package/api/integration/add-contribution.mjs +1160 -0
  25. package/api/integration/add-contribution.test.mjs +733 -0
  26. package/api/integration/add-helpers.d.mts +80 -0
  27. package/api/integration/add-helpers.mjs +333 -0
  28. package/api/integration/add-helpers.test.mjs +161 -0
  29. package/api/integration/add-theme.d.mts +10 -0
  30. package/api/integration/add-theme.mjs +332 -0
  31. package/api/integration/add-theme.test.mjs +194 -0
  32. package/api/integration/integration-authoring.type.d.mts +55 -0
  33. package/api/integration/integration-authoring.type.mjs +76 -0
  34. package/api/integration/integration-block-exports.test.mjs +4 -0
  35. package/api/integration/integrationAdd.doc.d.mts +5 -0
  36. package/api/integration/integrationAdd.doc.mjs +100 -0
  37. package/api/integration/integrationAddAgentDoc.doc.d.mts +5 -0
  38. package/api/integration/integrationAddAgentDoc.doc.mjs +49 -0
  39. package/api/integration/integrationAddCodemod.doc.d.mts +5 -0
  40. package/api/integration/integrationAddCodemod.doc.mjs +55 -0
  41. package/api/integration/integrationAddComponent.doc.d.mts +5 -0
  42. package/api/integration/integrationAddComponent.doc.mjs +49 -0
  43. package/api/integration/integrationAddDoc.doc.d.mts +5 -0
  44. package/api/integration/integrationAddDoc.doc.mjs +59 -0
  45. package/api/integration/integrationAddTemplate.doc.d.mts +5 -0
  46. package/api/integration/integrationAddTemplate.doc.mjs +55 -0
  47. package/api/integration/integrationAddTheme.doc.d.mts +5 -0
  48. package/api/integration/integrationAddTheme.doc.mjs +85 -0
  49. package/api/integration/integrationPackCheck.doc.d.mts +5 -0
  50. package/api/integration/integrationPackCheck.doc.mjs +35 -0
  51. package/api/integration/pack-check.d.mts +27 -0
  52. package/api/integration/pack-check.mjs +795 -0
  53. package/api/integration/pack-check.test.mjs +569 -0
  54. package/api/integration/pack-check.type.d.mts +45 -0
  55. package/api/integration/pack-check.type.mjs +56 -0
  56. package/api/integration/public-api.test.mjs +21 -0
  57. package/api/integration/validate-integration.mjs +221 -11
  58. package/api/integration/validate-integration.test.mjs +189 -5
  59. package/api/integration/validateIntegration.doc.mjs +2 -2
  60. package/api/json/index.ts +1 -0
  61. package/api/search/search.mjs +19 -1
  62. package/api/theme/_adapter.d.mts +26 -28
  63. package/api/theme/_adapter.mjs +101 -38
  64. package/api/theme/add/add.d.mts +2 -1
  65. package/api/theme/add/add.mjs +56 -20
  66. package/api/theme/add/add.test.mjs +1 -0
  67. package/api/theme/build/build.d.mts +25 -0
  68. package/api/theme/build/build.mjs +101 -70
  69. package/api/theme/build/build.test.mjs +77 -44
  70. package/api/theme/integration-themes.test.mjs +183 -0
  71. package/api/theme/list/list.d.mts +10 -2
  72. package/api/theme/list/list.mjs +31 -10
  73. package/api/theme/list/list.test.mjs +102 -23
  74. package/api/theme/listThemes.doc.d.mts +1 -5
  75. package/api/theme/listThemes.doc.mjs +6 -13
  76. package/api/theme/targets/targets.test.mjs +22 -8
  77. package/api/theme/theme.d.mts +1 -1
  78. package/api/theme/theme.mjs +1 -1
  79. package/api/theme/theme.type.d.mts +9 -0
  80. package/api/theme/theme.type.mjs +3 -1
  81. package/api/theme/themeAdd.doc.d.mts +1 -4
  82. package/api/theme/themeAdd.doc.mjs +31 -31
  83. package/api/theme/themeBuild.doc.mjs +1 -1
  84. package/api/theme/themeList.doc.d.mts +1 -4
  85. package/api/theme/themeList.doc.mjs +7 -15
  86. package/api/theme/themeListAvailable.doc.d.mts +8 -0
  87. package/api/theme/themeListAvailable.doc.mjs +57 -0
  88. package/api/theme/themeTargets.doc.mjs +21 -7
  89. package/api/upgrade/_adapter.d.mts +2 -0
  90. package/api/upgrade/_adapter.mjs +1 -0
  91. package/api/upgrade/registry/registry.d.mts +40 -0
  92. package/api/upgrade/registry/registry.mjs +1154 -0
  93. package/api/upgrade/registry/registry.test.mjs +826 -0
  94. package/api/upgrade/run/run.mjs +49 -8
  95. package/api/upgrade/status/status.d.mts +6 -4
  96. package/api/upgrade/status/status.mjs +26 -8
  97. package/api/upgrade/upgrade.d.mts +2 -2
  98. package/api/upgrade/upgrade.doc.mjs +33 -9
  99. package/api/upgrade/upgrade.mjs +34 -7
  100. package/api/upgrade/upgrade.test.mjs +198 -8
  101. package/api/upgrade/upgrade.type.d.mts +90 -1
  102. package/api/upgrade/upgrade.type.mjs +51 -2
  103. package/assets/docs/cli-integrations.doc.mjs +152 -28
  104. package/assets/docs/getting-started.doc.mjs +1 -1
  105. package/assets/docs/{shadcn-compatibility.doc.mjs → shadcn-compatibility.doc.draft.mjs} +23 -13
  106. package/assets/docs/styling.doc.mjs +3 -3
  107. package/assets/docs/theme.doc.dense.mjs +2 -2
  108. package/assets/docs/theme.doc.mjs +23 -13
  109. package/assets/docs/theme.doc.zh.mjs +1 -1
  110. package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadCustomSearch.doc.mjs +2 -1
  111. package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadCustomSearch.tsx +38 -12
  112. package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadShowcase.doc.mjs +15 -0
  113. package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadShowcase.tsx +87 -0
  114. package/assets/templates/blocks/components/BottomSheet/BottomSheetSwitcherReviewFlow.doc.mjs +23 -0
  115. package/assets/templates/blocks/components/BottomSheet/BottomSheetSwitcherReviewFlow.tsx +75 -0
  116. package/assets/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.tsx +5 -19
  117. package/assets/templates/blocks/components/Center/CenterHorizontal.doc.mjs +3 -2
  118. package/assets/templates/blocks/components/Center/CenterHorizontal.tsx +4 -5
  119. package/assets/templates/blocks/components/Toast/ToastAction.tsx +2 -1
  120. package/assets/templates/blocks/components/Toast/ToastDeduplication.tsx +2 -1
  121. package/assets/templates/blocks/components/Toast/ToastDismiss.tsx +2 -1
  122. package/assets/templates/blocks/components/Toast/ToastShowcase.tsx +2 -1
  123. package/assets/templates/blocks/components/Toast/ToastStacking.tsx +2 -1
  124. package/assets/templates/blocks/components/Toast/ToastTypes.tsx +2 -1
  125. package/assets/templates/pages/dashboard/template.doc.mjs +2 -2
  126. package/assets/templates/pages/dashboard-alert-rail/template.doc.mjs +3 -2
  127. package/assets/templates/pages/dashboard-cohort-funnel/template.doc.mjs +3 -2
  128. package/assets/templates/pages/dashboard-comparison/template.doc.mjs +3 -3
  129. package/assets/templates/pages/dashboard-composition/template.doc.mjs +2 -2
  130. package/assets/templates/pages/dashboard-progress/template.doc.mjs +2 -2
  131. package/assets/templates/pages/dashboard-scorecard/template.doc.mjs +2 -2
  132. package/assets/templates/themes/butter/butterTheme.ts +3 -3
  133. package/assets/templates/themes/neutral/neutralTheme.ts +2 -2
  134. package/assets/templates/themes/stone/stoneTheme.ts +3 -3
  135. package/assets/theme.template.ts +4 -7
  136. package/authoring/config/config.doc.mjs +9 -1
  137. package/authoring/config/parse.d.mts +2 -0
  138. package/authoring/config/parse.mjs +28 -3
  139. package/authoring/config/parse.test.mjs +25 -3
  140. package/authoring/config/type.ts +3 -0
  141. package/authoring/doctypes/_schema.d.mts +3 -0
  142. package/authoring/doctypes/_schema.mjs +6 -1
  143. package/authoring/doctypes/base/type.ts +6 -6
  144. package/authoring/doctypes/component/component.doc.mjs +6 -0
  145. package/authoring/doctypes/component/type.ts +2 -0
  146. package/authoring/gap-report/parse.d.mts +63 -0
  147. package/authoring/gap-report/parse.mjs +121 -0
  148. package/authoring/gap-report/parse.test.mjs +172 -0
  149. package/authoring/gap-report/type.ts +107 -0
  150. package/authoring/index.d.mts +1 -0
  151. package/authoring/index.d.ts +12 -0
  152. package/authoring/index.mjs +4 -0
  153. package/authoring/integration/integration.doc.mjs +14 -2
  154. package/authoring/integration/parse.test.mjs +9 -4
  155. package/authoring/integration/schema.d.mts +2 -0
  156. package/authoring/integration/schema.mjs +1 -0
  157. package/authoring/integration/type.ts +23 -6
  158. package/authoring/shadcn/receipt.d.mts +219 -0
  159. package/authoring/shadcn/receipt.mjs +248 -0
  160. package/authoring/shadcn/receipt.test.mjs +187 -0
  161. package/authoring/shadcn/source-variants.d.mts +28 -0
  162. package/authoring/shadcn/source-variants.mjs +176 -0
  163. package/authoring/shadcn/source-variants.test.mjs +120 -0
  164. package/clients/cli/commands/build-theme.mjs +54 -19
  165. package/clients/cli/commands/build-theme.variants.test.mjs +15 -12
  166. package/clients/cli/commands/component/index.mjs +1 -1
  167. package/clients/cli/commands/docs.test.mjs +1 -0
  168. package/clients/cli/commands/doctor-integration.doc.mjs +1 -1
  169. package/clients/cli/commands/gap-report.doc.mjs +73 -0
  170. package/clients/cli/commands/gap-report.mjs +114 -0
  171. package/clients/cli/commands/gap-report.test.mjs +198 -0
  172. package/clients/cli/commands/import-hint-correctness.test.mjs +88 -0
  173. package/clients/cli/commands/integration-add.doc.mjs +88 -0
  174. package/clients/cli/commands/integration-authoring.test.mjs +177 -0
  175. package/clients/cli/commands/integration-pack.doc.mjs +34 -0
  176. package/clients/cli/commands/integration-real-world.test.mjs +618 -0
  177. package/clients/cli/commands/integration.doc.mjs +28 -0
  178. package/clients/cli/commands/integration.mjs +153 -0
  179. package/clients/cli/commands/theme-add.doc.mjs +11 -6
  180. package/clients/cli/commands/theme-list.doc.mjs +21 -5
  181. package/clients/cli/commands/theme-targets.behavior.test.mjs +19 -2
  182. package/clients/cli/commands/theme.doc.mjs +2 -2
  183. package/clients/cli/commands/upgrade.doc.mjs +17 -4
  184. package/clients/cli/commands/upgrade.mjs +12 -1
  185. package/clients/cli/commands/upgrade.test.mjs +41 -0
  186. package/clients/cli/index.mjs +5 -0
  187. package/clients/cli/lib/component-format.mjs +42 -26
  188. package/clients/cli/lib/component-format.test.mjs +34 -3
  189. package/clients/cli/lib/manifest.mjs +12 -0
  190. package/foundation/config/project-themes.test.mjs +127 -0
  191. package/foundation/config/project.d.mts +23 -4
  192. package/foundation/config/project.mjs +96 -9
  193. package/foundation/config/project.test.mjs +132 -6
  194. package/foundation/discovery/component-discovery.d.mts +36 -0
  195. package/foundation/discovery/component-discovery.mjs +96 -0
  196. package/foundation/discovery/theme-discovery.d.mts +39 -0
  197. package/foundation/discovery/theme-discovery.mjs +650 -0
  198. package/foundation/discovery/theme-discovery.test.mjs +375 -0
  199. package/foundation/discovery/theming-targets.d.mts +16 -0
  200. package/foundation/discovery/theming-targets.mjs +39 -3
  201. package/foundation/discovery/theming-targets.test.mjs +139 -0
  202. package/foundation/integrations/autolink.d.mts +96 -0
  203. package/foundation/integrations/autolink.mjs +265 -0
  204. package/foundation/integrations/autolink.test.mjs +430 -0
  205. package/foundation/integrations/contribution-inventory.d.mts +152 -0
  206. package/foundation/integrations/contribution-inventory.mjs +497 -0
  207. package/foundation/integrations/contribution-inventory.test.mjs +361 -0
  208. package/foundation/integrations/integrations.d.mts +73 -9
  209. package/foundation/integrations/integrations.mjs +158 -8
  210. package/foundation/integrations/integrations.test.mjs +152 -29
  211. package/foundation/integrations/manifest-writer.d.mts +56 -0
  212. package/foundation/integrations/manifest-writer.mjs +328 -0
  213. package/foundation/integrations/manifest-writer.test.mjs +229 -0
  214. package/foundation/integrations/validate-contributions.mjs +81 -6
  215. package/foundation/response/error-codes.d.mts +4 -1
  216. package/foundation/response/error-codes.doc.mjs +16 -1
  217. package/foundation/response/error-codes.mjs +10 -1
  218. package/foundation/response/response-types.doc.mjs +23 -2
  219. package/package.json +8 -1
@@ -0,0 +1,88 @@
1
+ // @generated by scripts/sync-api-types.mjs from the JSDoc in api/**/*.mjs.
2
+ // DO NOT EDIT — run `pnpm sync:api-types` to regenerate.
3
+
4
+ export type GapReportCategory = "missing_component" | "missing_variant" | "layout_gap" | "styling_gap" | "a11y_gap" | "api_friction" | "docs_gap" | "other";
5
+ export type GapReportCategoryEntry = {
6
+ value: GapReportCategory;
7
+ label: string;
8
+ };
9
+ export type GapReportOptions = {
10
+ /**
11
+ * Project directory used for config and owner routing.
12
+ */
13
+ cwd?: string | undefined;
14
+ /**
15
+ * Fixed report category.
16
+ */
17
+ category?: GapReportCategory | undefined;
18
+ /**
19
+ * What capability was missing or difficult.
20
+ */
21
+ reason?: string | undefined;
22
+ /**
23
+ * Optional additional context.
24
+ */
25
+ detail?: string | undefined;
26
+ /**
27
+ * Explicit owner package for ambiguous routes.
28
+ */
29
+ package?: string | undefined;
30
+ /**
31
+ * Explicit consent for public handlers or GitHub issue creation.
32
+ */
33
+ confirmPublic?: boolean | undefined;
34
+ /**
35
+ * Return the category vocabulary without routing or writing.
36
+ */
37
+ listCategories?: boolean | undefined;
38
+ };
39
+ export type GapReportCategoriesResponse = {
40
+ type: "gap-report.categories";
41
+ data: GapReportCategoryEntry[];
42
+ };
43
+ export type GapReportAggregateStatus = "filed" | "partial" | "failed" | "routed_only" | "consent_required" | "skipped";
44
+ export type GapReportDeliveryStatus = "filed" | "routed_only" | "skipped" | "failed" | "consent_required";
45
+ /**
46
+ * One handler's outcome in the fan-out.
47
+ */
48
+ export type GapReportDelivery = {
49
+ handlerType: "project" | "integration" | "fallback";
50
+ /**
51
+ * Project, integration package, or fallback name.
52
+ */
53
+ handler: string;
54
+ audience: "internal" | "public" | null;
55
+ status: GapReportDeliveryStatus;
56
+ url: string | null;
57
+ message: string | null;
58
+ };
59
+ export type GapReportReceipt = {
60
+ /**
61
+ * Overall outcome.
62
+ */
63
+ status: GapReportAggregateStatus;
64
+ /**
65
+ * Selected owner package.
66
+ */
67
+ package: string;
68
+ /**
69
+ * Selected issue destination, when configured.
70
+ */
71
+ issuesUrl: string | null;
72
+ /**
73
+ * Ordered handler outcomes.
74
+ */
75
+ deliveries: GapReportDelivery[];
76
+ /**
77
+ * Count of handlers that filed the report.
78
+ */
79
+ filedCount: number;
80
+ /**
81
+ * Count of handlers that routed only.
82
+ */
83
+ routedOnlyCount: number;
84
+ };
85
+ export type GapReportReceiptResponse = {
86
+ type: "gap-report.file";
87
+ data: GapReportReceipt;
88
+ };
@@ -0,0 +1,69 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /**
4
+ * Colocated public types for `gapReport()` and `astryx gap-report`.
5
+ */
6
+
7
+ /**
8
+ * @typedef {'missing_component'|'missing_variant'|'layout_gap'|'styling_gap'|'a11y_gap'|'api_friction'|'docs_gap'|'other'} GapReportCategory
9
+ */
10
+
11
+ /**
12
+ * @typedef {object} GapReportCategoryEntry
13
+ * @property {GapReportCategory} value
14
+ * @property {string} label
15
+ */
16
+
17
+ /**
18
+ * @typedef {object} GapReportOptions
19
+ * @property {string} [cwd] Project directory used for config and owner routing.
20
+ * @property {GapReportCategory} [category] Fixed report category.
21
+ * @property {string} [reason] What capability was missing or difficult.
22
+ * @property {string} [detail] Optional additional context.
23
+ * @property {string} [package] Explicit owner package for ambiguous routes.
24
+ * @property {boolean} [confirmPublic] Explicit consent for public handlers or GitHub issue creation.
25
+ * @property {boolean} [listCategories] Return the category vocabulary without routing or writing.
26
+ */
27
+
28
+ /**
29
+ * @typedef {object} GapReportCategoriesResponse
30
+ * @property {'gap-report.categories'} type
31
+ * @property {GapReportCategoryEntry[]} data
32
+ */
33
+
34
+ /**
35
+ * @typedef {'filed'|'partial'|'failed'|'routed_only'|'consent_required'|'skipped'} GapReportAggregateStatus
36
+ */
37
+
38
+ /**
39
+ * @typedef {'filed'|'routed_only'|'skipped'|'failed'|'consent_required'} GapReportDeliveryStatus
40
+ */
41
+
42
+ /**
43
+ * One handler's outcome in the fan-out.
44
+ * @typedef {object} GapReportDelivery
45
+ * @property {'project'|'integration'|'fallback'} handlerType
46
+ * @property {string} handler Project, integration package, or fallback name.
47
+ * @property {'internal'|'public'|null} audience
48
+ * @property {GapReportDeliveryStatus} status
49
+ * @property {string|null} url
50
+ * @property {string|null} message
51
+ */
52
+
53
+ /**
54
+ * @typedef {object} GapReportReceipt
55
+ * @property {GapReportAggregateStatus} status Overall outcome.
56
+ * @property {string} package Selected owner package.
57
+ * @property {string|null} issuesUrl Selected issue destination, when configured.
58
+ * @property {GapReportDelivery[]} deliveries Ordered handler outcomes.
59
+ * @property {number} filedCount Count of handlers that filed the report.
60
+ * @property {number} routedOnlyCount Count of handlers that routed only.
61
+ */
62
+
63
+ /**
64
+ * @typedef {object} GapReportReceiptResponse
65
+ * @property {'gap-report.file'} type
66
+ * @property {GapReportReceipt} data
67
+ */
68
+
69
+ export {};
package/api/index.d.mts CHANGED
@@ -10,9 +10,12 @@ export { hook } from "./hook/hook.mjs";
10
10
  export { search } from "./search/search.mjs";
11
11
  export { build } from "./build/build.mjs";
12
12
  export { swizzle } from "./swizzle/swizzle.mjs";
13
+ export { gapReport } from "./gap-report/gap-report.mjs";
13
14
  export { upgrade } from "./upgrade/upgrade.mjs";
14
15
  export { init } from "./init/init.mjs";
15
16
  export { doctor } from "./doctor/doctor.mjs";
17
+ export { integrationAddTheme } from "./integration/add-theme.mjs";
18
+ export { integrationPackCheck } from "./integration/pack-check.mjs";
16
19
  export { AstryxError } from "./error.mjs";
17
20
  export { logger } from "./logger.mjs";
18
21
  export * from "./component/component.type.mjs";
@@ -25,14 +28,18 @@ export * from "./hook/hook.type.mjs";
25
28
  export * from "./search/search.type.mjs";
26
29
  export * from "./build/build.type.mjs";
27
30
  export * from "./swizzle/swizzle.type.mjs";
31
+ export * from "./gap-report/gap-report.type.mjs";
28
32
  export * from "./upgrade/upgrade.type.mjs";
29
33
  export * from "./init/init.type.mjs";
30
34
  export * from "./doctor/doctor.type.mjs";
31
35
  export * from "./layout/layout.type.mjs";
36
+ export * from "./integration/integration-authoring.type.mjs";
37
+ export * from "./integration/pack-check.type.mjs";
32
38
  export * from "./integration/validate-integration.type.mjs";
33
39
  export * from "./integration/authoring-checks.type.mjs";
34
40
  export type Logger = import("./logger.mjs").Logger;
35
- export { themeBuild, themeAdd, themeList, themeTargets, themePaletteGenerate, generateTonalPalette, listThemes } from "./theme/theme.mjs";
41
+ export { themeBuild, themeAdd, themeList, themeListAvailable, themeTargets, themePaletteGenerate, generateTonalPalette, listThemes } from "./theme/theme.mjs";
36
42
  export { layoutExpand, layoutCheck, layoutGrammar } from "./layout/layout.mjs";
43
+ export { integrationAdd, integrationAddAgentDoc, integrationAddCodemod, integrationAddComponent, integrationAddDoc, integrationAddTemplate } from "./integration/add-contribution.mjs";
37
44
  export { validateIntegration, summarizeIssues } from "./integration/validate-integration.mjs";
38
45
  export { integrationTemplateConflicts, integrationComponentConflicts, integrationDocConflicts } from "./integration/authoring-checks.mjs";
package/api/index.mjs CHANGED
@@ -25,15 +25,35 @@ export {docs} from './docs/docs.mjs';
25
25
  export {blog} from './blog/blog.mjs';
26
26
  export {discover} from './discover/discover.mjs';
27
27
  export {template} from './template/template.mjs';
28
- export {themeBuild, themeAdd, themeList, themeTargets, themePaletteGenerate, generateTonalPalette, listThemes} from './theme/theme.mjs';
28
+ export {
29
+ themeBuild,
30
+ themeAdd,
31
+ themeList,
32
+ themeListAvailable,
33
+ themeTargets,
34
+ themePaletteGenerate,
35
+ generateTonalPalette,
36
+ listThemes,
37
+ } from './theme/theme.mjs';
29
38
  export {hook} from './hook/hook.mjs';
30
39
  export {search} from './search/search.mjs';
31
40
  export {build} from './build/build.mjs';
32
41
  export {swizzle} from './swizzle/swizzle.mjs';
42
+ export {gapReport} from './gap-report/gap-report.mjs';
33
43
  export {upgrade} from './upgrade/upgrade.mjs';
34
44
  export {init} from './init/init.mjs';
35
45
  export {doctor} from './doctor/doctor.mjs';
36
46
  export {layoutExpand, layoutCheck, layoutGrammar} from './layout/layout.mjs';
47
+ export {
48
+ integrationAdd,
49
+ integrationAddAgentDoc,
50
+ integrationAddCodemod,
51
+ integrationAddComponent,
52
+ integrationAddDoc,
53
+ integrationAddTemplate,
54
+ } from './integration/add-contribution.mjs';
55
+ export {integrationAddTheme} from './integration/add-theme.mjs';
56
+ export {integrationPackCheck} from './integration/pack-check.mjs';
37
57
  export {
38
58
  validateIntegration,
39
59
  summarizeIssues,
@@ -66,9 +86,12 @@ export * from './hook/hook.type.mjs';
66
86
  export * from './search/search.type.mjs';
67
87
  export * from './build/build.type.mjs';
68
88
  export * from './swizzle/swizzle.type.mjs';
89
+ export * from './gap-report/gap-report.type.mjs';
69
90
  export * from './upgrade/upgrade.type.mjs';
70
91
  export * from './init/init.type.mjs';
71
92
  export * from './doctor/doctor.type.mjs';
72
93
  export * from './layout/layout.type.mjs';
94
+ export * from './integration/integration-authoring.type.mjs';
95
+ export * from './integration/pack-check.type.mjs';
73
96
  export * from './integration/validate-integration.type.mjs';
74
97
  export * from './integration/authoring-checks.type.mjs';
@@ -0,0 +1,44 @@
1
+ // @generated by scripts/sync-api-types.mjs from the JSDoc in api/**/*.mjs.
2
+ // DO NOT EDIT — run `pnpm sync:api-types` to regenerate.
3
+
4
+ /**
5
+ * @param {string} name
6
+ * @param {import('./integration-authoring.type.mjs').IntegrationAddComponentOptions} [options]
7
+ */
8
+ export function integrationAddComponent(name: string, options?: import("./integration-authoring.type.mjs").IntegrationAddComponentOptions): Promise<import("./integration-authoring.type.mjs").IntegrationAddResponse>;
9
+ /**
10
+ * @param {string} name
11
+ * @param {import('./integration-authoring.type.mjs').IntegrationAddDocOptions} [options]
12
+ */
13
+ export function integrationAddDoc(name: string, options?: import("./integration-authoring.type.mjs").IntegrationAddDocOptions): Promise<import("./integration-authoring.type.mjs").IntegrationAddResponse>;
14
+ /**
15
+ * @param {string} name
16
+ * @param {import('./integration-authoring.type.mjs').IntegrationAddTemplateOptions} [options]
17
+ */
18
+ export function integrationAddTemplate(name: string, options?: import("./integration-authoring.type.mjs").IntegrationAddTemplateOptions): Promise<import("./integration-authoring.type.mjs").IntegrationAddResponse>;
19
+ /**
20
+ * @param {string} name
21
+ * @param {import('./integration-authoring.type.mjs').IntegrationAddCodemodOptions} options
22
+ */
23
+ export function integrationAddCodemod(name: string, options: import("./integration-authoring.type.mjs").IntegrationAddCodemodOptions): Promise<import("./integration-authoring.type.mjs").IntegrationAddResponse>;
24
+ /**
25
+ * @param {string} line
26
+ * @param {import('./integration-authoring.type.mjs').IntegrationAddAgentDocOptions} [options]
27
+ */
28
+ export function integrationAddAgentDoc(line: string, options?: import("./integration-authoring.type.mjs").IntegrationAddAgentDocOptions): Promise<import("./integration-authoring.type.mjs").IntegrationAddResponse>;
29
+ /**
30
+ * Add one contribution to the local integration package.
31
+ *
32
+ * @param {'component'|'doc'|'template'|'codemod'|'agent-doc'|'theme'} kind
33
+ * @param {string} name
34
+ * @param {{cwd?: string, dryRun?: boolean, templateType?: 'page'|'block', to?: string, replaces?: string, extends?: string}} [options]
35
+ * @returns {Promise<import('./integration-authoring.type.mjs').IntegrationAddResponse>}
36
+ */
37
+ export function integrationAdd(kind: "component" | "doc" | "template" | "codemod" | "agent-doc" | "theme", name: string, options?: {
38
+ cwd?: string;
39
+ dryRun?: boolean;
40
+ templateType?: "page" | "block";
41
+ to?: string;
42
+ replaces?: string;
43
+ extends?: string;
44
+ }): Promise<import("./integration-authoring.type.mjs").IntegrationAddResponse>;