@astryxdesign/build 0.1.0 → 0.1.1-canary.13763f6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/build",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-canary.13763f6",
4
4
  "description": "Build plugins for XDS source builds — babel, PostCSS, and Vite integrations",
5
5
  "author": "Meta Open Source",
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/facebook/astryx/issues"
15
15
  },
16
16
  "keywords": [
17
- "xds",
17
+ "astryx",
18
18
  "postcss",
19
19
  "stylex",
20
20
  "css-layers",
package/src/next.js CHANGED
@@ -8,8 +8,8 @@
8
8
  * Next.js configuration helper for Astryx source builds.
9
9
  *
10
10
  * Usage in next.config.mjs:
11
- * import {withXDS} from '@astryxdesign/build/next';
12
- * export default withXDS({
11
+ * import {withAstryx} from '@astryxdesign/build/next';
12
+ * export default withAstryx({
13
13
  * // your normal next config
14
14
  * });
15
15
  */
@@ -19,15 +19,15 @@
19
19
  * - Adds transpilePackages for @astryxdesign/* packages
20
20
  * - Sets conditionNames to resolve source exports
21
21
  */
22
- function withXDS(nextConfig = {}) {
23
- const xdsPackages = [
22
+ function withAstryx(nextConfig = {}) {
23
+ const astryxPackages = [
24
24
  '@astryxdesign/core',
25
25
  '@astryxdesign/theme-neutral',
26
26
  '@astryxdesign/lab',
27
27
  ];
28
28
 
29
29
  const existingTranspile = nextConfig.transpilePackages || [];
30
- const merged = Array.from(new Set([...existingTranspile, ...xdsPackages]));
30
+ const merged = Array.from(new Set([...existingTranspile, ...astryxPackages]));
31
31
 
32
32
  const existingWebpack = nextConfig.webpack;
33
33
 
@@ -60,4 +60,4 @@ function withXDS(nextConfig = {}) {
60
60
  };
61
61
  }
62
62
 
63
- module.exports = {withXDS};
63
+ module.exports = {withAstryx};
package/src/vite.ts CHANGED
@@ -79,7 +79,7 @@ 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 (P2380608025): a consumer
82
+ * Configurable to support the Astryx-prefix migration: a consumer
83
83
  * can rebrand the library atom prefix to `astryx` before the final cutover.
84
84
  * Defaults to `xds` so existing consumers are unaffected.
85
85
  *