update astro to v3
This commit is contained in:
parent
34a8c1db33
commit
176279ecb5
4 changed files with 993 additions and 594 deletions
|
|
@ -5,7 +5,5 @@ import react from '@astrojs/react';
|
|||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
integrations: [react()],
|
||||
experimental: {
|
||||
assets: true,
|
||||
},
|
||||
experimental: {},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"dev": "astro dev --port 3000",
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"deploy": "./deploy.sh",
|
||||
|
|
@ -11,11 +11,11 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/react": "^2.2.1",
|
||||
"@astrojs/react": "^3.0.2",
|
||||
"@astrojs/ts-plugin": "^1.1.3",
|
||||
"@types/react": "^18.0.21",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"astro": "^2.7.0",
|
||||
"astro": "^3.0.12",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
|
|
|
|||
1575
pnpm-lock.yaml
generated
1575
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
2
src/env.d.ts
vendored
2
src/env.d.ts
vendored
|
|
@ -1,2 +1,2 @@
|
|||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="astro/client-image" />
|
||||
/// <reference types="astro/client" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue