diff --git a/Makefile b/Makefile index 315de3ff..b8fa6b31 100644 --- a/Makefile +++ b/Makefile @@ -45,12 +45,12 @@ build-and-publish: build publish ## Build distributions, then publish them docs-test: ## Build the website/docs bundle @echo "==> Building website/" - BUB_ASTRO_IMAGE_MODE=build pnpm --dir website build + pnpm --dir website build docs: ## Start the website/docs development server @echo "==> Starting website dev server" - BUB_ASTRO_IMAGE_MODE=dev pnpm --dir website dev --host + pnpm --dir website dev --host docs-preview: ## Preview the production website/docs build @echo "==> Starting website preview server" - BUB_ASTRO_IMAGE_MODE=build pnpm --dir website preview --ip 0.0.0.0 + pnpm --dir website preview --ip 0.0.0.0 diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 3d675bb6..abae47a4 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -1,39 +1,12 @@ // @ts-check import { fileURLToPath } from 'node:url'; -import { defineConfig, envField } from 'astro/config'; +import { defineConfig } from 'astro/config'; import tailwindcss from '@tailwindcss/vite'; import starlight from '@astrojs/starlight'; -import cloudflare from '@astrojs/cloudflare'; import mermaid from 'astro-mermaid'; -const astro_image_mode = - process.env.BUB_ASTRO_IMAGE_MODE ?? (process.argv.includes('dev') ? 'dev' : 'build'); - -/** @type {import('@astrojs/cloudflare').Options['imageService']} */ -const image_service = - astro_image_mode === 'dev' ? 'cloudflare' : { build: 'compile', runtime: 'passthrough' }; - export default defineConfig({ - // SSG by default; landing pages opt-in to SSR via `export const prerender = false`. - adapter: cloudflare({ - // Prefer an explicit mode from the calling command so local docs workflows - // stay deterministic. Fall back to the Astro command name for direct - // `pnpm dev` / `pnpm build` usage inside `website/`. - imageService: image_service, - prerenderEnvironment: 'node', - }), site: process.env.SITE_URL ?? 'https://bub.build', - env: { - schema: { - SITE_URL: envField.string({ - context: 'client', - access: 'public', - default: 'https://bub.build', - optional: true, - url: true, - }), - }, - }, vite: { plugins: [tailwindcss()], resolve: { diff --git a/website/package.json b/website/package.json index 2d9b715e..6d6e4a28 100644 --- a/website/package.json +++ b/website/package.json @@ -8,15 +8,15 @@ }, "scripts": { "generate:github-snapshot": "node ./scripts/generate-github-snapshot.mjs", - "predev": "pnpm run generate:github-snapshot", + "predev": "node ./scripts/generate-github-snapshot.mjs", "dev": "astro dev", - "prebuild": "pnpm run generate:github-snapshot", + "prebuild": "node ./scripts/generate-github-snapshot.mjs", "build": "astro build", + "precheck": "node ./scripts/generate-github-snapshot.mjs", "check": "astro check", "preview": "wrangler dev" }, "dependencies": { - "@astrojs/cloudflare": "^14.2.1", "@astrojs/starlight": "^0.41.7", "@astrojs/starlight-tailwind": "^5.0.0", "@fontsource-variable/jetbrains-mono": "^5.3.0", diff --git a/website/pnpm-lock.yaml b/website/pnpm-lock.yaml index 3d12684f..2961d183 100644 --- a/website/pnpm-lock.yaml +++ b/website/pnpm-lock.yaml @@ -8,15 +8,12 @@ importers: .: dependencies: - '@astrojs/cloudflare': - specifier: ^14.2.1 - version: 14.2.1(@types/node@24.13.3)(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(esbuild@0.28.2)(jiti@2.7.0)(wrangler@4.121.0)(yaml@2.9.0) '@astrojs/starlight': specifier: ^0.41.7 - version: 0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3) + version: 0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3) '@astrojs/starlight-tailwind': specifier: ^5.0.0 - version: 5.0.0(@astrojs/starlight@0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3))(tailwindcss@4.3.3) + version: 5.0.0(@astrojs/starlight@0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3))(tailwindcss@4.3.3) '@fontsource-variable/jetbrains-mono': specifier: ^5.3.0 version: 5.3.0 @@ -31,13 +28,13 @@ importers: version: 5.3.0 '@tailwindcss/vite': specifier: ^4.3.3 - version: 4.3.3(vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 4.3.3(vite@8.2.1(@types/node@26.2.0)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) astro: specifier: ^7.2.1 - version: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) + version: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) astro-mermaid: specifier: ^2.1.0 - version: 2.1.0(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(mermaid@11.16.1) + version: 2.1.0(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(mermaid@11.16.1) mermaid: specifier: ^11.16.1 version: 11.16.1 @@ -49,14 +46,14 @@ importers: version: 0.29.0 sharp: specifier: ^0.35.3 - version: 0.35.3(@types/node@24.13.3) + version: 0.35.3(@types/node@26.2.0) devDependencies: '@astrojs/check': specifier: ^0.9.10 version: 0.9.10(prettier@3.9.6)(typescript@6.0.3) '@lucide/astro': specifier: ^1.31.0 - version: 1.31.0(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0)) + version: 1.31.0(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0)) tailwindcss: specifier: ^4.3.3 version: 4.3.3 @@ -78,12 +75,6 @@ packages: peerDependencies: typescript: ^5.0.0 || ^6.0.0 - '@astrojs/cloudflare@14.2.1': - resolution: {integrity: sha512-WUQwugRg23uU4OCHEMDazqt44ZlUcnA+kLSd2bvNqoHHctNAKt893gr2JuAzUSzFZ6BuEOoun/zJiTMm+AiSug==} - peerDependencies: - astro: ^7.2.0 - wrangler: ^4.83.0 - '@astrojs/compiler-binding-darwin-arm64@0.3.2': resolution: {integrity: sha512-MM8tn8CSimcfytaOla4b6acN8mKWiL/rlAA1fpT3/Wl7dNGSE4y8FjTN/zJVNnb63CsLWG5zZwCt01TXtDKh9g==} engines: {node: ^20.19.0 || >=22.12.0} @@ -209,9 +200,6 @@ packages: resolution: {integrity: sha512-C1TLn5sPJr0x4vk56piHWKbnqlEB8BKyte5Y45V02U+D7BGO5eMqZDH5aPjnkXQWJggvmsTXxH03QMZ9NgWLzQ==} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0} - '@astrojs/underscore-redirects@1.0.4': - resolution: {integrity: sha512-sD3bn7i2yC+ocxlhCTshdg3gUM471Nag3wgyHilA+kpmufokvmUu1p5Mw5GT5Xp8SPC1Nlq0BJAgV/lslnWvRw==} - '@astrojs/yaml2ts@0.2.4': resolution: {integrity: sha512-8oddpOae35pJsXPQXhTkM0ypfKPskVsh2bCxRtbf7e+/Epw2nReakFYpLKjZMEr75CsoF203PMnCocpfz0s69A==} @@ -312,13 +300,6 @@ packages: workerd: optional: true - '@cloudflare/vite-plugin@1.51.3': - resolution: {integrity: sha512-8TzfBpQJH/VvIsmCGzHEGibD9fWu5ax6CEhVN/fU96te0J4Q99sMrgx4WmjDBZksTs1itrpE0d+OAT3xrNVI3g==} - hasBin: true - peerDependencies: - vite: ^6.1.0 || ^7.0.0 || ^8.0.0 - wrangler: ^4.121.0 - '@cloudflare/workerd-darwin-64@1.20260804.1': resolution: {integrity: sha512-191/PPEFicRK2wK69eXzSjnLgHL79k7zR2VUpyIr8rhFgGns1b5bTHgnBuUrgU2LPbEtwbE5eL2hJ0uhLAFEow==} engines: {node: '>=16'} @@ -1501,6 +1482,9 @@ packages: '@types/node@24.13.3': resolution: {integrity: sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==} + '@types/node@26.2.0': + resolution: {integrity: sha512-5IviulTZeRNp2vAJ514cc/HUlY5nZ9fCbq9DMyC52BrhFZACo3nI0R7qBxhQmo/d27NFe96ur/b7Wwxklda+kg==} + '@types/sax@1.2.7': resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} @@ -3158,6 +3142,9 @@ packages: undici-types@7.18.2: resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} + undici-types@8.3.0: + resolution: {integrity: sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==} + undici@7.29.0: resolution: {integrity: sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==} engines: {node: '>=20.18.1'} @@ -3545,31 +3532,6 @@ snapshots: - prettier - prettier-plugin-astro - '@astrojs/cloudflare@14.2.1(@types/node@24.13.3)(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(esbuild@0.28.2)(jiti@2.7.0)(wrangler@4.121.0)(yaml@2.9.0)': - dependencies: - '@astrojs/internal-helpers': 0.10.2 - '@astrojs/underscore-redirects': 1.0.4 - '@cloudflare/vite-plugin': 1.51.3(vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(wrangler@4.121.0) - astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) - piccolore: 0.1.3 - vite: 8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) - wrangler: 4.121.0 - transitivePeerDependencies: - - '@types/node' - - '@vitejs/devtools' - - bufferutil - - esbuild - - jiti - - less - - sass - - sass-embedded - - stylus - - sugarss - - terser - - tsx - - utf-8-validate - - yaml - '@astrojs/compiler-binding-darwin-arm64@0.3.2': optional: true @@ -3692,13 +3654,13 @@ snapshots: hast-util-from-html: 2.0.3 satteri: 0.9.5 - '@astrojs/mdx@7.0.5(@astrojs/markdown-satteri@0.3.5)(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)': + '@astrojs/mdx@7.0.5(@astrojs/markdown-satteri@0.3.5)(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)': dependencies: '@astrojs/internal-helpers': 0.10.2 '@astrojs/markdown-remark': 7.2.2(supports-color@10.2.2) '@mdx-js/mdx': 3.1.1(supports-color@10.2.2) acorn: 8.18.0 - astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) + astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) es-module-lexer: 2.3.1 estree-util-visit: 2.0.0 hast-util-to-html: 9.0.5 @@ -3724,22 +3686,22 @@ snapshots: stream-replace-string: 2.0.0 zod: 4.4.3 - '@astrojs/starlight-tailwind@5.0.0(@astrojs/starlight@0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3))(tailwindcss@4.3.3)': + '@astrojs/starlight-tailwind@5.0.0(@astrojs/starlight@0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3))(tailwindcss@4.3.3)': dependencies: - '@astrojs/starlight': 0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3) + '@astrojs/starlight': 0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3) tailwindcss: 4.3.3 - '@astrojs/starlight@0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3)': + '@astrojs/starlight@0.41.7(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2)(typescript@6.0.3)': dependencies: '@astrojs/markdown-satteri': 0.3.5 - '@astrojs/mdx': 7.0.5(@astrojs/markdown-satteri@0.3.5)(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2) + '@astrojs/mdx': 7.0.5(@astrojs/markdown-satteri@0.3.5)(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(supports-color@10.2.2) '@astrojs/sitemap': 3.7.3 '@pagefind/default-ui': 1.5.2 '@types/hast': 3.0.5 '@types/js-yaml': 4.0.9 '@types/mdast': 4.0.4 - astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) - astro-expressive-code: 0.44.1(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0)) + astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) + astro-expressive-code: 0.44.1(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0)) bcp-47: 2.1.1 hast-util-from-html: 2.0.3 hast-util-select: 6.0.4 @@ -3774,8 +3736,6 @@ snapshots: is-docker: 4.0.0 package-manager-detector: 1.8.0 - '@astrojs/underscore-redirects@1.0.4': {} - '@astrojs/yaml2ts@0.2.4': dependencies: yaml: 2.9.0 @@ -3852,19 +3812,6 @@ snapshots: optionalDependencies: workerd: 1.20260804.1 - '@cloudflare/vite-plugin@1.51.3(vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(wrangler@4.121.0)': - dependencies: - '@cloudflare/unenv-preset': 2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260804.1) - miniflare: 5.20260804.1-alpha - unenv: 2.0.0-rc.24 - vite: 8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) - workerd: 1.20260804.1 - wrangler: 4.121.0 - ws: 8.21.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - '@cloudflare/workerd-darwin-64@1.20260804.1': optional: true @@ -4361,9 +4308,9 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@lucide/astro@1.31.0(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))': + '@lucide/astro@1.31.0(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) + astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) '@mdx-js/mdx@3.1.1(supports-color@10.2.2)': dependencies: @@ -4606,12 +4553,12 @@ snapshots: '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3 '@tailwindcss/oxide-win32-x64-msvc': 4.3.3 - '@tailwindcss/vite@4.3.3(vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@tailwindcss/vite@4.3.3(vite@8.2.1(@types/node@26.2.0)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: '@tailwindcss/node': 4.3.3 '@tailwindcss/oxide': 4.3.3 tailwindcss: 4.3.3 - vite: 8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) + vite: 8.2.1(@types/node@26.2.0)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) '@tybys/wasm-util@0.10.3': dependencies: @@ -4769,9 +4716,13 @@ snapshots: dependencies: undici-types: 7.18.2 + '@types/node@26.2.0': + dependencies: + undici-types: 8.3.0 + '@types/sax@1.2.7': dependencies: - '@types/node': 24.13.3 + '@types/node': 26.2.0 '@types/trusted-types@2.0.7': optional: true @@ -4895,21 +4846,21 @@ snapshots: astring@1.9.0: {} - astro-expressive-code@0.44.1(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0)): + astro-expressive-code@0.44.1(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0)): dependencies: - astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) + astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) rehype-expressive-code: 0.44.1 url-extras: 0.1.0 - astro-mermaid@2.1.0(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(mermaid@11.16.1): + astro-mermaid@2.1.0(astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0))(mermaid@11.16.1): dependencies: - astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) + astro: 7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0) import-meta-resolve: 4.2.0 mdast-util-to-string: 4.0.0 mermaid: 11.16.1 unist-util-visit: 5.1.0 - astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.3)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0): + astro@7.2.1(@astrojs/markdown-remark@7.2.2(supports-color@10.2.2))(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@26.2.0)(@vercel/functions@3.4.3)(jiti@2.7.0)(yaml@2.9.0): dependencies: '@astrojs/compiler-rs': 0.3.2(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3) '@astrojs/internal-helpers': 0.10.2 @@ -4958,14 +4909,14 @@ snapshots: ultrahtml: 1.7.0 unifont: 0.7.4 unstorage: 1.17.5(@vercel/functions@3.4.3) - vite: 8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) - vitefu: 1.1.3(vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + vite: 8.2.1(@types/node@26.2.0)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) + vitefu: 1.1.3(vite@8.2.1(@types/node@26.2.0)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) xxhash-wasm: 1.1.0 yargs-parser: 22.0.0 zod: 4.4.3 optionalDependencies: '@astrojs/markdown-remark': 7.2.2(supports-color@10.2.2) - sharp: 0.35.3(@types/node@24.13.3) + sharp: 0.35.3(@types/node@26.2.0) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -6898,7 +6849,7 @@ snapshots: '@img/sharp-win32-ia32': 0.35.2 '@img/sharp-win32-x64': 0.35.2 - sharp@0.35.3(@types/node@24.13.3): + sharp@0.35.3(@types/node@26.2.0): dependencies: '@img/colour': 1.1.0 detect-libc: 2.1.2 @@ -6929,7 +6880,7 @@ snapshots: '@img/sharp-win32-arm64': 0.35.3 '@img/sharp-win32-ia32': 0.35.3 '@img/sharp-win32-x64': 0.35.3 - '@types/node': 24.13.3 + '@types/node': 26.2.0 shiki@4.4.3: dependencies: @@ -7044,6 +6995,8 @@ snapshots: undici-types@7.18.2: {} + undici-types@8.3.0: {} + undici@7.29.0: {} unenv@2.0.0-rc.24: @@ -7151,7 +7104,7 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0): + vite@8.2.1(@types/node@26.2.0)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0): dependencies: lightningcss: 1.33.0 picomatch: 4.0.5 @@ -7159,15 +7112,15 @@ snapshots: rolldown: 1.2.3 tinyglobby: 0.2.17 optionalDependencies: - '@types/node': 24.13.3 + '@types/node': 26.2.0 esbuild: 0.28.2 fsevents: 2.3.3 jiti: 2.7.0 yaml: 2.9.0 - vitefu@1.1.3(vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)): + vitefu@1.1.3(vite@8.2.1(@types/node@26.2.0)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)): optionalDependencies: - vite: 8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) + vite: 8.2.1(@types/node@26.2.0)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) volar-service-css@0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)): dependencies: diff --git a/website/public/.assetsignore b/website/public/.assetsignore deleted file mode 100644 index b7ccb6cb..00000000 --- a/website/public/.assetsignore +++ /dev/null @@ -1,2 +0,0 @@ -_worker.js -_routes.json diff --git a/website/src/components/Contributors.astro b/website/src/components/Contributors.astro index 17966baf..75e4f83c 100644 --- a/website/src/components/Contributors.astro +++ b/website/src/components/Contributors.astro @@ -1,17 +1,16 @@ --- +import Avatar from '@/components/ui/Avatar.astro'; import Icon from '@/components/ui/Icon.astro'; import { CONTRIBUTORS_URL } from '@/lib/github'; import type { GitHubContributor } from '@/lib/github'; interface Props { contributors?: GitHubContributor[]; - label?: string; + label: string; + viewAllLabel: string; } -const { - contributors = [], - label = 'Developed by contributors worldwide', -} = Astro.props; +const { contributors = [], label, viewAllLabel }: Props = Astro.props; const hasContributors = contributors.length > 0; --- @@ -19,7 +18,7 @@ const hasContributors = contributors.length > 0; {hasContributors && (
- {contributors.map((c, i) => ( + {contributors.map((c) => (
0; class="absolute inset-0 flex items-center justify-center overflow-hidden rounded-full border-2 border-background transition-transform duration-200 ease-out group-hover:-translate-y-2 group-hover:scale-110 group-hover:z-10" title={c.login} > - {c.login} -
))} @@ -52,8 +48,8 @@ const hasContributors = contributors.length > 0; target="_blank" rel="noreferrer" class="flex size-8 md:size-9 items-center justify-center rounded-full border-2 border-background bg-secondary text-muted-foreground transition-transform duration-200 ease-out hover:-translate-y-1 hover:scale-105 hover:text-foreground" - title="View all contributors on GitHub" - aria-label="View all contributors on GitHub" + title={viewAllLabel} + aria-label={viewAllLabel} >