diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 00a8665..fa116c0 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -2,6 +2,8 @@ import { defineConfig } from "astro/config" import starlight from "@astrojs/starlight" import tailwind from "@astrojs/tailwind" +import vercel from "@astrojs/vercel/serverless" + // https://astro.build/config export default defineConfig({ redirects: { @@ -16,11 +18,18 @@ export default defineConfig({ sidebar: [ { label: "Guides", - items: [{ label: "Getting Started", slug: "guides/getting-started" }], + items: [ + { + label: "Getting Started", + slug: "guides/getting-started", + }, + ], }, { label: "Reference", - autogenerate: { directory: "reference" }, + autogenerate: { + directory: "reference", + }, }, ], components: { @@ -28,9 +37,14 @@ export default defineConfig({ }, customCss: ["./src/tailwind.css"], }), - tailwind({ applyBaseStyles: false }), + tailwind({ + applyBaseStyles: false, + }), ], vite: { envDir: "..", }, + output: "hybrid", + adapter: vercel(), }) + diff --git a/docs/bun.lockb b/docs/bun.lockb index c38af19..ed4cfda 100755 Binary files a/docs/bun.lockb and b/docs/bun.lockb differ diff --git a/docs/package.json b/docs/package.json index 839f89f..b38ffd3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,26 +1,29 @@ { - "name": "docs", - "type": "module", - "version": "0.0.1", - "scripts": { - "dev": "astro dev", - "start": "astro dev", - "build": "astro check && astro build", - "preview": "astro preview", - "astro": "astro" - }, - "dependencies": { - "@astrojs/starlight": "^0.26.1", - "@astrojs/starlight-tailwind": "^2.0.3", - "@astrojs/tailwind": "^5.1.0", - "astro": "^4.10.2", - "sharp": "^0.32.5", - "tailwindcss": "^3.4.4", - "@astrojs/check": "^0.9.3", - "typescript": "^5.5.4" - }, - "devDependencies": { - "prettier-plugin-astro": "^0.14.1", - "prettier-plugin-tailwindcss": "^0.6.6" - } -} \ No newline at end of file + "name": "docs", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "start": "astro dev", + "build": "astro check && astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/check": "^0.9.3", + "@astrojs/starlight": "^0.28.2", + "@astrojs/starlight-tailwind": "^2.0.3", + "@astrojs/tailwind": "^5.1.1", + "@astrojs/vercel": "^7.8.1", + "@shikijs/rehype": "^1.21.0", + "astro": "^4.15.9", + "sharp": "^0.33.5", + "shiki": "^1.21.0", + "tailwindcss": "^3.4.13", + "typescript": "^5.6.2" + }, + "devDependencies": { + "prettier-plugin-astro": "^0.14.1", + "prettier-plugin-tailwindcss": "^0.6.8" + } +} diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 77da9dd..a3f6981 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "astro/tsconfigs/strict" -} \ No newline at end of file + "extends": "astro/tsconfigs/strict" +}