aboutsummaryrefslogtreecommitdiff
path: root/examples/with-mdx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-mdx')
-rw-r--r--examples/with-mdx/astro.config.mjs1
-rw-r--r--examples/with-mdx/package.json9
-rw-r--r--examples/with-mdx/src/env.d.ts1
-rw-r--r--examples/with-mdx/tsconfig.json4
4 files changed, 8 insertions, 7 deletions
diff --git a/examples/with-mdx/astro.config.mjs b/examples/with-mdx/astro.config.mjs
index d797941ec..93aeffbc5 100644
--- a/examples/with-mdx/astro.config.mjs
+++ b/examples/with-mdx/astro.config.mjs
@@ -1,3 +1,4 @@
+// @ts-check
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import preact from '@astrojs/preact';
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index eaa580dc8..a8da57dd8 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/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/mdx": "^3.1.9",
- "@astrojs/preact": "^3.5.4",
- "astro": "^4.16.16",
- "preact": "^10.25.0"
+ "@astrojs/mdx": "^4.0.0-beta.4",
+ "@astrojs/preact": "^3.5.4-beta.0",
+ "astro": "^5.0.0-beta.11",
+ "preact": "^10.24.3"
}
}
diff --git a/examples/with-mdx/src/env.d.ts b/examples/with-mdx/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/with-mdx/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/with-mdx/tsconfig.json b/examples/with-mdx/tsconfig.json
index d78f81ec4..8bf91d3bb 100644
--- a/examples/with-mdx/tsconfig.json
+++ b/examples/with-mdx/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/strict",
+ "include": [".astro/types.d.ts", "**/*"],
+ "exclude": ["dist"]
}