summaryrefslogtreecommitdiff
path: root/examples/with-vitest
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-vitest')
-rw-r--r--examples/with-vitest/astro.config.ts1
-rw-r--r--examples/with-vitest/package.json3
-rw-r--r--examples/with-vitest/tsconfig.json4
3 files changed, 5 insertions, 3 deletions
diff --git a/examples/with-vitest/astro.config.ts b/examples/with-vitest/astro.config.ts
index 882e6515a..e762ba5cf 100644
--- a/examples/with-vitest/astro.config.ts
+++ b/examples/with-vitest/astro.config.ts
@@ -1,3 +1,4 @@
+// @ts-check
import { defineConfig } from 'astro/config';
// https://astro.build/config
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index 88bdb73a7..1bf63f4e2 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -5,14 +5,13 @@
"private": true,
"scripts": {
"dev": "astro dev",
- "start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"test": "vitest"
},
"dependencies": {
- "astro": "^4.16.16",
+ "astro": "^5.0.0-beta.11",
"vitest": "^2.1.6"
}
}
diff --git a/examples/with-vitest/tsconfig.json b/examples/with-vitest/tsconfig.json
index d78f81ec4..8bf91d3bb 100644
--- a/examples/with-vitest/tsconfig.json
+++ b/examples/with-vitest/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/strict",
+ "include": [".astro/types.d.ts", "**/*"],
+ "exclude": ["dist"]
}