chore(astro): upgrade to Astro 3

This commit is contained in:
Stefan Imhoff
2023-09-08 14:23:59 +02:00
parent 51e648bb3d
commit d351d44dc6
4 changed files with 3140 additions and 3071 deletions

2
.nvmrc
View File

@@ -1 +1 @@
16.14.2 18.14.1

View File

@@ -83,7 +83,6 @@ export default defineConfig({
}, },
}), }),
], ],
compressHTML: true,
build: { build: {
inlineStylesheets: 'always', inlineStylesheets: 'always',
client: './dist', client: './dist',

View File

@@ -17,77 +17,80 @@
"prepare": "husky install" "prepare": "husky install"
}, },
"dependencies": { "dependencies": {
"@astro-community/astro-embed-youtube": "^0.2.2", "@astro-community/astro-embed-youtube": "^0.4.1",
"@astrojs/mdx": "^0.19.7", "@astrojs/mdx": "^1.0.3",
"@astrojs/preact": "^2.2.1", "@astrojs/preact": "^3.0.0",
"@astrojs/prefetch": "^0.2.3", "@astrojs/prefetch": "^0.4.0",
"@astrojs/rss": "^2.4.3", "@astrojs/react": "^3.0.2",
"@astrojs/sitemap": "^1.3.3", "@astrojs/rss": "^3.0.0",
"@astrojs/tailwind": "^4.0.0", "@astrojs/sitemap": "^3.0.0",
"@astrojs/tailwind": "^5.0.0",
"@swup/a11y-plugin": "^3.0.0", "@swup/a11y-plugin": "^3.0.0",
"@swup/fade-theme": "^1.0.5", "@swup/fade-theme": "^1.0.5",
"@swup/head-plugin": "^1.3.0", "@swup/head-plugin": "^1.3.0",
"@swup/preload-plugin": "^2.3.0", "@swup/preload-plugin": "^2.3.0",
"@swup/scripts-plugin": "^1.1.0", "@swup/scripts-plugin": "^1.1.0",
"@swup/scroll-plugin": "^2.0.3", "@swup/scroll-plugin": "^2.0.3",
"astro": "^2.7.2", "astro": "^3.0.11",
"astro-icon": "^0.8.1", "astro-icon": "^0.8.1",
"astro-imagetools": "^0.8.1", "astro-imagetools": "^0.9.0",
"astro-pagefind": "^1.2.1", "astro-pagefind": "^1.2.3",
"astro-seo": "^0.7.4", "astro-seo": "^0.8.0",
"astro-webmanifest": "^0.6.0", "astro-webmanifest": "^0.6.0",
"astrojs-service-worker": "^1.0.0", "astrojs-service-worker": "^1.1.0",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.15",
"chart.js": "^4.3.0", "chart.js": "^4.4.0",
"chartjs-plugin-autocolors": "^0.2.2", "chartjs-plugin-autocolors": "^0.2.2",
"classnames": "^2.3.2", "classnames": "^2.3.2",
"deepmerge": "^4.3.1", "deepmerge": "^4.3.1",
"file-type": "^18.5.0", "file-type": "^18.5.0",
"find-cache-dir": "^4.0.0", "find-cache-dir": "^5.0.0",
"mdast-util-to-string": "^3.2.0", "markdown-remark@latest": "link:astrojs/markdown-remark@latest",
"mdast-util-to-string": "^4.0.0",
"moment": "^2.29.4", "moment": "^2.29.4",
"object-hash": "^3.0.0", "object-hash": "^3.0.0",
"postcss": "^8.4.24", "postcss": "^8.4.29",
"potrace": "^2.1.8", "potrace": "^2.1.8",
"preact": "^10.15.1", "preact": "^10.17.1",
"react": "npm:@preact/compat@^17.1.2", "react": "npm:@preact/compat@latest",
"react-chartjs-2": "^5.2.0", "react-chartjs-2": "^5.2.0",
"react-dom": "npm:@preact/compat@^17.1.2", "react-dom": "npm:@preact/compat@latest",
"reading-time": "^1.5.0", "reading-time": "^1.5.0",
"sal.js": "^0.8.5", "sal.js": "^0.8.5",
"sharp": "^0.32.1", "sharp": "^0.32.5",
"swup": "^3.1.1", "swup": "^3.1.1",
"tailwindcss": "^3.3.2", "tailwindcss": "^3.3.3",
"unist-util-visit": "^4.1.2" "unist-util-visit": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/mdast": "^3.0.11", "@types/mdast": "^4.0.0",
"@types/react": "^18.2.14", "@types/react": "^18.2.21",
"@types/unist": "^2.0.6", "@types/unist": "^3.0.0",
"@typescript-eslint/parser": "^5.60.1", "@typescript-eslint/parser": "^6.6.0",
"cspell": "^6.31.1", "cspell": "^7.3.2",
"cssnano": "^6.0.1", "cssnano": "^6.0.1",
"eslint": "^8.43.0", "eslint": "^8.48.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-astro": "^0.27.2", "eslint-plugin-astro": "^0.29.0",
"eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3", "husky": "^8.0.3",
"jimp": "^0.22.8", "jimp": "^0.22.10",
"lint-staged": "^13.2.3", "lint-staged": "^14.0.1",
"netlify-cli": "^15.8.1", "netlify-cli": "^16.3.1",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"plop": "^3.1.2", "pagefind": "^0.12.0",
"postcss-nesting": "^11.3.0", "plop": "^4.0.0",
"prettier": "^2.8.8", "postcss-nesting": "^12.0.1",
"prettier-plugin-astro": "^0.10.0", "prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.2", "prettier-plugin-astro": "^0.12.0",
"prettier-plugin-tailwindcss": "^0.3.0", "prettier-plugin-organize-imports": "^3.2.3",
"rollup": "^3.25.3", "prettier-plugin-tailwindcss": "^0.5.4",
"rollup": "^3.29.0",
"tailwindcss-logical": "^3.0.1", "tailwindcss-logical": "^3.0.1",
"tailwindcss-opentype": "^1.1.0", "tailwindcss-opentype": "^1.1.0",
"typescript": "^5.1.6", "typescript": "^5.2.2",
"vite": "^4.3.9" "vite": "^4.4.9"
}, },
"pnpm": { "pnpm": {
"overrides": { "overrides": {

6117
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff