diff --git a/.changeset/pre.json b/.changeset/pre.json index 67e3b0b4f..cc8a9e08c 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -53,19 +53,29 @@ "@astrojs/renderer-svelte": "0.5.2", "@astrojs/renderer-vue": "0.4.0", "@astrojs/webapi": "0.11.0", - "astro-scripts": "0.0.2" + "astro-scripts": "0.0.2", + "@astrojs/node": "0.0.1" }, "changesets": [ + "cyan-pigs-ring", "eighty-trees-thank", "forty-badgers-relate", "fuzzy-lies-nail", + "hot-plants-help", "lemon-needles-count", + "modern-adults-dance", "moody-trees-allow", + "perfect-ravens-count", "rude-panthers-tease", "rude-starfishes-drop", + "rude-trainers-repeat", "silent-walls-tan", + "silly-sloths-hammer", + "small-horses-protect", "spotty-houses-stare", + "strong-bears-knock", "tidy-jobs-beg", - "twenty-kiwis-tease" + "twenty-kiwis-tease", + "wise-garlics-bathe" ] } diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index d44467024..ebf45fb34 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.0", - "astro": "^0.25.0-next.2", + "@astrojs/preact": "^0.0.2-next.1", + "astro": "^0.25.0-next.3", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/blog/package.json b/examples/blog/package.json index e01cb13b6..85cdec5fd 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.2", - "@astrojs/preact": "^0.0.2-next.0" + "astro": "^0.25.0-next.3", + "@astrojs/preact": "^0.0.2-next.1" }, "dependencies": { "preact": "^10.6.6" diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 7c7cee527..3532933a1 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.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index 2643dd7b4..12f29621e 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.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index aa2097ebd..bc0445f38 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.0", + "@astrojs/preact": "^0.0.2-next.1", "@astrojs/react": "^0.0.2-next.0", - "astro": "^0.25.0-next.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 4c8be03fc..2cc5a5609 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.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 8d09faec2..2f794d700 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.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 2fa3c2722..151a77bf1 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/lit": "^0.0.2-next.0", - "astro": "^0.25.0-next.2" + "astro": "^0.25.0-next.3" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index e2a3b0928..d6ba15f85 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -10,12 +10,12 @@ }, "devDependencies": { "@astrojs/lit": "^0.0.2-next.0", - "@astrojs/preact": "^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.2" + "astro": "^0.25.0-next.3" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 57b14ffda..14bf251cf 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.0", - "astro": "^0.25.0-next.2" + "@astrojs/preact": "^0.0.2-next.1", + "astro": "^0.25.0-next.3" }, "dependencies": { "preact": "^10.6.6" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 58df19f53..4fed29622 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.0.2-next.0", - "astro": "^0.25.0-next.2" + "astro": "^0.25.0-next.3" }, "dependencies": { "react": "^17.0.2", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 65ca2c9cc..c64629dfe 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.0.2-next.0", - "astro": "^0.25.0-next.2" + "astro": "^0.25.0-next.3" }, "dependencies": { "solid-js": "^1.3.13" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 07501ed00..803bd849a 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.2-next.0", - "astro": "^0.25.0-next.2" + "astro": "^0.25.0-next.3" }, "dependencies": { "svelte": "^3.46.4" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index e08fb8f3c..644904dd7 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/vue": "^0.0.2-next.0", - "astro": "^0.25.0-next.2" + "astro": "^0.25.0-next.3" }, "dependencies": { "vue": "^3.2.31" diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index 4b42f50c5..814beecf8 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -15,7 +15,7 @@ "@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.2" + "astro": "^0.25.0-next.3" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 8a925f7a6..413db1f07 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 34ee37ce4..7d6dcdc4f 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.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 11a1a0dc7..524ae0f08 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.0", - "astro": "^0.25.0-next.2", + "@astrojs/preact": "^0.0.2-next.1", + "astro": "^0.25.0-next.3", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 44ffc3bfa..240157e47 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,8 +12,8 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.2-next.0", - "@astrojs/node": "^0.0.1", - "astro": "^0.25.0-next.2", + "@astrojs/node": "^0.0.2-next.0", + "astro": "^0.25.0-next.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 1336997e1..6352ed970 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.25.0-next.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index 7eb4f03db..9e5c6cd4d 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.0.2-next.0", - "astro": "^0.25.0-next.2", + "astro": "^0.25.0-next.3", "sass": "^1.49.9" }, "dependencies": { diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 96f19b296..846f6eca3 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.7.0-next.0", - "astro": "^0.25.0-next.2", + "@astrojs/markdown-remark": "^0.7.0-next.1", + "astro": "^0.25.0-next.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 79598c471..4b5ef7028 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.7.0-next.0", - "astro": "^0.25.0-next.2" + "@astrojs/markdown-remark": "^0.7.0-next.1", + "astro": "^0.25.0-next.3" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 6093cbbed..af1805489 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,12 +9,12 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.7.0-next.0", - "@astrojs/preact": "^0.0.2-next.0", + "@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.2" + "astro": "^0.25.0-next.3" }, "dependencies": { "preact": "^10.6.6", diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 1c1cfc8a0..79fa7708d 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.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.2" + "astro": "^0.25.0-next.3" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 06ec335c4..fe61d2367 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^0.0.2-next.0", - "astro": "^0.25.0-next.2", + "astro": "^0.25.0-next.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 cf002aa9b..ed76f9396 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.2", + "astro": "^0.25.0-next.3", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.1" } diff --git a/packages/astro-prism/CHANGELOG.md b/packages/astro-prism/CHANGELOG.md index 70f85351a..7964ac989 100644 --- a/packages/astro-prism/CHANGELOG.md +++ b/packages/astro-prism/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/prism +## 0.4.1-next.0 + +### Patch Changes + +- [#2878](https://github.com/withastro/astro/pull/2878) [`2db97f10`](https://github.com/withastro/astro/commit/2db97f10dc50f9498413181b78c477fe8833895b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Move the built-in `Prism` component from `astro/components` to `@astrojs/prism/component`. + ## 0.4.0 ### Minor Changes diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index 3a37d82ec..edf02b4fa 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/prism", - "version": "0.4.0", + "version": "0.4.1-next.0", "description": "Supports Prism highlighting in Astro projects", "author": "withastro", "license": "MIT", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index d49664630..1dfbdaa65 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,57 @@ # astro +## 0.25.0-next.3 + +### Patch Changes + +- [#2871](https://github.com/withastro/astro/pull/2871) [`5029382a`](https://github.com/withastro/astro/commit/5029382a8cab17f048372ee878d0778c89998009) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix a bug where tailwind integration wouldn't apply to markdown pages + +* [#2855](https://github.com/withastro/astro/pull/2855) [`5e52814d`](https://github.com/withastro/astro/commit/5e52814d97a5723dbe7ebb32fbe040a7a4c0ea77) Thanks [@matthewp](https://github.com/matthewp)! - Adds support for the Node adapter (SSR) + + This provides the first SSR adapter available using the `integrations` API. It is a Node.js adapter that can be used with the `http` module or any framework that wraps it, like Express. + + In your astro.config.mjs use: + + ```js + import nodejs from '@astrojs/node'; + + export default { + adapter: nodejs(), + }; + ``` + + After performing a build there will be a `dist/server/entry.mjs` module that works like a middleware function. You can use with any framework that supports the Node `request` and `response` objects. For example, with Express you can do: + + ```js + import express from 'express'; + import { handler as ssrHandler } from '@astrojs/node'; + + const app = express(); + app.use(handler); + + app.listen(8080); + ``` + +- [#2859](https://github.com/withastro/astro/pull/2859) [`c781b12f`](https://github.com/withastro/astro/commit/c781b12f87398d51a6ecf5dcb8b35afb08591c29) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Ensure private, internal APIs are not enumerable + +* [#2878](https://github.com/withastro/astro/pull/2878) [`2db97f10`](https://github.com/withastro/astro/commit/2db97f10dc50f9498413181b78c477fe8833895b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Move the built-in `Prism` component from `astro/components` to `@astrojs/prism/component`. + +- [#2857](https://github.com/withastro/astro/pull/2857) [`1061d647`](https://github.com/withastro/astro/commit/1061d6477af328e93c9a727e70900ae20c0116c8) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Improve granularity of production build logs. This now lists: + - the "data collection" build step, with timeout warnings for larger imports. This is useful for understanding large `import.meta.glob` calls. + - the Vite client bundling step. This logs all Vite production build info to clarify what assets are built alongside your HTML. + - the route generation step, complete with all output HTML files for a given input file. This is especially useful when debugging `getStaticPaths`. + - fixes "0 pages in Infinityms" log when building to SSR + +* [#2873](https://github.com/withastro/astro/pull/2873) [`e4025d1f`](https://github.com/withastro/astro/commit/e4025d1f530310d6ab951109f4f53878a307471a) Thanks [@matthewp](https://github.com/matthewp)! - Improves the build by building to a single file for rendering + +- [#2875](https://github.com/withastro/astro/pull/2875) [`55712277`](https://github.com/withastro/astro/commit/5571227718442e1ec38f4553863b6160b74df722) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Generalize output assets to avoid adblocker false positives + +* [#2872](https://github.com/withastro/astro/pull/2872) [`098f6f6b`](https://github.com/withastro/astro/commit/098f6f6b06396441c576dc689d8552629ef260e1) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix `isSelfAccepting` errors when using the Preact integration with the Astro dev server + +* Updated dependencies [[`2db97f10`](https://github.com/withastro/astro/commit/2db97f10dc50f9498413181b78c477fe8833895b), [`d763ec18`](https://github.com/withastro/astro/commit/d763ec183ea391ad79ca16bf2b2e76848fc1180c)]: + - @astrojs/prism@0.4.1-next.0 + - @astrojs/markdown-remark@0.7.0-next.1 + ## 0.25.0-next.2 ### Patch Changes @@ -60,7 +112,7 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ - renderers: [], + renderers: [], }); ``` @@ -98,9 +150,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -120,7 +172,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -204,7 +256,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -228,9 +280,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -342,12 +394,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/', + }), + }; } ``` @@ -509,12 +561,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/', + }), + }; } ``` @@ -1869,10 +1921,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' }]], + }, }; ``` @@ -1892,10 +1944,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 2137e5ddf..f6ce9f493 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.25.0-next.2", + "version": "0.25.0-next.3", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -72,8 +72,8 @@ "dependencies": { "@astrojs/compiler": "^0.13.1", "@astrojs/language-server": "^0.8.10", - "@astrojs/markdown-remark": "^0.7.0-next.0", - "@astrojs/prism": "0.4.0", + "@astrojs/markdown-remark": "^0.7.0-next.1", + "@astrojs/prism": "0.4.1-next.0", "@astrojs/webapi": "^0.11.0", "@babel/core": "^7.17.8", "@babel/traverse": "^7.17.3", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md new file mode 100644 index 000000000..31593ed2b --- /dev/null +++ b/packages/integrations/node/CHANGELOG.md @@ -0,0 +1,7 @@ +# @astrojs/node + +## 0.0.2-next.0 + +### Patch Changes + +- [#2873](https://github.com/withastro/astro/pull/2873) [`e4025d1f`](https://github.com/withastro/astro/commit/e4025d1f530310d6ab951109f4f53878a307471a) Thanks [@matthewp](https://github.com/matthewp)! - Improves the build by building to a single file for rendering diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 1208dbd4a..5ca0cbc78 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.1", + "version": "0.0.2-next.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index d932b1d9d..4933ac63c 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/preact +## 0.0.2-next.1 + +### Patch Changes + +- [#2872](https://github.com/withastro/astro/pull/2872) [`098f6f6b`](https://github.com/withastro/astro/commit/098f6f6b06396441c576dc689d8552629ef260e1) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix `isSelfAccepting` errors when using the Preact integration with the Astro dev server + ## 0.0.2-next.0 ### Patch Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index fd8d4b1b7..ee91a4930 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.0", + "version": "0.0.2-next.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 43e515d78..7199e5dd4 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/markdown-remark +## 0.7.0-next.1 + +### Patch Changes + +- [#2870](https://github.com/withastro/astro/pull/2870) [`d763ec18`](https://github.com/withastro/astro/commit/d763ec183ea391ad79ca16bf2b2e76848fc1180c) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix a shiki performance issue affecting large sites + +- Updated dependencies [[`2db97f10`](https://github.com/withastro/astro/commit/2db97f10dc50f9498413181b78c477fe8833895b)]: + - @astrojs/prism@0.4.1-next.0 + ## 0.7.0-next.0 ### Minor Changes @@ -165,10 +174,10 @@ ```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' }]], + }, }; ``` diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 841531b57..ac6e90c24 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "0.7.0-next.0", + "version": "0.7.0-next.1", "type": "module", "author": "withastro", "license": "MIT", @@ -23,7 +23,7 @@ "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { - "@astrojs/prism": "^0.4.0", + "@astrojs/prism": "^0.4.1-next.0", "assert": "^2.0.0", "github-slugger": "^1.4.0", "gray-matter": "^4.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4f9764689..772a9cf87 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,8 +43,8 @@ importers: examples/blog: specifiers: - '@astrojs/preact': ^0.0.2-next.0 - astro: ^0.25.0-next.2 + '@astrojs/preact': ^0.0.2-next.1 + astro: ^0.25.0-next.3 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.0 - astro: ^0.25.0-next.2 + '@astrojs/preact': ^0.0.2-next.1 + astro: ^0.25.0-next.3 preact: ^10.6.6 sass: ^1.49.9 dependencies: @@ -67,14 +67,14 @@ importers: examples/component: specifiers: - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 devDependencies: astro: link:../../packages/astro examples/component/demo: specifiers: '@example/my-component': workspace:* - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 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.0 + '@astrojs/preact': ^0.0.2-next.1 '@astrojs/react': ^0.0.2-next.0 '@docsearch/css': ^3.0.0 '@docsearch/react': ^3.0.0 '@types/react': ^17.0.42 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.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.0-next.2 + astro: ^0.25.0-next.3 devDependencies: astro: link:../../packages/astro examples/framework-alpine: specifiers: - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 devDependencies: astro: link:../../packages/astro @@ -123,7 +123,7 @@ importers: specifiers: '@astrojs/lit': ^0.0.2-next.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 lit: ^2.2.1 dependencies: '@webcomponents/template-shadowroot': 0.1.0 @@ -135,13 +135,13 @@ importers: examples/framework-multiple: specifiers: '@astrojs/lit': ^0.0.2-next.0 - '@astrojs/preact': ^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 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 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.0 - astro: ^0.25.0-next.2 + '@astrojs/preact': ^0.0.2-next.1 + astro: ^0.25.0-next.3 preact: ^10.6.6 dependencies: preact: 10.6.6 @@ -181,7 +181,7 @@ importers: examples/framework-react: specifiers: '@astrojs/react': ^0.0.2-next.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.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.2-next.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.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-next.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 svelte: ^3.46.4 dependencies: svelte: 3.46.4 @@ -216,7 +216,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^0.0.2-next.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 vue: ^3.2.31 dependencies: vue: 3.2.31 @@ -233,7 +233,7 @@ importers: '@astrojs/tailwind': ^0.0.2-next.0 '@astrojs/turbolinks': ^0.0.2-next.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 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.2 + astro: ^0.25.0-next.3 devDependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 devDependencies: astro: link:../../packages/astro examples/portfolio: specifiers: - '@astrojs/preact': ^0.0.2-next.0 - astro: ^0.25.0-next.2 + '@astrojs/preact': ^0.0.2-next.1 + astro: ^0.25.0-next.3 preact: ^10.6.6 sass: ^1.49.9 dependencies: @@ -286,9 +286,9 @@ importers: examples/ssr: specifiers: - '@astrojs/node': ^0.0.1 + '@astrojs/node': ^0.0.2-next.0 '@astrojs/svelte': ^0.0.2-next.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 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.2 + astro: ^0.25.0-next.3 devDependencies: astro: link:../../packages/astro examples/subpath: specifiers: '@astrojs/react': ^0.0.2-next.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.3 react: ^17.0.2 react-dom: ^17.0.2 sass: ^1.49.9 @@ -328,12 +328,12 @@ importers: examples/with-markdown: specifiers: - '@astrojs/markdown-remark': ^0.7.0-next.0 - '@astrojs/preact': ^0.0.2-next.0 + '@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.2 + astro: ^0.25.0-next.3 preact: ^10.6.6 react: ^17.0.2 react-dom: ^17.0.2 @@ -355,8 +355,8 @@ importers: examples/with-markdown-plugins: specifiers: - '@astrojs/markdown-remark': ^0.7.0-next.0 - astro: ^0.25.0-next.2 + '@astrojs/markdown-remark': ^0.7.0-next.1 + astro: ^0.25.0-next.3 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -373,15 +373,15 @@ importers: examples/with-markdown-shiki: specifiers: - '@astrojs/markdown-remark': ^0.7.0-next.0 - astro: ^0.25.0-next.2 + '@astrojs/markdown-remark': ^0.7.0-next.1 + astro: ^0.25.0-next.3 devDependencies: '@astrojs/markdown-remark': link:../../packages/markdown/remark astro: link:../../packages/astro examples/with-nanostores: specifiers: - '@astrojs/preact': ^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 @@ -389,7 +389,7 @@ importers: '@nanostores/preact': ^0.1.3 '@nanostores/react': ^0.1.5 '@nanostores/vue': ^0.4.1 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.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-next.0 - astro: ^0.25.0-next.2 + astro: ^0.25.0-next.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.0-next.2 + astro: ^0.25.0-next.3 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.1 devDependencies: @@ -444,8 +444,8 @@ importers: specifiers: '@astrojs/compiler': ^0.13.1 '@astrojs/language-server': ^0.8.10 - '@astrojs/markdown-remark': ^0.7.0-next.0 - '@astrojs/prism': 0.4.0 + '@astrojs/markdown-remark': ^0.7.0-next.1 + '@astrojs/prism': 0.4.1-next.0 '@astrojs/webapi': ^0.11.0 '@babel/core': ^7.17.8 '@babel/traverse': ^7.17.3 @@ -1317,7 +1317,7 @@ importers: packages/markdown/remark: specifiers: - '@astrojs/prism': ^0.4.0 + '@astrojs/prism': ^0.4.1-next.0 '@types/github-slugger': ^1.3.0 '@types/prismjs': ^1.26.0 assert: ^2.0.0