summaryrefslogtreecommitdiff
path: root/examples/with-tailwindcss
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-tailwindcss')
-rw-r--r--examples/with-tailwindcss/astro.config.mjs1
-rw-r--r--examples/with-tailwindcss/package.json7
-rw-r--r--examples/with-tailwindcss/src/env.d.ts1
-rw-r--r--examples/with-tailwindcss/tsconfig.json4
4 files changed, 7 insertions, 6 deletions
diff --git a/examples/with-tailwindcss/astro.config.mjs b/examples/with-tailwindcss/astro.config.mjs
index 4ad396807..7c7ad346f 100644
--- a/examples/with-tailwindcss/astro.config.mjs
+++ b/examples/with-tailwindcss/astro.config.mjs
@@ -1,3 +1,4 @@
+// @ts-check
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 45d9406da..fadcd6eb8 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -5,19 +5,18 @@
"private": true,
"scripts": {
"dev": "astro dev",
- "start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^3.1.9",
+ "@astrojs/mdx": "^4.0.0-beta.4",
"@astrojs/tailwind": "^5.1.2",
"@types/canvas-confetti": "^1.6.4",
- "astro": "^4.16.16",
+ "astro": "^5.0.0-beta.11",
"autoprefixer": "^10.4.20",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.49",
- "tailwindcss": "^3.4.15"
+ "tailwindcss": "^3.4.14"
}
}
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..8bf91d3bb 100644
--- a/examples/with-tailwindcss/tsconfig.json
+++ b/examples/with-tailwindcss/tsconfig.json
@@ -1,3 +1,5 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/strict",
+ "include": [".astro/types.d.ts", "**/*"],
+ "exclude": ["dist"]
}