An open source design system that's fully customizable and agent ready
TypeScript
refactor(vibe-tests): cleanup β delete project-xds/, rename manifests + tsconfig (#3116)
EJ Hammonde38d1e78d47e
diff --git a/internal/vibe-tests/a11y-manifests/xds.json b/internal/vibe-tests/a11y-manifests/astryx.jsonsimilarity index 100%rename from internal/vibe-tests/a11y-manifests/xds.jsonrename to internal/vibe-tests/a11y-manifests/astryx.jsondiff --git a/internal/vibe-tests/a11y-manifests/xds.md b/internal/vibe-tests/a11y-manifests/astryx.mdsimilarity index 99%rename from internal/vibe-tests/a11y-manifests/xds.mdrename to internal/vibe-tests/a11y-manifests/astryx.mdindex 0498eb8bf2..26570c5e20 100644--- a/internal/vibe-tests/a11y-manifests/xds.md+++ b/internal/vibe-tests/a11y-manifests/astryx.md@@ -1,4 +1,4 @@-# XDS Accessibility Manifest+# Astryx Accessibility Manifest**Source:** packages/core/src/\*/README.md**Generated:** 2026-02-05T18:03:04.596Zdiff --git a/internal/vibe-tests/environments/project-xds/README.md b/internal/vibe-tests/environments/project-xds/README.mddeleted file mode 100644index 467971f5c8..0000000000--- a/internal/vibe-tests/environments/project-xds/README.md+++ /dev/null@@ -1,68 +0,0 @@-# XDS--This project uses XDS components. Use the CLI to look up component props and usage before writing code:--```bash-npx astryx component --list # list all available components-npx astryx component Button # look up props, variants, and usage-npx astryx component IconButton # each component has its own entry-```--If the CLI is not available, install dependencies first:--```bash-npm install --include=dev-```--Components use:--- StyleX (`@stylexjs/stylex`) for styling-- React 19--## Styling with StyleX--Custom styles must use `stylex.create()`. Plain objects are not valid:--```tsx-import stylex from '@stylexjs/stylex';--const styles = stylex.create({- container: {- padding: 16,- backgroundColor: '#f5f5f5',- },-});--// Apply to XDS components via the xstyle prop:-<XDSCard xstyle={styles.container}>...</XDSCard>--// Apply to HTML elements via stylex.props():-<div {...stylex.props(styles.container)}>...</div>-```--**Important:** Never pass plain `{padding: '16px'}` objects to `xstyle`. Always use `stylex.create()`.--## Import Pattern--Each component is imported from its own subpath:--```tsx-import {XDSButton} from '@astryxdesign/core/Button';-import {XDSIconButton} from '@astryxdesign/core/IconButton';-import {XDSCard} from '@astryxdesign/core/Card';-import {XDSText, XDSHeading} from '@astryxdesign/core/Text';-import {XDSToggleButton, XDSToggleButtonGroup} from '@astryxdesign/core/ToggleButton';-import {XDSTheme} from '@astryxdesign/core/theme';-```--## Event Handlers--XDS is a React DOM library. Use standard React DOM event handler props such as-`onClick`, `onChange`, and `onKeyDown`. For button activation, use `onClick`:--```tsx-<XDSButton label="Save" onClick={() => handleSave()} />-```--Do NOT use cross-platform activation props like `onPress` unless a component-explicitly documents them.diff --git a/internal/vibe-tests/environments/project-xds/package.json b/internal/vibe-tests/environments/project-xds/package.jsondeleted file mode 100644index bfd2cb450e..0000000000--- a/internal/vibe-tests/environments/project-xds/package.json+++ /dev/null@@ -1,14 +0,0 @@-{- "name": "my-app",- "private": true,- "dependencies": {- "@astryxdesign/core": "*",- "@astryxdesign/theme-neutral": "*",- "@stylexjs/stylex": "^0.10",- "react": "^19",- "react-dom": "^19"- },- "devDependencies": {- "@astryxdesign/cli": "*"- }-}diff --git a/internal/vibe-tests/src/build-previews.ts b/internal/vibe-tests/src/build-previews.tsindex 4d5c8ca904..b1d337a52e 100644--- a/internal/vibe-tests/src/build-previews.ts+++ b/internal/vibe-tests/src/build-previews.ts@@ -535,7 +535,7 @@ function getTsconfigForTarget(target: string): string {switch (target) {case 'xds-tailwind':case 'astryx':- return path.join(VIBE_DIR, 'tsconfig.xds.json');+ return path.join(VIBE_DIR, 'tsconfig.astryx.json');case 'baseline':return path.join(VIBE_DIR, 'tsconfig.baseline.json');default:diff --git a/internal/vibe-tests/src/generate-a11y-manifest.ts b/internal/vibe-tests/src/generate-a11y-manifest.tsindex ecf0111f2b..faab4e4d31 100644--- a/internal/vibe-tests/src/generate-a11y-manifest.ts+++ b/internal/vibe-tests/src/generate-a11y-manifest.ts@@ -580,16 +580,16 @@ async function main(): Promise<void> {// Generate XDS manifestconsole.log('π¦ Parsing XDS component README files...');- const xdsManifest = generateXDSManifest();- const xdsJsonPath = path.join(MANIFESTS_DIR, 'xds.json');- const xdsMdPath = path.join(MANIFESTS_DIR, 'xds.md');- fs.writeFileSync(xdsJsonPath, JSON.stringify(xdsManifest, null, 2));- fs.writeFileSync(xdsMdPath, formatManifestAsMarkdown(xdsManifest, 'XDS'));+ const astryxManifest = generateXDSManifest();+ const astryxJsonPath = path.join(MANIFESTS_DIR, 'astryx.json');+ const astryxMdPath = path.join(MANIFESTS_DIR, 'astryx.md');+ fs.writeFileSync(astryxJsonPath, JSON.stringify(astryxManifest, null, 2));+ fs.writeFileSync(astryxMdPath, formatManifestAsMarkdown(astryxManifest, 'Astryx'));console.log(- ` β Found ${Object.keys(xdsManifest.components).length} components with a11y info`,+ ` β Found ${Object.keys(astryxManifest.components).length} components with a11y info`,);- console.log(` β Written to ${xdsJsonPath}`);- console.log(` β Markdown: ${xdsMdPath}`);+ console.log(` β Written to ${astryxJsonPath}`);+ console.log(` β Markdown: ${astryxMdPath}`);// Generate baseline manifestconsole.log('\nπ¦ Generating baseline (Radix/shadcn) manifest...');diff --git a/internal/vibe-tests/tsconfig.xds.json b/internal/vibe-tests/tsconfig.astryx.jsonsimilarity index 100%rename from internal/vibe-tests/tsconfig.xds.jsonrename to internal/vibe-tests/tsconfig.astryx.json