From 8b7220f5e47782bcb1713479fd829a1dfc9fff6d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 28 Mar 2022 16:52:23 -0400 Subject: [PATCH] [ci] release (#2919) Co-authored-by: github-actions[bot] --- .changeset/tiny-snails-grab.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/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/integrations-playground/package.json | 2 +- examples/minimal/package.json | 2 +- examples/non-html-pages/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 | 70 ++++++++++--------- packages/astro/package.json | 2 +- pnpm-lock.yaml | 54 +++++++------- 31 files changed, 93 insertions(+), 92 deletions(-) delete mode 100644 .changeset/tiny-snails-grab.md diff --git a/.changeset/tiny-snails-grab.md b/.changeset/tiny-snails-grab.md deleted file mode 100644 index 2f7d50651..000000000 --- a/.changeset/tiny-snails-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Prevent CSS from being added to the wrong pages diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index a4fe9ae2a..26a149981 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.2", - "astro": "^0.25.2", + "astro": "^0.25.3", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/blog/package.json b/examples/blog/package.json index 6ec109958..2aa6de6fb 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.2", + "astro": "^0.25.3", "@astrojs/preact": "^0.0.2" }, "dependencies": { diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index fbac5dabc..a327d59cf 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index d1e046117..665cd0667 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --project-root demo preview" }, "devDependencies": { - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index b3d46d8b4..3529de1c7 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -20,6 +20,6 @@ "devDependencies": { "@astrojs/preact": "^0.0.2", "@astrojs/react": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 98c46b1fa..1d934f60e 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index df93e5aaa..89ce3a5d9 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 0ddf30351..d2c789019 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/lit": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 56aee2241..cf7162a5e 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -15,7 +15,7 @@ "@astrojs/solid-js": "^0.0.3", "@astrojs/svelte": "^0.0.2", "@astrojs/vue": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 9ef56e4f2..1f10b5bc2 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "preact": "^10.6.6" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 6670cefda..030c7fc88 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "react": "^17.0.2", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index a23efdc99..a75ca71b1 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.0.3", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "solid-js": "^1.3.13" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 7b87d3dc6..942099309 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "svelte": "^3.46.4" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index fefbf95a8..ecd829b5e 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/vue": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "vue": "^3.2.31" diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index e1bfe0a32..ada918853 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -15,7 +15,7 @@ "@astrojs/sitemap": "^0.0.2", "@astrojs/tailwind": "^0.0.2", "@astrojs/turbolinks": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 434f6c7a8..cecbf5c5f 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 5e68a70a9..6cbfb1568 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.25.2" + "astro": "^0.25.3" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index f666b225a..35bdca866 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.2", - "astro": "^0.25.2", + "astro": "^0.25.3", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 283bcf296..884a18a54 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@astrojs/svelte": "^0.0.2", "@astrojs/node": "^0.0.2", - "astro": "^0.25.2", + "astro": "^0.25.3", "concurrently": "^7.0.0", "lightcookie": "^1.0.25", "unocss": "^0.15.6", diff --git a/examples/starter/package.json b/examples/starter/package.json index ff451d99d..0fff1a509 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 5135d73b7..cc4c33c3c 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.0.2", - "astro": "^0.25.2", + "astro": "^0.25.3", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 78bb78e2e..52495596a 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.7.0", - "astro": "^0.25.2", + "astro": "^0.25.3", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.1", "rehype-slug": "^5.0.1", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index bd7b55130..c1feb2baa 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.7.0", - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 990cc34f8..3f2e894a3 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^0.0.2", "@astrojs/svelte": "^0.0.2", "@astrojs/vue": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" }, "dependencies": { "preact": "^10.6.6", diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 291bd5a73..5bfc50268 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -25,6 +25,6 @@ "@astrojs/solid-js": "^0.0.3", "@astrojs/svelte": "^0.0.2", "@astrojs/vue": "^0.0.2", - "astro": "^0.25.2" + "astro": "^0.25.3" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 071703164..8b48d6084 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^0.0.2", - "astro": "^0.25.2", + "astro": "^0.25.3", "autoprefixer": "^10.4.4", "canvas-confetti": "^1.5.1", "postcss": "^8.4.12", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 8fd4c2cf5..47051bf98 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.25.2", + "astro": "^0.25.3", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.2" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 8acbd6eef..64d945c28 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 0.25.3 + +### Patch Changes + +- [#2918](https://github.com/withastro/astro/pull/2918) [`77354c89`](https://github.com/withastro/astro/commit/77354c89bd606beba71231cce6ce935905de68a7) Thanks [@matthewp](https://github.com/matthewp)! - Prevent CSS from being added to the wrong pages + ## 0.25.2 ### Patch Changes @@ -41,7 +47,7 @@ import netlify from '@astrojs/netlify/functions'; export default defineConfig({ - adapter: netlify(), + adapter: netlify(), }); ``` @@ -61,7 +67,7 @@ import nodejs from '@astrojs/node'; export default { - adapter: nodejs(), + adapter: nodejs(), }; ``` @@ -121,7 +127,7 @@ import nodejs from '@astrojs/node'; export default { - adapter: nodejs(), + adapter: nodejs(), }; ``` @@ -217,7 +223,7 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ - renderers: [], + renderers: [], }); ``` @@ -255,9 +261,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -277,7 +283,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -361,7 +367,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -385,9 +391,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -499,12 +505,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/', + }), + }; } ``` @@ -666,12 +672,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/', + }), + }; } ``` @@ -2026,10 +2032,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' }]], + }, }; ``` @@ -2049,10 +2055,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 83e49b902..a071e3149 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.25.2", + "version": "0.25.3", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 87511babc..b83cc73b1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,7 +44,7 @@ importers: examples/blog: specifiers: '@astrojs/preact': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 preact: ^10.6.6 dependencies: preact: 10.6.6 @@ -55,7 +55,7 @@ importers: examples/blog-multiple-authors: specifiers: '@astrojs/preact': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 preact: ^10.6.6 sass: ^1.49.9 dependencies: @@ -67,14 +67,14 @@ importers: examples/component: specifiers: - astro: ^0.25.2 + astro: ^0.25.3 devDependencies: astro: link:../../packages/astro examples/component/demo: specifiers: '@example/my-component': workspace:* - astro: ^0.25.2 + astro: ^0.25.3 devDependencies: '@example/my-component': link:../packages/my-component astro: link:../../../packages/astro @@ -90,7 +90,7 @@ importers: '@docsearch/css': ^3.0.0 '@docsearch/react': ^3.0.0 '@types/react': ^17.0.43 - astro: ^0.25.2 + astro: ^0.25.3 preact: ^10.6.6 react: ^17.0.2 react-dom: ^17.0.2 @@ -109,13 +109,13 @@ importers: examples/env-vars: specifiers: - astro: ^0.25.2 + astro: ^0.25.3 devDependencies: astro: link:../../packages/astro examples/framework-alpine: specifiers: - astro: ^0.25.2 + astro: ^0.25.3 devDependencies: astro: link:../../packages/astro @@ -123,7 +123,7 @@ importers: specifiers: '@astrojs/lit': ^0.0.2 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.2 + astro: ^0.25.3 lit: ^2.2.1 dependencies: '@webcomponents/template-shadowroot': 0.1.0 @@ -141,7 +141,7 @@ importers: '@astrojs/svelte': ^0.0.2 '@astrojs/vue': ^0.0.2 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.2 + astro: ^0.25.3 lit: ^2.2.1 preact: ^10.6.6 react: ^17.0.2 @@ -170,7 +170,7 @@ importers: examples/framework-preact: specifiers: '@astrojs/preact': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 preact: ^10.6.6 dependencies: preact: 10.6.6 @@ -181,7 +181,7 @@ importers: examples/framework-react: specifiers: '@astrojs/react': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 react: ^17.0.2 react-dom: ^17.0.2 dependencies: @@ -194,7 +194,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^0.0.3 - astro: ^0.25.2 + astro: ^0.25.3 solid-js: ^1.3.13 dependencies: solid-js: 1.3.13 @@ -205,7 +205,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 svelte: ^3.46.4 dependencies: svelte: 3.46.4 @@ -216,7 +216,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 vue: ^3.2.31 dependencies: vue: 3.2.31 @@ -233,7 +233,7 @@ importers: '@astrojs/tailwind': ^0.0.2 '@astrojs/turbolinks': ^0.0.2 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.2 + astro: ^0.25.3 lit: ^2.2.1 preact: ^10.6.6 react: ^17.0.2 @@ -261,20 +261,20 @@ importers: examples/minimal: specifiers: - astro: ^0.25.2 + astro: ^0.25.3 devDependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^0.25.2 + astro: ^0.25.3 devDependencies: astro: link:../../packages/astro examples/portfolio: specifiers: '@astrojs/preact': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 preact: ^10.6.6 sass: ^1.49.9 dependencies: @@ -288,7 +288,7 @@ importers: specifiers: '@astrojs/node': ^0.0.2 '@astrojs/svelte': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 concurrently: ^7.0.0 lightcookie: ^1.0.25 svelte: ^3.46.4 @@ -307,14 +307,14 @@ importers: examples/starter: specifiers: - astro: ^0.25.2 + astro: ^0.25.3 devDependencies: astro: link:../../packages/astro examples/subpath: specifiers: '@astrojs/react': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 react: ^17.0.2 react-dom: ^17.0.2 sass: ^1.49.9 @@ -333,7 +333,7 @@ importers: '@astrojs/react': ^0.0.2 '@astrojs/svelte': ^0.0.2 '@astrojs/vue': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 preact: ^10.6.6 react: ^17.0.2 react-dom: ^17.0.2 @@ -356,7 +356,7 @@ importers: examples/with-markdown-plugins: specifiers: '@astrojs/markdown-remark': ^0.7.0 - astro: ^0.25.2 + astro: ^0.25.3 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -374,7 +374,7 @@ importers: examples/with-markdown-shiki: specifiers: '@astrojs/markdown-remark': ^0.7.0 - astro: ^0.25.2 + astro: ^0.25.3 devDependencies: '@astrojs/markdown-remark': link:../../packages/markdown/remark astro: link:../../packages/astro @@ -389,7 +389,7 @@ importers: '@nanostores/preact': ^0.1.3 '@nanostores/react': ^0.1.5 '@nanostores/vue': ^0.4.1 - astro: ^0.25.2 + astro: ^0.25.3 nanostores: ^0.5.12 preact: ^10.6.6 react: ^17.0.2 @@ -417,7 +417,7 @@ importers: examples/with-tailwindcss: specifiers: '@astrojs/tailwind': ^0.0.2 - astro: ^0.25.2 + astro: ^0.25.3 autoprefixer: ^10.4.4 canvas-confetti: ^1.5.1 postcss: ^8.4.12 @@ -432,7 +432,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^0.25.2 + astro: ^0.25.3 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.2 devDependencies: