diff --git a/.changeset/pre.json b/.changeset/pre.json index 6ace569ca..389e6f780 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -60,6 +60,7 @@ "eighty-trees-thank", "fuzzy-lies-nail", "lemon-needles-count", + "moody-trees-allow", "silent-walls-tan", "spotty-houses-stare" ] diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index a43082025..26277fb7e 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.1", - "astro": "^0.25.0-next.0", + "astro": "^0.25.0-next.1", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/blog/package.json b/examples/blog/package.json index 2ba6740f3..2fa4136cf 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.0", + "astro": "^0.25.0-next.1", "@astrojs/preact": "^0.0.1" }, "dependencies": { diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 12082bd4b..dd134d064 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.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/component/package.json b/examples/component/package.json index 2eb8f6839..eb089aa8e 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.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 6e02cb255..bfbf8c7b5 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -20,6 +20,6 @@ "devDependencies": { "@astrojs/preact": "^0.0.1", "@astrojs/react": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 1856195b0..35f6a52ef 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index a0f32c771..902c0b9d3 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index d63b6fbf8..8a5ada3b9 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/lit": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index fb1c0b4c0..0167d61e8 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -15,7 +15,7 @@ "@astrojs/solid-js": "^0.0.1", "@astrojs/svelte": "^0.0.1", "@astrojs/vue": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index e7e092e36..2a438d06c 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "preact": "^10.6.6" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 43481f330..f92667ea3 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "react": "^17.0.2", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index b6f4feefb..d726046e7 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "solid-js": "^1.3.6" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index f1d5b1ec7..7b9d2b25b 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "svelte": "^3.46.4" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index b215f7b37..e5b5e13f1 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/vue": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "vue": "^3.2.30" diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index 77b4d6e4f..f6825c0d0 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -15,7 +15,7 @@ "@astrojs/sitemap": "^0.0.1", "@astrojs/tailwind": "^0.0.1", "@astrojs/turbolinks": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/minimal/package.json b/examples/minimal/package.json index cd8e8a15a..19ede91e5 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 31f1c3641..b945a26bb 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.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 5b6790371..0f032df7d 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.1", - "astro": "^0.25.0-next.0", + "astro": "^0.25.0-next.1", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index a7b4bacd0..6fcee773d 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.1", - "astro": "^0.25.0-next.0", + "astro": "^0.25.0-next.1", "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 ed30d6076..63193dc1f 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 8c3283e5a..0abe3a645 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.0.1", - "astro": "^0.25.0-next.0", + "astro": "^0.25.0-next.1", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 1aef72672..217c8bfd8 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-next.0", - "astro": "^0.25.0-next.0", + "astro": "^0.25.0-next.1", "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 3246a1d24..79cdb1f4c 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-next.0", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 6b4bef816..3d7a61e2a 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^0.0.1", "@astrojs/svelte": "^0.0.1", "@astrojs/vue": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" }, "dependencies": { "preact": "^10.6.6", diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index b18af1fe8..e344c8113 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -25,6 +25,6 @@ "@astrojs/solid-js": "^0.0.1", "@astrojs/svelte": "^0.0.1", "@astrojs/vue": "^0.0.1", - "astro": "^0.25.0-next.0" + "astro": "^0.25.0-next.1" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 3ea00b08d..a0309972f 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^0.0.1", - "astro": "^0.25.0-next.0", + "astro": "^0.25.0-next.1", "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 754fc5df3..d4b3b7cd6 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.0-next.0", + "astro": "^0.25.0-next.1", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.1" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 3058be31d..b5912b888 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 0.25.0-next.1 + +### Patch Changes + +- [#2835](https://github.com/withastro/astro/pull/2835) [`77ebab8b`](https://github.com/withastro/astro/commit/77ebab8bb27d67bc45a5af160d6b545521897802) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix missing `postcss-load-config` dependency + ## 0.25.0-next.0 ### Minor Changes @@ -46,7 +52,7 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ - renderers: [], + renderers: [], }); ``` @@ -84,9 +90,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -106,7 +112,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -190,7 +196,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -214,9 +220,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -328,12 +334,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/', + }), + }; } ``` @@ -495,12 +501,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/', + }), + }; } ``` @@ -1855,10 +1861,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' }]], + }, }; ``` @@ -1878,10 +1884,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 cf1c935b3..b29392ce9 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.25.0-next.0", + "version": "0.25.0-next.1", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro",