summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/beige-schools-hang.md24
-rw-r--r--.changeset/brave-candles-invent.md5
-rw-r--r--.changeset/large-ants-tap.md5
-rw-r--r--.changeset/modern-lobsters-sparkle.md5
-rw-r--r--.changeset/real-spies-pretend.md36
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/blog/package.json2
-rw-r--r--examples/component/package.json2
-rw-r--r--examples/deno/package.json4
-rw-r--r--examples/framework-alpine/package.json2
-rw-r--r--examples/framework-lit/package.json2
-rw-r--r--examples/framework-multiple/package.json2
-rw-r--r--examples/framework-preact/package.json2
-rw-r--r--examples/framework-react/package.json2
-rw-r--r--examples/framework-solid/package.json2
-rw-r--r--examples/framework-svelte/package.json2
-rw-r--r--examples/framework-vue/package.json2
-rw-r--r--examples/hackernews/package.json2
-rw-r--r--examples/integration/package.json2
-rw-r--r--examples/middleware/package.json2
-rw-r--r--examples/minimal/package.json2
-rw-r--r--examples/non-html-pages/package.json2
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/ssr/package.json2
-rw-r--r--examples/with-markdoc/package.json2
-rw-r--r--examples/with-markdown-plugins/package.json2
-rw-r--r--examples/with-markdown-shiki/package.json2
-rw-r--r--examples/with-mdx/package.json2
-rw-r--r--examples/with-nanostores/package.json2
-rw-r--r--examples/with-tailwindcss/package.json4
-rw-r--r--examples/with-vite-plugin-pwa/package.json2
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro/CHANGELOG.md8
-rw-r--r--packages/astro/package.json2
-rw-r--r--packages/integrations/cloudflare/package.json2
-rw-r--r--packages/integrations/deno/CHANGELOG.md11
-rw-r--r--packages/integrations/deno/package.json4
-rw-r--r--packages/integrations/image/package.json2
-rw-r--r--packages/integrations/markdoc/package.json2
-rw-r--r--packages/integrations/netlify/package.json2
-rw-r--r--packages/integrations/node/package.json2
-rw-r--r--packages/integrations/svelte/package.json2
-rw-r--r--packages/integrations/tailwind/CHANGELOG.md63
-rw-r--r--packages/integrations/tailwind/package.json4
-rw-r--r--packages/integrations/vercel/package.json2
-rw-r--r--packages/integrations/vue/package.json2
-rw-r--r--pnpm-lock.yaml58
47 files changed, 153 insertions, 146 deletions
diff --git a/.changeset/beige-schools-hang.md b/.changeset/beige-schools-hang.md
deleted file mode 100644
index 4b964f182..000000000
--- a/.changeset/beige-schools-hang.md
+++ /dev/null
@@ -1,24 +0,0 @@
----
-'@astrojs/tailwind': major
----
-
-Rename options `config.path` to `configFile`, and `config.applyBaseStyles` to `applyBaseStyles`. If you are using these options, you need to migrate to the new names.
-
-```diff
-// astro.config.mjs
-import { defineConfig } from 'astro/config';
-import tailwind from '@astrojs/tailwind';
-
-export default defineConfig({
- integrations: [
- tailwind({
-- config: {
-- path: '...',
-- applyBaseStyles: true,
-- },
-+ configFile: '...',
-+ applyBaseStyles: true,
- }),
- ],
-});
-```
diff --git a/.changeset/brave-candles-invent.md b/.changeset/brave-candles-invent.md
deleted file mode 100644
index e63ffcb3c..000000000
--- a/.changeset/brave-candles-invent.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Simplify telemetry Vite version detection
diff --git a/.changeset/large-ants-tap.md b/.changeset/large-ants-tap.md
deleted file mode 100644
index f99945aee..000000000
--- a/.changeset/large-ants-tap.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fix edge case where injected routes would cause builds to fail in a PNPM workspace
diff --git a/.changeset/modern-lobsters-sparkle.md b/.changeset/modern-lobsters-sparkle.md
deleted file mode 100644
index 057afdc04..000000000
--- a/.changeset/modern-lobsters-sparkle.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/deno': minor
----
-
-The deno adapter now supports npm package that require built-in node modules.
diff --git a/.changeset/real-spies-pretend.md b/.changeset/real-spies-pretend.md
deleted file mode 100644
index b38af662c..000000000
--- a/.changeset/real-spies-pretend.md
+++ /dev/null
@@ -1,36 +0,0 @@
----
-'@astrojs/tailwind': major
----
-
-Let the `tailwindcss` PostCSS plugin load its config file itself. This changes the Tailwind config loading behaviour where it is loaded from `process.cwd()` instead of the project `root`.
-
-If your Tailwind config file is not located in the current working directory, you will need to configure the integration's `configFile` option to load from a specific path:
-
-```js
-// astro.config.mjs
-import { defineConfig } from 'astro/config';
-import tailwind from '@astrojs/tailwind';
-import { fileURLToPath } from 'url';
-
-export default defineConfig({
- integrations: [
- tailwind({
- configFile: fileURLToPath(new URL('./tailwind.config.cjs', import.meta.url)),
- }),
- ],
-});
-```
-
-This change also requires a Tailwind config file to exist in your project as a fallback config is no longer provided. It is set up automatically during `astro add tailwind`, but if it does not exist, you can manually create a `tailwind.config.cjs` file in your project root:
-
-```js
-// tailwind.config.cjs
-/** @type {import('tailwindcss').Config} */
-module.exports = {
- content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
- theme: {
- extend: {},
- },
- plugins: [],
-}
-```
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 5f35d1d4f..a8e0d63af 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index f02d4d9d5..f45c0c205 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -14,6 +14,6 @@
"@astrojs/mdx": "^0.19.7",
"@astrojs/rss": "^2.4.3",
"@astrojs/sitemap": "^1.3.3",
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index f5fd04490..5a025c0bc 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
diff --git a/examples/deno/package.json b/examples/deno/package.json
index 243587845..c37cc3e0a 100644
--- a/examples/deno/package.json
+++ b/examples/deno/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
},
"devDependencies": {
- "@astrojs/deno": "^4.1.1"
+ "@astrojs/deno": "^4.2.0"
}
}
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index cc1cc3b5d..685bfc268 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.2.2",
"@types/alpinejs": "^3.7.1",
"alpinejs": "^3.12.0",
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index 7610bf90a..608c5ec7d 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^2.1.0",
"@webcomponents/template-shadowroot": "^0.2.1",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"lit": "^2.7.4"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 5c358a378..8c08f1224 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -16,7 +16,7 @@
"@astrojs/solid-js": "^2.2.0",
"@astrojs/svelte": "^3.0.0",
"@astrojs/vue": "^2.2.1",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"preact": "^10.13.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index f5db19219..5b2b95571 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^2.2.1",
"@preact/signals": "^1.1.3",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"preact": "^10.13.2"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 7c8ea9eb2..ee060886b 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -14,7 +14,7 @@
"@astrojs/react": "^2.2.1",
"@types/react": "^18.2.5",
"@types/react-dom": "^18.2.3",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index b06ad23ce..5015954be 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^2.2.0",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"solid-js": "^1.7.4"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index 86f146fd3..1666ad9e8 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^3.0.0",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"svelte": "^3.58.0"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 2398462a4..509a0b0c6 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^2.2.1",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"vue": "^3.2.47"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index 2077ab4e7..1b0a30b4d 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^5.2.0",
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 28fad4578..ea79e019a 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
diff --git a/examples/middleware/package.json b/examples/middleware/package.json
index 48e3b1131..254cfe336 100644
--- a/examples/middleware/package.json
+++ b/examples/middleware/package.json
@@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^5.2.0",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"html-minifier": "^4.0.0"
}
}
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index 395f66d89..7cf09f3a8 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 5e33bffa1..753cb963d 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 65133a735..8796772e3 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index fd3c02747..127fe6db2 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^5.2.0",
"@astrojs/svelte": "^3.0.0",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"svelte": "^3.58.0"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index 79fc6581a..6673957a5 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.3.3",
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index 21d0fac8d..97e5510a5 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^2.2.1",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"hast-util-select": "^5.0.5",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.1.0",
diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json
index c863aa4b3..a4c0c505d 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^2.6.4"
+ "astro": "^2.6.5"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index 98f1b326c..2a690222f 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^0.19.7",
"@astrojs/preact": "^2.2.1",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"preact": "^10.13.2"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 9e933d6f1..fcb589a9a 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^2.2.1",
"@nanostores/preact": "^0.4.1",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"nanostores": "^0.8.1",
"preact": "^10.13.2"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 4fe651cfd..86d04fde9 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -12,9 +12,9 @@
},
"dependencies": {
"@astrojs/mdx": "^0.19.7",
- "@astrojs/tailwind": "^3.1.3",
+ "@astrojs/tailwind": "^4.0.0",
"@types/canvas-confetti": "^1.6.0",
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"autoprefixer": "^10.4.14",
"canvas-confetti": "^1.6.0",
"postcss": "^8.4.23",
diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json
index 7e6f0edbc..67b475837 100644
--- a/examples/with-vite-plugin-pwa/package.json
+++ b/examples/with-vite-plugin-pwa/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"vite-plugin-pwa": "0.14.7",
"workbox-window": "^6.5.4"
}
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index ac02ea277..a345e81ea 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^2.6.4",
+ "astro": "^2.6.5",
"vitest": "^0.31.0"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index e950af964..d2326efe0 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,13 @@
# astro
+## 2.6.5
+
+### Patch Changes
+
+- [#7414](https://github.com/withastro/astro/pull/7414) [`bb644834e`](https://github.com/withastro/astro/commit/bb644834ef03bc00048c7381f20a1c01388438e2) Thanks [@bluwy](https://github.com/bluwy)! - Simplify telemetry Vite version detection
+
+- [#7399](https://github.com/withastro/astro/pull/7399) [`d2020c29c`](https://github.com/withastro/astro/commit/d2020c29cf285e699f92143a70ffa30a85122bb4) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix edge case where injected routes would cause builds to fail in a PNPM workspace
+
## 2.6.4
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 8aec60cda..0d853bb27 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "2.6.4",
+ "version": "2.6.5",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json
index bf4186d65..73bc57f8b 100644
--- a/packages/integrations/cloudflare/package.json
+++ b/packages/integrations/cloudflare/package.json
@@ -44,7 +44,7 @@
"tiny-glob": "^0.2.9"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4"
+ "astro": "workspace:^2.6.5"
},
"devDependencies": {
"astro": "workspace:*",
diff --git a/packages/integrations/deno/CHANGELOG.md b/packages/integrations/deno/CHANGELOG.md
index e3a51071e..4cf99f142 100644
--- a/packages/integrations/deno/CHANGELOG.md
+++ b/packages/integrations/deno/CHANGELOG.md
@@ -1,5 +1,16 @@
# @astrojs/deno
+## 4.2.0
+
+### Minor Changes
+
+- [#7288](https://github.com/withastro/astro/pull/7288) [`d67ae8461`](https://github.com/withastro/astro/commit/d67ae846103c42ff0464c578813749940326e8ba) Thanks [@lilnasy](https://github.com/lilnasy)! - The deno adapter now supports npm package that require built-in node modules.
+
+### Patch Changes
+
+- Updated dependencies [[`bb644834e`](https://github.com/withastro/astro/commit/bb644834ef03bc00048c7381f20a1c01388438e2), [`d2020c29c`](https://github.com/withastro/astro/commit/d2020c29cf285e699f92143a70ffa30a85122bb4)]:
+ - astro@2.6.5
+
## 4.1.1
### Patch Changes
diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json
index 7d211b42d..0540d103a 100644
--- a/packages/integrations/deno/package.json
+++ b/packages/integrations/deno/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/deno",
"description": "Deploy your site to a Deno server",
- "version": "4.1.1",
+ "version": "4.2.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
@@ -36,7 +36,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4"
+ "astro": "workspace:^2.6.5"
},
"devDependencies": {
"astro": "workspace:*",
diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json
index 28dffe972..d6af7c8ec 100644
--- a/packages/integrations/image/package.json
+++ b/packages/integrations/image/package.json
@@ -62,7 +62,7 @@
"vite": "^4.3.1"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4",
+ "astro": "workspace:^2.6.5",
"sharp": ">=0.31.0"
},
"peerDependenciesMeta": {
diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json
index 47ad27a6d..36756035d 100644
--- a/packages/integrations/markdoc/package.json
+++ b/packages/integrations/markdoc/package.json
@@ -73,7 +73,7 @@
"zod": "^3.17.3"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4"
+ "astro": "workspace:^2.6.5"
},
"devDependencies": {
"@astrojs/markdown-remark": "^2.2.1",
diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json
index 1c1eca5eb..4f4a014b9 100644
--- a/packages/integrations/netlify/package.json
+++ b/packages/integrations/netlify/package.json
@@ -43,7 +43,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4"
+ "astro": "workspace:^2.6.5"
},
"devDependencies": {
"@netlify/edge-functions": "^2.0.0",
diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json
index 9a0812bd8..76525eec1 100644
--- a/packages/integrations/node/package.json
+++ b/packages/integrations/node/package.json
@@ -38,7 +38,7 @@
"server-destroy": "^1.0.1"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4"
+ "astro": "workspace:^2.6.5"
},
"devDependencies": {
"@types/node": "^18.7.21",
diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json
index b039795ab..fd98e3944 100644
--- a/packages/integrations/svelte/package.json
+++ b/packages/integrations/svelte/package.json
@@ -48,7 +48,7 @@
"vite": "^4.3.1"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4",
+ "astro": "workspace:^2.6.5",
"svelte": "^3.55.0"
},
"engines": {
diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md
index 6fff2f2f0..fa55606bc 100644
--- a/packages/integrations/tailwind/CHANGELOG.md
+++ b/packages/integrations/tailwind/CHANGELOG.md
@@ -1,5 +1,68 @@
# @astrojs/tailwind
+## 4.0.0
+
+### Major Changes
+
+- [#7391](https://github.com/withastro/astro/pull/7391) [`556fd694a`](https://github.com/withastro/astro/commit/556fd694a6672572caffce964b852d212d013ac8) Thanks [@bluwy](https://github.com/bluwy)! - Rename options `config.path` to `configFile`, and `config.applyBaseStyles` to `applyBaseStyles`. If you are using these options, you need to migrate to the new names.
+
+ ```diff
+ // astro.config.mjs
+ import { defineConfig } from 'astro/config';
+ import tailwind from '@astrojs/tailwind';
+
+ export default defineConfig({
+ integrations: [
+ tailwind({
+ - config: {
+ - path: '...',
+ - applyBaseStyles: true,
+ - },
+ + configFile: '...',
+ + applyBaseStyles: true,
+ }),
+ ],
+ });
+ ```
+
+- [#6724](https://github.com/withastro/astro/pull/6724) [`3f1cb6b1a`](https://github.com/withastro/astro/commit/3f1cb6b1a001fb03419a313f72c9f4846b890fe0) Thanks [@TomPichaud](https://github.com/TomPichaud)! - Let the `tailwindcss` PostCSS plugin load its config file itself. This changes the Tailwind config loading behaviour where it is loaded from `process.cwd()` instead of the project `root`.
+
+ If your Tailwind config file is not located in the current working directory, you will need to configure the integration's `configFile` option to load from a specific path:
+
+ ```js
+ // astro.config.mjs
+ import { defineConfig } from 'astro/config';
+ import tailwind from '@astrojs/tailwind';
+ import { fileURLToPath } from 'url';
+
+ export default defineConfig({
+ integrations: [
+ tailwind({
+ configFile: fileURLToPath(new URL('./tailwind.config.cjs', import.meta.url)),
+ }),
+ ],
+ });
+ ```
+
+ This change also requires a Tailwind config file to exist in your project as a fallback config is no longer provided. It is set up automatically during `astro add tailwind`, but if it does not exist, you can manually create a `tailwind.config.cjs` file in your project root:
+
+ ```js
+ // tailwind.config.cjs
+ /** @type {import('tailwindcss').Config} */
+ module.exports = {
+ content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
+ theme: {
+ extend: {},
+ },
+ plugins: [],
+ };
+ ```
+
+### Patch Changes
+
+- Updated dependencies [[`bb644834e`](https://github.com/withastro/astro/commit/bb644834ef03bc00048c7381f20a1c01388438e2), [`d2020c29c`](https://github.com/withastro/astro/commit/d2020c29cf285e699f92143a70ffa30a85122bb4)]:
+ - astro@2.6.5
+
## 3.1.3
### Patch Changes
diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json
index e1349e010..4dc78bbf9 100644
--- a/packages/integrations/tailwind/package.json
+++ b/packages/integrations/tailwind/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/tailwind",
"description": "Use Tailwind CSS to style your Astro site",
- "version": "3.1.3",
+ "version": "4.0.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
@@ -43,7 +43,7 @@
"vite": "^4.3.1"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4",
+ "astro": "workspace:^2.6.5",
"tailwindcss": "^3.0.24"
},
"pnpm": {
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index 6fc901dc7..189effdac 100644
--- a/packages/integrations/vercel/package.json
+++ b/packages/integrations/vercel/package.json
@@ -60,7 +60,7 @@
"web-vitals": "^3.1.1"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4"
+ "astro": "workspace:^2.6.5"
},
"devDependencies": {
"@types/set-cookie-parser": "^2.4.2",
diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json
index ca1c8ad3e..a41aaf5a3 100644
--- a/packages/integrations/vue/package.json
+++ b/packages/integrations/vue/package.json
@@ -56,7 +56,7 @@
"vue": "^3.2.37"
},
"peerDependencies": {
- "astro": "workspace:^2.6.4",
+ "astro": "workspace:^2.6.5",
"vue": "^3.2.30"
},
"engines": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 29a708e95..4d3ebec00 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -127,7 +127,7 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/blog:
@@ -142,23 +142,23 @@ importers:
specifier: ^1.3.3
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/deno:
dependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
devDependencies:
'@astrojs/deno':
- specifier: ^4.1.1
+ specifier: ^4.2.0
version: link:../../packages/integrations/deno
examples/framework-alpine:
@@ -173,7 +173,7 @@ importers:
specifier: ^3.12.0
version: 3.12.0
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/framework-lit:
@@ -185,7 +185,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
lit:
specifier: ^2.7.4
@@ -209,7 +209,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/vue
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
preact:
specifier: ^10.13.2
@@ -239,7 +239,7 @@ importers:
specifier: ^1.1.3
version: 1.1.3(preact@10.13.2)
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
preact:
specifier: ^10.13.2
@@ -257,7 +257,7 @@ importers:
specifier: ^18.2.3
version: 18.2.3
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
react:
specifier: ^18.2.0
@@ -272,7 +272,7 @@ importers:
specifier: ^2.2.0
version: link:../../packages/integrations/solid
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
solid-js:
specifier: ^1.7.4
@@ -284,7 +284,7 @@ importers:
specifier: ^3.0.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
svelte:
specifier: ^3.58.0
@@ -296,7 +296,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/vue
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
vue:
specifier: ^3.2.47
@@ -308,13 +308,13 @@ importers:
specifier: ^5.2.0
version: link:../../packages/integrations/node
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/middleware:
@@ -323,7 +323,7 @@ importers:
specifier: ^5.2.0
version: link:../../packages/integrations/node
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@@ -332,19 +332,19 @@ importers:
examples/minimal:
dependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/ssr:
@@ -356,7 +356,7 @@ importers:
specifier: ^3.0.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
svelte:
specifier: ^3.58.0
@@ -368,7 +368,7 @@ importers:
specifier: ^0.3.3
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/with-markdown-plugins:
@@ -377,7 +377,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/markdown/remark
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
hast-util-select:
specifier: ^5.0.5
@@ -398,7 +398,7 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
examples/with-mdx:
@@ -410,7 +410,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/preact
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
preact:
specifier: ^10.13.2
@@ -425,7 +425,7 @@ importers:
specifier: ^0.4.1
version: 0.4.1(nanostores@0.8.1)(preact@10.13.2)
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
nanostores:
specifier: ^0.8.1
@@ -440,13 +440,13 @@ importers:
specifier: ^0.19.7
version: link:../../packages/integrations/mdx
'@astrojs/tailwind':
- specifier: ^3.1.3
+ specifier: ^4.0.0
version: link:../../packages/integrations/tailwind
'@types/canvas-confetti':
specifier: ^1.6.0
version: 1.6.0
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.14
@@ -464,7 +464,7 @@ importers:
examples/with-vite-plugin-pwa:
dependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
vite-plugin-pwa:
specifier: 0.14.7
@@ -476,7 +476,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^2.6.4
+ specifier: ^2.6.5
version: link:../../packages/astro
vitest:
specifier: ^0.31.0