Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,6 @@ tests/e2e/test-worker/wrangler.jsonc
!examples/**/*.d.ts
# Allow source in dist directories
!dist/**
!node_modules/**
!node_modules/**

sites/**/.astro/
1 change: 1 addition & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"includes": [
"packages/**",
"examples/**",
"sites/**",
"!node_modules",
"!**/node_modules",
"!**/worker-configuration.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion examples/claude-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@cloudflare/sandbox": "*",
"@types/node": "^24.10.1",
"typescript": "^5.9.3",
"wrangler": "4.47.0"
"wrangler": "^4.49.0"
},
"author": "",
"license": "MIT"
Expand Down
4 changes: 2 additions & 2 deletions examples/code-interpreter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"license": "MIT",
"dependencies": {
"@cloudflare/sandbox": "*",
"openai": "^6.9.0"
"openai": "^6.9.1"
},
"devDependencies": {
"@types/node": "^24.10.1",
"typescript": "^5.9.3",
"wrangler": "4.47.0"
"wrangler": "^4.49.0"
}
}
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@cloudflare/sandbox": "*",
"@types/node": "^24.10.1",
"typescript": "^5.9.3",
"wrangler": "4.47.0"
"wrangler": "^4.49.0"
},
"author": "",
"license": "MIT"
Expand Down
6 changes: 3 additions & 3 deletions examples/openai-agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"type": "module",
"dependencies": {
"@openai/agents": "^0.3.2",
"nanoid": "^3.3.11",
"nanoid": "^5.1.6",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nanoid v3 → v5 is a major version jump. v4+ is ESM-only. Has this example been tested with the new version?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still seeing nanoid v5.1.6 in this PR. Since v4+ is ESM-only, this needs testing verification in the Workers environment. The lockfile shows both v3 and v5 coexist in the dependency tree.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nanoid v5 still present but this is acceptable. The openai-agents example uses "type": "module" so ESM-only dependencies are fine.

"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.14.1",
"@types/react": "^19.2.5",
"@cloudflare/vite-plugin": "^1.15.0",
"@types/react": "^19.2.6",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
4 changes: 2 additions & 2 deletions examples/typescript-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"react-dom": "^19.2.0"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.14.1",
"@cloudflare/vite-plugin": "^1.15.0",
"@tailwindcss/vite": "^4.1.17",
"@types/node": "^24.10.1",
"@vitejs/plugin-react": "^5.1.1",
"typescript": "^5.9.3",
"vite": "^7.2.2",
"wrangler": "4.47.0"
"wrangler": "^4.49.0"
},
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pre-commit:
commands:
biome-fix:
glob: '{packages,examples}/**/*.{js,ts,tsx,json}'
glob: '{packages,examples,sites}/**/*.{js,ts,tsx,json,astro}'
run: npx biome check --write {staged_files}
stage_fixed: true

Expand Down
Loading
Loading