Update to Astro v5

This commit is contained in:
prototypa
2024-12-09 15:58:16 -05:00
parent 357f7358bf
commit 5b0eed4eb0
3 changed files with 1533 additions and 963 deletions

2446
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "@onwidget/astrowind", "name": "@onwidget/astrowind",
"version": "1.0.0-beta.46", "version": "1.0.0-beta.47",
"description": "AstroWind: A free template using Astro 5.0 and Tailwind CSS. Astro starter theme.", "description": "AstroWind: A free template using Astro 5.0 and Tailwind CSS. Astro starter theme.",
"type": "module", "type": "module",
"private": true, "private": true,
@@ -22,48 +22,48 @@
"fix:prettier": "prettier -w ." "fix:prettier": "prettier -w ."
}, },
"dependencies": { "dependencies": {
"@astrojs/rss": "^4.0.8", "@astrojs/rss": "^4.0.10",
"@astrojs/sitemap": "^3.2.0", "@astrojs/sitemap": "^3.2.1",
"@astrolib/analytics": "^0.6.1", "@astrolib/analytics": "^0.6.1",
"@astrolib/seo": "^1.0.0-beta.8", "@astrolib/seo": "^1.0.0-beta.8",
"@fontsource-variable/inter": "^5.1.0", "@fontsource-variable/inter": "^5.1.0",
"astro": "^5.0.0-beta.4", "astro": "^5.0.3",
"astro-embed": "^0.7.4", "astro-embed": "^0.9.0",
"astro-icon": "^1.1.1", "astro-icon": "^1.1.4",
"limax": "4.1.0", "limax": "4.1.0",
"lodash.merge": "^4.6.2", "lodash.merge": "^4.6.2",
"unpic": "^3.18.0" "unpic": "^3.22.0"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.0.0-beta.2", "@astrojs/mdx": "^4.0.1",
"@astrojs/partytown": "^2.1.2", "@astrojs/partytown": "^2.1.2",
"@astrojs/tailwind": "^5.1.2", "@astrojs/tailwind": "^5.1.3",
"@eslint/js": "^9.12.0", "@eslint/js": "^9.16.0",
"@iconify-json/flat-color-icons": "^1.2.0", "@iconify-json/flat-color-icons": "^1.2.0",
"@iconify-json/tabler": "^1.2.5", "@iconify-json/tabler": "^1.2.10",
"@tailwindcss/typography": "^0.5.15", "@tailwindcss/typography": "^0.5.15",
"@types/eslint__js": "^8.42.3", "@types/eslint__js": "^8.42.3",
"@types/js-yaml": "^4.0.9", "@types/js-yaml": "^4.0.9",
"@types/lodash.merge": "^4.6.9", "@types/lodash.merge": "^4.6.9",
"@types/mdx": "^2.0.13", "@types/mdx": "^2.0.13",
"@typescript-eslint/eslint-plugin": "^8.8.1", "@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.8.1", "@typescript-eslint/parser": "^8.17.0",
"astro-compress": "2.3.3", "astro-compress": "2.3.5",
"astro-eslint-parser": "^1.0.3", "astro-eslint-parser": "^1.1.0",
"eslint": "^9.12.0", "eslint": "^9.16.0",
"eslint-plugin-astro": "^1.2.4", "eslint-plugin-astro": "^1.3.1",
"globals": "^15.11.0", "globals": "^15.13.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"mdast-util-to-string": "^4.0.0", "mdast-util-to-string": "^4.0.0",
"prettier": "^3.3.3", "prettier": "^3.4.2",
"prettier-plugin-astro": "^0.14.1", "prettier-plugin-astro": "^0.14.1",
"reading-time": "^1.5.0", "reading-time": "^1.5.0",
"sharp": "0.33.5", "sharp": "0.33.5",
"tailwind-merge": "^2.5.3", "tailwind-merge": "^2.5.5",
"tailwindcss": "^3.4.13", "tailwindcss": "^3.4.16",
"typescript": "^5.6.3", "typescript": "^5.7.2",
"typescript-eslint": "^8.8.1", "typescript-eslint": "^8.17.0",
"unist-util-visit": "^5.0.0" "unist-util-visit": "^5.0.0"
} }
} }

View File

@@ -9,8 +9,8 @@
class="dark:bg-slate-700 bg-white/40 dark:text-slate-300 font-semibold px-1 py-0.5 text-xs mr-0.5 rtl:mr-0 rtl:ml-0.5 inline-block" class="dark:bg-slate-700 bg-white/40 dark:text-slate-300 font-semibold px-1 py-0.5 text-xs mr-0.5 rtl:mr-0 rtl:ml-0.5 inline-block"
>NEW</span >NEW</span
> >
<a href="https://astro.build/blog/astro-5-beta/" class="text-muted hover:underline dark:text-slate-400 font-medium" <a href="https://astro.build/blog/astro-5/" class="text-muted hover:underline dark:text-slate-400 font-medium"
>Astro v5.0.0-beta.4 is now available! »</a >Astro v5.0.0 is now available! »</a
> >
<a <a
target="_blank" target="_blank"