[ci] release (#7390)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Houston (Bot) 2023-06-19 08:36:45 -07:00 committed by GitHub
parent bb644834ef
commit f87680f6df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 153 additions and 146 deletions

View file

@ -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,
}),
],
});
```

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Simplify telemetry Vite version detection

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fix edge case where injected routes would cause builds to fail in a PNPM workspace

View file

@ -1,5 +0,0 @@
---
'@astrojs/deno': minor
---
The deno adapter now supports npm package that require built-in node modules.

View file

@ -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: [],
}
```

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.6.4"
"astro": "^2.6.5"
}
}

View file

@ -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"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.6.4"
"astro": "^2.6.5"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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",

View file

@ -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"
}
}

View file

@ -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"
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^2.2.0",
"astro": "^2.6.4",
"astro": "^2.6.5",
"solid-js": "^1.7.4"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^3.0.0",
"astro": "^2.6.4",
"astro": "^2.6.5",
"svelte": "^3.58.0"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^2.2.1",
"astro": "^2.6.4",
"astro": "^2.6.5",
"vue": "^3.2.47"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^5.2.0",
"astro": "^2.6.4"
"astro": "^2.6.5"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.6.4"
"astro": "^2.6.5"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"

View file

@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^5.2.0",
"astro": "^2.6.4",
"astro": "^2.6.5",
"html-minifier": "^4.0.0"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.6.4"
"astro": "^2.6.5"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.6.4"
"astro": "^2.6.5"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.6.4"
"astro": "^2.6.5"
}
}

View file

@ -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"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.3.3",
"astro": "^2.6.4"
"astro": "^2.6.5"
}
}

View file

@ -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",

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.6.4"
"astro": "^2.6.5"
}
}

View file

@ -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"
}
}

View file

@ -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"
}

View file

@ -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",

View file

@ -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"
}

View file

@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^2.6.4",
"astro": "^2.6.5",
"vitest": "^0.31.0"
}
}

View file

@ -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

View file

@ -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",

View file

@ -44,7 +44,7 @@
"tiny-glob": "^0.2.9"
},
"peerDependencies": {
"astro": "workspace:^2.6.4"
"astro": "workspace:^2.6.5"
},
"devDependencies": {
"astro": "workspace:*",

View file

@ -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

View file

@ -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:*",

View file

@ -62,7 +62,7 @@
"vite": "^4.3.1"
},
"peerDependencies": {
"astro": "workspace:^2.6.4",
"astro": "workspace:^2.6.5",
"sharp": ">=0.31.0"
},
"peerDependenciesMeta": {

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -48,7 +48,7 @@
"vite": "^4.3.1"
},
"peerDependencies": {
"astro": "workspace:^2.6.4",
"astro": "workspace:^2.6.5",
"svelte": "^3.55.0"
},
"engines": {

View file

@ -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

View file

@ -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": {

View file

@ -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",

View file

@ -56,7 +56,7 @@
"vue": "^3.2.37"
},
"peerDependencies": {
"astro": "workspace:^2.6.4",
"astro": "workspace:^2.6.5",
"vue": "^3.2.30"
},
"engines": {

View file

@ -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