@astryxdesign/cli 0.7.9-canary.bfc1dcc → 0.7.9-canary.c8a172b
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 +1 -1
- package/api/component/__fixtures__/resolutions/modules.txt +3 -3
- package/api/search/_candidate-score.mjs +25 -23
- package/api/search/_words.d.mts +44 -7
- package/api/search/_words.mjs +113 -21
- package/api/swizzle/copy/copy.d.mts +17 -1
- package/api/swizzle/copy/copy.mjs +240 -5
- package/api/swizzle/swizzle.doc.mjs +1 -1
- package/api/swizzle/swizzle.type.mjs +1 -1
- package/api/theme/build/build.mjs +340 -71
- package/api/theme/build/icon-imports.d.mts +35 -4
- package/api/theme/build/icon-imports.mjs +299 -38
- package/assets/discover/official-packages.json +4 -0
- package/assets/docs/author-a-theme.doc.mjs +3 -1
- package/assets/docs/icons.doc.mjs +29 -0
- package/assets/docs/motion.doc.mjs +1 -1
- package/assets/templates/blocks/components/Hooks/useMergedRefsHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/Hooks/useMergedRefsHookUsage.tsx +78 -0
- package/assets/templates/blocks/components/Hooks/useScrollOverflowHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/Hooks/useScrollOverflowHookUsage.tsx +94 -0
- package/assets/templates/blocks/components/Icon/useIconHookUsage.doc.mjs +19 -0
- package/assets/templates/blocks/components/Icon/useIconHookUsage.tsx +68 -0
- package/assets/templates/blocks/components/Link/useLinkComponentHookUsage.doc.mjs +14 -0
- package/assets/templates/blocks/components/Link/useLinkComponentHookUsage.tsx +89 -0
- package/assets/templates/blocks/components/Overlay/useOverlayHookUsage.doc.mjs +21 -0
- package/assets/templates/blocks/components/Overlay/useOverlayHookUsage.tsx +49 -0
- package/assets/templates/blocks/components/usePanGesture/PanDraggableBox.doc.mjs +15 -0
- package/assets/templates/blocks/components/usePanGesture/PanDraggableBox.tsx +98 -0
- package/assets/templates/blocks/components/usePanGesture/PanPlayingCard.doc.mjs +14 -0
- package/assets/templates/blocks/components/usePanGesture/PanPlayingCard.tsx +147 -0
- package/assets/theme.template.ts +14 -2
- package/authoring/doctypes/base/type.ts +41 -0
- package/authoring/doctypes/component/component.doc.mjs +7 -1
- package/authoring/doctypes/component/type.ts +5 -0
- package/authoring/index.d.ts +2 -0
- package/clients/cli/commands/swizzle.mjs +10 -0
- package/clients/cli/lib/component-format.mjs +49 -0
- package/foundation/discovery/component-discovery.mjs +17 -6
- package/foundation/integrations/manifest-writer.d.mts +3 -4
- package/foundation/integrations/manifest-writer.mjs +5 -3
- package/foundation/response/response-types.doc.mjs +1 -1
- package/foundation/text/levenshtein.d.mts +4 -1
- package/foundation/text/levenshtein.mjs +44 -1
- package/package.json +9 -9
|
@@ -549,6 +549,47 @@ export interface ComponentThemingVar {
|
|
|
549
549
|
private?: boolean;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
|
+
/**
|
|
553
|
+
* A component icon slot: a themeable icon role the component owns, which a
|
|
554
|
+
* theme maps to a shared icon name through `defineTheme({componentIcons})`.
|
|
555
|
+
* Each entry corresponds to a slot in `ComponentIconSlotMap`.
|
|
556
|
+
*
|
|
557
|
+
* @example
|
|
558
|
+
* ```
|
|
559
|
+
* {
|
|
560
|
+
* slot: 'code-block-copy',
|
|
561
|
+
* description: 'The copy button icon.',
|
|
562
|
+
* fallback: '`copy`; `check` while copied',
|
|
563
|
+
* state: [{name: 'copied', type: 'boolean', description: 'True while the copied feedback shows.'}],
|
|
564
|
+
* whenNull: 'Hides the glyph. The button keeps its size, name, and tooltip.',
|
|
565
|
+
* }
|
|
566
|
+
* ```
|
|
567
|
+
*/
|
|
568
|
+
// SYNC: When adding a field here, add it to the docsite's generated-registry
|
|
569
|
+
// copy too — apps/docsite/scripts/generate-data.mjs (interface ComponentIconSlot).
|
|
570
|
+
export interface ComponentIconSlotDoc {
|
|
571
|
+
/** The slot name, `<component-kebab>-<semantic-role>`. */
|
|
572
|
+
slot: string;
|
|
573
|
+
/** The icon's role in the component. */
|
|
574
|
+
description: string;
|
|
575
|
+
/** The icon the component renders when the theme maps nothing, per state. */
|
|
576
|
+
fallback: string;
|
|
577
|
+
/** The state a slot function receives. Omit for a stateless slot. */
|
|
578
|
+
state?: ComponentIconSlotStateDoc[];
|
|
579
|
+
/** What a slot value of `null` does for this component. */
|
|
580
|
+
whenNull: string;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/** One field of the state a component passes to a slot function. */
|
|
584
|
+
export interface ComponentIconSlotStateDoc {
|
|
585
|
+
/** The field name. */
|
|
586
|
+
name: string;
|
|
587
|
+
/** The field's TypeScript type. */
|
|
588
|
+
type: string;
|
|
589
|
+
/** When the field has each value. */
|
|
590
|
+
description: string;
|
|
591
|
+
}
|
|
592
|
+
|
|
552
593
|
/**
|
|
553
594
|
* Documents a hook parameter/option. Similar to ComponentPropDoc but for hook
|
|
554
595
|
* arguments and options object fields.
|
|
@@ -102,7 +102,7 @@ export const doc = {
|
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
name: 'theming',
|
|
105
|
-
type: '{ container?: boolean; targets: ComponentThemingTarget[]; vars?: ComponentThemingVar[]; derived?: ComponentThemingDerivedVar[] }',
|
|
105
|
+
type: '{ container?: boolean; targets: ComponentThemingTarget[]; vars?: ComponentThemingVar[]; derived?: ComponentThemingDerivedVar[]; componentIcons?: ComponentIconSlotDoc[] }',
|
|
106
106
|
description:
|
|
107
107
|
'Theming configuration: the stable selector surface (astryx-* classes + data-attribute reflections) that themes target via @scope selectors in defineTheme.',
|
|
108
108
|
fields: [
|
|
@@ -130,6 +130,12 @@ export const doc = {
|
|
|
130
130
|
description:
|
|
131
131
|
"Maps standard CSS properties to internal vars for theme-pipeline expansion. Ordered by priority: earlier entries emit first. The pipeline reads only Core components' entries, so an integration's have no effect.",
|
|
132
132
|
},
|
|
133
|
+
{
|
|
134
|
+
name: 'theming.componentIcons',
|
|
135
|
+
type: 'ComponentIconSlotDoc[]',
|
|
136
|
+
description:
|
|
137
|
+
"The component's icon slots, which a theme maps through `defineTheme({componentIcons})`: each slot's name, role, fallback per state, the state a slot function receives, and what `null` does. Each entry corresponds to a slot in `ComponentIconSlotMap`.",
|
|
138
|
+
},
|
|
133
139
|
],
|
|
134
140
|
},
|
|
135
141
|
{
|
|
@@ -10,6 +10,7 @@ import type {
|
|
|
10
10
|
ComponentAnatomyElement,
|
|
11
11
|
ComponentBestPractice,
|
|
12
12
|
ComponentExampleDoc,
|
|
13
|
+
ComponentIconSlotDoc,
|
|
13
14
|
ComponentPlaygroundConfig,
|
|
14
15
|
ComponentPropDoc,
|
|
15
16
|
ComponentThemingDerivedVar,
|
|
@@ -162,6 +163,10 @@ export interface ComponentBaseDoc extends AuthoredDocGraphFields {
|
|
|
162
163
|
* on this component, also emit the internal var.
|
|
163
164
|
* @see ComponentThemingDerivedVar */
|
|
164
165
|
derived?: ComponentThemingDerivedVar[];
|
|
166
|
+
/** Component icon slots this component resolves through the theme's
|
|
167
|
+
* `componentIcons`. Each entry corresponds to a slot in
|
|
168
|
+
* `ComponentIconSlotMap`. */
|
|
169
|
+
componentIcons?: ComponentIconSlotDoc[];
|
|
165
170
|
};
|
|
166
171
|
/** Component usage documentation — concise summary, best practices,
|
|
167
172
|
* and optional visual anatomy. */
|
package/authoring/index.d.ts
CHANGED
|
@@ -90,6 +90,16 @@ export function registerSwizzle(program) {
|
|
|
90
90
|
].join('\n'),
|
|
91
91
|
),
|
|
92
92
|
];
|
|
93
|
+
// Files the copy wrote outside the component folder: the owner modules
|
|
94
|
+
// and their unexported style modules (spec:AST-110 FR4).
|
|
95
|
+
const shared = (result.data.files ?? []).filter(f => f.startsWith('../'));
|
|
96
|
+
if (shared.length > 0) {
|
|
97
|
+
out.push(
|
|
98
|
+
text(
|
|
99
|
+
`Shared modules: ${shared.join(', ')} (copied whole; their imports between each other stay relative)`,
|
|
100
|
+
),
|
|
101
|
+
);
|
|
102
|
+
}
|
|
93
103
|
|
|
94
104
|
// StyleX build requirement — swizzled StyleX source throws on import
|
|
95
105
|
// ("Unexpected 'stylex.create' call at runtime") unless the consumer's
|
|
@@ -163,6 +163,34 @@ function getTargetStates(target) {
|
|
|
163
163
|
return target.states || [];
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
/**
|
|
167
|
+
* Format a component's icon slots: the `componentIcons` keys a theme sets,
|
|
168
|
+
* with each slot's state, fallback, and what `null` does.
|
|
169
|
+
* @param {any[]} slots - `theming.componentIcons` entries.
|
|
170
|
+
* @returns {string}
|
|
171
|
+
*/
|
|
172
|
+
function formatComponentIconSlots(slots) {
|
|
173
|
+
const lines = [
|
|
174
|
+
'**Component icon slots** - set in `defineTheme({componentIcons})` to a shared icon name, `null`, a partial `{icon, variant, size}` request, or a function of the slot state.\n',
|
|
175
|
+
'| Slot | State | Fallback | Role | `null` |',
|
|
176
|
+
'|------|-------|----------|------|--------|',
|
|
177
|
+
];
|
|
178
|
+
for (const slot of slots) {
|
|
179
|
+
const state = slot.state?.length
|
|
180
|
+
? slot.state
|
|
181
|
+
.map(
|
|
182
|
+
(/** @type {any} */ field) =>
|
|
183
|
+
`\`${mdCell(field.name)}: ${mdCell(field.type)}\` ${mdCell(field.description)}`,
|
|
184
|
+
)
|
|
185
|
+
.join('<br>')
|
|
186
|
+
: 'none';
|
|
187
|
+
lines.push(
|
|
188
|
+
`| \`${mdCell(slot.slot)}\` | ${state} | ${mdCell(slot.fallback)} | ${mdCell(slot.description)} | ${mdCell(slot.whenNull)} |`,
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
return lines.join('\n') + '\n';
|
|
192
|
+
}
|
|
193
|
+
|
|
166
194
|
/**
|
|
167
195
|
* Format the theming targets table, merging in theme variants if available.
|
|
168
196
|
*
|
|
@@ -351,6 +379,10 @@ export function formatFull(docs, options = {}) {
|
|
|
351
379
|
}
|
|
352
380
|
}
|
|
353
381
|
|
|
382
|
+
if (docs.theming.componentIcons?.length) {
|
|
383
|
+
sections.push(formatComponentIconSlots(docs.theming.componentIcons));
|
|
384
|
+
}
|
|
385
|
+
|
|
354
386
|
// Legacy componentKey (for backward compatibility)
|
|
355
387
|
if (docs.theming.componentKey) {
|
|
356
388
|
sections.push(`Component key: \`${docs.theming.componentKey}\`\n`);
|
|
@@ -507,6 +539,11 @@ export function formatCompact(docs, componentName, importHint) {
|
|
|
507
539
|
sections.push(propLines.join('\n') + '\n');
|
|
508
540
|
}
|
|
509
541
|
|
|
542
|
+
if (docs.theming?.componentIcons?.length) {
|
|
543
|
+
sections.push('## Component Icon Slots\n');
|
|
544
|
+
sections.push(formatComponentIconSlots(docs.theming.componentIcons));
|
|
545
|
+
}
|
|
546
|
+
|
|
510
547
|
return sections.join('\n');
|
|
511
548
|
}
|
|
512
549
|
|
|
@@ -626,6 +663,18 @@ export function formatBrief(docs, componentName, importHint, options = {}) {
|
|
|
626
663
|
output.push(` Derived: ${derivedNames}`);
|
|
627
664
|
}
|
|
628
665
|
|
|
666
|
+
// Component icon slots, with the state each slot function receives
|
|
667
|
+
if (docs.theming?.componentIcons?.length) {
|
|
668
|
+
const slots = docs.theming.componentIcons
|
|
669
|
+
.map((/** @type {any} */ slot) =>
|
|
670
|
+
slot.state?.length
|
|
671
|
+
? `${slot.slot} {${slot.state.map((/** @type {any} */ field) => `${field.name}: ${field.type}`).join(', ')}}`
|
|
672
|
+
: slot.slot,
|
|
673
|
+
)
|
|
674
|
+
.join('; ');
|
|
675
|
+
output.push(` Icon slots: ${slots}`);
|
|
676
|
+
}
|
|
677
|
+
|
|
629
678
|
// Theme targets (component class, preferred data attrs, props, states) with theme variant merging
|
|
630
679
|
if (docs.theming?.targets?.length) {
|
|
631
680
|
const {themeData = null} = options;
|
|
@@ -766,12 +766,7 @@ function caseSpelledComponentSource(srcDir, name) {
|
|
|
766
766
|
*/
|
|
767
767
|
export function resolveImportPath(coreDir, componentName) {
|
|
768
768
|
const srcDir = path.join(coreDir, 'src');
|
|
769
|
-
const
|
|
770
|
-
const pkg = pathExists(pkgPath)
|
|
771
|
-
? JSON.parse(fs.readFileSync(pkgPath, 'utf-8'))
|
|
772
|
-
: null;
|
|
773
|
-
|
|
774
|
-
const exportKeys = Object.keys(pkg?.exports || {});
|
|
769
|
+
const exportKeys = exportKeysOf(coreDir);
|
|
775
770
|
|
|
776
771
|
// Priority 1: exact subpath export matching the component name (e.g. ./Heading)
|
|
777
772
|
// This allows convenience re-export directories to win over the source directory.
|
|
@@ -799,6 +794,22 @@ export function resolveImportPath(coreDir, componentName) {
|
|
|
799
794
|
return '@astryxdesign/core';
|
|
800
795
|
}
|
|
801
796
|
|
|
797
|
+
/**
|
|
798
|
+
* The subpaths the package's `exports` map names, read once per operation:
|
|
799
|
+
* a search resolves the import of every component.
|
|
800
|
+
* @param {string} coreDir
|
|
801
|
+
* @returns {string[]}
|
|
802
|
+
*/
|
|
803
|
+
function exportKeysOf(coreDir) {
|
|
804
|
+
const pkgPath = path.join(coreDir, 'package.json');
|
|
805
|
+
return oncePerListing(`export-keys\0${pkgPath}`, () => {
|
|
806
|
+
const pkg = pathExists(pkgPath)
|
|
807
|
+
? JSON.parse(fs.readFileSync(pkgPath, 'utf-8'))
|
|
808
|
+
: null;
|
|
809
|
+
return Object.keys(pkg?.exports || {});
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
|
|
802
813
|
/**
|
|
803
814
|
* Does a package's `exports` map publish this subpath?
|
|
804
815
|
*
|
|
@@ -17,11 +17,11 @@ export function findLocalIntegrationManifest(packageDir: string): string;
|
|
|
17
17
|
export function unwrapManifestExpression(node: any): any;
|
|
18
18
|
/**
|
|
19
19
|
* Find the object literal an integration manifest exports.
|
|
20
|
-
* @param {ReturnType<typeof jscodeshift.withParser>} j
|
|
21
|
-
* @param {ReturnType<ReturnType<typeof jscodeshift.withParser>>} ast
|
|
20
|
+
* @param {ReturnType<typeof import('jscodeshift').default.withParser>} j
|
|
21
|
+
* @param {ReturnType<ReturnType<typeof import('jscodeshift').default.withParser>>} ast
|
|
22
22
|
* @returns {any|null}
|
|
23
23
|
*/
|
|
24
|
-
export function findManifestObject(j: ReturnType<typeof jscodeshift.withParser>, ast: ReturnType<ReturnType<typeof jscodeshift.withParser>>): any | null;
|
|
24
|
+
export function findManifestObject(j: ReturnType<typeof import("jscodeshift").default.withParser>, ast: ReturnType<ReturnType<typeof import("jscodeshift").default.withParser>>): any | null;
|
|
25
25
|
/**
|
|
26
26
|
* Add a contribution root to an integration manifest, creating the manifest
|
|
27
27
|
* when requested and none exists.
|
|
@@ -56,4 +56,3 @@ export class IntegrationRootConflictError extends Error {
|
|
|
56
56
|
current: string;
|
|
57
57
|
requested: string;
|
|
58
58
|
}
|
|
59
|
-
import jscodeshift from 'jscodeshift';
|
|
@@ -13,7 +13,6 @@ import * as fs from 'node:fs';
|
|
|
13
13
|
import * as path from 'node:path';
|
|
14
14
|
import {randomUUID} from 'node:crypto';
|
|
15
15
|
import {publishNewFile} from '../fs/publish-file.mjs';
|
|
16
|
-
import jscodeshift from 'jscodeshift';
|
|
17
16
|
import {assertWithin} from '../fs/path-safety.mjs';
|
|
18
17
|
import {findManifestPaths, loadManifestObject} from './integrations.mjs';
|
|
19
18
|
|
|
@@ -97,8 +96,8 @@ function propertyNamed(property, name) {
|
|
|
97
96
|
|
|
98
97
|
/**
|
|
99
98
|
* Find the object literal an integration manifest exports.
|
|
100
|
-
* @param {ReturnType<typeof jscodeshift.withParser>} j
|
|
101
|
-
* @param {ReturnType<ReturnType<typeof jscodeshift.withParser>>} ast
|
|
99
|
+
* @param {ReturnType<typeof import('jscodeshift').default.withParser>} j
|
|
100
|
+
* @param {ReturnType<ReturnType<typeof import('jscodeshift').default.withParser>>} ast
|
|
102
101
|
* @returns {any|null}
|
|
103
102
|
*/
|
|
104
103
|
export function findManifestObject(j, ast) {
|
|
@@ -290,6 +289,9 @@ export async function patchIntegrationRoot(
|
|
|
290
289
|
const source = manifestExists
|
|
291
290
|
? fs.readFileSync(manifestFile, 'utf-8')
|
|
292
291
|
: 'export default {};\n';
|
|
292
|
+
// The code-rewrite toolkit loads only to patch a manifest. Finding one,
|
|
293
|
+
// which many commands do through this module, never needs it.
|
|
294
|
+
const {default: jscodeshift} = await import('jscodeshift');
|
|
293
295
|
const j = jscodeshift.withParser('tsx');
|
|
294
296
|
let ast;
|
|
295
297
|
try {
|
|
@@ -262,7 +262,7 @@ export const doc = {
|
|
|
262
262
|
{
|
|
263
263
|
value: 'swizzle.copy',
|
|
264
264
|
description:
|
|
265
|
-
"An eject receipt: component name, owning package, output directory, files-copied count, the
|
|
265
|
+
"An eject receipt: component name, owning package, output directory, files-copied count, the copied file names (relative to the component folder; owner modules copied beside it start with ../), whether any file uses StyleX, and, when the owner has an issues URL, feedback ({issuesUrl, ghCommand?}): where to report the gap that led to swizzling. The envelope's package names the same owning package.",
|
|
266
266
|
},
|
|
267
267
|
|
|
268
268
|
// gap reports
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
/**
|
|
17
17
|
* @param {string} a
|
|
18
18
|
* @param {string} b
|
|
19
|
+
* @param {number} [max] - The largest distance the caller can use. When
|
|
20
|
+
* given, a larger distance answers `max + 1`, and only the cells within
|
|
21
|
+
* `max` of the diagonal are computed.
|
|
19
22
|
* @returns {number}
|
|
20
23
|
*/
|
|
21
|
-
export function levenshteinDistance(a: string, b: string): number;
|
|
24
|
+
export function levenshteinDistance(a: string, b: string, max?: number): number;
|
|
@@ -16,9 +16,13 @@
|
|
|
16
16
|
/**
|
|
17
17
|
* @param {string} a
|
|
18
18
|
* @param {string} b
|
|
19
|
+
* @param {number} [max] - The largest distance the caller can use. When
|
|
20
|
+
* given, a larger distance answers `max + 1`, and only the cells within
|
|
21
|
+
* `max` of the diagonal are computed.
|
|
19
22
|
* @returns {number}
|
|
20
23
|
*/
|
|
21
|
-
export function levenshteinDistance(a, b) {
|
|
24
|
+
export function levenshteinDistance(a, b, max) {
|
|
25
|
+
if (max !== undefined) return distanceWithin(a, b, max);
|
|
22
26
|
const m = a.length, n = b.length;
|
|
23
27
|
// Early exit: the distance is always ≥ |m − n|, so once the length gap
|
|
24
28
|
// exceeds the loosest fuzzy-match threshold any caller uses (the hook
|
|
@@ -39,3 +43,42 @@ export function levenshteinDistance(a, b) {
|
|
|
39
43
|
}
|
|
40
44
|
return dp[m][n];
|
|
41
45
|
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The edit distance between `a` and `b` when it is at most `max`, or
|
|
49
|
+
* `max + 1` when it is more. A path through a cell more than `max` from the
|
|
50
|
+
* diagonal costs more than `max`, so only that band is computed.
|
|
51
|
+
* @param {string} a
|
|
52
|
+
* @param {string} b
|
|
53
|
+
* @param {number} max
|
|
54
|
+
* @returns {number}
|
|
55
|
+
*/
|
|
56
|
+
function distanceWithin(a, b, max) {
|
|
57
|
+
const over = max + 1;
|
|
58
|
+
if (Math.abs(a.length - b.length) > max) return over;
|
|
59
|
+
let previous = new Array(b.length + 1).fill(over);
|
|
60
|
+
let current = new Array(b.length + 1).fill(over);
|
|
61
|
+
for (let j = 0; j <= Math.min(b.length, max); j++) previous[j] = j;
|
|
62
|
+
for (let i = 1; i <= a.length; i++) {
|
|
63
|
+
current.fill(over);
|
|
64
|
+
const from = Math.max(1, i - max);
|
|
65
|
+
const to = Math.min(b.length, i + max);
|
|
66
|
+
if (i <= max) current[0] = i;
|
|
67
|
+
let rowMin = current[0];
|
|
68
|
+
for (let j = from; j <= to; j++) {
|
|
69
|
+
const cost = a[i - 1] === b[j - 1] ? 0 : 1;
|
|
70
|
+
const value = Math.min(
|
|
71
|
+
previous[j - 1] + cost,
|
|
72
|
+
previous[j] + 1,
|
|
73
|
+
current[j - 1] + 1,
|
|
74
|
+
over,
|
|
75
|
+
);
|
|
76
|
+
current[j] = value;
|
|
77
|
+
if (value < rowMin) rowMin = value;
|
|
78
|
+
}
|
|
79
|
+
// Every later cell costs at least this row's least.
|
|
80
|
+
if (rowMin >= over) return over;
|
|
81
|
+
[previous, current] = [current, previous];
|
|
82
|
+
}
|
|
83
|
+
return Math.min(previous[b.length], over);
|
|
84
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.7.9-canary.
|
|
3
|
+
"version": "0.7.9-canary.c8a172b",
|
|
4
4
|
"displayName": "CLI",
|
|
5
5
|
"description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
"zod": "^4.4.3"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
|
-
"@astryxdesign/charts": "0.7.9-canary.
|
|
128
|
-
"@astryxdesign/core": "0.7.9-canary.
|
|
129
|
-
"@astryxdesign/lab": "0.7.9-canary.
|
|
130
|
-
"@astryxdesign/theme-neutral": "0.7.9-canary.
|
|
127
|
+
"@astryxdesign/charts": "0.7.9-canary.c8a172b",
|
|
128
|
+
"@astryxdesign/core": "0.7.9-canary.c8a172b",
|
|
129
|
+
"@astryxdesign/lab": "0.7.9-canary.c8a172b",
|
|
130
|
+
"@astryxdesign/theme-neutral": "0.7.9-canary.c8a172b"
|
|
131
131
|
},
|
|
132
132
|
"peerDependenciesMeta": {
|
|
133
133
|
"@astryxdesign/charts": {
|
|
@@ -144,10 +144,10 @@
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
|
-
"@astryxdesign/charts": "0.7.9-canary.
|
|
148
|
-
"@astryxdesign/core": "0.7.9-canary.
|
|
149
|
-
"@astryxdesign/lab": "0.7.9-canary.
|
|
150
|
-
"@astryxdesign/theme-neutral": "0.7.9-canary.
|
|
147
|
+
"@astryxdesign/charts": "0.7.9-canary.c8a172b",
|
|
148
|
+
"@astryxdesign/core": "0.7.9-canary.c8a172b",
|
|
149
|
+
"@astryxdesign/lab": "0.7.9-canary.c8a172b",
|
|
150
|
+
"@astryxdesign/theme-neutral": "0.7.9-canary.c8a172b",
|
|
151
151
|
"@heroicons/react": "^2.2.0",
|
|
152
152
|
"@stylexjs/stylex": "^0.19.0",
|
|
153
153
|
"@types/babel__core": "^7.20.5",
|