openxiangda-cli 2.0.0-alpha.111 → 2.0.0-alpha.113
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": "openxiangda-cli",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.113",
|
|
4
4
|
"description": "Thin application-level CLI for OpenXiangda 2.0.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@oclif/core": "4.13.3",
|
|
24
|
-
"openxiangda-contracts": "2.0.0-alpha.
|
|
25
|
-
"openxiangda-devkit-core": "2.0.0-alpha.
|
|
26
|
-
"openxiangda-mcp": "2.0.0-alpha.
|
|
27
|
-
"openxiangda-skill-kit": "2.0.0-alpha.
|
|
24
|
+
"openxiangda-contracts": "2.0.0-alpha.54",
|
|
25
|
+
"openxiangda-devkit-core": "2.0.0-alpha.71",
|
|
26
|
+
"openxiangda-mcp": "2.0.0-alpha.71",
|
|
27
|
+
"openxiangda-skill-kit": "2.0.0-alpha.89"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"tsx": "4.23.12",
|
|
@@ -6,7 +6,10 @@ const baseURL =
|
|
|
6
6
|
|
|
7
7
|
export default defineConfig({
|
|
8
8
|
testDir: './e2e',
|
|
9
|
-
|
|
9
|
+
// The development server owns one mutable dependency-optimizer generation.
|
|
10
|
+
// Serial browser entrypoints prevent a second HTML graph from invalidating
|
|
11
|
+
// an in-flight transformed module during release acceptance.
|
|
12
|
+
workers: 1,
|
|
10
13
|
use: { baseURL, trace: 'retain-on-failure' },
|
|
11
14
|
webServer: process.env.OPENXIANGDA_E2E_BASE_URL
|
|
12
15
|
? undefined
|
|
@@ -91,8 +91,12 @@ test('published E2E harnesses do not write evidence into the platform source rep
|
|
|
91
91
|
assert.doesNotMatch(workflowSource, /docs\/architecture|evidenceDirectory/);
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
test('
|
|
94
|
+
test('browser acceptance serializes the prewarmed Vite HTML entrypoints', () => {
|
|
95
95
|
const viteConfig = readFileSync(new URL('../vite.config.ts', import.meta.url), 'utf8');
|
|
96
|
+
const playwrightConfig = readFileSync(
|
|
97
|
+
new URL('../playwright.config.ts', import.meta.url),
|
|
98
|
+
'utf8'
|
|
99
|
+
);
|
|
96
100
|
const htmlEntries = readdirSync(new URL('..', import.meta.url))
|
|
97
101
|
.filter(name => name.endsWith('.e2e.html'))
|
|
98
102
|
.sort();
|
|
@@ -104,6 +108,7 @@ test('Vite prewarms every E2E HTML entry before concurrent browser acceptance',
|
|
|
104
108
|
for (const entry of htmlEntries) {
|
|
105
109
|
assert.ok(viteConfig.includes(`'${entry}'`), `missing optimizeDeps entry ${entry}`);
|
|
106
110
|
}
|
|
111
|
+
assert.match(playwrightConfig, /workers:\s*1/);
|
|
107
112
|
});
|
|
108
113
|
|
|
109
114
|
test('the platform package owns Web build verification policy', () => {
|