@astryxdesign/cli 0.4.2-canary.44cde5e → 0.4.2-canary.4d004cd
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.
|
@@ -309,9 +309,8 @@ describe('theme build --icons-specifier (spawned processes)', () => {
|
|
|
309
309
|
|
|
310
310
|
// Rebuilds run through a child re-invocation of `theme build`, so the
|
|
311
311
|
// flag reaches them only if the watch loop forwards it. Change a token
|
|
312
|
-
// and wait for the rebuilt
|
|
313
|
-
//
|
|
314
|
-
// (idempotent write).
|
|
312
|
+
// and wait for the rebuilt CSS. fs.watch delivery is best-effort under
|
|
313
|
+
// load, so re-touch until the rebuild shows up (idempotent write).
|
|
315
314
|
const touched =
|
|
316
315
|
`import {testIcons} from './icons';\n` +
|
|
317
316
|
`export default {\n` +
|
|
@@ -322,10 +321,10 @@ describe('theme build --icons-specifier (spawned processes)', () => {
|
|
|
322
321
|
fs.writeFileSync(themeFile, touched);
|
|
323
322
|
const rebuilt = await waitFor(() => {
|
|
324
323
|
try {
|
|
325
|
-
if (fs.readFileSync(
|
|
324
|
+
if (fs.readFileSync(cssFile, 'utf-8').includes('#0a0b0c'))
|
|
326
325
|
return true;
|
|
327
326
|
} catch {
|
|
328
|
-
//
|
|
327
|
+
// CSS mid-write; fall through to re-touch.
|
|
329
328
|
}
|
|
330
329
|
try {
|
|
331
330
|
fs.writeFileSync(themeFile, touched);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.4.2-canary.
|
|
3
|
+
"version": "0.4.2-canary.4d004cd",
|
|
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",
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"zod": "^4.4.3"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@astryxdesign/charts": "0.4.2-canary.
|
|
88
|
-
"@astryxdesign/core": "0.4.2-canary.
|
|
89
|
-
"@astryxdesign/lab": "0.4.2-canary.
|
|
90
|
-
"@astryxdesign/theme-neutral": "0.4.2-canary.
|
|
87
|
+
"@astryxdesign/charts": "0.4.2-canary.4d004cd",
|
|
88
|
+
"@astryxdesign/core": "0.4.2-canary.4d004cd",
|
|
89
|
+
"@astryxdesign/lab": "0.4.2-canary.4d004cd",
|
|
90
|
+
"@astryxdesign/theme-neutral": "0.4.2-canary.4d004cd",
|
|
91
91
|
"gpt-tokenizer": "^3.4.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@astryxdesign/charts": "0.4.2-canary.
|
|
109
|
-
"@astryxdesign/core": "0.4.2-canary.
|
|
110
|
-
"@astryxdesign/lab": "0.4.2-canary.
|
|
111
|
-
"@astryxdesign/theme-neutral": "0.4.2-canary.
|
|
108
|
+
"@astryxdesign/charts": "0.4.2-canary.4d004cd",
|
|
109
|
+
"@astryxdesign/core": "0.4.2-canary.4d004cd",
|
|
110
|
+
"@astryxdesign/lab": "0.4.2-canary.4d004cd",
|
|
111
|
+
"@astryxdesign/theme-neutral": "0.4.2-canary.4d004cd",
|
|
112
112
|
"gpt-tokenizer": "^3.4.0"
|
|
113
113
|
},
|
|
114
114
|
"scripts": {
|