refactor: replace preact with react

This commit is contained in:
Stefan Imhoff
2025-01-03 14:39:54 +01:00
parent 1560013a07
commit 756d6b0258
32 changed files with 97 additions and 245 deletions

View File

@@ -17,9 +17,8 @@
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.2",
"@astrojs/mdx": "^3.1.3",
"@astrojs/preact": "^3.5.1",
"@astrojs/prefetch": "^0.4.1",
"@astrojs/react": "^3.6.1",
"@astrojs/react": "^3.6.2",
"@astrojs/rss": "^4.0.7",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
@@ -46,10 +45,9 @@
"object-hash": "^3.0.0",
"postcss": "^8.4.38",
"potrace": "^2.1.8",
"preact": "^10.22.0",
"react": "npm:@preact/compat@latest",
"react": "^18.3.1",
"react-chartjs-2": "^5.2.0",
"react-dom": "npm:@preact/compat@latest",
"react-dom": "^18.3.1",
"reading-time": "^1.5.0",
"swup": "^4.6.1",
"tailwindcss": "^3.4.3",
@@ -91,11 +89,5 @@
"tailwindcss-opentype": "^1.1.0",
"typescript": "^5.4.5",
"vite": "^5.2.11"
},
"pnpm": {
"overrides": {
"react": "npm:@preact/compat@latest",
"react-dom": "npm:@preact/compat@latest"
}
}
}