summaryrefslogtreecommitdiff
path: root/examples/with-nanostores
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-nanostores')
-rw-r--r--examples/with-nanostores/astro.config.mjs1
-rw-r--r--examples/with-nanostores/package.json7
-rw-r--r--examples/with-nanostores/src/env.d.ts1
-rw-r--r--examples/with-nanostores/tsconfig.json4
4 files changed, 7 insertions, 6 deletions
diff --git a/examples/with-nanostores/astro.config.mjs b/examples/with-nanostores/astro.config.mjs
index 3e161041b..9f7dbd219 100644
--- a/examples/with-nanostores/astro.config.mjs
+++ b/examples/with-nanostores/astro.config.mjs
@@ -1,3 +1,4 @@
+// @ts-check
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 606bd52b4..2b1e1677a 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -5,16 +5,15 @@
"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",
"@nanostores/preact": "^0.5.2",
- "astro": "^4.16.16",
+ "astro": "^5.0.0-beta.11",
"nanostores": "^0.11.3",
- "preact": "^10.25.0"
+ "preact": "^10.24.3"
}
}
diff --git a/examples/with-nanostores/src/env.d.ts b/examples/with-nanostores/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/with-nanostores/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/with-nanostores/tsconfig.json b/examples/with-nanostores/tsconfig.json
index bdd1b5a88..c8983c2ef 100644
--- a/examples/with-nanostores/tsconfig.json
+++ b/examples/with-nanostores/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",