Update to Astro V5

This commit is contained in:
Jorge Vargas 2025-01-11 15:38:03 -06:00
parent d61ce20e5d
commit e57775833b
4 changed files with 934 additions and 469 deletions

View file

@ -2,7 +2,7 @@
import { defineConfig } from 'astro/config'
import tailwind from '@astrojs/tailwind'
import node from '@astrojs/node'
import react from '@astrojs/react';
import react from '@astrojs/react'
import paraglide from '@inlang/paraglide-astro'
import icon from 'astro-icon'
@ -26,8 +26,5 @@ export default defineConfig({
react()
],
output: 'server',
adapter: node({ mode: 'standalone' }),
security: {
checkOrigin: true
}
})
adapter: node({ mode: 'standalone' })
})

View file

@ -12,10 +12,10 @@
"dependencies": {
"@apollo/client": "^3.11.4",
"@apollo/server": "^4.11.2",
"@astrojs/node": "^8.3.3",
"@astrojs/react": "^3.6.2",
"@astrojs/rss": "^4.0.7",
"@astrojs/tailwind": "^5.1.1",
"@astrojs/node": "9.0.0",
"@astrojs/react": "4.1.3",
"@astrojs/rss": "4.0.11",
"@astrojs/tailwind": "5.1.4",
"@eddeee888/gcg-typescript-resolver-files": "^0.10.4",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-tools/merge": "^9.0.6",
@ -28,7 +28,7 @@
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"apollo-upload-client": "^18.0.1",
"astro": "^4.15.7",
"astro": "5.1.5",
"astro-icon": "^1.1.1",
"clsx": "^2.1.1",
"fast-glob": "^3.3.2",

View file

@ -1,13 +1,13 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"],
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react",
"baseUrl": "src",
"paths": {
"@/graphql/*": [
"graphql/*"
],
"@/graphql/*": ["graphql/*"]
}
}
}
}

1376
yarn.lock

File diff suppressed because it is too large Load diff