diff options
Diffstat (limited to 'examples/with-markdoc')
-rw-r--r-- | examples/with-markdoc/package.json | 4 | ||||
-rw-r--r-- | examples/with-markdoc/src/content/config.ts | 5 | ||||
-rw-r--r-- | examples/with-markdoc/src/env.d.ts | 1 | ||||
-rw-r--r-- | examples/with-markdoc/tsconfig.json | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index b42a76ef2..d48131561 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.11.5", - "astro": "^4.16.0" + "@astrojs/markdoc": "^0.11.5-beta.1", + "astro": "^5.0.0-beta.4" } } diff --git a/examples/with-markdoc/src/content/config.ts b/examples/with-markdoc/src/content/config.ts new file mode 100644 index 000000000..79743326e --- /dev/null +++ b/examples/with-markdoc/src/content/config.ts @@ -0,0 +1,5 @@ +import { defineCollection } from 'astro:content'; + +export const collections = { + docs: defineCollection({}) +}; diff --git a/examples/with-markdoc/src/env.d.ts b/examples/with-markdoc/src/env.d.ts deleted file mode 100644 index e16c13c69..000000000 --- a/examples/with-markdoc/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// <reference path="../.astro/types.d.ts" /> diff --git a/examples/with-markdoc/tsconfig.json b/examples/with-markdoc/tsconfig.json index e51e06270..676d1945a 100644 --- a/examples/with-markdoc/tsconfig.json +++ b/examples/with-markdoc/tsconfig.json @@ -1,5 +1,7 @@ { "extends": "astro/tsconfigs/base", + "include": [".astro/types.d.ts", "**/*"], + "exclude": ["dist"], "compilerOptions": { "strictNullChecks": true } |