@astryxdesign/cli 0.7.6-canary.802da1a → 0.7.6-canary.8d0a847
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.
|
@@ -290,21 +290,15 @@ describe('--built edge cases', () => {
|
|
|
290
290
|
});
|
|
291
291
|
|
|
292
292
|
it('warns, not fails, when the file limit ends the read before any Astryx', () => {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
fs.writeFileSync(empty, '');
|
|
298
|
-
for (let folder = 0; folder < 50; folder++) {
|
|
299
|
-
fs.mkdirSync(path.join(dir, 'a', String(folder)), {recursive: true});
|
|
300
|
-
}
|
|
301
|
-
for (let i = 0; i < 20_000; i++) {
|
|
302
|
-
fs.linkSync(empty, path.join(dir, 'a', String(i % 50), `${i}.txt`));
|
|
293
|
+
for (let i = 0; i < 20_001; i++) {
|
|
294
|
+
const file = path.join(dir, 'a', String(i % 50), `${i}.txt`);
|
|
295
|
+
fs.mkdirSync(path.dirname(file), {recursive: true});
|
|
296
|
+
fs.writeFileSync(file, '');
|
|
303
297
|
}
|
|
304
298
|
const {usage} = check('.');
|
|
305
299
|
expect(usage.status).toBe('warn');
|
|
306
300
|
expect(usage.message).toContain('went unread');
|
|
307
|
-
});
|
|
301
|
+
}, 60_000);
|
|
308
302
|
|
|
309
303
|
it('finds a root-relative asset from the build root for a page in a subfolder', () => {
|
|
310
304
|
write({
|
|
@@ -147,14 +147,6 @@ beforeEach(() => {
|
|
|
147
147
|
tmpDir = fs.mkdtempSync(
|
|
148
148
|
path.join(process.cwd(), '.astryx-template-conflicts-'),
|
|
149
149
|
);
|
|
150
|
-
// The fixture is a package with its own TypeScript config, scoped to its
|
|
151
|
-
// own files. Without one, the prop check reads the repository's root
|
|
152
|
-
// config, as `tsc` would for a folder inside it, and compiles every
|
|
153
|
-
// declaration in the repository for each check.
|
|
154
|
-
fs.writeFileSync(
|
|
155
|
-
path.join(tmpDir, 'tsconfig.json'),
|
|
156
|
-
`${JSON.stringify({extends: '../tsconfig.json', include: ['**/*']})}\n`,
|
|
157
|
-
);
|
|
158
150
|
});
|
|
159
151
|
|
|
160
152
|
afterEach(() => {
|
|
@@ -45,14 +45,6 @@ const CLI = path.join(
|
|
|
45
45
|
|
|
46
46
|
beforeEach(() => {
|
|
47
47
|
tmpDir = fs.mkdtempSync(path.join(process.cwd(), '.astryx-validate-gaps-'));
|
|
48
|
-
// The fixture is a package with its own TypeScript config, scoped to its
|
|
49
|
-
// own files. Without one, the prop check reads the repository's root
|
|
50
|
-
// config, as `tsc` would for a folder inside it, and compiles every
|
|
51
|
-
// declaration in the repository for each check.
|
|
52
|
-
fs.writeFileSync(
|
|
53
|
-
path.join(tmpDir, 'tsconfig.json'),
|
|
54
|
-
`${JSON.stringify({extends: '../tsconfig.json', include: ['**/*']})}\n`,
|
|
55
|
-
);
|
|
56
48
|
});
|
|
57
49
|
|
|
58
50
|
afterEach(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.7.6-canary.
|
|
3
|
+
"version": "0.7.6-canary.8d0a847",
|
|
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",
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
"zod": "^4.4.3"
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
|
-
"@astryxdesign/charts": "0.7.6-canary.
|
|
115
|
-
"@astryxdesign/core": "0.7.6-canary.
|
|
116
|
-
"@astryxdesign/lab": "0.7.6-canary.
|
|
117
|
-
"@astryxdesign/theme-neutral": "0.7.6-canary.
|
|
114
|
+
"@astryxdesign/charts": "0.7.6-canary.8d0a847",
|
|
115
|
+
"@astryxdesign/core": "0.7.6-canary.8d0a847",
|
|
116
|
+
"@astryxdesign/lab": "0.7.6-canary.8d0a847",
|
|
117
|
+
"@astryxdesign/theme-neutral": "0.7.6-canary.8d0a847"
|
|
118
118
|
},
|
|
119
119
|
"peerDependenciesMeta": {
|
|
120
120
|
"@astryxdesign/charts": {
|
|
@@ -131,10 +131,10 @@
|
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
"devDependencies": {
|
|
134
|
-
"@astryxdesign/charts": "0.7.6-canary.
|
|
135
|
-
"@astryxdesign/core": "0.7.6-canary.
|
|
136
|
-
"@astryxdesign/lab": "0.7.6-canary.
|
|
137
|
-
"@astryxdesign/theme-neutral": "0.7.6-canary.
|
|
134
|
+
"@astryxdesign/charts": "0.7.6-canary.8d0a847",
|
|
135
|
+
"@astryxdesign/core": "0.7.6-canary.8d0a847",
|
|
136
|
+
"@astryxdesign/lab": "0.7.6-canary.8d0a847",
|
|
137
|
+
"@astryxdesign/theme-neutral": "0.7.6-canary.8d0a847",
|
|
138
138
|
"@heroicons/react": "^2.2.0",
|
|
139
139
|
"@stylexjs/stylex": "^0.19.0",
|
|
140
140
|
"@types/babel__core": "^7.20.5",
|