Migrate to Astro 5

This commit is contained in:
Bad Manners 2024-12-03 20:24:10 -03:00
parent ae4ed1e358
commit a97ea99c75
3 changed files with 1432 additions and 1676 deletions

View file

@ -191,11 +191,9 @@ export default defineConfig({
"/tos": "/terms_of_service", "/tos": "/terms_of_service",
"/contact": "/", "/contact": "/",
}, },
experimental: { env: {
env: { schema: {
schema: { APACHE_CONFIG: envField.boolean({ context: "server", access: "public", default: false }),
APACHE_CONFIG: envField.boolean({ context: "server", access: "public", default: false }),
},
}, },
}, },
}); });

3087
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
{ {
"name": "badmanners.xyz", "name": "badmanners.xyz",
"type": "module", "type": "module",
"version": "2.2.1", "version": "2.3.0",
"scripts": { "scripts": {
"postinstall": "astro sync", "postinstall": "astro sync",
"dev": "astro dev", "dev": "astro dev",
@ -15,13 +15,13 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/alpinejs": "^0.4.0", "@astrojs/alpinejs": "^0.4.0",
"@astrojs/check": "^0.9.3", "@astrojs/check": "^0.9.4",
"@astrojs/rss": "^4.0.7", "@astrojs/rss": "^4.0.9",
"@astrojs/tailwind": "^5.1.0", "@astrojs/tailwind": "^5.1.3",
"@types/alpinejs": "^3.13.10", "@types/alpinejs": "^3.13.10",
"alpinejs": "^3.14.1", "alpinejs": "^3.14.1",
"astro": "^4.15.5", "astro": "^5.0.1",
"astro-htaccess": "^0.2.0", "astro-htaccess": "^0.2.2",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"tailwindcss": "^3.4.11", "tailwindcss": "^3.4.11",
"tippy.js": "^6.3.7", "tippy.js": "^6.3.7",
@ -29,6 +29,7 @@
"typescript": "^5.6.2" "typescript": "^5.6.2"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.10.1",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1", "prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.6", "prettier-plugin-tailwindcss": "^0.6.6",