Skip to content

Commit

Permalink
chore: migrate astro v5
Browse files Browse the repository at this point in the history
  • Loading branch information
oekazuma committed Dec 24, 2024
1 parent 39b4001 commit b519dfb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/src/content/config.ts → docs/src/content.config.ts
Original file line number Diff line number Diff line change
@@ -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() })
};
3 changes: 0 additions & 3 deletions docs/src/env.d.ts

This file was deleted.

4 changes: 3 additions & 1 deletion docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"extends": "astro/tsconfigs/strict"
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"]
}

0 comments on commit b519dfb

Please sign in to comment.