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
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,24 @@
},
"devDependencies": {
"typescript": "^5.7.0",
"vitest": "^3.0.0",
"vitest": "^4.1.11",
"@changesets/cli": "^2.27.0"
},
"engines": {
"node": ">=22",
"pnpm": ">=9"
},
"packageManager": "pnpm@9.15.0",
"license": "MIT"
"license": "MIT",
"pnpm": {
"supportedArchitectures": {
"os": [
"current"
],
"cpu": [
"current",
"wasm32"
]
}
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"devDependencies": {
"typescript": "^5.7.0",
"vitest": "^3.0.0"
"vitest": "^4.1.11"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"devDependencies": {
"typescript": "^5.7.0",
"vitest": "^3.0.0",
"vitest": "^4.1.11",
"@types/express": "^5.0.0"
},
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
},
"devDependencies": {
"typescript": "^5.7.0",
"vite": "^6.0.0",
"vite": "^6.4.3",
"terser": "^5.37.0",
"vitest": "^3.0.0",
"happy-dom": "^16.0.0"
"vitest": "^4.1.11",
"happy-dom": "^20.14.5"
},
"repository": {
"type": "git",
Expand Down
4,560 changes: 1,817 additions & 2,743 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ import cloudflare from '@astrojs/cloudflare';
export default defineConfig({
// Static docs; only /api/chat and /api/visitors run in the Cloudflare Worker.
output: 'static',
adapter: cloudflare(),
// 'compile' optimizes images at build time, as before; the v14 default would
// switch to the Cloudflare Images binding.
// Prerender the docs in Node: Starlight's Markdown pipeline (Satteri) runs
// its native build there instead of the wasm one.
adapter: cloudflare({ imageService: 'compile', prerenderEnvironment: 'node' }),
// Astro 7 defaults to 'jsx' whitespace rules; keep the previous output.
compressHTML: true,
// No Astro sessions, so the adapter doesn't add a SESSION KV namespace.
session: false,
env: {
// Read per request with getSecret(). On Workers these are Worker secrets,
// which don't exist at build time, so import.meta.env would bake in
Expand Down
22 changes: 11 additions & 11 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
"deploy": "astro build && wrangler deploy"
},
"dependencies": {
"@astrojs/cloudflare": "^12.6.13",
"@astrojs/react": "^4.4.2",
"@astrojs/sitemap": "^3.7.1",
"@astrojs/starlight": "^0.34.0",
"@chatcops/core": "^0.2.0",
"@chatcops/server": "^0.2.0",
"@astrojs/cloudflare": "^14.3.3",
"@astrojs/react": "^7.0.0",
"@astrojs/sitemap": "^3.7.4",
"@astrojs/starlight": "^0.42.5",
"@chatcops/core": "workspace:^",
"@chatcops/server": "workspace:^",
"@chatcops/widget": "workspace:^",
"@tailwindcss/vite": "^4.2.1",
"astro": "^5.7.0",
"@tailwindcss/vite": "^4.3.3",
"astro": "^7.3.5",
"motion": "^12.35.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"sharp": "^0.33.0",
"tailwindcss": "^4.2.1"
"sharp": "^0.35.4",
"tailwindcss": "^4.3.3"
},
"devDependencies": {
"@fontsource/inter": "^5.1.0",
Expand All @@ -33,6 +33,6 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"typescript": "^5.7.0",
"wrangler": "^4.141.0"
"wrangler": "^4.146.0"
}
}
2 changes: 1 addition & 1 deletion website/wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// static assets in dist/, /api/chat and /api/visitors run in the Worker.
// Workers Builds builds from the repo root (`pnpm -r build`, the widget
// package has to build first) and deploys from here.
"main": "./dist/_worker.js/index.js",
"main": "@astrojs/cloudflare/entrypoints/server",
"compatibility_date": "2026-09-24",
"compatibility_flags": ["nodejs_compat"],
"assets": {
Expand Down
Loading