diff --git a/.changeset/dry-moose-join.md b/.changeset/dry-moose-join.md deleted file mode 100644 index b90fac4eeb3ff..0000000000000 --- a/.changeset/dry-moose-join.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'@astrojs/vue': minor ---- - -Add support for the `appEntrypoint` option, which accepts a root-relative path to an app entrypoint. The default export of this file should be a function that accepts a Vue `App` instance prior to rendering. This opens up the ability to extend the `App` instance with [custom Vue plugins](https://vuejs.org/guide/reusability/plugins.html). - -```js -// astro.config.mjs -import { defineConfig } from 'astro/config'; -import vue from '@astrojs/vue'; - -export default defineConfig({ - integrations: [ - vue({ - appEntrypoint: '/src/pages/_app' - }) - ] -}) -``` - -```js -// src/pages/_app.ts -import type { App } from 'vue'; -import i18nPlugin from '../plugins/i18n' - -export default function setup(app: App) { - app.use(i18nPlugin, { /* options */ }) -} -``` diff --git a/.changeset/eighty-planes-kneel.md b/.changeset/eighty-planes-kneel.md deleted file mode 100644 index 5f3eec5769812..0000000000000 --- a/.changeset/eighty-planes-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Ensure CLI flags override function-style server config diff --git a/.changeset/gold-roses-argue.md b/.changeset/gold-roses-argue.md deleted file mode 100644 index 05c93789fc0fd..0000000000000 --- a/.changeset/gold-roses-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Support spread parameters for server endpoints diff --git a/.changeset/gorgeous-baboons-sleep.md b/.changeset/gorgeous-baboons-sleep.md deleted file mode 100644 index 98975c390838d..0000000000000 --- a/.changeset/gorgeous-baboons-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix `astro add` trying to add lines from extended configurations when adding frameworks diff --git a/.changeset/honest-crabs-scream.md b/.changeset/honest-crabs-scream.md deleted file mode 100644 index 58dd5f6749878..0000000000000 --- a/.changeset/honest-crabs-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix jsconfig.json aliases not working anymore after 1.5.0 diff --git a/.changeset/hot-dogs-leave.md b/.changeset/hot-dogs-leave.md deleted file mode 100644 index 8083222095507..0000000000000 --- a/.changeset/hot-dogs-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': minor ---- - -Minify Edge Function output to save space diff --git a/.changeset/large-cougars-cough.md b/.changeset/large-cougars-cough.md deleted file mode 100644 index a11a8053a245d..0000000000000 --- a/.changeset/large-cougars-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix Astro-in-MDX dashes in slot attr diff --git a/.changeset/little-dodos-beam.md b/.changeset/little-dodos-beam.md deleted file mode 100644 index 09bd0d7cff714..0000000000000 --- a/.changeset/little-dodos-beam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Separate type definitions for built-in HTML elements and custom elements. Helpful when implementing an "as" prop similar to [styled-components](https://styled-components.com/docs/api#as-polymorphic-prop). diff --git a/.changeset/neat-phones-sin.md b/.changeset/neat-phones-sin.md deleted file mode 100644 index 9a77e4731f418..0000000000000 --- a/.changeset/neat-phones-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/react': patch ---- - -Add `@types/` packages as peerDependencies diff --git a/.changeset/olive-jeans-shout.md b/.changeset/olive-jeans-shout.md deleted file mode 100644 index 423b11e00fab5..0000000000000 --- a/.changeset/olive-jeans-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix types not working properly when using `moduleResolution: 'node16'` diff --git a/.changeset/short-lemons-fold.md b/.changeset/short-lemons-fold.md deleted file mode 100644 index a0223f699cc35..0000000000000 --- a/.changeset/short-lemons-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/node': patch ---- - -fix port in standalone mode diff --git a/.changeset/silent-cougars-run.md b/.changeset/silent-cougars-run.md deleted file mode 100644 index b4cfce318ac51..0000000000000 --- a/.changeset/silent-cougars-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -api routes: adding cookies to the response, also when returning a simple result diff --git a/.changeset/silver-hotels-jam.md b/.changeset/silver-hotels-jam.md deleted file mode 100644 index 1b34b3784806f..0000000000000 --- a/.changeset/silver-hotels-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/solid-js': patch ---- - -Suppress warnings for dependency crawling diff --git a/.changeset/tender-cars-wait.md b/.changeset/tender-cars-wait.md deleted file mode 100644 index 9308fbf07a012..0000000000000 --- a/.changeset/tender-cars-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/tailwind': patch ---- - -Make Tailwind integration compatible with Astro < 1.5 diff --git a/.changeset/tender-lemons-remain.md b/.changeset/tender-lemons-remain.md deleted file mode 100644 index e983a382457ac..0000000000000 --- a/.changeset/tender-lemons-remain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix `astro add` pnpm command diff --git a/.changeset/violet-buckets-call.md b/.changeset/violet-buckets-call.md deleted file mode 100644 index 37688d16b02b6..0000000000000 --- a/.changeset/violet-buckets-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': minor ---- - -Added `includeFiles` and `excludeFiles` options diff --git a/examples/basics/package.json b/examples/basics/package.json index 0a5b48aaaa686..819b2f9999b8a 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0" + "astro": "^1.5.1" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 6baaa6746c367..b09bb798b9a09 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "@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 4fd6e320d0834..4cbede0053fd7 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,9 +15,9 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.5.0" + "astro": "^1.5.1" }, "peerDependencies": { - "astro": "^1.5.0" + "astro": "^1.5.1" } } diff --git a/examples/deno/package.json b/examples/deno/package.json index b5171bfe123ef..9400be4749778 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0" + "astro": "^1.5.1" }, "devDependencies": { "@astrojs/deno": "^1.2.0" diff --git a/examples/docs/package.json b/examples/docs/package.json index 34ea9c03d4388..1da9531b57f9f 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,11 +12,11 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", - "@astrojs/react": "^1.2.0", + "@astrojs/react": "^1.2.1", "@astrojs/preact": "^1.2.0", "@algolia/client-search": "^4.13.1", "@docsearch/css": "^3.1.0", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 581f3b6637feb..f8871a6c0bec2 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "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 160dcd4d2cda6..ca5a9b534c232 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "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 4b25ab7bd9e14..2069523526f2d 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -19,9 +19,9 @@ "svelte": "^3.48.0", "vue": "^3.2.37", "@astrojs/preact": "^1.2.0", - "@astrojs/react": "^1.2.0", - "@astrojs/solid-js": "^1.2.0", + "@astrojs/react": "^1.2.1", + "@astrojs/solid-js": "^1.2.1", "@astrojs/svelte": "^1.0.2", - "@astrojs/vue": "^1.1.0" + "@astrojs/vue": "^1.2.0" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 6a94916a3bd09..bdb82dfbc0f38 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "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 88bdd9917607b..07beab83a467d 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "react": "^18.1.0", "react-dom": "^18.1.0", - "@astrojs/react": "^1.2.0", + "@astrojs/react": "^1.2.1", "@types/react": "^18.0.10", "@types/react-dom": "^18.0.5" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 2c19e901596bb..1368932460f1c 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "solid-js": "^1.4.3", - "@astrojs/solid-js": "^1.2.0" + "@astrojs/solid-js": "^1.2.1" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 1a5fc2cc55cd7..9eade574dd6f0 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.0" + "astro": "^1.5.1" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 779ddf150a849..0e5ffbd305f45 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "vue": "^3.2.37", - "@astrojs/vue": "^1.1.0" + "@astrojs/vue": "^1.2.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 3dfd744ca77dc..4ce51d6c96120 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,9 +15,9 @@ ], "scripts": {}, "devDependencies": { - "astro": "^1.5.0" + "astro": "^1.5.1" }, "peerDependencies": { - "astro": "^1.5.0" + "astro": "^1.5.1" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index d184053a454e4..497a363de0cf3 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0" + "astro": "^1.5.1" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 703c90365fe63..3d2680debe4a6 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.0" + "astro": "^1.5.1" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 7cd4cafe65639..59c39ef79a211 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^1.5.0" + "astro": "^1.5.1" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 21162e0fb8f37..b2a89e5ce0960 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,10 +12,10 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "astro": "^1.5.0", + "astro": "^1.5.1", "svelte": "^3.48.0", "@astrojs/svelte": "^1.0.2", - "@astrojs/node": "^2.0.0", + "@astrojs/node": "^2.0.1", "concurrently": "^7.2.1", "unocss": "^0.15.6", "vite-imagetools": "^4.0.4" diff --git a/examples/ssr/src/pages/login.astro b/examples/ssr/src/pages/login.astro index 45643665e933a..51ad740089db4 100644 --- a/examples/ssr/src/pages/login.astro +++ b/examples/ssr/src/pages/login.astro @@ -27,12 +27,9 @@ import Container from '../components/Container.astro'; }) .then((res) => res.json()) .then((data) => { - document.querySelector("#result").innerHTML = "Progressive login was successful! you will be redirected to the store in 3 seconds"; - setTimeout( - () => location.href = "/", - 3000 - ); - + document.querySelector('#result').innerHTML = + 'Progressive login was successful! you will be redirected to the store in 3 seconds'; + setTimeout(() => (location.href = '/'), 3000); }); }); }); @@ -52,7 +49,7 @@ import Container from '../components/Container.astro'; -
+