summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/basics/tsconfig.json4
-rw-r--r--examples/blog/src/env.d.ts1
-rw-r--r--examples/blog/tsconfig.json2
-rw-r--r--examples/component/tsconfig.json2
-rw-r--r--examples/container-with-vitest/tsconfig.json4
-rw-r--r--examples/framework-alpine/src/env.d.ts1
-rw-r--r--examples/framework-alpine/tsconfig.json4
-rw-r--r--examples/framework-multiple/src/env.d.ts1
-rw-r--r--examples/framework-multiple/tsconfig.json2
-rw-r--r--examples/framework-preact/src/env.d.ts1
-rw-r--r--examples/framework-preact/tsconfig.json2
-rw-r--r--examples/framework-react/src/env.d.ts1
-rw-r--r--examples/framework-react/tsconfig.json2
-rw-r--r--examples/framework-solid/src/env.d.ts1
-rw-r--r--examples/framework-solid/tsconfig.json2
-rw-r--r--examples/framework-svelte/src/env.d.ts1
-rw-r--r--examples/framework-svelte/tsconfig.json4
-rw-r--r--examples/framework-vue/src/env.d.ts1
-rw-r--r--examples/framework-vue/tsconfig.json2
-rw-r--r--examples/hackernews/src/env.d.ts1
-rw-r--r--examples/hackernews/tsconfig.json4
-rw-r--r--examples/middleware/src/env.d.ts1
-rw-r--r--examples/middleware/tsconfig.json4
-rw-r--r--examples/minimal/src/env.d.ts1
-rw-r--r--examples/minimal/tsconfig.json4
-rw-r--r--examples/non-html-pages/src/env.d.ts1
-rw-r--r--examples/non-html-pages/tsconfig.json4
-rw-r--r--examples/portfolio/src/env.d.ts1
-rw-r--r--examples/portfolio/tsconfig.json4
-rw-r--r--examples/ssr/src/env.d.ts1
-rw-r--r--examples/ssr/tsconfig.json4
-rw-r--r--examples/starlog/tsconfig.json1
-rw-r--r--examples/view-transitions/tsconfig.json2
-rw-r--r--examples/with-markdoc/src/env.d.ts1
-rw-r--r--examples/with-markdoc/tsconfig.json2
-rw-r--r--examples/with-markdown-plugins/src/env.d.ts1
-rw-r--r--examples/with-markdown-plugins/tsconfig.json4
-rw-r--r--examples/with-markdown-shiki/src/env.d.ts1
-rw-r--r--examples/with-markdown-shiki/tsconfig.json4
-rw-r--r--examples/with-mdx/src/env.d.ts1
-rw-r--r--examples/with-mdx/tsconfig.json4
-rw-r--r--examples/with-nanostores/src/env.d.ts1
-rw-r--r--examples/with-nanostores/tsconfig.json2
-rw-r--r--examples/with-tailwindcss/src/env.d.ts1
-rw-r--r--examples/with-tailwindcss/tsconfig.json4
-rw-r--r--examples/with-vitest/tsconfig.json4
46 files changed, 66 insertions, 35 deletions
diff --git a/examples/basics/tsconfig.json b/examples/basics/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/basics/tsconfig.json
+++ b/examples/basics/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/blog/src/env.d.ts b/examples/blog/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/blog/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/blog/tsconfig.json b/examples/blog/tsconfig.json
index e51e06270..c2e5e77cd 100644
--- a/examples/blog/tsconfig.json
+++ b/examples/blog/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
"strictNullChecks": true
}
diff --git a/examples/component/tsconfig.json b/examples/component/tsconfig.json
index 26f2fc53d..3e4a08650 100644
--- a/examples/component/tsconfig.json
+++ b/examples/component/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
"jsx": "preserve"
}
diff --git a/examples/container-with-vitest/tsconfig.json b/examples/container-with-vitest/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/container-with-vitest/tsconfig.json
+++ b/examples/container-with-vitest/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/framework-alpine/src/env.d.ts b/examples/framework-alpine/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/framework-alpine/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/framework-alpine/tsconfig.json b/examples/framework-alpine/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/framework-alpine/tsconfig.json
+++ b/examples/framework-alpine/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/framework-multiple/src/env.d.ts b/examples/framework-multiple/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/framework-multiple/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/framework-multiple/tsconfig.json b/examples/framework-multiple/tsconfig.json
index 2d48ed5fd..38d2e052b 100644
--- a/examples/framework-multiple/tsconfig.json
+++ b/examples/framework-multiple/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
// Needed for TypeScript intellisense in the template inside Vue files
"jsx": "preserve"
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..8faaad1f8 100644
--- a/examples/framework-preact/tsconfig.json
+++ b/examples/framework-preact/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
// Preact specific settings
"jsx": "react-jsx",
diff --git a/examples/framework-react/src/env.d.ts b/examples/framework-react/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/framework-react/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/framework-react/tsconfig.json b/examples/framework-react/tsconfig.json
index e726bd0b9..1bb17eb06 100644
--- a/examples/framework-react/tsconfig.json
+++ b/examples/framework-react/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
diff --git a/examples/framework-solid/src/env.d.ts b/examples/framework-solid/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/framework-solid/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/framework-solid/tsconfig.json b/examples/framework-solid/tsconfig.json
index 6e107fd32..c1ca2dae5 100644
--- a/examples/framework-solid/tsconfig.json
+++ b/examples/framework-solid/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
// Solid specific settings
"jsx": "preserve",
diff --git a/examples/framework-svelte/src/env.d.ts b/examples/framework-svelte/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/framework-svelte/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/framework-svelte/tsconfig.json b/examples/framework-svelte/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/framework-svelte/tsconfig.json
+++ b/examples/framework-svelte/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/framework-vue/src/env.d.ts b/examples/framework-vue/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/framework-vue/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/framework-vue/tsconfig.json b/examples/framework-vue/tsconfig.json
index 2d48ed5fd..38d2e052b 100644
--- a/examples/framework-vue/tsconfig.json
+++ b/examples/framework-vue/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
// Needed for TypeScript intellisense in the template inside Vue files
"jsx": "preserve"
diff --git a/examples/hackernews/src/env.d.ts b/examples/hackernews/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/hackernews/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/hackernews/tsconfig.json b/examples/hackernews/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/hackernews/tsconfig.json
+++ b/examples/hackernews/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/middleware/src/env.d.ts b/examples/middleware/src/env.d.ts
index 74b9019e5..e992c5315 100644
--- a/examples/middleware/src/env.d.ts
+++ b/examples/middleware/src/env.d.ts
@@ -1,4 +1,3 @@
-/// <reference path="../.astro/types.d.ts" />
declare namespace App {
interface Locals {
user: {
diff --git a/examples/middleware/tsconfig.json b/examples/middleware/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/middleware/tsconfig.json
+++ b/examples/middleware/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/minimal/src/env.d.ts b/examples/minimal/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/minimal/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/minimal/tsconfig.json b/examples/minimal/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/minimal/tsconfig.json
+++ b/examples/minimal/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/non-html-pages/src/env.d.ts b/examples/non-html-pages/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/non-html-pages/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/non-html-pages/tsconfig.json b/examples/non-html-pages/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/non-html-pages/tsconfig.json
+++ b/examples/non-html-pages/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/portfolio/src/env.d.ts b/examples/portfolio/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/portfolio/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/portfolio/tsconfig.json b/examples/portfolio/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/portfolio/tsconfig.json
+++ b/examples/portfolio/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/ssr/src/env.d.ts b/examples/ssr/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/ssr/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/ssr/tsconfig.json b/examples/ssr/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/ssr/tsconfig.json
+++ b/examples/ssr/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/starlog/tsconfig.json b/examples/starlog/tsconfig.json
index da42df94e..08454317e 100644
--- a/examples/starlog/tsconfig.json
+++ b/examples/starlog/tsconfig.json
@@ -1,4 +1,5 @@
{
"extends": "astro/tsconfigs/strict",
+ "include": ["**/*", ".astro/types.d.ts"],
"exclude": ["dist"]
}
diff --git a/examples/view-transitions/tsconfig.json b/examples/view-transitions/tsconfig.json
index d9bbfacf8..60762da04 100644
--- a/examples/view-transitions/tsconfig.json
+++ b/examples/view-transitions/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
"resolveJsonModule": true
}
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..c2e5e77cd 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
}
diff --git a/examples/with-markdown-plugins/src/env.d.ts b/examples/with-markdown-plugins/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/with-markdown-plugins/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/with-markdown-plugins/tsconfig.json b/examples/with-markdown-plugins/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/with-markdown-plugins/tsconfig.json
+++ b/examples/with-markdown-plugins/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/with-markdown-shiki/src/env.d.ts b/examples/with-markdown-shiki/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/with-markdown-shiki/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/with-markdown-shiki/tsconfig.json b/examples/with-markdown-shiki/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/with-markdown-shiki/tsconfig.json
+++ b/examples/with-markdown-shiki/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
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..d2e51fb46 100644
--- a/examples/with-mdx/tsconfig.json
+++ b/examples/with-mdx/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
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..8faaad1f8 100644
--- a/examples/with-nanostores/tsconfig.json
+++ b/examples/with-nanostores/tsconfig.json
@@ -1,5 +1,7 @@
{
"extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"],
"compilerOptions": {
// Preact specific settings
"jsx": "react-jsx",
diff --git a/examples/with-tailwindcss/src/env.d.ts b/examples/with-tailwindcss/src/env.d.ts
deleted file mode 100644
index e16c13c69..000000000
--- a/examples/with-tailwindcss/src/env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference path="../.astro/types.d.ts" />
diff --git a/examples/with-tailwindcss/tsconfig.json b/examples/with-tailwindcss/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/with-tailwindcss/tsconfig.json
+++ b/examples/with-tailwindcss/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}
diff --git a/examples/with-vitest/tsconfig.json b/examples/with-vitest/tsconfig.json
index d78f81ec4..d2e51fb46 100644
--- a/examples/with-vitest/tsconfig.json
+++ b/examples/with-vitest/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "include": ["**/*", ".astro/types.d.ts"],
+ "exclude": ["dist"]
}