Skip to content

Commit 842176d

Browse files
Sandbox site (#236)
* bring the sandbox site to the main repo * rewrite in astro * add astro gen files to gitignore * Remove @astrojs/cloudflare integration from sandbox Uninstalled @astrojs/cloudflare and removed related configuration from astro.config.ts and package.json in the sandbox site. This simplifies the setup and removes Cloudflare-specific deployment code.
1 parent d4cee5e commit 842176d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+8995
-2739
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,6 @@ tests/e2e/test-worker/wrangler.jsonc
156156
!examples/**/*.d.ts
157157
# Allow source in dist directories
158158
!dist/**
159-
!node_modules/**
159+
!node_modules/**
160+
161+
sites/**/.astro/

biome.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"includes": [
1414
"packages/**",
1515
"examples/**",
16+
"sites/**",
1617
"!node_modules",
1718
"!**/node_modules",
1819
"!**/worker-configuration.d.ts",

examples/claude-code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@cloudflare/sandbox": "*",
1616
"@types/node": "^24.10.1",
1717
"typescript": "^5.9.3",
18-
"wrangler": "4.47.0"
18+
"wrangler": "^4.49.0"
1919
},
2020
"author": "",
2121
"license": "MIT"

examples/code-interpreter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"license": "MIT",
1616
"dependencies": {
1717
"@cloudflare/sandbox": "*",
18-
"openai": "^6.9.0"
18+
"openai": "^6.9.1"
1919
},
2020
"devDependencies": {
2121
"@types/node": "^24.10.1",
2222
"typescript": "^5.9.3",
23-
"wrangler": "4.47.0"
23+
"wrangler": "^4.49.0"
2424
}
2525
}

examples/minimal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@cloudflare/sandbox": "*",
1616
"@types/node": "^24.10.1",
1717
"typescript": "^5.9.3",
18-
"wrangler": "4.47.0"
18+
"wrangler": "^4.49.0"
1919
},
2020
"author": "",
2121
"license": "MIT"

examples/openai-agents/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"type": "module",
1616
"dependencies": {
1717
"@openai/agents": "^0.3.2",
18-
"nanoid": "^3.3.11",
18+
"nanoid": "^5.1.6",
1919
"react": "^19.2.0",
2020
"react-dom": "^19.2.0"
2121
},
2222
"devDependencies": {
23-
"@cloudflare/vite-plugin": "^1.14.1",
24-
"@types/react": "^19.2.5",
23+
"@cloudflare/vite-plugin": "^1.15.0",
24+
"@types/react": "^19.2.6",
2525
"@types/react-dom": "^19.2.3",
2626
"@vitejs/plugin-react": "^5.1.1",
2727
"vite": "^7.2.2"

examples/typescript-validator/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"react-dom": "^19.2.0"
2121
},
2222
"devDependencies": {
23-
"@cloudflare/vite-plugin": "^1.14.1",
23+
"@cloudflare/vite-plugin": "^1.15.0",
2424
"@tailwindcss/vite": "^4.1.17",
2525
"@types/node": "^24.10.1",
2626
"@vitejs/plugin-react": "^5.1.1",
2727
"typescript": "^5.9.3",
2828
"vite": "^7.2.2",
29-
"wrangler": "4.47.0"
29+
"wrangler": "^4.49.0"
3030
},
3131
"author": "",
3232
"license": "MIT"

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pre-commit:
55
commands:
66
biome-fix:
7-
glob: '{packages,examples}/**/*.{js,ts,tsx,json}'
7+
glob: '{packages,examples,sites}/**/*.{js,ts,tsx,json,astro}'
88
run: npx biome check --write {staged_files}
99
stage_fixed: true
1010

0 commit comments

Comments
 (0)