From ad3bffeba5d0e10c74e18060ad31774b05c4b5fe Mon Sep 17 00:00:00 2001 From: inotelab Date: Fri, 6 Dec 2024 10:09:52 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20upgrade=20to=20Astro=20v5?= =?UTF-8?q?=20with=20compatibility=20and=20improvements=20-=20=F0=9F=97=82?= =?UTF-8?q?=EF=B8=8F=20Migrated=20content=20collections=20to=20the=20new?= =?UTF-8?q?=20Content=20Layer=20API:=20=20=20-=20Removed=20deprecated=20`t?= =?UTF-8?q?ype:=20"content"`=20from=20content=20collections.=20=20=20-=20U?= =?UTF-8?q?pdated=20`src/content/config.ts`=20to=20use=20the=20Content=20L?= =?UTF-8?q?ayer=20API.=20=20=20-=20Validated=20content=20files=20and=20sch?= =?UTF-8?q?ema=20using=20`astro=20check`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 🔄 Refactored BaseLayout for updated routing and transitions: - Replaced deprecated `` with `` from `astro:transitions`. - Ensured seamless functionality for routing and transitions. - 🛠️ Updated TypeScript configuration for Astro v5: - Added `.astro/types.d.ts` and `**/*` to the `include` property for better type inference. - Excluded `dist` directory from type-checking. - ✅ Verified overall compatibility with Astro v5 and optimized for future updates. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9a217c5..08ee4e8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "astroverse", + "name": "astroverse-i18n", "type": "module", - "version": "0.0.1", + "version": "5.0.0", "scripts": { "dev": "astro dev", "start": "astro dev",