diff --git a/.changeset/eight-swans-divide.md b/.changeset/eight-swans-divide.md deleted file mode 100644 index 84484d94b50d5..0000000000000 --- a/.changeset/eight-swans-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Use `fs.promises.rm` to remove node deprecation warning diff --git a/.changeset/many-lions-relate.md b/.changeset/many-lions-relate.md deleted file mode 100644 index 3c9c04bb59cc0..0000000000000 --- a/.changeset/many-lions-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes index page with build.format=file diff --git a/.changeset/tall-trainers-do.md b/.changeset/tall-trainers-do.md deleted file mode 100644 index 7d67768a36683..0000000000000 --- a/.changeset/tall-trainers-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Throws when using Response.redirect in SSG mode diff --git a/examples/basics/package.json b/examples/basics/package.json index 819b2f9999b8a..b70ca6110e474 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index b09bb798b9a09..d50495adb1e4f 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "@astrojs/mdx": "^0.11.4", "@astrojs/rss": "^1.0.2", "@astrojs/sitemap": "^1.0.0" diff --git a/examples/component/package.json b/examples/component/package.json index 4cbede0053fd7..b963b7cc26876 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,9 +15,9 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" }, "peerDependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" } } diff --git a/examples/deno/package.json b/examples/deno/package.json index 9400be4749778..86f8afaeda3ad 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" }, "devDependencies": { "@astrojs/deno": "^1.2.0" diff --git a/examples/docs/package.json b/examples/docs/package.json index 1da9531b57f9f..aec6dd2fefbaf 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,7 +12,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index f8871a6c0bec2..cbd2c7d3f2b14 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "alpinejs": "^3.10.2", "@astrojs/alpinejs": "^0.1.2", "@types/alpinejs": "^3.7.0" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index ca5a9b534c232..e45f09e4fba58 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "lit": "^2.2.5", "@astrojs/lit": "^1.0.0", "@webcomponents/template-shadowroot": "^0.1.0" diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 2069523526f2d..6344c2d428da8 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -22,6 +22,6 @@ "@astrojs/react": "^1.2.1", "@astrojs/solid-js": "^1.2.1", "@astrojs/svelte": "^1.0.2", - "@astrojs/vue": "^1.2.0" + "@astrojs/vue": "^1.2.1" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index bdb82dfbc0f38..fd1d8c4d30cb6 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "preact": "^10.7.3", "@astrojs/preact": "^1.2.0", "@preact/signals": "^1.1.0" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 07beab83a467d..f4809b7a6df13 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "react": "^18.1.0", "react-dom": "^18.1.0", "@astrojs/react": "^1.2.1", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 1368932460f1c..bfc67cc7d5f6a 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "solid-js": "^1.4.3", "@astrojs/solid-js": "^1.2.1" } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 9eade574dd6f0..0c3374ad4d4c3 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -13,6 +13,6 @@ "dependencies": { "svelte": "^3.48.0", "@astrojs/svelte": "^1.0.2", - "astro": "^1.5.1" + "astro": "^1.5.2" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 0e5ffbd305f45..6eb8da1b0dd39 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "vue": "^3.2.37", - "@astrojs/vue": "^1.2.0" + "@astrojs/vue": "^1.2.1" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 4ce51d6c96120..adae0a3467895 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,9 +15,9 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" }, "peerDependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 497a363de0cf3..1bfe21554d8ac 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 3d2680debe4a6..5c1db8c77e13e 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 59c39ef79a211..385a99bd1f376 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index b2a89e5ce0960..586c2b9d33135 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,7 +12,7 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "svelte": "^3.48.0", "@astrojs/svelte": "^1.0.2", "@astrojs/node": "^2.0.1", diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 660beef3e3267..6b90e09e1559d 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "@astrojs/markdown-remark": "^1.1.3", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.1", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 4a257ead273fe..41a3368343979 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1" + "astro": "^1.5.2" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index e3d3d761b0c55..eb712d7c27a67 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "preact": "^10.6.5", "@astrojs/preact": "^1.2.0", "@astrojs/mdx": "^0.11.4" diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index c50c8d67898cf..9fbe5c4ce6885 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "preact": "^10.7.3", "@astrojs/preact": "^1.2.0", "nanostores": "^0.5.12", diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index d1878de7af0c4..5bc7162cda5d3 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^0.11.4", "@astrojs/tailwind": "^2.1.1", "@types/canvas-confetti": "^1.4.3", - "astro": "^1.5.1", + "astro": "^1.5.2", "autoprefixer": "^10.4.7", "canvas-confetti": "^1.5.1", "postcss": "^8.4.14", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index f4dc42147cca3..d41074b0dbb9e 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index c7cae7541fd5e..8cb091d7a85c1 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^1.5.1", + "astro": "^1.5.2", "vitest": "^0.20.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index ae6e4f4c379f1..33a077cef4d75 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,15 @@ # astro +## 1.5.2 + +### Patch Changes + +- [#5119](https://github.com/withastro/astro/pull/5119) [`430e0346c`](https://github.com/withastro/astro/commit/430e0346c9dc0def8af93e0a393dc2847e145d2f) Thanks [@bluwy](https://github.com/bluwy)! - Use `fs.promises.rm` to remove node deprecation warning + +- [#5123](https://github.com/withastro/astro/pull/5123) [`9745009ae`](https://github.com/withastro/astro/commit/9745009ae0e7fe8691c75657c5c9586a548bf2e0) Thanks [@matthewp](https://github.com/matthewp)! - Fixes index page with build.format=file + +- [#5116](https://github.com/withastro/astro/pull/5116) [`500acb3c1`](https://github.com/withastro/astro/commit/500acb3c117070ee5838a8b567e9bdcf68703227) Thanks [@matthewp](https://github.com/matthewp)! - Throws when using Response.redirect in SSG mode + ## 1.5.1 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index f8b31f6d53900..e0c2ebbec2a2c 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.5.1", + "version": "1.5.2", "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/prefetch/CHANGELOG.md b/packages/integrations/prefetch/CHANGELOG.md index 4923c03bb4b77..72d73fccf0231 100644 --- a/packages/integrations/prefetch/CHANGELOG.md +++ b/packages/integrations/prefetch/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/prefetch +## 0.1.0 + +### Minor Changes + +- [#5125](https://github.com/withastro/astro/pull/5125) [`5a674f976`](https://github.com/withastro/astro/commit/5a674f976d6138ec5c87441a579c2ccf37713e73) Thanks [@Jelenkee](https://github.com/Jelenkee)! - Prefetch CSS files once + ## 0.0.8 ### Patch Changes diff --git a/packages/integrations/prefetch/package.json b/packages/integrations/prefetch/package.json index b7d659eab5cdc..96e1318f8ab3e 100644 --- a/packages/integrations/prefetch/package.json +++ b/packages/integrations/prefetch/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/prefetch", "description": "Faster page navigations by prefetching links when the browser is idle.", - "version": "0.0.8", + "version": "0.1.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/prefetch/src/client.ts b/packages/integrations/prefetch/src/client.ts index 0b37946eeca87..f79f42f1266e7 100644 --- a/packages/integrations/prefetch/src/client.ts +++ b/packages/integrations/prefetch/src/client.ts @@ -5,6 +5,7 @@ import requestIdleCallback from './requestIdleCallback.js'; const events = ['mouseenter', 'touchstart', 'focus']; const preloaded = new Set(); +const loadedStyles = new Set(); function shouldPreload({ href }: { href: string }) { try { @@ -53,7 +54,14 @@ async function preloadHref(link: HTMLAnchorElement) { const html = parser.parseFromString(contents, 'text/html'); const styles = Array.from(html.querySelectorAll('link[rel="stylesheet"]')); - await Promise.all(styles.map((el) => fetch(el.href))); + await Promise.all( + styles + .filter((el) => !loadedStyles.has(el.href)) + .map((el) => { + loadedStyles.add(el.href); + return fetch(el.href); + }) + ); } catch {} } diff --git a/packages/integrations/prefetch/test/fixtures/style-prefetch/astro.config.mjs b/packages/integrations/prefetch/test/fixtures/style-prefetch/astro.config.mjs new file mode 100644 index 0000000000000..092813b22f734 --- /dev/null +++ b/packages/integrations/prefetch/test/fixtures/style-prefetch/astro.config.mjs @@ -0,0 +1,7 @@ +import { defineConfig } from 'astro/config'; +import prefetch from '@astrojs/prefetch'; + +// https://astro.build/config +export default defineConfig({ + integrations: [prefetch()], +}); diff --git a/packages/integrations/prefetch/test/fixtures/style-prefetch/package.json b/packages/integrations/prefetch/test/fixtures/style-prefetch/package.json new file mode 100644 index 0000000000000..cf10d74712024 --- /dev/null +++ b/packages/integrations/prefetch/test/fixtures/style-prefetch/package.json @@ -0,0 +1,9 @@ +{ + "name": "@test/astro-prefetch", + "version": "0.0.0", + "private": true, + "dependencies": { + "@astrojs/prefetch": "workspace:*", + "astro": "workspace:*" + } +} diff --git a/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/index.astro b/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/index.astro new file mode 100644 index 0000000000000..9b8b84eec184b --- /dev/null +++ b/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/index.astro @@ -0,0 +1,18 @@ +--- +--- + + + + + + + Home + + +

Home

+
    +
  • 1
  • +
  • 2
  • +
+ + \ No newline at end of file diff --git a/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/style1.astro b/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/style1.astro new file mode 100644 index 0000000000000..def02918c9ca3 --- /dev/null +++ b/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/style1.astro @@ -0,0 +1,15 @@ +--- +--- + + + + + + + Style1 + + + +

Style1

+ + \ No newline at end of file diff --git a/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/style2.astro b/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/style2.astro new file mode 100644 index 0000000000000..2e3b6949c771d --- /dev/null +++ b/packages/integrations/prefetch/test/fixtures/style-prefetch/src/pages/style2.astro @@ -0,0 +1,15 @@ +--- +--- + + + + + + + Style2 + + + +

Style2

+ + \ No newline at end of file diff --git a/packages/integrations/prefetch/test/style-prefetch.test.js b/packages/integrations/prefetch/test/style-prefetch.test.js new file mode 100644 index 0000000000000..8e89a35e336aa --- /dev/null +++ b/packages/integrations/prefetch/test/style-prefetch.test.js @@ -0,0 +1,55 @@ +import { expect } from '@playwright/test'; +import { testFactory } from './test-utils.js'; + +const test = testFactory({ root: './fixtures/style-prefetch/' }); + +test.describe('Style prefetch', () => { + test.describe('dev', () => { + let devServer; + + test.beforeEach(async ({ astro }) => { + devServer = await astro.startDevServer(); + }); + + test.afterEach(async () => { + await devServer.stop(); + }); + + testPrefetch(); + }); + + test.describe('build', () => { + let previewServer; + + test.beforeAll(async ({ astro }) => { + await astro.build(); + previewServer = await astro.preview(); + }); + + // important: close preview server (free up port and connection) + test.afterAll(async () => { + await previewServer.stop(); + }); + + testPrefetch(); + }); + + function testPrefetch() { + test.describe('prefetches rel="prefetch" links', () => { + test('style fetching', async ({ page, astro }) => { + const requests = []; + + page.on('request', async (request) => requests.push(request.url())); + + await page.goto(astro.resolveUrl('/')); + + await page.waitForLoadState('networkidle'); + + await expect(requests.filter((req) => req.includes('/style1'))).toBeTruthy(); + await expect(requests.filter((req) => req.includes('/style2'))).toBeTruthy(); + const cssRequestCount = requests.filter((req) => req.includes('/main.css')).length; + await expect(cssRequestCount).toBe(1); + }); + }); + } +}); diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index cfc35716a1fa3..0d89cb7a09dc2 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/vercel +## 2.3.1 + +### Patch Changes + +- [#5127](https://github.com/withastro/astro/pull/5127) [`fad25aef2`](https://github.com/withastro/astro/commit/fad25aef2f9b51324cd7aa20701042e9574706a9) Thanks [@JuanM04](https://github.com/JuanM04)! - Fixed #5120 + ## 2.3.0 ### Minor Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 29638e66f2b69..4dc43181b7ef5 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/vercel", "description": "Deploy your site to Vercel", - "version": "2.3.0", + "version": "2.3.1", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/vercel/src/edge/adapter.ts b/packages/integrations/vercel/src/edge/adapter.ts index b1f2e8da4ee8d..fb1bcee27e5d3 100644 --- a/packages/integrations/vercel/src/edge/adapter.ts +++ b/packages/integrations/vercel/src/edge/adapter.ts @@ -47,7 +47,6 @@ export default function vercelEdge({ includeFiles = [] }: VercelEdgeConfig = {}) buildTempFolder = config.build.server; functionFolder = new URL('./functions/render.func/', config.outDir); serverEntry = config.build.serverEntry; - functionFolder = config.build.server; if (config.output === 'static') { throw new Error(` diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index 936c6fb11c147..1a3d00c4c2fe9 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/vue +## 1.2.1 + +### Patch Changes + +- [#5126](https://github.com/withastro/astro/pull/5126) [`850cc19fd`](https://github.com/withastro/astro/commit/850cc19fda8e092c1a5fcbd7abfe7c7a0e15629c) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Automatically add `vuetify` to `vite.ssr.noExternal` + ## 1.2.0 ### Minor Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index f4682aa474144..0576ba82472aa 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "1.2.0", + "version": "1.2.1", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/vue/src/index.ts b/packages/integrations/vue/src/index.ts index f7cf10fbd5ec5..a8fb1da2570fd 100644 --- a/packages/integrations/vue/src/index.ts +++ b/packages/integrations/vue/src/index.ts @@ -62,7 +62,7 @@ async function getViteConfiguration(options?: Options): Promise { plugins: [vue(options), virtualAppEntrypoint(options)], ssr: { external: ['@vue/server-renderer'], - noExternal: ['vueperslides'], + noExternal: ['vuetify', 'vueperslides'], }, }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f033679c3baa7..6491e3113ed01 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,7 +61,7 @@ importers: examples/basics: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 dependencies: astro: link:../../packages/astro @@ -70,7 +70,7 @@ importers: '@astrojs/mdx': ^0.11.4 '@astrojs/rss': ^1.0.2 '@astrojs/sitemap': ^1.0.0 - astro: ^1.5.1 + astro: ^1.5.2 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/rss': link:../../packages/astro-rss @@ -79,14 +79,14 @@ importers: examples/component: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 devDependencies: astro: link:../../packages/astro examples/deno: specifiers: '@astrojs/deno': ^1.2.0 - astro: ^1.5.1 + astro: ^1.5.2 dependencies: astro: link:../../packages/astro devDependencies: @@ -102,7 +102,7 @@ importers: '@types/node': ^18.0.0 '@types/react': ^17.0.45 '@types/react-dom': ^18.0.0 - astro: ^1.5.1 + astro: ^1.5.2 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -125,7 +125,7 @@ importers: '@astrojs/alpinejs': ^0.1.2 '@types/alpinejs': ^3.7.0 alpinejs: ^3.10.2 - astro: ^1.5.1 + astro: ^1.5.2 dependencies: '@astrojs/alpinejs': link:../../packages/integrations/alpinejs '@types/alpinejs': 3.7.0 @@ -136,7 +136,7 @@ importers: specifiers: '@astrojs/lit': ^1.0.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.5.1 + astro: ^1.5.2 lit: ^2.2.5 dependencies: '@astrojs/lit': link:../../packages/integrations/lit @@ -150,8 +150,8 @@ importers: '@astrojs/react': ^1.2.1 '@astrojs/solid-js': ^1.2.1 '@astrojs/svelte': ^1.0.2 - '@astrojs/vue': ^1.2.0 - astro: ^1.5.1 + '@astrojs/vue': ^1.2.1 + astro: ^1.5.2 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -176,7 +176,7 @@ importers: specifiers: '@astrojs/preact': ^1.2.0 '@preact/signals': ^1.1.0 - astro: ^1.5.1 + astro: ^1.5.2 preact: ^10.7.3 dependencies: '@astrojs/preact': link:../../packages/integrations/preact @@ -189,7 +189,7 @@ importers: '@astrojs/react': ^1.2.1 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^1.5.1 + astro: ^1.5.2 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -203,7 +203,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^1.2.1 - astro: ^1.5.1 + astro: ^1.5.2 solid-js: ^1.4.3 dependencies: '@astrojs/solid-js': link:../../packages/integrations/solid @@ -213,7 +213,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^1.0.2 - astro: ^1.5.1 + astro: ^1.5.2 svelte: ^3.48.0 dependencies: '@astrojs/svelte': link:../../packages/integrations/svelte @@ -222,8 +222,8 @@ importers: examples/framework-vue: specifiers: - '@astrojs/vue': ^1.2.0 - astro: ^1.5.1 + '@astrojs/vue': ^1.2.1 + astro: ^1.5.2 vue: ^3.2.37 dependencies: '@astrojs/vue': link:../../packages/integrations/vue @@ -232,25 +232,25 @@ importers: examples/integration: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 devDependencies: astro: link:../../packages/astro examples/minimal: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 dependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 dependencies: astro: link:../../packages/astro examples/portfolio: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 dependencies: astro: link:../../packages/astro @@ -258,7 +258,7 @@ importers: specifiers: '@astrojs/node': ^2.0.1 '@astrojs/svelte': ^1.0.2 - astro: ^1.5.1 + astro: ^1.5.2 concurrently: ^7.2.1 svelte: ^3.48.0 unocss: ^0.15.6 @@ -275,7 +275,7 @@ importers: examples/with-markdown-plugins: specifiers: '@astrojs/markdown-remark': ^1.1.3 - astro: ^1.5.1 + astro: ^1.5.2 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -292,7 +292,7 @@ importers: examples/with-markdown-shiki: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 dependencies: astro: link:../../packages/astro @@ -300,7 +300,7 @@ importers: specifiers: '@astrojs/mdx': ^0.11.4 '@astrojs/preact': ^1.2.0 - astro: ^1.5.1 + astro: ^1.5.2 preact: ^10.6.5 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx @@ -312,7 +312,7 @@ importers: specifiers: '@astrojs/preact': ^1.2.0 '@nanostores/preact': ^0.1.3 - astro: ^1.5.1 + astro: ^1.5.2 nanostores: ^0.5.12 preact: ^10.7.3 dependencies: @@ -327,7 +327,7 @@ importers: '@astrojs/mdx': ^0.11.4 '@astrojs/tailwind': ^2.1.1 '@types/canvas-confetti': ^1.4.3 - astro: ^1.5.1 + astro: ^1.5.2 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -344,7 +344,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 dependencies: @@ -354,7 +354,7 @@ importers: examples/with-vitest: specifiers: - astro: ^1.5.1 + astro: ^1.5.2 vitest: ^0.20.3 dependencies: astro: link:../../packages/astro @@ -3011,6 +3011,14 @@ importers: '@astrojs/prefetch': link:../../.. astro: link:../../../../../astro + packages/integrations/prefetch/test/fixtures/style-prefetch: + specifiers: + '@astrojs/prefetch': workspace:* + astro: workspace:* + dependencies: + '@astrojs/prefetch': link:../../.. + astro: link:../../../../../astro + packages/integrations/react: specifiers: '@babel/core': '>=7.0.0-0 <8.0.0'