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`.

- 🛠️ 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 cde9740 commit 31570c8
Show file tree
Hide file tree
Showing 4 changed files with 525 additions and 697 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.9",
"@astrojs/mdx": "^4.0.1",
"@astrojs/partytown": "^2.1.2",
"@astrojs/rss": "^4.0.9",
"@astrojs/rss": "^4.0.10",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/tailwind": "^5.1.2",
"@astrojs/tailwind": "^5.1.3",
"@iconify-json/tabler": "^1.1.116",
"astro": "^4.16.12",
"astro": "^5.0.3",
"astro-icon": "^1.1.0",
"astro-pagefind": "^1.5.0",
"dayjs": "^1.11.11",
Expand Down
Loading

0 comments on commit 31570c8

Please sign in to comment.