Skip to content

Commit 6ff259a

Browse files
authored
chore: update Astro templates to latest versions and prepare for v6 (#897)
1 parent c8ecb82 commit 6ff259a

File tree

8 files changed

+871
-1532
lines changed

8 files changed

+871
-1532
lines changed

astro-blog-starter-template/package-lock.json

Lines changed: 301 additions & 348 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

astro-blog-starter-template/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@
1313
},
1414
"dependencies": {
1515
"@astrojs/cloudflare": "12.6.12",
16-
"@astrojs/mdx": "4.3.12",
16+
"@astrojs/mdx": "4.3.13",
1717
"@astrojs/rss": "4.0.14",
18-
"@astrojs/sitemap": "3.6.0",
19-
"astro": "5.16.2",
18+
"@astrojs/sitemap": "3.6.1",
19+
"astro": "5.16.9",
2020
"typescript": "5.9.3"
2121
},
2222
"devDependencies": {
2323
"wrangler": "4.56.0"
2424
},
25+
"engines": {
26+
"node": ">=22"
27+
},
2528
"private": true,
2629
"scripts": {
2730
"astro": "astro",

astro-blog-starter-template/src/content.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { glob } from "astro/loaders";
2-
import { defineCollection, z } from "astro:content";
2+
import { defineCollection } from "astro:content";
3+
import { z } from "astro/zod";
34

45
const blog = defineCollection({
56
// Load Markdown and MDX files in the `src/content/blog/` directory.

pnpm-lock.yaml

Lines changed: 186 additions & 758 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

saas-admin-template/astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import { defineConfig } from "astro/config";
33

44
import cloudflare from "@astrojs/cloudflare";
55
import react from "@astrojs/react";
6+
// TODO: @astrojs/tailwind is deprecated for Tailwind v4.
7+
// When shadcn/ui supports Tailwind v4, migrate to @tailwindcss/vite plugin.
8+
// See: https://tailwindcss.com/docs/installation/framework-guides/astro
69
import tailwind from "@astrojs/tailwind";
710

811
// https://astro.build/config

saas-admin-template/package-lock.json

Lines changed: 367 additions & 419 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

saas-admin-template/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@tanstack/react-table": "8.21.3",
2727
"@types/react": "19.2.7",
2828
"@types/react-dom": "19.2.3",
29-
"astro": "5.16.2",
29+
"astro": "5.16.9",
3030
"class-variance-authority": "0.7.1",
3131
"clsx": "2.1.1",
3232
"lucide-react": "0.555.0",
@@ -41,6 +41,9 @@
4141
"devDependencies": {
4242
"wrangler": "4.56.0"
4343
},
44+
"engines": {
45+
"node": ">=22"
46+
},
4447
"private": true,
4548
"scripts": {
4649
"astro": "astro",

templates.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"templates": {
33
"astro-blog-starter-template": {
4-
"package_json_hash": "25e0e4962e3260bc8a1def3850555a9209a744c4"
4+
"package_json_hash": "2786f6e50f4fa275dba3e8b8580f56271b59f801"
55
},
66
"chanfana-openapi-template": {
77
"package_json_hash": "77674e6e63c1f9143f16a4cbead752e59ec8b8c8"
@@ -40,7 +40,7 @@
4040
"package_json_hash": "d5c2b3fce34750007c39135ca24b0c85ad4ba11c"
4141
},
4242
"saas-admin-template": {
43-
"package_json_hash": "88736c48ae7b306ad9ad5efd2bde04488ada7a6f"
43+
"package_json_hash": "8b47a4a7b6a812c99302288c294a03380721df55"
4444
},
4545
"text-to-image-template": {
4646
"package_json_hash": "0fca1a2712b723e66106d967ad9ec13c70db6af6"

0 commit comments

Comments
 (0)