From c0a6e3e80a7b4beb8a76ec5b50d70811393b7aba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 25 Feb 2022 17:29:08 -0600 Subject: [PATCH] [ci] release (#2666) Co-authored-by: github-actions[bot] --- .changeset/dry-geese-speak.md | 5 --- .changeset/lovely-lies-dress.md | 5 --- examples/blog-multiple-authors/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/demo/package.json | 2 +- examples/component/package.json | 2 +- examples/docs/package.json | 2 +- examples/env-vars/package.json | 2 +- examples/fast-build/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 2 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio-svelte/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 2 +- examples/starter/package.json | 2 +- examples/subpath/package.json | 2 +- examples/with-markdown-plugins/package.json | 2 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-markdown/package.json | 2 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vite-plugin-pwa/package.json | 2 +- packages/astro/CHANGELOG.md | 48 ++++++++++++--------- packages/astro/package.json | 2 +- 32 files changed, 57 insertions(+), 59 deletions(-) delete mode 100644 .changeset/dry-geese-speak.md delete mode 100644 .changeset/lovely-lies-dress.md diff --git a/.changeset/dry-geese-speak.md b/.changeset/dry-geese-speak.md deleted file mode 100644 index 6b4f1d709..000000000 --- a/.changeset/dry-geese-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve compatability with third-party Astro packages diff --git a/.changeset/lovely-lies-dress.md b/.changeset/lovely-lies-dress.md deleted file mode 100644 index 9e982c8ce..000000000 --- a/.changeset/lovely-lies-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -fix astro scoping of "@import" inside of style tags diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index db5abe216..6be98433f 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1", + "astro": "^0.23.2", "sass": "^1.49.8" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index a2c5539bd..5b4c73ac1 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 89c43e89d..6182a4b8d 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index f16dbc36e..15854fcf5 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -12,6 +12,6 @@ "serve": "astro --project-root demo preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index aa1f2a501..9fc608fb9 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,6 +12,6 @@ "@docsearch/react": "^1.0.0-alpha.28" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index f4f8e3391..909928449 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/fast-build/package.json b/examples/fast-build/package.json index a769fd1c7..660a1aeb5 100644 --- a/examples/fast-build/package.json +++ b/examples/fast-build/package.json @@ -10,7 +10,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1", + "astro": "^0.23.2", "preact": "~10.6.5", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 791e9a7f0..2de6d3ced 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index c372512b0..1275c5efd 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-lit": "^0.4.0", - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index d49e60724..7a0290074 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0", - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 3e362780f..fa59c96da 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 1e84e84e5..e2ed1260d 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 60ad3d511..5a81465f3 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0", - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 824c0c309..7f6cd170c 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 39e8d4151..cea9acb9d 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 39539e6ee..c1928559d 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index dd789703d..a63925e32 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.0-next.10" + "astro": "^0.23.2" } } diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json index 960a7a9bc..1cc8629ff 100644 --- a/examples/portfolio-svelte/package.json +++ b/examples/portfolio-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index cc895bfde..7eb70c1cf 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 440ab7c26..586b0a0fc 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,7 +11,7 @@ "server": "node server/server.mjs" }, "devDependencies": { - "astro": "^0.23.1", + "astro": "^0.23.2", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" }, diff --git a/examples/starter/package.json b/examples/starter/package.json index 182f7c8b0..af9dc745a 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index f766370db..354737b84 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 4eabf234d..e8b0e60fe 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1", + "astro": "^0.23.2", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.0", "rehype-slug": "^5.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 6a4c85b9c..f05245d66 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 597e95b9c..d95b12b86 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index de1e15d9e..68d461c17 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -17,6 +17,6 @@ }, "devDependencies": { "@astrojs/renderer-solid": "^0.4.0", - "astro": "^0.23.1" + "astro": "^0.23.2" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index f214dc981..6699dd907 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1", + "astro": "^0.23.2", "autoprefixer": "^10.4.0", "tailwindcss": "^3.0.5" } diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index bb06172b6..0000b5784 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.1", + "astro": "^0.23.2", "vite-plugin-pwa": "0.11.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 24be5b530..8c1253524 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,13 @@ # astro +## 0.23.2 + +### Patch Changes + +- [#2665](https://github.com/withastro/astro/pull/2665) [`0494f74e`](https://github.com/withastro/astro/commit/0494f74e4e95e0840a6cb05d3fd0eea785d8db90) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Improve compatability with third-party Astro packages + +* [#2656](https://github.com/withastro/astro/pull/2656) [`fca64073`](https://github.com/withastro/astro/commit/fca6407318f7f189fb65f096f8166b85a322efda) Thanks [@FredKSchott](https://github.com/FredKSchott)! - fix astro scoping of "@import" inside of style tags + ## 0.23.1 ### Patch Changes @@ -46,12 +54,12 @@ ```typescript // src/pages/company.json.ts export async function get() { - return { - body: JSON.stringify({ - name: 'Astro Technology Company', - url: 'https://astro.build/', - }), - }; + return { + body: JSON.stringify({ + name: 'Astro Technology Company', + url: 'https://astro.build/', + }), + }; } ``` @@ -213,12 +221,12 @@ ```typescript // src/pages/company.json.ts export async function get() { - return { - body: JSON.stringify({ - name: 'Astro Technology Company', - url: 'https://astro.build/', - }), - }; + return { + body: JSON.stringify({ + name: 'Astro Technology Company', + url: 'https://astro.build/', + }), + }; } ``` @@ -1573,10 +1581,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve ```js export default { - markdownOptions: { - remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], - rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], - }, + markdownOptions: { + remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], + rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], + }, }; ``` @@ -1596,10 +1604,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve ```js export default { - name: '@matthewp/my-renderer', - server: './server.js', - client: './client.js', - hydrationPolyfills: ['./my-polyfill.js'], + name: '@matthewp/my-renderer', + server: './server.js', + client: './client.js', + hydrationPolyfills: ['./my-polyfill.js'], }; ``` diff --git a/packages/astro/package.json b/packages/astro/package.json index 24261742c..d416c3a37 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.23.1", + "version": "0.23.2", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro",