diff --git a/.changeset/wet-knives-raise.md b/.changeset/wet-knives-raise.md deleted file mode 100644 index 9a0b1acc2c545..0000000000000 --- a/.changeset/wet-knives-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix issue where HMR could be triggered during `astro build` diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index c8b56ca1ff59b..58d411eb852be 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.3", + "astro": "^0.23.4", "sass": "^1.49.8" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index bcc854f14070e..8e8d211ccfdb4 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 7154d01671009..e92a317cdd33d 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/component/package.json b/examples/component/package.json index 259f6db062090..455c5c206e891 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.3" + "astro": "^0.23.4" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index c6b3f13304582..6c3e285c305b8 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.3" + "astro": "^0.23.4" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 466ed93268125..ced94f9a42507 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/fast-build/package.json b/examples/fast-build/package.json index 104db25126143..18c29a8887bde 100644 --- a/examples/fast-build/package.json +++ b/examples/fast-build/package.json @@ -10,7 +10,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3", + "astro": "^0.23.4", "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 b6c1657badca7..b5493cc2ee1ea 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index c21a80d3d605e..c2eac44cf15a0 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.3" + "astro": "^0.23.4" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 23deb45ae6bec..1c61cf89a4dc6 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.3" + "astro": "^0.23.4" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index d33b8c571133d..0d60b5cb5c888 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 0aa9c66d107dc..69d6eb40a518e 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 6dd380421b668..b4ddd116d1826 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.3" + "astro": "^0.23.4" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index a3b9a2c392d65..a0973f3d854dc 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index f624272cd2f9a..d2ef5c6708766 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 10fa6ada957c7..ee36b904d13f0 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 80403b325dd41..d3646031b1c1e 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.3" + "astro": "^0.23.4" } } diff --git a/examples/portfolio-svelte/package.json b/examples/portfolio-svelte/package.json index 689efa71b84b7..8f259fe428434 100644 --- a/examples/portfolio-svelte/package.json +++ b/examples/portfolio-svelte/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 79b91bd80c3f1..b793ff6e39f9a 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 659f730f66e38..971f4446b5942 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,7 +11,7 @@ "server": "node server/server.mjs" }, "devDependencies": { - "astro": "^0.23.3", + "astro": "^0.23.4", "unocss": "^0.15.5", "vite-imagetools": "^4.0.1" }, diff --git a/examples/starter/package.json b/examples/starter/package.json index 6e656672d297f..225a6b6d132b7 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 86f807248d1db..e3e0c70ba7bf6 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index a81b4586e3186..1975e068236ab 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.3", + "astro": "^0.23.4", "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 fd823b1c1cac6..659087ccd3343 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.3" + "astro": "^0.23.4" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index e09a78826b934..c90c72366b887 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3" + "astro": "^0.23.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 0dc1e27ae4709..ae6a4db2cc2b5 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.3" + "astro": "^0.23.4" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 05719fac4a7be..65bc686724408 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.23.3", + "astro": "^0.23.4", "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 e81f9d18cb324..3b161b7bb7575 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.3", + "astro": "^0.23.4", "vite-plugin-pwa": "0.11.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 8b71282fe0177..fb5da6933555c 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 0.23.4 + +### Patch Changes + +- [#2684](https://github.com/withastro/astro/pull/2684) [`c7bbb112`](https://github.com/withastro/astro/commit/c7bbb1128936207164cb5ac0c0ad9b1af86d861e) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix issue where HMR could be triggered during `astro build` + ## 0.23.3 ### Patch Changes @@ -60,12 +66,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/', + }), + }; } ``` @@ -227,12 +233,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/', + }), + }; } ``` @@ -1587,10 +1593,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' }]], + }, }; ``` @@ -1610,10 +1616,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 697d3805f1aff..30e58e763728b 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.23.3", + "version": "0.23.4", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/smoke/astro.build-main/package.json b/smoke/astro.build-main/package.json index dd6f3c6fa05eb..75f4689fd18b5 100644 --- a/smoke/astro.build-main/package.json +++ b/smoke/astro.build-main/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@tailwindcss/aspect-ratio": "^0.4.0", "@tailwindcss/typography": "^0.5.2", - "astro": "0.23.3", + "astro": "0.23.4", "astro-icon": "^0.6.0", "autoprefixer": "^10.4.2", "postcss": "^8.4.7", diff --git a/smoke/docs-main/package.json b/smoke/docs-main/package.json index 0f7c92816cf81..735c79c1b113e 100644 --- a/smoke/docs-main/package.json +++ b/smoke/docs-main/package.json @@ -17,7 +17,7 @@ "lint:linkcheck:remote": "blc -ro --user-agent 'broken-link-checker/0.7.8' 'https://docs.astro.build/'" }, "devDependencies": { - "astro": "0.23.3", + "astro": "0.23.4", "broken-link-checker": "^0.7.8", "npm-run-all": "^4.1.5", "pa11y-ci": "^3.0.1",