Skip to content

Commit

Permalink
✨ feat: upgrade to Astro v5 with compatibility and improvements
Browse files Browse the repository at this point in the history
- 🗂️ Migrated content collections to the new Content Layer API:
  - Removed deprecated `type: "content"` from content collections.
  - Updated `src/content/config.ts` to use the Content Layer API.
  - Validated content files and schema using `astro check`.

- 🔄 Refactored BaseLayout for updated routing and transitions:
  - Replaced deprecated `<ViewTransitions />` with `<ClientRouter />` 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.
  • Loading branch information
inotelab committed Dec 6, 2024
1 parent 4f49aad commit ad3bffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit ad3bffe

Please sign in to comment.