diff --git a/.changeset/pre.json b/.changeset/pre.json index cc8a9e08c8436..f1b0347e23fb4 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -54,9 +54,12 @@ "@astrojs/renderer-vue": "0.4.0", "@astrojs/webapi": "0.11.0", "astro-scripts": "0.0.2", - "@astrojs/node": "0.0.1" + "@astrojs/node": "0.0.1", + "@astrojs/netlify": "0.0.1" }, "changesets": [ + "blue-rocks-smoke", + "brave-rings-jump", "cyan-pigs-ring", "eighty-trees-thank", "forty-badgers-relate", @@ -74,6 +77,7 @@ "small-horses-protect", "spotty-houses-stare", "strong-bears-knock", + "swift-pets-lick", "tidy-jobs-beg", "twenty-kiwis-tease", "wise-garlics-bathe" diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index ebf45fb34a546..213a8a6fd7605 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/preact": "^0.0.2-next.1", - "astro": "^0.25.0-next.3", + "@astrojs/preact": "^0.0.2-next.2", + "astro": "^0.25.0-next.4", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/blog/package.json b/examples/blog/package.json index 85cdec5fd20d9..ffdcbff283409 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.3", - "@astrojs/preact": "^0.0.2-next.1" + "astro": "^0.25.0-next.4", + "@astrojs/preact": "^0.0.2-next.2" }, "dependencies": { "preact": "^10.6.6" diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 3532933a15f82..9a688d524a8d1 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.3" + "astro": "^0.25.0-next.4" } } diff --git a/examples/component/package.json b/examples/component/package.json index 12f29621e00c5..7adcd3229263c 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.3" + "astro": "^0.25.0-next.4" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 8bf287c9ac6bb..dc3bac0ca765e 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -18,8 +18,8 @@ "react-dom": "^17.0.2" }, "devDependencies": { - "@astrojs/preact": "^0.0.2-next.1", - "@astrojs/react": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/preact": "^0.0.2-next.2", + "@astrojs/react": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 2cc5a5609e31c..f5e8590ec6817 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.3" + "astro": "^0.25.0-next.4" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 2f794d7006f0e..57d97c9b325e8 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.3" + "astro": "^0.25.0-next.4" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 151a77bf1439c..f78770fd7e21a 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/lit": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/lit": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index d6ba15f85e6f7..2e4908e497dea 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -9,13 +9,13 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/lit": "^0.0.2-next.0", - "@astrojs/preact": "^0.0.2-next.1", - "@astrojs/react": "^0.0.2-next.0", - "@astrojs/solid-js": "^0.0.2-next.0", - "@astrojs/svelte": "^0.0.2-next.0", - "@astrojs/vue": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/lit": "^0.0.2-next.1", + "@astrojs/preact": "^0.0.2-next.2", + "@astrojs/react": "^0.0.2-next.1", + "@astrojs/solid-js": "^0.0.2-next.1", + "@astrojs/svelte": "^0.0.2-next.1", + "@astrojs/vue": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 14bf251cfd57a..d0bfe90c95a07 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/preact": "^0.0.2-next.1", - "astro": "^0.25.0-next.3" + "@astrojs/preact": "^0.0.2-next.2", + "astro": "^0.25.0-next.4" }, "dependencies": { "preact": "^10.6.6" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 4fed296227998..87ed2cf25587d 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/react": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/react": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" }, "dependencies": { "react": "^17.0.2", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index c64629dfe30fc..099948087ac8a 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/solid-js": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/solid-js": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" }, "dependencies": { "solid-js": "^1.3.13" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 803bd849a6ec2..d9b99ebd452c4 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/svelte": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/svelte": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" }, "dependencies": { "svelte": "^3.46.4" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 644904dd7416b..9b4ea707af918 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/vue": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/vue": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" }, "dependencies": { "vue": "^3.2.31" diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index 814beecf8da4b..c0f8cd216c706 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -9,13 +9,13 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/lit": "^0.0.2-next.0", - "@astrojs/partytown": "^0.0.2-next.0", - "@astrojs/react": "^0.0.2-next.0", - "@astrojs/sitemap": "^0.0.2-next.0", - "@astrojs/tailwind": "^0.0.2-next.0", - "@astrojs/turbolinks": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/lit": "^0.0.2-next.1", + "@astrojs/partytown": "^0.0.2-next.1", + "@astrojs/react": "^0.0.2-next.1", + "@astrojs/sitemap": "^0.0.2-next.1", + "@astrojs/tailwind": "^0.0.2-next.1", + "@astrojs/turbolinks": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 413db1f072e20..9d6db26ee4a9e 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.3" + "astro": "^0.25.0-next.4" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 7d6dcdc4f1051..6023ab6135aec 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.3" + "astro": "^0.25.0-next.4" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 524ae0f087f96..5c8fe3e9f610b 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/preact": "^0.0.2-next.1", - "astro": "^0.25.0-next.3", + "@astrojs/preact": "^0.0.2-next.2", + "astro": "^0.25.0-next.4", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 240157e475347..916efe9b3d656 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,9 +11,9 @@ "server": "node server/server.mjs" }, "devDependencies": { - "@astrojs/svelte": "^0.0.2-next.0", - "@astrojs/node": "^0.0.2-next.0", - "astro": "^0.25.0-next.3", + "@astrojs/svelte": "^0.0.2-next.1", + "@astrojs/node": "^0.0.2-next.1", + "astro": "^0.25.0-next.4", "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 6352ed9703db5..9a604db80aff7 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.3" + "astro": "^0.25.0-next.4" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 9e5c6cd4d7af4..174c893a2df32 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/react": "^0.0.2-next.0", - "astro": "^0.25.0-next.3", + "@astrojs/react": "^0.0.2-next.1", + "astro": "^0.25.0-next.4", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 846f6eca3df93..88a5135a90d6b 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.1", - "astro": "^0.25.0-next.3", + "astro": "^0.25.0-next.4", "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 4b5ef7028939c..8965a6f12a681 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.1", - "astro": "^0.25.0-next.3" + "astro": "^0.25.0-next.4" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index af1805489ff0e..a9c2ef50c06a9 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -10,11 +10,11 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.7.0-next.1", - "@astrojs/preact": "^0.0.2-next.1", - "@astrojs/react": "^0.0.2-next.0", - "@astrojs/svelte": "^0.0.2-next.0", - "@astrojs/vue": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/preact": "^0.0.2-next.2", + "@astrojs/react": "^0.0.2-next.1", + "@astrojs/svelte": "^0.0.2-next.1", + "@astrojs/vue": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" }, "dependencies": { "preact": "^10.6.6", diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 79fa7708d2002..567349ac3911a 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -20,11 +20,11 @@ "vue": "^3.2.31" }, "devDependencies": { - "@astrojs/preact": "^0.0.2-next.1", - "@astrojs/react": "^0.0.2-next.0", - "@astrojs/solid-js": "^0.0.2-next.0", - "@astrojs/svelte": "^0.0.2-next.0", - "@astrojs/vue": "^0.0.2-next.0", - "astro": "^0.25.0-next.3" + "@astrojs/preact": "^0.0.2-next.2", + "@astrojs/react": "^0.0.2-next.1", + "@astrojs/solid-js": "^0.0.2-next.1", + "@astrojs/svelte": "^0.0.2-next.1", + "@astrojs/vue": "^0.0.2-next.1", + "astro": "^0.25.0-next.4" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index fe61d2367b3fa..320c12ede8d38 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/tailwind": "^0.0.2-next.0", - "astro": "^0.25.0-next.3", + "@astrojs/tailwind": "^0.0.2-next.1", + "astro": "^0.25.0-next.4", "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 e07b09b4eb40e..21315faec7d4f 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.3", + "astro": "^0.25.0-next.4", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.2" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 1a628ed969c59..32c41ab3e5e60 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,30 @@ # astro +## 0.25.0-next.4 + +### Minor Changes + +- [#2849](https://github.com/withastro/astro/pull/2849) [`72ef7ae6`](https://github.com/withastro/astro/commit/72ef7ae64a6d0fd17077bf6920ce11613116b659) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Introduce new `astro add` command to automatically configure integrations. + + ```shell + npx astro add + ``` + +### Patch Changes + +- [#2879](https://github.com/withastro/astro/pull/2879) [`80034c6c`](https://github.com/withastro/astro/commit/80034c6cbc89761618847e6df43fd49560a05aa9) Thanks [@matthewp](https://github.com/matthewp)! - Netlify Adapter + + This change adds a Netlify adapter that uses Netlify Functions. You can use it like so: + + ```js + import { defineConfig } from 'astro/config'; + import netlify from '@astrojs/netlify'; + + export default defineConfig({ + adapter: netlify(), + }); + ``` + ## 0.25.0-next.3 ### Patch Changes @@ -16,7 +41,7 @@ import nodejs from '@astrojs/node'; export default { - adapter: nodejs(), + adapter: nodejs(), }; ``` @@ -112,7 +137,7 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ - renderers: [], + renderers: [], }); ``` @@ -150,9 +175,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -172,7 +197,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -256,7 +281,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -280,9 +305,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -394,12 +419,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/', + }), + }; } ``` @@ -561,12 +586,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/', + }), + }; } ``` @@ -1921,10 +1946,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' }]], + }, }; ``` @@ -1944,10 +1969,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 da89cddd9a149..6785295993f15 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.25.0-next.3", + "version": "0.25.0-next.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/packages/integrations/lit/CHANGELOG.md b/packages/integrations/lit/CHANGELOG.md index dc6d5953b859f..9a7ec24e6fd0f 100644 --- a/packages/integrations/lit/CHANGELOG.md +++ b/packages/integrations/lit/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/lit +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/lit/package.json b/packages/integrations/lit/package.json index e5ca546104c06..10957e70e6f93 100644 --- a/packages/integrations/lit/package.json +++ b/packages/integrations/lit/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/lit", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "description": "Use Lit components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md new file mode 100644 index 0000000000000..3d727717fe2bd --- /dev/null +++ b/packages/integrations/netlify/CHANGELOG.md @@ -0,0 +1,18 @@ +# @astrojs/netlify + +## 0.0.2-next.0 + +### Patch Changes + +- [#2879](https://github.com/withastro/astro/pull/2879) [`80034c6c`](https://github.com/withastro/astro/commit/80034c6cbc89761618847e6df43fd49560a05aa9) Thanks [@matthewp](https://github.com/matthewp)! - Netlify Adapter + + This change adds a Netlify adapter that uses Netlify Functions. You can use it like so: + + ```js + import { defineConfig } from 'astro/config'; + import netlify from '@astrojs/netlify'; + + export default defineConfig({ + adapter: netlify(), + }); + ``` diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index e3f1fd0ec4711..0e1625af00c79 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/netlify", "description": "Deploy your site to Netlify", - "version": "0.0.1", + "version": "0.0.2-next.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index 31593ed2b9478..20458cc7ee035 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/node +## 0.0.2-next.1 + +### Patch Changes + +- [#2879](https://github.com/withastro/astro/pull/2879) [`80034c6c`](https://github.com/withastro/astro/commit/80034c6cbc89761618847e6df43fd49560a05aa9) Thanks [@matthewp](https://github.com/matthewp)! - Netlify Adapter + + This change adds a Netlify adapter that uses Netlify Functions. You can use it like so: + + ```js + import { defineConfig } from 'astro/config'; + import netlify from '@astrojs/netlify'; + + export default defineConfig({ + adapter: netlify(), + }); + ``` + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 5ca0cbc78371b..297680f2616e0 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/node", "description": "Deploy your site to a Node.js server", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/partytown/CHANGELOG.md b/packages/integrations/partytown/CHANGELOG.md index 19ba4f80c6e30..04fe31fb52027 100644 --- a/packages/integrations/partytown/CHANGELOG.md +++ b/packages/integrations/partytown/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/partytown +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json index e415e012cbb56..d7f63b49d6aa8 100644 --- a/packages/integrations/partytown/package.json +++ b/packages/integrations/partytown/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/partytown", "description": "Astro + Partytown integration", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index 4933ac63c3a68..bfebe4b90e6b9 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/preact +## 0.0.2-next.2 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.1 ### Patch Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index ee91a493024da..bb5fcf3d46e43 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/preact", "description": "Use Preact components within Astro", - "version": "0.0.2-next.1", + "version": "0.0.2-next.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 90e168e93a155..a56b601185a27 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index fa9c939b9758e..2a0c753c36d69 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/sitemap/CHANGELOG.md b/packages/integrations/sitemap/CHANGELOG.md index e46ed837a50e2..e81e4dafb9cbd 100644 --- a/packages/integrations/sitemap/CHANGELOG.md +++ b/packages/integrations/sitemap/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/sitemap +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/sitemap/package.json b/packages/integrations/sitemap/package.json index 34d30375065b1..0f64bc8d4cc6f 100644 --- a/packages/integrations/sitemap/package.json +++ b/packages/integrations/sitemap/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/sitemap", "description": "Generate a sitemap for Astro", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md index a8aa09c63c8b1..0129ec5cc6bf8 100644 --- a/packages/integrations/solid/CHANGELOG.md +++ b/packages/integrations/solid/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/solid-js +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 289abf6173146..6574ff4dbe6b5 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/solid-js", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "description": "Use Solid components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index 16b666cb2f55c..f50daf2abd58b 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/svelte +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 71a7a20a6a61e..581a515374857 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md index 2b80c4f6bf904..ca7ea25897016 100644 --- a/packages/integrations/tailwind/CHANGELOG.md +++ b/packages/integrations/tailwind/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/tailwind +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 318f939518bb8..ce773869443c8 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/tailwind", "description": "Tailwind + Astro Integrations", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/turbolinks/CHANGELOG.md b/packages/integrations/turbolinks/CHANGELOG.md index a36b556855515..dae3859533db9 100644 --- a/packages/integrations/turbolinks/CHANGELOG.md +++ b/packages/integrations/turbolinks/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/turbolinks +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/turbolinks/package.json b/packages/integrations/turbolinks/package.json index 9c605979af2f3..940829e39d8fb 100644 --- a/packages/integrations/turbolinks/package.json +++ b/packages/integrations/turbolinks/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/turbolinks", "description": "Turbolinks + Astro Integrations", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index db07324f37a61..52d66845e077c 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/vue +## 0.0.2-next.1 + +### Patch Changes + +- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index b3a416bf4d2c0..c294bb0d2ed9b 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "0.0.2-next.0", + "version": "0.0.2-next.1", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 29351650e2579..8e647e2718155 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,8 +43,8 @@ importers: examples/blog: specifiers: - '@astrojs/preact': ^0.0.2-next.1 - astro: ^0.25.0-next.3 + '@astrojs/preact': ^0.0.2-next.2 + astro: ^0.25.0-next.4 preact: ^10.6.6 dependencies: preact: 10.6.6 @@ -54,8 +54,8 @@ importers: examples/blog-multiple-authors: specifiers: - '@astrojs/preact': ^0.0.2-next.1 - astro: ^0.25.0-next.3 + '@astrojs/preact': ^0.0.2-next.2 + astro: ^0.25.0-next.4 preact: ^10.6.6 sass: ^1.49.9 dependencies: @@ -67,14 +67,14 @@ importers: examples/component: specifiers: - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 devDependencies: astro: link:../../packages/astro examples/component/demo: specifiers: '@example/my-component': workspace:* - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 devDependencies: '@example/my-component': link:../packages/my-component astro: link:../../../packages/astro @@ -85,12 +85,12 @@ importers: examples/docs: specifiers: '@algolia/client-search': ^4.13.0 - '@astrojs/preact': ^0.0.2-next.1 - '@astrojs/react': ^0.0.2-next.0 + '@astrojs/preact': ^0.0.2-next.2 + '@astrojs/react': ^0.0.2-next.1 '@docsearch/css': ^3.0.0 '@docsearch/react': ^3.0.0 '@types/react': ^17.0.43 - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 preact: ^10.6.6 react: ^17.0.2 react-dom: ^17.0.2 @@ -109,21 +109,21 @@ importers: examples/env-vars: specifiers: - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 devDependencies: astro: link:../../packages/astro examples/framework-alpine: specifiers: - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 devDependencies: astro: link:../../packages/astro examples/framework-lit: specifiers: - '@astrojs/lit': ^0.0.2-next.0 + '@astrojs/lit': ^0.0.2-next.1 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 lit: ^2.2.1 dependencies: '@webcomponents/template-shadowroot': 0.1.0 @@ -134,14 +134,14 @@ importers: examples/framework-multiple: specifiers: - '@astrojs/lit': ^0.0.2-next.0 - '@astrojs/preact': ^0.0.2-next.1 - '@astrojs/react': ^0.0.2-next.0 - '@astrojs/solid-js': ^0.0.2-next.0 - '@astrojs/svelte': ^0.0.2-next.0 - '@astrojs/vue': ^0.0.2-next.0 + '@astrojs/lit': ^0.0.2-next.1 + '@astrojs/preact': ^0.0.2-next.2 + '@astrojs/react': ^0.0.2-next.1 + '@astrojs/solid-js': ^0.0.2-next.1 + '@astrojs/svelte': ^0.0.2-next.1 + '@astrojs/vue': ^0.0.2-next.1 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 lit: ^2.2.1 preact: ^10.6.6 react: ^17.0.2 @@ -169,8 +169,8 @@ importers: examples/framework-preact: specifiers: - '@astrojs/preact': ^0.0.2-next.1 - astro: ^0.25.0-next.3 + '@astrojs/preact': ^0.0.2-next.2 + astro: ^0.25.0-next.4 preact: ^10.6.6 dependencies: preact: 10.6.6 @@ -180,8 +180,8 @@ importers: examples/framework-react: specifiers: - '@astrojs/react': ^0.0.2-next.0 - astro: ^0.25.0-next.3 + '@astrojs/react': ^0.0.2-next.1 + astro: ^0.25.0-next.4 react: ^17.0.2 react-dom: ^17.0.2 dependencies: @@ -193,8 +193,8 @@ importers: examples/framework-solid: specifiers: - '@astrojs/solid-js': ^0.0.2-next.0 - astro: ^0.25.0-next.3 + '@astrojs/solid-js': ^0.0.2-next.1 + astro: ^0.25.0-next.4 solid-js: ^1.3.13 dependencies: solid-js: 1.3.13 @@ -204,8 +204,8 @@ importers: examples/framework-svelte: specifiers: - '@astrojs/svelte': ^0.0.2-next.0 - astro: ^0.25.0-next.3 + '@astrojs/svelte': ^0.0.2-next.1 + astro: ^0.25.0-next.4 svelte: ^3.46.4 dependencies: svelte: 3.46.4 @@ -215,8 +215,8 @@ importers: examples/framework-vue: specifiers: - '@astrojs/vue': ^0.0.2-next.0 - astro: ^0.25.0-next.3 + '@astrojs/vue': ^0.0.2-next.1 + astro: ^0.25.0-next.4 vue: ^3.2.31 dependencies: vue: 3.2.31 @@ -226,14 +226,14 @@ importers: examples/integrations-playground: specifiers: - '@astrojs/lit': ^0.0.2-next.0 - '@astrojs/partytown': ^0.0.2-next.0 - '@astrojs/react': ^0.0.2-next.0 - '@astrojs/sitemap': ^0.0.2-next.0 - '@astrojs/tailwind': ^0.0.2-next.0 - '@astrojs/turbolinks': ^0.0.2-next.0 + '@astrojs/lit': ^0.0.2-next.1 + '@astrojs/partytown': ^0.0.2-next.1 + '@astrojs/react': ^0.0.2-next.1 + '@astrojs/sitemap': ^0.0.2-next.1 + '@astrojs/tailwind': ^0.0.2-next.1 + '@astrojs/turbolinks': ^0.0.2-next.1 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 lit: ^2.2.1 preact: ^10.6.6 react: ^17.0.2 @@ -261,20 +261,20 @@ importers: examples/minimal: specifiers: - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 devDependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 devDependencies: astro: link:../../packages/astro examples/portfolio: specifiers: - '@astrojs/preact': ^0.0.2-next.1 - astro: ^0.25.0-next.3 + '@astrojs/preact': ^0.0.2-next.2 + astro: ^0.25.0-next.4 preact: ^10.6.6 sass: ^1.49.9 dependencies: @@ -286,9 +286,9 @@ importers: examples/ssr: specifiers: - '@astrojs/node': ^0.0.2-next.0 - '@astrojs/svelte': ^0.0.2-next.0 - astro: ^0.25.0-next.3 + '@astrojs/node': ^0.0.2-next.1 + '@astrojs/svelte': ^0.0.2-next.1 + astro: ^0.25.0-next.4 concurrently: ^7.0.0 lightcookie: ^1.0.25 svelte: ^3.46.4 @@ -307,14 +307,14 @@ importers: examples/starter: specifiers: - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 devDependencies: astro: link:../../packages/astro examples/subpath: specifiers: - '@astrojs/react': ^0.0.2-next.0 - astro: ^0.25.0-next.3 + '@astrojs/react': ^0.0.2-next.1 + astro: ^0.25.0-next.4 react: ^17.0.2 react-dom: ^17.0.2 sass: ^1.49.9 @@ -329,11 +329,11 @@ importers: examples/with-markdown: specifiers: '@astrojs/markdown-remark': ^0.7.0-next.1 - '@astrojs/preact': ^0.0.2-next.1 - '@astrojs/react': ^0.0.2-next.0 - '@astrojs/svelte': ^0.0.2-next.0 - '@astrojs/vue': ^0.0.2-next.0 - astro: ^0.25.0-next.3 + '@astrojs/preact': ^0.0.2-next.2 + '@astrojs/react': ^0.0.2-next.1 + '@astrojs/svelte': ^0.0.2-next.1 + '@astrojs/vue': ^0.0.2-next.1 + astro: ^0.25.0-next.4 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-next.1 - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -374,22 +374,22 @@ importers: examples/with-markdown-shiki: specifiers: '@astrojs/markdown-remark': ^0.7.0-next.1 - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 devDependencies: '@astrojs/markdown-remark': link:../../packages/markdown/remark astro: link:../../packages/astro examples/with-nanostores: specifiers: - '@astrojs/preact': ^0.0.2-next.1 - '@astrojs/react': ^0.0.2-next.0 - '@astrojs/solid-js': ^0.0.2-next.0 - '@astrojs/svelte': ^0.0.2-next.0 - '@astrojs/vue': ^0.0.2-next.0 + '@astrojs/preact': ^0.0.2-next.2 + '@astrojs/react': ^0.0.2-next.1 + '@astrojs/solid-js': ^0.0.2-next.1 + '@astrojs/svelte': ^0.0.2-next.1 + '@astrojs/vue': ^0.0.2-next.1 '@nanostores/preact': ^0.1.3 '@nanostores/react': ^0.1.5 '@nanostores/vue': ^0.4.1 - astro: ^0.25.0-next.3 + astro: ^0.25.0-next.4 nanostores: ^0.5.12 preact: ^10.6.6 react: ^17.0.2 @@ -416,8 +416,8 @@ importers: examples/with-tailwindcss: specifiers: - '@astrojs/tailwind': ^0.0.2-next.0 - astro: ^0.25.0-next.3 + '@astrojs/tailwind': ^0.0.2-next.1 + astro: ^0.25.0-next.4 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.0-next.3 + astro: ^0.25.0-next.4 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.2 devDependencies: