Skip to content

Commit e2de39a

Browse files
authored
chore: update docs deps/pkgs (#3326)
* chore: run astro upgrade cli cmd * chore: move content config & add content loader * chore: update pkgs * fix: bump starlight-openapi * fix: bump sharp * fix: update pnpm-lock
1 parent ca2307e commit e2de39a

File tree

4 files changed

+1402
-826
lines changed

4 files changed

+1402
-826
lines changed

apps/docs/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/check": "^0.9.3",
14-
"@astrojs/starlight": "^0.26.3",
13+
"@astrojs/check": "^0.9.4",
14+
"@astrojs/starlight": "^0.32.2",
1515
"@modrinth/assets": "workspace:*",
16-
"astro": "^4.10.2",
17-
"sharp": "^0.32.5",
18-
"starlight-openapi": "^0.7.0",
19-
"typescript": "^5.5.4"
16+
"astro": "^5.4.1",
17+
"sharp": "^0.33.5",
18+
"starlight-openapi": "^0.14.0",
19+
"typescript": "^5.8.2"
2020
}
21-
}
21+
}

apps/docs/src/content.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineCollection } from 'astro:content';
2+
import { docsLoader } from '@astrojs/starlight/loaders';
3+
import { docsSchema } from '@astrojs/starlight/schema';
4+
5+
export const collections = {
6+
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
7+
};

apps/docs/src/content/config.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)