cloudflare-to-claude-fix 1.0.28 → 1.0.43
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/README.md +6 -0
- package/package.json +19 -3
- package/vitest.config.ts +34 -0
package/README.md
CHANGED
|
@@ -151,3 +151,9 @@ wrangler tail cloudflare-to-claude-fix
|
|
|
151
151
|
```
|
|
152
152
|
|
|
153
153
|
---
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
[](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request)
|
|
158
|
+
|
|
159
|
+
Please star this repo for updates! 🌟
|
package/package.json
CHANGED
|
@@ -1,18 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudflare-to-claude-fix",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.43",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/OpenSourceAGI/dev-tools-starter-agent
|
|
7
|
+
"url": "git+https://github.com/OpenSourceAGI/dev-tools-starter-agent.git",
|
|
8
|
+
"directory": "packages/cloudflare-to-claude-fix"
|
|
8
9
|
},
|
|
9
10
|
"homepage": "https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages/cloudflare-to-claude-fix",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"cloudflare",
|
|
13
|
+
"cloudflare-workers",
|
|
14
|
+
"claude",
|
|
15
|
+
"claude-code",
|
|
16
|
+
"queue",
|
|
17
|
+
"wrangler",
|
|
18
|
+
"ci",
|
|
19
|
+
"build-failure"
|
|
20
|
+
],
|
|
10
21
|
"scripts": {
|
|
11
22
|
"deploy": "wrangler deploy",
|
|
12
23
|
"dev": "wrangler dev",
|
|
13
|
-
"tail": "wrangler tail"
|
|
24
|
+
"tail": "wrangler tail",
|
|
25
|
+
"test": "vitest run",
|
|
26
|
+
"test:watch": "vitest",
|
|
27
|
+
"coverage": "vitest run --coverage"
|
|
14
28
|
},
|
|
15
29
|
"devDependencies": {
|
|
30
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
31
|
+
"vitest": "^4.1.0",
|
|
16
32
|
"wrangler": "^3.x"
|
|
17
33
|
}
|
|
18
34
|
}
|
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="vitest/config" />
|
|
2
|
+
import { defineConfig } from "vitest/config";
|
|
3
|
+
|
|
4
|
+
// Per-package Vitest setup. Coverage is written to this package's own
|
|
5
|
+
// ./coverage/lcov.info so Codecov can flag it under "cloudflare-to-claude-fix".
|
|
6
|
+
export default defineConfig({
|
|
7
|
+
test: {
|
|
8
|
+
environment: "node",
|
|
9
|
+
include: ["{test,tests,src}/**/*.{test,spec}.{js,mjs,ts,tsx}"],
|
|
10
|
+
exclude: ["**/node_modules/**", "**/dist/**"],
|
|
11
|
+
// Infrastructure is in place before every package has a suite.
|
|
12
|
+
passWithNoTests: true,
|
|
13
|
+
coverage: {
|
|
14
|
+
provider: "v8",
|
|
15
|
+
reporter: ["text", "json", "lcov"],
|
|
16
|
+
reportsDirectory: "./coverage",
|
|
17
|
+
reportOnFailure: true,
|
|
18
|
+
include: [
|
|
19
|
+
"src/**/*.{ts,js,mjs}",
|
|
20
|
+
],
|
|
21
|
+
exclude: [
|
|
22
|
+
"**/node_modules/**",
|
|
23
|
+
"**/dist/**",
|
|
24
|
+
"**/build/**",
|
|
25
|
+
"**/coverage/**",
|
|
26
|
+
"**/demo/**",
|
|
27
|
+
"**/*.d.ts",
|
|
28
|
+
"**/*.config.*",
|
|
29
|
+
"**/*.{test,spec}.*",
|
|
30
|
+
"**/*.template.*",
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
});
|