diff --git a/docs-src/Dockerfile b/docs-src/Dockerfile index 582c979f0..40f724ce8 100644 --- a/docs-src/Dockerfile +++ b/docs-src/Dockerfile @@ -1,7 +1,7 @@ # syntax = docker/dockerfile:1 # Adjust NODE_VERSION as desired -ARG NODE_VERSION=20.10.0 +ARG NODE_VERSION=22.22.2 FROM node:${NODE_VERSION}-slim as base LABEL fly_launch_runtime="Astro" @@ -13,7 +13,7 @@ WORKDIR /app ENV NODE_ENV="production" # Install pnpm -ARG PNPM_VERSION=9.2.0 +ARG PNPM_VERSION=11.21.0 RUN npm install -g pnpm@$PNPM_VERSION diff --git a/docs-src/package.json b/docs-src/package.json index c51122750..40ddee873 100644 --- a/docs-src/package.json +++ b/docs-src/package.json @@ -11,15 +11,15 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.37.7", - "astro": "^5.18.2", + "@astrojs/starlight": "^0.42.0", + "astro": "^7.2.10", "shepherd.js": "workspace:*", - "starlight-typedoc": "^0.21.5" + "starlight-typedoc": "^0.23.1" }, "devDependencies": { "@astrojs/check": "^0.9.10", "@flydotio/dockerfile": "^0.7.10", - "sharp": "^0.34.5", + "sharp": "^0.35.0", "typedoc": "^0.28.20", "typedoc-plugin-markdown": "^4.12.0", "typescript": "^5.9.3" diff --git a/docs-src/src/components/HeadWithPosthog.astro b/docs-src/src/components/HeadWithPosthog.astro index c7c12f49a..09fc10573 100644 --- a/docs-src/src/components/HeadWithPosthog.astro +++ b/docs-src/src/components/HeadWithPosthog.astro @@ -1,8 +1,7 @@ --- -import type { Props } from '@astrojs/starlight/props'; import Default from '@astrojs/starlight/components/Head.astro'; import PostHog from './Posthog.astro'; --- - + diff --git a/docs-src/src/content/config.ts b/docs-src/src/content.config.ts similarity index 51% rename from docs-src/src/content/config.ts rename to docs-src/src/content.config.ts index 45f60b015..d9ee8c9d1 100644 --- a/docs-src/src/content/config.ts +++ b/docs-src/src/content.config.ts @@ -1,6 +1,7 @@ import { defineCollection } from 'astro:content'; +import { docsLoader } from '@astrojs/starlight/loaders'; import { docsSchema } from '@astrojs/starlight/schema'; export const collections = { - docs: defineCollection({ schema: docsSchema() }), + docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }), }; diff --git a/landing/package.json b/landing/package.json index 5243ddba9..2fd27411d 100644 --- a/landing/package.json +++ b/landing/package.json @@ -13,19 +13,19 @@ "test:watch": "vitest" }, "dependencies": { - "@astrojs/mdx": "^5.0.6", - "@astrojs/vercel": "^9.0.5", + "@astrojs/mdx": "^8.0.0", + "@astrojs/vercel": "^11.0.9", "@polar-sh/astro": "^0.7.6", - "astro": "^5.18.2", + "astro": "^7.2.10", "shepherd.js": "workspace:*" }, "devDependencies": { "@astrojs/check": "^0.9.10", "@astrojs/rss": "^4.0.19", - "@astrojs/sitemap": "^3.7.3", + "@astrojs/sitemap": "^3.7.4", "@tailwindcss/typography": "^0.5.20", "@tailwindcss/vite": "^4.3.3", - "sharp": "^0.34.5", + "sharp": "^0.35.0", "tailwindcss": "^4.3.3", "typescript": "^5.9.3", "vite": "^8.2.1", diff --git a/landing/src/components/BaseHead.astro b/landing/src/components/BaseHead.astro index eacb470bc..0f2e1f4af 100644 --- a/landing/src/components/BaseHead.astro +++ b/landing/src/components/BaseHead.astro @@ -1,5 +1,5 @@ --- -import { ViewTransitions } from 'astro:transitions'; +import { ClientRouter } from 'astro:transitions'; import PostHog from './Posthog.astro'; // Import the global.css file here so that it is included on @@ -190,4 +190,4 @@ const structuredData = {