@astryxdesign/build 0.1.2-canary.eb7243a → 0.1.2-canary.f03e2cc

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/dist/vite.d.ts CHANGED
@@ -61,8 +61,9 @@ export interface AstryxVitePluginOptions {
61
61
  * build uses a distinct prefix so library and product atoms never collide
62
62
  * across layers.
63
63
  *
64
- * Configurable if a consumer needs a custom library atom prefix.
65
- * Defaults to `astryx`.
64
+ * Configurable to support the Astryx-prefix migration: a consumer
65
+ * can rebrand the library atom prefix to `astryx` before the final cutover.
66
+ * Defaults to `xds` so existing consumers are unaffected.
66
67
  *
67
68
  * @default 'astryx'
68
69
  */
package/dist/vite.mjs CHANGED
@@ -96,10 +96,7 @@ function astryxStylex(options = {}) {
96
96
  rootDir,
97
97
  "node_modules/@astryxdesign/core/src/theme/tokens.stylex.ts"
98
98
  ),
99
- "@astryxdesign/core": path.resolve(
100
- rootDir,
101
- "node_modules/@astryxdesign/core/src"
102
- )
99
+ "@astryxdesign/core": path.resolve(rootDir, "node_modules/@astryxdesign/core/src")
103
100
  }
104
101
  },
105
102
  optimizeDeps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/build",
3
- "version": "0.1.2-canary.eb7243a",
3
+ "version": "0.1.2-canary.f03e2cc",
4
4
  "description": "Build plugins for XDS source builds — babel, PostCSS, and Vite integrations",
5
5
  "author": "Meta Open Source",
6
6
  "license": "MIT",
package/src/vite.ts CHANGED
@@ -79,8 +79,9 @@ export interface AstryxVitePluginOptions {
79
79
  * build uses a distinct prefix so library and product atoms never collide
80
80
  * across layers.
81
81
  *
82
- * Configurable if a consumer needs a custom library atom prefix.
83
- * Defaults to `astryx`.
82
+ * Configurable to support the Astryx-prefix migration: a consumer
83
+ * can rebrand the library atom prefix to `astryx` before the final cutover.
84
+ * Defaults to `xds` so existing consumers are unaffected.
84
85
  *
85
86
  * @default 'astryx'
86
87
  */
@@ -208,10 +209,7 @@ export function astryxStylex(
208
209
  rootDir,
209
210
  'node_modules/@astryxdesign/core/src/theme/tokens.stylex.ts',
210
211
  ),
211
- '@astryxdesign/core': path.resolve(
212
- rootDir,
213
- 'node_modules/@astryxdesign/core/src',
214
- ),
212
+ '@astryxdesign/core': path.resolve(rootDir, 'node_modules/@astryxdesign/core/src'),
215
213
  },
216
214
  },
217
215
  optimizeDeps: {