@webpresso/agent-config 0.2.0 → 0.3.1

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.
Files changed (42) hide show
  1. package/README.md +37 -0
  2. package/dist/esm/deploy/index.d.ts +1 -0
  3. package/dist/esm/deploy/index.js +3 -0
  4. package/dist/esm/dev/index.d.ts +1 -0
  5. package/dist/esm/dev/index.js +3 -0
  6. package/dist/esm/e2e/index.d.ts +1 -0
  7. package/dist/esm/e2e/index.js +3 -0
  8. package/dist/esm/package.json +2 -1
  9. package/dist/esm/process/index.d.ts +1 -0
  10. package/dist/esm/process/index.js +3 -0
  11. package/dist/esm/repo-root/index.d.ts +1 -0
  12. package/dist/esm/repo-root/index.js +3 -0
  13. package/dist/esm/stryker/index.js +47 -47
  14. package/dist/esm/tsconfig/base.json +3 -13
  15. package/dist/esm/vitest/bun-sqlite-shim.d.ts +1 -1
  16. package/dist/esm/vitest/bun-sqlite-shim.js +1 -1
  17. package/dist/esm/vitest/consumer-package.js +9 -9
  18. package/dist/esm/vitest/flakiness-reporter.d.ts +1 -1
  19. package/dist/esm/vitest/flakiness-reporter.js +5 -5
  20. package/dist/esm/vitest/node.d.ts +1 -1
  21. package/dist/esm/vitest/node.js +45 -45
  22. package/dist/esm/vitest/pool-defaults.js +5 -5
  23. package/dist/esm/vitest/react-router.d.ts +1 -1
  24. package/dist/esm/vitest/react-router.js +32 -32
  25. package/dist/esm/vitest/react-setup.js +0 -1
  26. package/dist/esm/vitest/react.d.ts +1 -1
  27. package/dist/esm/vitest/react.js +28 -28
  28. package/dist/esm/vitest/source-conditions.js +4 -4
  29. package/dist/esm/vitest/version-guard.js +9 -9
  30. package/dist/esm/vitest/workers.js +14 -14
  31. package/dist/esm/workers-test/durable-objects.d.ts +3 -3
  32. package/dist/esm/workers-test/durable-objects.js +5 -5
  33. package/dist/esm/workers-test/env.d.ts +1 -1
  34. package/dist/esm/workers-test/env.js +9 -9
  35. package/dist/esm/workers-test/execution-context.d.ts +2 -2
  36. package/dist/esm/workers-test/execution-context.js +1 -1
  37. package/dist/esm/workers-test/index.d.ts +8 -8
  38. package/dist/esm/workers-test/index.js +5 -5
  39. package/dist/esm/workers-test/requests.js +4 -4
  40. package/dist/esm/workers-test/setup.d.ts +5 -5
  41. package/dist/esm/workers-test/setup.js +8 -8
  42. package/package.json +70 -34
package/package.json CHANGED
@@ -1,23 +1,17 @@
1
1
  {
2
2
  "name": "@webpresso/agent-config",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "private": false,
5
- "repository": {
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
- "type": "module",
20
- "sideEffects": false,
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
+ "./deploy": {
26
+ "import": {
27
+ "types": "./dist/esm/deploy/index.d.ts",
28
+ "default": "./dist/esm/deploy/index.js"
29
+ }
30
+ },
31
+ "./dev": {
32
+ "import": {
33
+ "types": "./dist/esm/dev/index.d.ts",
34
+ "default": "./dist/esm/dev/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
+ "./process": {
44
+ "import": {
45
+ "types": "./dist/esm/process/index.d.ts",
46
+ "default": "./dist/esm/process/index.js"
47
+ }
48
+ },
49
+ "./repo-root": {
50
+ "import": {
51
+ "types": "./dist/esm/repo-root/index.d.ts",
52
+ "default": "./dist/esm/repo-root/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,22 +124,16 @@
92
124
  "default": "./dist/esm/vitest/react-setup.js"
93
125
  }
94
126
  },
95
- "./vitest/flakiness-reporter": {
96
- "import": {
97
- "types": "./dist/esm/vitest/flakiness-reporter.d.ts",
98
- "default": "./dist/esm/vitest/flakiness-reporter.js"
99
- }
100
- },
101
127
  "./vitest/source-conditions": {
102
128
  "import": {
103
129
  "types": "./dist/esm/vitest/source-conditions.d.ts",
104
130
  "default": "./dist/esm/vitest/source-conditions.js"
105
131
  }
106
132
  },
107
- "./stryker": {
133
+ "./vitest/workers": {
108
134
  "import": {
109
- "types": "./dist/esm/stryker/index.d.ts",
110
- "default": "./dist/esm/stryker/index.js"
135
+ "types": "./dist/esm/vitest/workers.d.ts",
136
+ "default": "./dist/esm/vitest/workers.js"
111
137
  }
112
138
  },
113
139
  "./workers-test": {
@@ -117,6 +143,10 @@
117
143
  }
118
144
  }
119
145
  },
146
+ "publishConfig": {
147
+ "access": "public",
148
+ "registry": "https://registry.npmjs.org/"
149
+ },
120
150
  "scripts": {
121
151
  "build": "tshy",
122
152
  "prepublishOnly": "vp run build",
@@ -124,10 +154,11 @@
124
154
  "lint:pkg": "publint && attw --pack . --profile esm-only"
125
155
  },
126
156
  "dependencies": {
127
- "@vitejs/plugin-react": "^6.0.2",
128
- "vite": "^8.0.14",
129
- "vite-plus": "^0.1.22",
130
- "vitest": "^4.1.7"
157
+ "@vitejs/plugin-react": "^6.0.3",
158
+ "@webpresso/agent-core": "0.1.1",
159
+ "vite": "^8.1.0",
160
+ "vite-plus": "^0.2.1",
161
+ "vitest": "^4.1.9"
131
162
  },
132
163
  "peerDependencies": {
133
164
  "@cloudflare/vitest-pool-workers": "*",
@@ -170,20 +201,25 @@
170
201
  "src/**/__fixtures__/**"
171
202
  ],
172
203
  "exports": {
204
+ "./deploy": "./src/deploy/index.ts",
205
+ "./dev": "./src/dev/index.ts",
206
+ "./e2e": "./src/e2e/index.ts",
207
+ "./process": "./src/process/index.ts",
208
+ "./repo-root": "./src/repo-root/index.ts",
209
+ "./stryker": "./src/stryker/index.ts",
173
210
  "./tsconfig/base.json": "./src/tsconfig/base.json",
174
211
  "./tsconfig/cloudflare.json": "./src/tsconfig/cloudflare.json",
175
212
  "./tsconfig/library.json": "./src/tsconfig/library.json",
176
213
  "./tsconfig/react-library.json": "./src/tsconfig/react-library.json",
177
214
  "./tsconfig/react-router.json": "./src/tsconfig/react-router.json",
215
+ "./vitest/flakiness-reporter": "./src/vitest/flakiness-reporter.ts",
178
216
  "./vitest/node": "./src/vitest/node.ts",
179
217
  "./vitest/react": "./src/vitest/react.ts",
180
218
  "./vitest/react-router": "./src/vitest/react-router.ts",
181
- "./vitest/workers": "./src/vitest/workers.ts",
182
219
  "./vitest/react-setup": "./src/vitest/react-setup.ts",
183
220
  "./vitest/react-setup.ts": "./src/vitest/react-setup.ts",
184
- "./vitest/flakiness-reporter": "./src/vitest/flakiness-reporter.ts",
185
221
  "./vitest/source-conditions": "./src/vitest/source-conditions.ts",
186
- "./stryker": "./src/stryker/index.ts",
222
+ "./vitest/workers": "./src/vitest/workers.ts",
187
223
  "./workers-test": "./src/workers-test/index.ts"
188
224
  },
189
225
  "selfLink": false