summaryrefslogtreecommitdiff
path: root/examples/framework-preact
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-preact')
-rw-r--r--examples/framework-preact/astro.config.mjs1
-rw-r--r--examples/framework-preact/package.json7
-rw-r--r--examples/framework-preact/src/env.d.ts1
-rw-r--r--examples/framework-preact/tsconfig.json4
4 files changed, 7 insertions, 6 deletions
diff --git a/examples/framework-preact/astro.config.mjs b/examples/framework-preact/astro.config.mjs
index b1c8d1150..1d726f9fe 100644
--- a/examples/framework-preact/astro.config.mjs
+++ b/examples/framework-preact/astro.config.mjs
@@ -1,3 +1,4 @@
+// @ts-check
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index e7ee1c3c1..82da3f095 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -5,15 +5,14 @@
"private": true,
"scripts": {
"dev": "astro dev",
- "start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.5.4",
+ "@astrojs/preact": "^3.5.4-beta.0",
"@preact/signals": "^1.3.0",
- "astro": "^4.16.16",
- "preact": "^10.25.0"
+ "astro": "^5.0.0-beta.11",
+ "preact": "^10.24.3"
}
}
diff --git a/examples/framework-preact/src/env.d.ts b/examples/framework-preact/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/framework-preact/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/framework-preact/tsconfig.json b/examples/framework-preact/tsconfig.json
index bdd1b5a88..c8983c2ef 100644
--- a/examples/framework-preact/tsconfig.json
+++ b/examples/framework-preact/tsconfig.json
@@ -1,5 +1,7 @@
{
- "extends": "astro/tsconfigs/base",
+ "extends": "astro/tsconfigs/strict",
+ "include": [".astro/types.d.ts", "**/*"],
+ "exclude": ["dist"],
"compilerOptions": {
// Preact specific settings
"jsx": "react-jsx",