@astryxdesign/build 0.1.2 → 0.1.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.
package/dist/vite.d.ts CHANGED
@@ -61,9 +61,8 @@ 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 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.
64
+ * Configurable if a consumer needs a custom library atom prefix.
65
+ * Defaults to `astryx`.
67
66
  *
68
67
  * @default 'astryx'
69
68
  */
package/dist/vite.mjs CHANGED
@@ -96,7 +96,10 @@ function astryxStylex(options = {}) {
96
96
  rootDir,
97
97
  "node_modules/@astryxdesign/core/src/theme/tokens.stylex.ts"
98
98
  ),
99
- "@astryxdesign/core": path.resolve(rootDir, "node_modules/@astryxdesign/core/src")
99
+ "@astryxdesign/core": path.resolve(
100
+ rootDir,
101
+ "node_modules/@astryxdesign/core/src"
102
+ )
100
103
  }
101
104
  },
102
105
  optimizeDeps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/build",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
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,9 +79,8 @@ 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 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.
82
+ * Configurable if a consumer needs a custom library atom prefix.
83
+ * Defaults to `astryx`.
85
84
  *
86
85
  * @default 'astryx'
87
86
  */
@@ -209,7 +208,10 @@ export function astryxStylex(
209
208
  rootDir,
210
209
  'node_modules/@astryxdesign/core/src/theme/tokens.stylex.ts',
211
210
  ),
212
- '@astryxdesign/core': path.resolve(rootDir, 'node_modules/@astryxdesign/core/src'),
211
+ '@astryxdesign/core': path.resolve(
212
+ rootDir,
213
+ 'node_modules/@astryxdesign/core/src',
214
+ ),
213
215
  },
214
216
  },
215
217
  optimizeDeps: {