[ci] release (#5078)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
8cf692766b
commit
4c1ffef3e4
57 changed files with 165 additions and 186 deletions
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/node': patch
|
||||
---
|
||||
|
||||
Fixes finding the client folder for serving assets
|
|
@ -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 */ })
|
||||
}
|
||||
```
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Ensure CLI flags override function-style server config
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Support spread parameters for server endpoints
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix `astro add` trying to add lines from extended configurations when adding frameworks
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix jsconfig.json aliases not working anymore after 1.5.0
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/vercel': minor
|
||||
---
|
||||
|
||||
Minify Edge Function output to save space
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix Astro-in-MDX dashes in slot attr
|
|
@ -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).
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/react': patch
|
||||
---
|
||||
|
||||
Add `@types/` packages as peerDependencies
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix types not working properly when using `moduleResolution: 'node16'`
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/node': patch
|
||||
---
|
||||
|
||||
fix port in standalone mode
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
api routes: adding cookies to the response, also when returning a simple result
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/solid-js': patch
|
||||
---
|
||||
|
||||
Suppress warnings for dependency crawling
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/tailwind': patch
|
||||
---
|
||||
|
||||
Make Tailwind integration compatible with Astro < 1.5
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix `astro add` pnpm command
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/vercel': minor
|
||||
---
|
||||
|
||||
Added `includeFiles` and `excludeFiles` options
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/deno": "^1.2.0"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"dependencies": {
|
||||
"svelte": "^3.48.0",
|
||||
"@astrojs/svelte": "^1.0.2",
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0",
|
||||
"astro": "^1.5.1",
|
||||
"@astrojs/markdown-remark": "^1.1.3",
|
||||
"hast-util-select": "5.0.1",
|
||||
"rehype-autolink-headings": "^6.1.1",
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0",
|
||||
"astro": "^1.5.1",
|
||||
"preact": "^10.6.5",
|
||||
"@astrojs/preact": "^1.2.0",
|
||||
"@astrojs/mdx": "^0.11.4"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0",
|
||||
"astro": "^1.5.1",
|
||||
"preact": "^10.7.3",
|
||||
"@astrojs/preact": "^1.2.0",
|
||||
"nanostores": "^0.5.12",
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^0.11.4",
|
||||
"@astrojs/tailwind": "^2.1.0",
|
||||
"@astrojs/tailwind": "^2.1.1",
|
||||
"@types/canvas-confetti": "^1.4.3",
|
||||
"astro": "^1.5.0",
|
||||
"astro": "^1.5.1",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"canvas-confetti": "^1.5.1",
|
||||
"postcss": "^8.4.14",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0",
|
||||
"astro": "^1.5.1",
|
||||
"vite-plugin-pwa": "0.11.11",
|
||||
"workbox-window": "^6.5.3"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.5.0",
|
||||
"astro": "^1.5.1",
|
||||
"vitest": "^0.20.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,27 @@
|
|||
# astro
|
||||
|
||||
## 1.5.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#5110](https://github.com/withastro/astro/pull/5110) [`0edfdd325`](https://github.com/withastro/astro/commit/0edfdd325932b0b493b2228e3a121d217c38a727) Thanks [@bluwy](https://github.com/bluwy)! - Ensure CLI flags override function-style server config
|
||||
|
||||
- [#5106](https://github.com/withastro/astro/pull/5106) [`ef0c54316`](https://github.com/withastro/astro/commit/ef0c5431631665c9f6648ee5daee65a3ebf8e9ee) Thanks [@bluwy](https://github.com/bluwy)! - Support spread parameters for server endpoints
|
||||
|
||||
- [#5095](https://github.com/withastro/astro/pull/5095) [`ddfbef5ac`](https://github.com/withastro/astro/commit/ddfbef5acbd4c56d8ce1626a458b5cbb27da47fe) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix `astro add` trying to add lines from extended configurations when adding frameworks
|
||||
|
||||
- [#5076](https://github.com/withastro/astro/pull/5076) [`6f9a88b31`](https://github.com/withastro/astro/commit/6f9a88b31ba0881acd56fcb62c4a554c867b14d6) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix jsconfig.json aliases not working anymore after 1.5.0
|
||||
|
||||
- [#5080](https://github.com/withastro/astro/pull/5080) [`90b715d5c`](https://github.com/withastro/astro/commit/90b715d5c86810ad1edb013156e4810be3252e55) Thanks [@matthewp](https://github.com/matthewp)! - Fix Astro-in-MDX dashes in slot attr
|
||||
|
||||
- [#5098](https://github.com/withastro/astro/pull/5098) [`f684e9d36`](https://github.com/withastro/astro/commit/f684e9d361e3780889ea6e6b3394c0f583bd839a) Thanks [@jkjustjoshing](https://github.com/jkjustjoshing)! - 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).
|
||||
|
||||
- [#5108](https://github.com/withastro/astro/pull/5108) [`ce01225a7`](https://github.com/withastro/astro/commit/ce01225a700aff5b437d46f21161e5f557050e12) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix types not working properly when using `moduleResolution: 'node16'`
|
||||
|
||||
- [#5060](https://github.com/withastro/astro/pull/5060) [`5923dd77c`](https://github.com/withastro/astro/commit/5923dd77c17c80747f9fe746ff8270ad4c820003) Thanks [@AirBorne04](https://github.com/AirBorne04)! - api routes: adding cookies to the response, also when returning a simple result
|
||||
|
||||
- [#5087](https://github.com/withastro/astro/pull/5087) [`49a8d18b4`](https://github.com/withastro/astro/commit/49a8d18b4993d899a05ee8230fdd012fb633533f) Thanks [@JuanM04](https://github.com/JuanM04)! - Fix `astro add` pnpm command
|
||||
|
||||
## 1.5.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# @astrojs/node
|
||||
|
||||
## 2.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#5114](https://github.com/withastro/astro/pull/5114) [`5c0c6e1ac`](https://github.com/withastro/astro/commit/5c0c6e1ac67e6341625f028794986700197334ae) Thanks [@matthewp](https://github.com/matthewp)! - Fixes finding the client folder for serving assets
|
||||
|
||||
- [#5111](https://github.com/withastro/astro/pull/5111) [`df4d84610`](https://github.com/withastro/astro/commit/df4d84610ad2b543a37cb3bcac9887bfef0b8994) Thanks [@rishi-raj-jain](https://github.com/rishi-raj-jain)! - fix port in standalone mode
|
||||
|
||||
## 2.0.0
|
||||
|
||||
### Major Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/node",
|
||||
"description": "Deploy your site to a Node.js server",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# @astrojs/react
|
||||
|
||||
## 1.2.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#5095](https://github.com/withastro/astro/pull/5095) [`ddfbef5ac`](https://github.com/withastro/astro/commit/ddfbef5acbd4c56d8ce1626a458b5cbb27da47fe) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Add `@types/` packages as peerDependencies
|
||||
|
||||
## 1.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/react",
|
||||
"description": "Use React components within Astro",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# @astrojs/solid-js
|
||||
|
||||
## 1.2.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#5089](https://github.com/withastro/astro/pull/5089) [`0173c2b2d`](https://github.com/withastro/astro/commit/0173c2b2dfa49b3cb6afec7a411cdbad272b8fde) Thanks [@bluwy](https://github.com/bluwy)! - Suppress warnings for dependency crawling
|
||||
|
||||
## 1.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/solid-js",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"description": "Use Solid components within Astro",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# @astrojs/tailwind
|
||||
|
||||
## 2.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#5082](https://github.com/withastro/astro/pull/5082) [`5fb7c9383`](https://github.com/withastro/astro/commit/5fb7c9383abf6ccdabdb96b682f683369a8e11fe) Thanks [@matthewp](https://github.com/matthewp)! - Make Tailwind integration compatible with Astro < 1.5
|
||||
|
||||
## 2.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/tailwind",
|
||||
"description": "Tailwind + Astro Integrations",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.1",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# @astrojs/vercel
|
||||
|
||||
## 2.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#5086](https://github.com/withastro/astro/pull/5086) [`f8198d250`](https://github.com/withastro/astro/commit/f8198d2502bbf7f7daf5854e7e12317e39a66fcc) Thanks [@JuanM04](https://github.com/JuanM04)! - Minify Edge Function output to save space
|
||||
|
||||
- [#5085](https://github.com/withastro/astro/pull/5085) [`cd25abae5`](https://github.com/withastro/astro/commit/cd25abae594f9c42d3766753dfeee4f476311f1e) Thanks [@JuanM04](https://github.com/JuanM04)! - Added `includeFiles` and `excludeFiles` options
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/vercel",
|
||||
"description": "Deploy your site to Vercel",
|
||||
"version": "2.2.0",
|
||||
"version": "2.3.0",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -1,5 +1,37 @@
|
|||
# @astrojs/vue
|
||||
|
||||
## 1.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#5075](https://github.com/withastro/astro/pull/5075) [`d25f54cb9`](https://github.com/withastro/astro/commit/d25f54cb9306eea9ed0445af8f77604dacacad43) Thanks [@natemoo-re](https://github.com/natemoo-re)! - 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 */
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
## 1.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/vue",
|
||||
"version": "1.1.0",
|
||||
"version": "1.2.0",
|
||||
"description": "Use Vue components within Astro",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
|
@ -61,7 +61,7 @@ importers:
|
|||
|
||||
examples/basics:
|
||||
specifiers:
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
dependencies:
|
||||
'@astrojs/mdx': link:../../packages/integrations/mdx
|
||||
'@astrojs/rss': link:../../packages/astro-rss
|
||||
|
@ -79,14 +79,14 @@ importers:
|
|||
|
||||
examples/component:
|
||||
specifiers:
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/deno:
|
||||
specifiers:
|
||||
'@astrojs/deno': ^1.2.0
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
devDependencies:
|
||||
|
@ -96,13 +96,13 @@ importers:
|
|||
specifiers:
|
||||
'@algolia/client-search': ^4.13.1
|
||||
'@astrojs/preact': ^1.2.0
|
||||
'@astrojs/react': ^1.2.0
|
||||
'@astrojs/react': ^1.2.1
|
||||
'@docsearch/css': ^3.1.0
|
||||
'@docsearch/react': ^3.1.0
|
||||
'@types/node': ^18.0.0
|
||||
'@types/react': ^17.0.45
|
||||
'@types/react-dom': ^18.0.0
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
lit: ^2.2.5
|
||||
dependencies:
|
||||
'@astrojs/lit': link:../../packages/integrations/lit
|
||||
|
@ -147,11 +147,11 @@ importers:
|
|||
examples/framework-multiple:
|
||||
specifiers:
|
||||
'@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
|
||||
astro: ^1.5.0
|
||||
'@astrojs/vue': ^1.2.0
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
'@astrojs/preact': link:../../packages/integrations/preact
|
||||
|
@ -186,10 +186,10 @@ importers:
|
|||
|
||||
examples/framework-react:
|
||||
specifiers:
|
||||
'@astrojs/react': ^1.2.0
|
||||
'@astrojs/react': ^1.2.1
|
||||
'@types/react': ^18.0.10
|
||||
'@types/react-dom': ^18.0.5
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
dependencies:
|
||||
|
@ -202,8 +202,8 @@ importers:
|
|||
|
||||
examples/framework-solid:
|
||||
specifiers:
|
||||
'@astrojs/solid-js': ^1.2.0
|
||||
astro: ^1.5.0
|
||||
'@astrojs/solid-js': ^1.2.1
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
svelte: ^3.48.0
|
||||
dependencies:
|
||||
'@astrojs/svelte': link:../../packages/integrations/svelte
|
||||
|
@ -222,8 +222,8 @@ importers:
|
|||
|
||||
examples/framework-vue:
|
||||
specifiers:
|
||||
'@astrojs/vue': ^1.1.0
|
||||
astro: ^1.5.0
|
||||
'@astrojs/vue': ^1.2.0
|
||||
astro: ^1.5.1
|
||||
vue: ^3.2.37
|
||||
dependencies:
|
||||
'@astrojs/vue': link:../../packages/integrations/vue
|
||||
|
@ -232,33 +232,33 @@ importers:
|
|||
|
||||
examples/integration:
|
||||
specifiers:
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/minimal:
|
||||
specifiers:
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/non-html-pages:
|
||||
specifiers:
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/portfolio:
|
||||
specifiers:
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/ssr:
|
||||
specifiers:
|
||||
'@astrojs/node': ^2.0.0
|
||||
'@astrojs/node': ^2.0.1
|
||||
'@astrojs/svelte': ^1.0.2
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
|
@ -300,7 +300,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/mdx': ^0.11.4
|
||||
'@astrojs/preact': ^1.2.0
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
nanostores: ^0.5.12
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
|
@ -325,9 +325,9 @@ importers:
|
|||
examples/with-tailwindcss:
|
||||
specifiers:
|
||||
'@astrojs/mdx': ^0.11.4
|
||||
'@astrojs/tailwind': ^2.1.0
|
||||
'@astrojs/tailwind': ^2.1.1
|
||||
'@types/canvas-confetti': ^1.4.3
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
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.0
|
||||
astro: ^1.5.1
|
||||
vite-plugin-pwa: 0.11.11
|
||||
workbox-window: ^6.5.3
|
||||
dependencies:
|
||||
|
@ -354,7 +354,7 @@ importers:
|
|||
|
||||
examples/with-vitest:
|
||||
specifiers:
|
||||
astro: ^1.5.0
|
||||
astro: ^1.5.1
|
||||
vitest: ^0.20.3
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
|
Loading…
Reference in a new issue