@webpresso/agent-config 0.1.5 → 0.3.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/esm/deploy/index.d.ts +1 -0
- package/dist/esm/deploy/index.js +3 -0
- package/dist/esm/dev/index.d.ts +1 -0
- package/dist/esm/dev/index.js +3 -0
- package/dist/esm/e2e/index.d.ts +1 -0
- package/dist/esm/e2e/index.js +3 -0
- package/dist/esm/process/index.d.ts +1 -0
- package/dist/esm/process/index.js +3 -0
- package/dist/esm/repo-root/index.d.ts +1 -0
- package/dist/esm/repo-root/index.js +3 -0
- package/dist/esm/stryker/index.d.ts +134 -0
- package/dist/esm/stryker/index.js +127 -0
- package/dist/esm/tsconfig/base.json +27 -0
- package/dist/esm/tsconfig/cloudflare.json +10 -0
- package/dist/esm/tsconfig/library.json +16 -0
- package/dist/esm/tsconfig/react-library.json +10 -0
- package/dist/esm/tsconfig/react-router.json +10 -0
- package/dist/esm/vitest/bun-sqlite-shim.d.ts +13 -0
- package/dist/esm/vitest/bun-sqlite-shim.js +13 -0
- package/dist/esm/vitest/consumer-package.d.ts +3 -0
- package/dist/esm/vitest/consumer-package.js +62 -0
- package/dist/esm/vitest/flakiness-reporter.d.ts +6 -0
- package/dist/esm/vitest/flakiness-reporter.js +52 -0
- package/dist/esm/vitest/generated-runtime-aliases.d.ts +5 -0
- package/dist/esm/vitest/generated-runtime-aliases.js +2 -0
- package/dist/esm/vitest/node-setup.d.ts +5 -0
- package/dist/esm/vitest/node-setup.js +15 -0
- package/dist/esm/vitest/node.d.ts +63 -0
- package/dist/esm/vitest/node.js +185 -0
- package/dist/esm/vitest/pool-defaults.d.ts +10 -0
- package/dist/esm/vitest/pool-defaults.js +42 -0
- package/dist/esm/vitest/react-router.d.ts +21 -0
- package/dist/esm/vitest/react-router.js +82 -0
- package/dist/esm/vitest/react-setup.d.ts +12 -0
- package/dist/esm/vitest/react-setup.js +25 -0
- package/dist/esm/vitest/react.d.ts +21 -0
- package/dist/esm/vitest/react.js +84 -0
- package/dist/esm/vitest/source-conditions.d.ts +54 -0
- package/dist/esm/vitest/source-conditions.js +51 -0
- package/dist/esm/vitest/version-guard.d.ts +6 -0
- package/dist/esm/vitest/version-guard.js +41 -0
- package/dist/esm/vitest/workers.d.ts +27 -0
- package/dist/esm/vitest/workers.js +43 -0
- package/dist/esm/workers-test/cloudflare-types.d.ts +29 -0
- package/dist/esm/workers-test/cloudflare-types.js +1 -0
- package/dist/esm/workers-test/durable-objects.d.ts +61 -0
- package/dist/esm/workers-test/durable-objects.js +70 -0
- package/dist/esm/workers-test/env.d.ts +57 -0
- package/dist/esm/workers-test/env.js +73 -0
- package/dist/esm/workers-test/execution-context.d.ts +20 -0
- package/dist/esm/workers-test/execution-context.js +21 -0
- package/dist/esm/workers-test/index.d.ts +15 -0
- package/dist/esm/workers-test/index.js +14 -0
- package/dist/esm/workers-test/requests.d.ts +43 -0
- package/dist/esm/workers-test/requests.js +70 -0
- package/dist/esm/workers-test/setup.d.ts +62 -0
- package/dist/esm/workers-test/setup.js +85 -0
- package/package.json +75 -40
package/package.json
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpresso/agent-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"private": false,
|
|
5
|
-
"
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/webpresso/agent-kit.git"
|
|
8
|
-
},
|
|
5
|
+
"description": "Shared vitest, tsconfig, stryker, and workers-test config for webpresso consumers. Binary-free — pure test/config tooling.",
|
|
9
6
|
"homepage": "https://github.com/webpresso/agent-kit#readme",
|
|
10
7
|
"bugs": {
|
|
11
8
|
"url": "https://github.com/webpresso/agent-kit/issues"
|
|
12
9
|
},
|
|
13
|
-
"publishConfig": {
|
|
14
|
-
"registry": "https://registry.npmjs.org/",
|
|
15
|
-
"access": "public"
|
|
16
|
-
},
|
|
17
|
-
"description": "Shared vitest, tsconfig, stryker, and workers-test config for webpresso consumers. Binary-free — pure test/config tooling.",
|
|
18
10
|
"license": "Elastic-2.0",
|
|
19
|
-
"
|
|
20
|
-
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/webpresso/agent-kit.git"
|
|
14
|
+
},
|
|
21
15
|
"files": [
|
|
22
16
|
"dist/esm",
|
|
23
17
|
"!dist/**/*.map",
|
|
@@ -25,7 +19,45 @@
|
|
|
25
19
|
"LICENSE",
|
|
26
20
|
"README.md"
|
|
27
21
|
],
|
|
22
|
+
"type": "module",
|
|
23
|
+
"sideEffects": false,
|
|
28
24
|
"exports": {
|
|
25
|
+
"./repo-root": {
|
|
26
|
+
"import": {
|
|
27
|
+
"types": "./dist/esm/repo-root/index.d.ts",
|
|
28
|
+
"default": "./dist/esm/repo-root/index.js"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"./process": {
|
|
32
|
+
"import": {
|
|
33
|
+
"types": "./dist/esm/process/index.d.ts",
|
|
34
|
+
"default": "./dist/esm/process/index.js"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"./e2e": {
|
|
38
|
+
"import": {
|
|
39
|
+
"types": "./dist/esm/e2e/index.d.ts",
|
|
40
|
+
"default": "./dist/esm/e2e/index.js"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"./deploy": {
|
|
44
|
+
"import": {
|
|
45
|
+
"types": "./dist/esm/deploy/index.d.ts",
|
|
46
|
+
"default": "./dist/esm/deploy/index.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"./dev": {
|
|
50
|
+
"import": {
|
|
51
|
+
"types": "./dist/esm/dev/index.d.ts",
|
|
52
|
+
"default": "./dist/esm/dev/index.js"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"./stryker": {
|
|
56
|
+
"import": {
|
|
57
|
+
"types": "./dist/esm/stryker/index.d.ts",
|
|
58
|
+
"default": "./dist/esm/stryker/index.js"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
29
61
|
"./tsconfig/base.json": {
|
|
30
62
|
"import": {
|
|
31
63
|
"types": "./dist/esm/tsconfig/base.json",
|
|
@@ -56,6 +88,12 @@
|
|
|
56
88
|
"default": "./dist/esm/tsconfig/react-router.json"
|
|
57
89
|
}
|
|
58
90
|
},
|
|
91
|
+
"./vitest/flakiness-reporter": {
|
|
92
|
+
"import": {
|
|
93
|
+
"types": "./dist/esm/vitest/flakiness-reporter.d.ts",
|
|
94
|
+
"default": "./dist/esm/vitest/flakiness-reporter.js"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
59
97
|
"./vitest/node": {
|
|
60
98
|
"import": {
|
|
61
99
|
"types": "./dist/esm/vitest/node.d.ts",
|
|
@@ -74,12 +112,6 @@
|
|
|
74
112
|
"default": "./dist/esm/vitest/react-router.js"
|
|
75
113
|
}
|
|
76
114
|
},
|
|
77
|
-
"./vitest/workers": {
|
|
78
|
-
"import": {
|
|
79
|
-
"types": "./dist/esm/vitest/workers.d.ts",
|
|
80
|
-
"default": "./dist/esm/vitest/workers.js"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
115
|
"./vitest/react-setup": {
|
|
84
116
|
"import": {
|
|
85
117
|
"types": "./dist/esm/vitest/react-setup.d.ts",
|
|
@@ -92,16 +124,16 @@
|
|
|
92
124
|
"default": "./dist/esm/vitest/react-setup.js"
|
|
93
125
|
}
|
|
94
126
|
},
|
|
95
|
-
"./vitest/
|
|
127
|
+
"./vitest/source-conditions": {
|
|
96
128
|
"import": {
|
|
97
|
-
"types": "./dist/esm/vitest/
|
|
98
|
-
"default": "./dist/esm/vitest/
|
|
129
|
+
"types": "./dist/esm/vitest/source-conditions.d.ts",
|
|
130
|
+
"default": "./dist/esm/vitest/source-conditions.js"
|
|
99
131
|
}
|
|
100
132
|
},
|
|
101
|
-
"./
|
|
133
|
+
"./vitest/workers": {
|
|
102
134
|
"import": {
|
|
103
|
-
"types": "./dist/esm/
|
|
104
|
-
"default": "./dist/esm/
|
|
135
|
+
"types": "./dist/esm/vitest/workers.d.ts",
|
|
136
|
+
"default": "./dist/esm/vitest/workers.js"
|
|
105
137
|
}
|
|
106
138
|
},
|
|
107
139
|
"./workers-test": {
|
|
@@ -111,17 +143,22 @@
|
|
|
111
143
|
}
|
|
112
144
|
}
|
|
113
145
|
},
|
|
146
|
+
"publishConfig": {
|
|
147
|
+
"access": "public",
|
|
148
|
+
"registry": "https://registry.npmjs.org/"
|
|
149
|
+
},
|
|
114
150
|
"scripts": {
|
|
115
151
|
"build": "tshy",
|
|
116
152
|
"prepublishOnly": "vp run build",
|
|
117
153
|
"typecheck": "tsc --noEmit",
|
|
118
|
-
"lint:pkg": "publint && attw --pack ."
|
|
154
|
+
"lint:pkg": "publint && attw --pack . --profile esm-only"
|
|
119
155
|
},
|
|
120
156
|
"dependencies": {
|
|
121
|
-
"@
|
|
122
|
-
"
|
|
123
|
-
"vite
|
|
124
|
-
"
|
|
157
|
+
"@webpresso/agent-core": "0.1.0",
|
|
158
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
159
|
+
"vite": "^8.0.14",
|
|
160
|
+
"vite-plus": "^0.1.22",
|
|
161
|
+
"vitest": "^4.1.7"
|
|
125
162
|
},
|
|
126
163
|
"peerDependencies": {
|
|
127
164
|
"@cloudflare/vitest-pool-workers": "*",
|
|
@@ -155,14 +192,6 @@
|
|
|
155
192
|
"optional": true
|
|
156
193
|
}
|
|
157
194
|
},
|
|
158
|
-
"devDependencies": {
|
|
159
|
-
"@arethetypeswrong/cli": "catalog:",
|
|
160
|
-
"@types/node": "catalog:",
|
|
161
|
-
"better-sqlite3": "catalog:",
|
|
162
|
-
"publint": "catalog:",
|
|
163
|
-
"tshy": "catalog:",
|
|
164
|
-
"typescript": "catalog:"
|
|
165
|
-
},
|
|
166
195
|
"tshy": {
|
|
167
196
|
"dialects": [
|
|
168
197
|
"esm"
|
|
@@ -172,19 +201,25 @@
|
|
|
172
201
|
"src/**/__fixtures__/**"
|
|
173
202
|
],
|
|
174
203
|
"exports": {
|
|
204
|
+
"./repo-root": "./src/repo-root/index.ts",
|
|
205
|
+
"./process": "./src/process/index.ts",
|
|
206
|
+
"./e2e": "./src/e2e/index.ts",
|
|
207
|
+
"./deploy": "./src/deploy/index.ts",
|
|
208
|
+
"./dev": "./src/dev/index.ts",
|
|
209
|
+
"./stryker": "./src/stryker/index.ts",
|
|
175
210
|
"./tsconfig/base.json": "./src/tsconfig/base.json",
|
|
176
211
|
"./tsconfig/cloudflare.json": "./src/tsconfig/cloudflare.json",
|
|
177
212
|
"./tsconfig/library.json": "./src/tsconfig/library.json",
|
|
178
213
|
"./tsconfig/react-library.json": "./src/tsconfig/react-library.json",
|
|
179
214
|
"./tsconfig/react-router.json": "./src/tsconfig/react-router.json",
|
|
215
|
+
"./vitest/flakiness-reporter": "./src/vitest/flakiness-reporter.ts",
|
|
180
216
|
"./vitest/node": "./src/vitest/node.ts",
|
|
181
217
|
"./vitest/react": "./src/vitest/react.ts",
|
|
182
218
|
"./vitest/react-router": "./src/vitest/react-router.ts",
|
|
183
|
-
"./vitest/workers": "./src/vitest/workers.ts",
|
|
184
219
|
"./vitest/react-setup": "./src/vitest/react-setup.ts",
|
|
185
220
|
"./vitest/react-setup.ts": "./src/vitest/react-setup.ts",
|
|
186
|
-
"./vitest/
|
|
187
|
-
"./
|
|
221
|
+
"./vitest/source-conditions": "./src/vitest/source-conditions.ts",
|
|
222
|
+
"./vitest/workers": "./src/vitest/workers.ts",
|
|
188
223
|
"./workers-test": "./src/workers-test/index.ts"
|
|
189
224
|
},
|
|
190
225
|
"selfLink": false
|