summaryrefslogtreecommitdiff
path: root/examples/framework-react
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-react')
-rw-r--r--examples/framework-react/package.json3
-rw-r--r--examples/framework-react/src/env.d.ts1
-rw-r--r--examples/framework-react/tsconfig.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 5a8a4cec8..25842929c 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -5,7 +5,6 @@
"private": true,
"scripts": {
"dev": "astro dev",
- "start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
@@ -14,7 +13,7 @@
"@astrojs/react": "^3.6.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
- "astro": "^4.16.8",
+ "astro": "^5.0.0-beta.5",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-react/src/env.d.ts b/examples/framework-react/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/framework-react/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/framework-react/tsconfig.json b/examples/framework-react/tsconfig.json
index e726bd0b9..866156f07 100644
--- a/examples/framework-react/tsconfig.json
+++ b/examples/framework-react/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": [".astro/types.d.ts", "**/*"],
+ "exclude": ["dist"],
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"