@weapp-vite/acceptance 0.0.0 → 0.1.0
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/index.d.mts +1 -1
- package/dist/index.mjs +2 -1
- package/package.json +18 -5
package/dist/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -546,13 +546,14 @@ async function verifyProject(config, context, originalFingerprint, onCheck, skip
|
|
|
546
546
|
cancelSignal: context.signal,
|
|
547
547
|
timeout: command.timeoutMs,
|
|
548
548
|
forceKillAfterDelay: 2e3,
|
|
549
|
+
killDescendants: true,
|
|
549
550
|
reject: false,
|
|
550
551
|
maxBuffer: 2e6
|
|
551
552
|
});
|
|
552
553
|
context.signal.throwIfAborted();
|
|
553
554
|
checks.push({
|
|
554
555
|
kind: command.kind,
|
|
555
|
-
status: result.
|
|
556
|
+
status: result.failed ? "failed" : "passed",
|
|
556
557
|
command: `${command.command} ${command.args.join(" ")}`,
|
|
557
558
|
exitCode: result.exitCode,
|
|
558
559
|
...result.timedOut ? { timedOut: true } : {},
|
package/package.json
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-vite/acceptance",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"description": "Deterministic mini-program acceptance and evidence",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"homepage": "https://github.com/weapp-vite/weapp-vite#readme",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "git+https://github.com/weapp-vite/weapp-vite.git",
|
|
10
11
|
"directory": "packages/acceptance"
|
|
11
12
|
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/weapp-vite/weapp-vite/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"weapp-vite",
|
|
18
|
+
"weapp",
|
|
19
|
+
"mini-program",
|
|
20
|
+
"acceptance",
|
|
21
|
+
"testing"
|
|
22
|
+
],
|
|
12
23
|
"sideEffects": false,
|
|
13
24
|
"exports": {
|
|
14
25
|
".": {
|
|
@@ -23,23 +34,25 @@
|
|
|
23
34
|
"dist"
|
|
24
35
|
],
|
|
25
36
|
"engines": {
|
|
26
|
-
"node": "
|
|
37
|
+
"node": ">=22.12.0"
|
|
27
38
|
},
|
|
28
39
|
"dependencies": {
|
|
29
|
-
"execa": "
|
|
40
|
+
"execa": "10.1.0",
|
|
30
41
|
"zod": "^4.6.5"
|
|
31
42
|
},
|
|
32
43
|
"devDependencies": {
|
|
33
44
|
"@weapp-agent/core": "0.0.0"
|
|
34
45
|
},
|
|
35
46
|
"publishConfig": {
|
|
36
|
-
"access": "public"
|
|
47
|
+
"access": "public",
|
|
48
|
+
"registry": "https://registry.npmjs.org"
|
|
37
49
|
},
|
|
38
50
|
"scripts": {
|
|
39
51
|
"build": "tsdown",
|
|
40
52
|
"test": "vitest run",
|
|
41
53
|
"typecheck": "tsc --noEmit",
|
|
42
54
|
"lint": "eslint .",
|
|
43
|
-
"test:types": "
|
|
55
|
+
"test:types": "pnpm run test:types:check",
|
|
56
|
+
"test:types:check": "tsd --files \"test-d/**/*.test-d.ts\""
|
|
44
57
|
}
|
|
45
58
|
}
|