mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] release (#10365)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
41dca1e413
commit
0e074fb390
62 changed files with 344 additions and 294 deletions
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Allows middleware to run when a matching page or endpoint is not found. Previously, a `pages/404.astro` or `pages/[...catch-all].astro` route had to match to allow middleware. This is now not necessary.
|
||||
|
||||
When a route does not match in SSR deployments, your adapter may show a platform-specific 404 page instead of running Astro's SSR code. In these cases, you may still need to add a `404.astro` or fallback route with spread params, or use a routing configuration option if your adapter provides one.
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
"@astrojs/markdown-remark": minor
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Allows passing any props to the `<Code />` component
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Adds a new `experimental.directRenderScript` configuration option which provides a more reliable strategy to prevent scripts from being executed in pages where they are not used.
|
||||
|
||||
This replaces the `experimental.optimizeHoistedScript` flag introduced in v2.10.4 to prevent unused components' scripts from being included in a page unexpectedly. That experimental option no longer exists and must be removed from your configuration, whether or not you enable `directRenderScript`:
|
||||
|
||||
```diff
|
||||
// astro.config.mjs
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
experimental: {
|
||||
- optimizeHoistedScript: true,
|
||||
+ directRenderScript: true
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
With `experimental.directRenderScript` configured, scripts are now directly rendered as declared in Astro files (including existing features like TypeScript, importing `node_modules`, and deduplicating scripts). You can also now conditionally render scripts in your Astro file.
|
||||
|
||||
However, this means scripts are no longer hoisted to the `<head>` and multiple scripts on a page are no longer bundled together. If you enable this option, you should check that all your `<script>` tags behave as expected.
|
||||
|
||||
This option will be enabled by default in Astro 5.0.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Stabilizes `markdown.shikiConfig.experimentalThemes` as `markdown.shikiConfig.themes`. No behaviour changes are made to this option.
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
"@astrojs/internal-helpers": minor
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Adds the option to pass an object to `build.assetsPrefix`. This allows for the use of multiple CDN prefixes based on the target file type.
|
||||
|
||||
When passing an object to `build.assetsPrefix`, you must also specify a `fallback` domain to be used for all other file types not specified.
|
||||
|
||||
Specify a file extension as the key (e.g. 'js', 'png') and the URL serving your assets of that file type as the value:
|
||||
|
||||
```js
|
||||
// astro.config.mjs
|
||||
import { defineConfig } from "astro/config"
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
assetsPrefix: {
|
||||
'js': "https://js.cdn.example.com",
|
||||
'mjs': "https://js.cdn.example.com", // if you have .mjs files, you must add a new entry like this
|
||||
'png': "https://images.cdn.example.com",
|
||||
'fallback': "https://generic.cdn.example.com"
|
||||
}
|
||||
}
|
||||
})
|
||||
```
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Adds support for emitting warning and info notifications from dev toolbar apps.
|
||||
|
||||
When using the `toggle-notification` event, the severity can be specified through `detail.level`:
|
||||
|
||||
```ts
|
||||
eventTarget.dispatchEvent(
|
||||
new CustomEvent("toggle-notification", {
|
||||
detail: {
|
||||
level: "warning",
|
||||
},
|
||||
})
|
||||
);
|
||||
```
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Adds the ability to set colors on all the included UI elements for dev toolbar apps. Previously, only badge and buttons could be customized.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Fixes an issue where some CLI commands attempted to directly read vite config files.
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
"@astrojs/react": minor
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Changes the default behavior of `transition:persist` to update the props of persisted islands upon navigation. Also adds a new view transitions option `transition:persist-props` (default: `false`) to prevent props from updating as needed.
|
||||
|
||||
Islands which have the `transition:persist` property to keep their state when using the `<ViewTransitions />` router will now have their props updated upon navigation. This is useful in cases where the component relies on page-specific props, such as the current page title, which should update upon navigation.
|
||||
|
||||
For example, the component below is set to persist across navigation. This component receives a `products` props and might have some internal state, such as which filters are applied:
|
||||
|
||||
```astro
|
||||
<ProductListing transition:persist products={products} />
|
||||
```
|
||||
|
||||
Upon navigation, this component persists, but the desired `products` might change, for example if you are visiting a category of products, or you are performing a search.
|
||||
|
||||
Previously the props would not change on navigation, and your island would have to handle updating them externally, such as with API calls.
|
||||
|
||||
With this change the props are now updated, while still preserving state.
|
||||
|
||||
You can override this new default behavior on a per-component basis using `transition:persist-props=true` to persist both props and state during navigation:
|
||||
|
||||
```astro
|
||||
<ProductListing transition:persist-props=true products={products} />
|
||||
```
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Treeshakes unused Astro component scoped styles
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Supports adding the `data-astro-rerun` attribute on script tags so that they will be re-executed after view transitions
|
||||
|
||||
```html
|
||||
<script is:inline data-astro-rerun>...</script>
|
||||
```
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"@astrojs/db": patch
|
||||
---
|
||||
|
||||
Handle new schema API response format
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Updates the base `tsconfig.json` preset with `jsx: 'preserve'` in order to fix errors when importing Astro files inside `.js` and `.ts` files.
|
|
@ -1,44 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Adds experimental JSON Schema support for content collections.
|
||||
|
||||
This feature will auto-generate a JSON Schema for content collections of `type: 'data'` which can be used as the `$schema` value for TypeScript-style autocompletion/hints in tools like VSCode.
|
||||
|
||||
To enable this feature, add the experimental flag:
|
||||
|
||||
```diff
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
experimental: {
|
||||
+ contentCollectionJsonSchema: true
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
This experimental implementation requires you to manually reference the schema in each data entry file of the collection:
|
||||
|
||||
```diff
|
||||
// src/content/test/entry.json
|
||||
{
|
||||
+ "$schema": "../../../.astro/collections/test.schema.json",
|
||||
"test": "test"
|
||||
}
|
||||
```
|
||||
|
||||
Alternatively, you can set this in your [VSCode `json.schemas` settings](https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings):
|
||||
|
||||
```diff
|
||||
"json.schemas": [
|
||||
{
|
||||
"fileMatch": [
|
||||
"/src/content/test/**"
|
||||
],
|
||||
"url": "../../../.astro/collections/test.schema.json"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Note that this initial implementation uses a library with [known issues for advanced Zod schemas](https://github.com/StefanTerdell/zod-to-json-schema#known-issues), so you may wish to consult these limitations before enabling the experimental flag.
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
"@astrojs/markdown-remark": minor
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Migrates `shikiji` to `shiki` 1.0
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
"@astrojs/mdx": minor
|
||||
"@astrojs/markdown-remark": minor
|
||||
---
|
||||
|
||||
Changes Astro's internal syntax highlighting to use rehype plugins instead of remark plugins. This provides better interoperability with other [rehype plugins](https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins) that deal with code blocks, in particular with third party syntax highlighting plugins and [`rehype-mermaid`](https://github.com/remcohaszing/rehype-mermaid).
|
||||
|
||||
This may be a breaking change if you are currently using:
|
||||
- a remark plugin that relies on nodes of type `html`
|
||||
- a rehype plugin that depends on nodes of type `raw`.
|
||||
|
||||
Please review your rendered code samples carefully, and if necessary, consider using a rehype plugin that deals with the generated `element` nodes instead. You can transform the AST of raw HTML strings, or alternatively use [`hast-util-to-html`](https://github.com/syntax-tree/hast-util-to-html) to get a string from a `raw` node.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Adds support for page mutations to the audits in the dev toolbar. Astro will now rerun the audits whenever elements are added or deleted from the page.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
"astro": minor
|
||||
---
|
||||
|
||||
Updates the UI for dev toolbar audits with new information
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^2.1.1",
|
||||
"@astrojs/mdx": "^2.2.0",
|
||||
"@astrojs/rss": "^4.0.5",
|
||||
"@astrojs/sitemap": "^3.1.1",
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.0.0"
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"@astrojs/alpinejs": "^0.4.0",
|
||||
"@types/alpinejs": "^3.13.5",
|
||||
"alpinejs": "^3.13.3",
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/lit": "^4.0.1",
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"lit": "^3.1.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/preact": "^3.1.1",
|
||||
"@astrojs/react": "^3.0.10",
|
||||
"@astrojs/react": "^3.1.0",
|
||||
"@astrojs/solid-js": "^4.0.1",
|
||||
"@astrojs/svelte": "^5.2.0",
|
||||
"@astrojs/vue": "^4.0.8",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"preact": "^10.19.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "^3.1.1",
|
||||
"@preact/signals": "^1.2.1",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"preact": "^10.19.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/react": "^3.0.10",
|
||||
"@astrojs/react": "^3.1.0",
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/react-dom": "^18.2.15",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/solid-js": "^4.0.1",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"solid-js": "^1.8.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/svelte": "^5.2.0",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"svelte": "^4.2.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/vue": "^4.0.8",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"vue": "^3.3.8"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^8.2.3",
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.0.0"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^8.2.3",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"html-minifier": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/node": "^8.2.3",
|
||||
"@astrojs/svelte": "^5.2.0",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"svelte": "^4.2.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"sass": "^1.69.5",
|
||||
"sharp": "^0.32.6"
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
"devDependencies": {
|
||||
"@astrojs/tailwind": "^5.1.0",
|
||||
"@astrojs/node": "^8.2.3",
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdoc": "^0.9.1",
|
||||
"astro": "^4.4.15"
|
||||
"@astrojs/markdoc": "^0.9.2",
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdown-remark": "^4.2.1",
|
||||
"astro": "^4.4.15",
|
||||
"@astrojs/markdown-remark": "^4.3.0",
|
||||
"astro": "^4.5.0",
|
||||
"hast-util-select": "^6.0.2",
|
||||
"rehype-autolink-headings": "^7.1.0",
|
||||
"rehype-slug": "^6.0.0",
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.4.15"
|
||||
"astro": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^2.1.1",
|
||||
"@astrojs/mdx": "^2.2.0",
|
||||
"@astrojs/preact": "^3.1.1",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"preact": "^10.19.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "^3.1.1",
|
||||
"@nanostores/preact": "^0.5.0",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"nanostores": "^0.9.5",
|
||||
"preact": "^10.19.2"
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^2.1.1",
|
||||
"@astrojs/mdx": "^2.2.0",
|
||||
"@astrojs/tailwind": "^5.1.0",
|
||||
"@types/canvas-confetti": "^1.6.3",
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"autoprefixer": "^10.4.15",
|
||||
"canvas-confetti": "^1.9.1",
|
||||
"postcss": "^8.4.28",
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.4.15",
|
||||
"astro": "^4.5.0",
|
||||
"vitest": "^1.3.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,166 @@
|
|||
# astro
|
||||
|
||||
## 4.5.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#10206](https://github.com/withastro/astro/pull/10206) [`dc87214141e7f8406c0fdf6a7f425dad6dea6d3e`](https://github.com/withastro/astro/commit/dc87214141e7f8406c0fdf6a7f425dad6dea6d3e) Thanks [@lilnasy](https://github.com/lilnasy)! - Allows middleware to run when a matching page or endpoint is not found. Previously, a `pages/404.astro` or `pages/[...catch-all].astro` route had to match to allow middleware. This is now not necessary.
|
||||
|
||||
When a route does not match in SSR deployments, your adapter may show a platform-specific 404 page instead of running Astro's SSR code. In these cases, you may still need to add a `404.astro` or fallback route with spread params, or use a routing configuration option if your adapter provides one.
|
||||
|
||||
- [#9960](https://github.com/withastro/astro/pull/9960) [`c081adf998d30419fed97d8fccc11340cdc512e0`](https://github.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0) Thanks [@StandardGage](https://github.com/StandardGage)! - Allows passing any props to the `<Code />` component
|
||||
|
||||
- [#10102](https://github.com/withastro/astro/pull/10102) [`e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7`](https://github.com/withastro/astro/commit/e3f02f5fb1cf0dae3c54beb3a4af3dbf3b06abb7) Thanks [@bluwy](https://github.com/bluwy)! - Adds a new `experimental.directRenderScript` configuration option which provides a more reliable strategy to prevent scripts from being executed in pages where they are not used.
|
||||
|
||||
This replaces the `experimental.optimizeHoistedScript` flag introduced in v2.10.4 to prevent unused components' scripts from being included in a page unexpectedly. That experimental option no longer exists and must be removed from your configuration, whether or not you enable `directRenderScript`:
|
||||
|
||||
```diff
|
||||
// astro.config.mjs
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
experimental: {
|
||||
- optimizeHoistedScript: true,
|
||||
+ directRenderScript: true
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
With `experimental.directRenderScript` configured, scripts are now directly rendered as declared in Astro files (including existing features like TypeScript, importing `node_modules`, and deduplicating scripts). You can also now conditionally render scripts in your Astro file.
|
||||
|
||||
However, this means scripts are no longer hoisted to the `<head>` and multiple scripts on a page are no longer bundled together. If you enable this option, you should check that all your `<script>` tags behave as expected.
|
||||
|
||||
This option will be enabled by default in Astro 5.0.
|
||||
|
||||
- [#10130](https://github.com/withastro/astro/pull/10130) [`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://github.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d) Thanks [@bluwy](https://github.com/bluwy)! - Stabilizes `markdown.shikiConfig.experimentalThemes` as `markdown.shikiConfig.themes`. No behaviour changes are made to this option.
|
||||
|
||||
- [#10189](https://github.com/withastro/astro/pull/10189) [`1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd`](https://github.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd) Thanks [@peng](https://github.com/peng)! - Adds the option to pass an object to `build.assetsPrefix`. This allows for the use of multiple CDN prefixes based on the target file type.
|
||||
|
||||
When passing an object to `build.assetsPrefix`, you must also specify a `fallback` domain to be used for all other file types not specified.
|
||||
|
||||
Specify a file extension as the key (e.g. 'js', 'png') and the URL serving your assets of that file type as the value:
|
||||
|
||||
```js
|
||||
// astro.config.mjs
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
assetsPrefix: {
|
||||
js: 'https://js.cdn.example.com',
|
||||
mjs: 'https://js.cdn.example.com', // if you have .mjs files, you must add a new entry like this
|
||||
png: 'https://images.cdn.example.com',
|
||||
fallback: 'https://generic.cdn.example.com',
|
||||
},
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
- [#10252](https://github.com/withastro/astro/pull/10252) [`3307cb34f17159dfd3f03144697040fcaa10e903`](https://github.com/withastro/astro/commit/3307cb34f17159dfd3f03144697040fcaa10e903) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds support for emitting warning and info notifications from dev toolbar apps.
|
||||
|
||||
When using the `toggle-notification` event, the severity can be specified through `detail.level`:
|
||||
|
||||
```ts
|
||||
eventTarget.dispatchEvent(
|
||||
new CustomEvent('toggle-notification', {
|
||||
detail: {
|
||||
level: 'warning',
|
||||
},
|
||||
})
|
||||
);
|
||||
```
|
||||
|
||||
- [#10186](https://github.com/withastro/astro/pull/10186) [`959ca5f9f86ef2c0a5a23080cc01c25f53d613a9`](https://github.com/withastro/astro/commit/959ca5f9f86ef2c0a5a23080cc01c25f53d613a9) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds the ability to set colors on all the included UI elements for dev toolbar apps. Previously, only badge and buttons could be customized.
|
||||
|
||||
- [#10136](https://github.com/withastro/astro/pull/10136) [`9cd84bd19b92fb43ae48809f575ee12ebd43ea8f`](https://github.com/withastro/astro/commit/9cd84bd19b92fb43ae48809f575ee12ebd43ea8f) Thanks [@matthewp](https://github.com/matthewp)! - Changes the default behavior of `transition:persist` to update the props of persisted islands upon navigation. Also adds a new view transitions option `transition:persist-props` (default: `false`) to prevent props from updating as needed.
|
||||
|
||||
Islands which have the `transition:persist` property to keep their state when using the `<ViewTransitions />` router will now have their props updated upon navigation. This is useful in cases where the component relies on page-specific props, such as the current page title, which should update upon navigation.
|
||||
|
||||
For example, the component below is set to persist across navigation. This component receives a `products` props and might have some internal state, such as which filters are applied:
|
||||
|
||||
```astro
|
||||
<ProductListing transition:persist products={products} />
|
||||
```
|
||||
|
||||
Upon navigation, this component persists, but the desired `products` might change, for example if you are visiting a category of products, or you are performing a search.
|
||||
|
||||
Previously the props would not change on navigation, and your island would have to handle updating them externally, such as with API calls.
|
||||
|
||||
With this change the props are now updated, while still preserving state.
|
||||
|
||||
You can override this new default behavior on a per-component basis using `transition:persist-props=true` to persist both props and state during navigation:
|
||||
|
||||
```astro
|
||||
<ProductListing transition:persist-props="true" products={products} />
|
||||
```
|
||||
|
||||
- [#9977](https://github.com/withastro/astro/pull/9977) [`0204b7de37bf626e1b97175b605adbf91d885386`](https://github.com/withastro/astro/commit/0204b7de37bf626e1b97175b605adbf91d885386) Thanks [@OliverSpeir](https://github.com/OliverSpeir)! - Supports adding the `data-astro-rerun` attribute on script tags so that they will be re-executed after view transitions
|
||||
|
||||
```html
|
||||
<script is:inline data-astro-rerun>
|
||||
...
|
||||
</script>
|
||||
```
|
||||
|
||||
- [#10145](https://github.com/withastro/astro/pull/10145) [`65692fa7b5f4440c644c8cf3dd9bc50103d2c33b`](https://github.com/withastro/astro/commit/65692fa7b5f4440c644c8cf3dd9bc50103d2c33b) Thanks [@alexanderniebuhr](https://github.com/alexanderniebuhr)! - Adds experimental JSON Schema support for content collections.
|
||||
|
||||
This feature will auto-generate a JSON Schema for content collections of `type: 'data'` which can be used as the `$schema` value for TypeScript-style autocompletion/hints in tools like VSCode.
|
||||
|
||||
To enable this feature, add the experimental flag:
|
||||
|
||||
```diff
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
experimental: {
|
||||
+ contentCollectionJsonSchema: true
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
This experimental implementation requires you to manually reference the schema in each data entry file of the collection:
|
||||
|
||||
```diff
|
||||
// src/content/test/entry.json
|
||||
{
|
||||
+ "$schema": "../../../.astro/collections/test.schema.json",
|
||||
"test": "test"
|
||||
}
|
||||
```
|
||||
|
||||
Alternatively, you can set this in your [VSCode `json.schemas` settings](https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings):
|
||||
|
||||
```diff
|
||||
"json.schemas": [
|
||||
{
|
||||
"fileMatch": [
|
||||
"/src/content/test/**"
|
||||
],
|
||||
"url": "../../../.astro/collections/test.schema.json"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
Note that this initial implementation uses a library with [known issues for advanced Zod schemas](https://github.com/StefanTerdell/zod-to-json-schema#known-issues), so you may wish to consult these limitations before enabling the experimental flag.
|
||||
|
||||
- [#10130](https://github.com/withastro/astro/pull/10130) [`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://github.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d) Thanks [@bluwy](https://github.com/bluwy)! - Migrates `shikiji` to `shiki` 1.0
|
||||
|
||||
- [#10268](https://github.com/withastro/astro/pull/10268) [`2013e70bce16366781cc12e52823bb257fe460c0`](https://github.com/withastro/astro/commit/2013e70bce16366781cc12e52823bb257fe460c0) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds support for page mutations to the audits in the dev toolbar. Astro will now rerun the audits whenever elements are added or deleted from the page.
|
||||
|
||||
- [#10217](https://github.com/withastro/astro/pull/10217) [`5c7862a9fe69954f8630538ebb7212cd04b8a810`](https://github.com/withastro/astro/commit/5c7862a9fe69954f8630538ebb7212cd04b8a810) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Updates the UI for dev toolbar audits with new information
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#10360](https://github.com/withastro/astro/pull/10360) [`ac766647b0e6156b7c4a0bb9a11981fe168852d7`](https://github.com/withastro/astro/commit/ac766647b0e6156b7c4a0bb9a11981fe168852d7) Thanks [@nmattia](https://github.com/nmattia)! - Fixes an issue where some CLI commands attempted to directly read vite config files.
|
||||
|
||||
- [#10291](https://github.com/withastro/astro/pull/10291) [`8107a2721b6abb07c3120ac90e03c39f2a44ab0c`](https://github.com/withastro/astro/commit/8107a2721b6abb07c3120ac90e03c39f2a44ab0c) Thanks [@bluwy](https://github.com/bluwy)! - Treeshakes unused Astro component scoped styles
|
||||
|
||||
- [#10368](https://github.com/withastro/astro/pull/10368) [`78bafc5d661ff7dd071c241cb1303c4d8a774d21`](https://github.com/withastro/astro/commit/78bafc5d661ff7dd071c241cb1303c4d8a774d21) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Updates the base `tsconfig.json` preset with `jsx: 'preserve'` in order to fix errors when importing Astro files inside `.js` and `.ts` files.
|
||||
|
||||
- Updated dependencies [[`c081adf998d30419fed97d8fccc11340cdc512e0`](https://github.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0), [`1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd`](https://github.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd), [`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://github.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d), [`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://github.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18)]:
|
||||
- @astrojs/markdown-remark@4.3.0
|
||||
- @astrojs/internal-helpers@0.3.0
|
||||
|
||||
## 4.4.15
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "4.4.15",
|
||||
"version": "4.5.0",
|
||||
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# @astrojs/db
|
||||
|
||||
## 0.7.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#10378](https://github.com/withastro/astro/pull/10378) [`41dca1e413c2f1e38f0326bd6241ccbf9b8ee0e4`](https://github.com/withastro/astro/commit/41dca1e413c2f1e38f0326bd6241ccbf9b8ee0e4) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Handle new schema API response format
|
||||
|
||||
## 0.7.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/db",
|
||||
"version": "0.7.0",
|
||||
"version": "0.7.1",
|
||||
"description": "",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# @astrojs/markdoc
|
||||
|
||||
## 0.9.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd`](https://github.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd)]:
|
||||
- @astrojs/internal-helpers@0.3.0
|
||||
|
||||
## 0.9.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/markdoc",
|
||||
"description": "Add support for Markdoc in your Astro site",
|
||||
"version": "0.9.1",
|
||||
"version": "0.9.2",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,23 @@
|
|||
# @astrojs/mdx
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#10104](https://github.com/withastro/astro/pull/10104) [`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://github.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18) Thanks [@remcohaszing](https://github.com/remcohaszing)! - Changes Astro's internal syntax highlighting to use rehype plugins instead of remark plugins. This provides better interoperability with other [rehype plugins](https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins) that deal with code blocks, in particular with third party syntax highlighting plugins and [`rehype-mermaid`](https://github.com/remcohaszing/rehype-mermaid).
|
||||
|
||||
This may be a breaking change if you are currently using:
|
||||
|
||||
- a remark plugin that relies on nodes of type `html`
|
||||
- a rehype plugin that depends on nodes of type `raw`.
|
||||
|
||||
Please review your rendered code samples carefully, and if necessary, consider using a rehype plugin that deals with the generated `element` nodes instead. You can transform the AST of raw HTML strings, or alternatively use [`hast-util-to-html`](https://github.com/syntax-tree/hast-util-to-html) to get a string from a `raw` node.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`c081adf998d30419fed97d8fccc11340cdc512e0`](https://github.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0), [`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://github.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d), [`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://github.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18)]:
|
||||
- @astrojs/markdown-remark@4.3.0
|
||||
|
||||
## 2.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/mdx",
|
||||
"description": "Add support for MDX pages in your Astro site",
|
||||
"version": "2.1.1",
|
||||
"version": "2.2.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,31 @@
|
|||
# @astrojs/react
|
||||
|
||||
## 3.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#10136](https://github.com/withastro/astro/pull/10136) [`9cd84bd19b92fb43ae48809f575ee12ebd43ea8f`](https://github.com/withastro/astro/commit/9cd84bd19b92fb43ae48809f575ee12ebd43ea8f) Thanks [@matthewp](https://github.com/matthewp)! - Changes the default behavior of `transition:persist` to update the props of persisted islands upon navigation. Also adds a new view transitions option `transition:persist-props` (default: `false`) to prevent props from updating as needed.
|
||||
|
||||
Islands which have the `transition:persist` property to keep their state when using the `<ViewTransitions />` router will now have their props updated upon navigation. This is useful in cases where the component relies on page-specific props, such as the current page title, which should update upon navigation.
|
||||
|
||||
For example, the component below is set to persist across navigation. This component receives a `products` props and might have some internal state, such as which filters are applied:
|
||||
|
||||
```astro
|
||||
<ProductListing transition:persist products={products} />
|
||||
```
|
||||
|
||||
Upon navigation, this component persists, but the desired `products` might change, for example if you are visiting a category of products, or you are performing a search.
|
||||
|
||||
Previously the props would not change on navigation, and your island would have to handle updating them externally, such as with API calls.
|
||||
|
||||
With this change the props are now updated, while still preserving state.
|
||||
|
||||
You can override this new default behavior on a per-component basis using `transition:persist-props=true` to persist both props and state during navigation:
|
||||
|
||||
```astro
|
||||
<ProductListing transition:persist-props="true" products={products} />
|
||||
```
|
||||
|
||||
## 3.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/react",
|
||||
"description": "Use React components within Astro",
|
||||
"version": "3.0.10",
|
||||
"version": "3.1.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# @astrojs/vercel
|
||||
|
||||
## 7.3.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd`](https://github.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd)]:
|
||||
- @astrojs/internal-helpers@0.3.0
|
||||
|
||||
## 7.3.5
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/vercel",
|
||||
"description": "Deploy your site to Vercel",
|
||||
"version": "7.3.5",
|
||||
"version": "7.3.6",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -1,5 +1,31 @@
|
|||
# @astrojs/internal-helpers
|
||||
|
||||
## 0.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#10189](https://github.com/withastro/astro/pull/10189) [`1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd`](https://github.com/withastro/astro/commit/1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd) Thanks [@peng](https://github.com/peng)! - Adds the option to pass an object to `build.assetsPrefix`. This allows for the use of multiple CDN prefixes based on the target file type.
|
||||
|
||||
When passing an object to `build.assetsPrefix`, you must also specify a `fallback` domain to be used for all other file types not specified.
|
||||
|
||||
Specify a file extension as the key (e.g. 'js', 'png') and the URL serving your assets of that file type as the value:
|
||||
|
||||
```js
|
||||
// astro.config.mjs
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
assetsPrefix: {
|
||||
js: 'https://js.cdn.example.com',
|
||||
mjs: 'https://js.cdn.example.com', // if you have .mjs files, you must add a new entry like this
|
||||
png: 'https://images.cdn.example.com',
|
||||
fallback: 'https://generic.cdn.example.com',
|
||||
},
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
## 0.2.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/internal-helpers",
|
||||
"description": "Internal helpers used by core Astro packages.",
|
||||
"version": "0.2.1",
|
||||
"version": "0.3.0",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -1,5 +1,22 @@
|
|||
# @astrojs/markdown-remark
|
||||
|
||||
## 4.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#9960](https://github.com/withastro/astro/pull/9960) [`c081adf998d30419fed97d8fccc11340cdc512e0`](https://github.com/withastro/astro/commit/c081adf998d30419fed97d8fccc11340cdc512e0) Thanks [@StandardGage](https://github.com/StandardGage)! - Allows passing any props to the `<Code />` component
|
||||
|
||||
- [#10130](https://github.com/withastro/astro/pull/10130) [`5a9528741fa98d017b269c7e4f013058028bdc5d`](https://github.com/withastro/astro/commit/5a9528741fa98d017b269c7e4f013058028bdc5d) Thanks [@bluwy](https://github.com/bluwy)! - Migrates `shikiji` to `shiki` 1.0
|
||||
|
||||
- [#10104](https://github.com/withastro/astro/pull/10104) [`a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18`](https://github.com/withastro/astro/commit/a31bbd7ff8f3ec62ee507f72d1d25140b82ffc18) Thanks [@remcohaszing](https://github.com/remcohaszing)! - Changes Astro's internal syntax highlighting to use rehype plugins instead of remark plugins. This provides better interoperability with other [rehype plugins](https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins) that deal with code blocks, in particular with third party syntax highlighting plugins and [`rehype-mermaid`](https://github.com/remcohaszing/rehype-mermaid).
|
||||
|
||||
This may be a breaking change if you are currently using:
|
||||
|
||||
- a remark plugin that relies on nodes of type `html`
|
||||
- a rehype plugin that depends on nodes of type `raw`.
|
||||
|
||||
Please review your rendered code samples carefully, and if necessary, consider using a rehype plugin that deals with the generated `element` nodes instead. You can transform the AST of raw HTML strings, or alternatively use [`hast-util-to-html`](https://github.com/syntax-tree/hast-util-to-html) to get a string from a `raw` node.
|
||||
|
||||
## 4.2.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/markdown-remark",
|
||||
"version": "4.2.1",
|
||||
"version": "4.3.0",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -134,13 +134,13 @@ importers:
|
|||
examples/basics:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/blog:
|
||||
dependencies:
|
||||
'@astrojs/mdx':
|
||||
specifier: ^2.1.1
|
||||
specifier: ^2.2.0
|
||||
version: link:../../packages/integrations/mdx
|
||||
'@astrojs/rss':
|
||||
specifier: ^4.0.5
|
||||
|
@ -149,13 +149,13 @@ importers:
|
|||
specifier: ^3.1.1
|
||||
version: link:../../packages/integrations/sitemap
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/component:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/framework-alpine:
|
||||
|
@ -170,7 +170,7 @@ importers:
|
|||
specifier: ^3.13.3
|
||||
version: 3.13.3
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/framework-lit:
|
||||
|
@ -182,7 +182,7 @@ importers:
|
|||
specifier: ^0.2.1
|
||||
version: 0.2.1
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
lit:
|
||||
specifier: ^3.1.2
|
||||
|
@ -194,7 +194,7 @@ importers:
|
|||
specifier: ^3.1.1
|
||||
version: link:../../packages/integrations/preact
|
||||
'@astrojs/react':
|
||||
specifier: ^3.0.10
|
||||
specifier: ^3.1.0
|
||||
version: link:../../packages/integrations/react
|
||||
'@astrojs/solid-js':
|
||||
specifier: ^4.0.1
|
||||
|
@ -206,7 +206,7 @@ importers:
|
|||
specifier: ^4.0.8
|
||||
version: link:../../packages/integrations/vue
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.19.2
|
||||
|
@ -236,7 +236,7 @@ importers:
|
|||
specifier: ^1.2.1
|
||||
version: 1.2.1(preact@10.19.3)
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.19.2
|
||||
|
@ -245,7 +245,7 @@ importers:
|
|||
examples/framework-react:
|
||||
dependencies:
|
||||
'@astrojs/react':
|
||||
specifier: ^3.0.10
|
||||
specifier: ^3.1.0
|
||||
version: link:../../packages/integrations/react
|
||||
'@types/react':
|
||||
specifier: ^18.2.37
|
||||
|
@ -254,7 +254,7 @@ importers:
|
|||
specifier: ^18.2.15
|
||||
version: 18.2.18
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
react:
|
||||
specifier: ^18.2.0
|
||||
|
@ -269,7 +269,7 @@ importers:
|
|||
specifier: ^4.0.1
|
||||
version: link:../../packages/integrations/solid
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
solid-js:
|
||||
specifier: ^1.8.5
|
||||
|
@ -281,7 +281,7 @@ importers:
|
|||
specifier: ^5.2.0
|
||||
version: link:../../packages/integrations/svelte
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
svelte:
|
||||
specifier: ^4.2.5
|
||||
|
@ -293,7 +293,7 @@ importers:
|
|||
specifier: ^4.0.8
|
||||
version: link:../../packages/integrations/vue
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
vue:
|
||||
specifier: ^3.3.8
|
||||
|
@ -305,13 +305,13 @@ importers:
|
|||
specifier: ^8.2.3
|
||||
version: link:../../packages/integrations/node
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/integration:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/middleware:
|
||||
|
@ -320,7 +320,7 @@ importers:
|
|||
specifier: ^8.2.3
|
||||
version: link:../../packages/integrations/node
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
html-minifier:
|
||||
specifier: ^4.0.0
|
||||
|
@ -333,19 +333,19 @@ importers:
|
|||
examples/minimal:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/non-html-pages:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/portfolio:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/ssr:
|
||||
|
@ -357,7 +357,7 @@ importers:
|
|||
specifier: ^5.2.0
|
||||
version: link:../../packages/integrations/svelte
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
svelte:
|
||||
specifier: ^4.2.5
|
||||
|
@ -366,7 +366,7 @@ importers:
|
|||
examples/starlog:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
sass:
|
||||
specifier: ^1.69.5
|
||||
|
@ -384,25 +384,25 @@ importers:
|
|||
specifier: ^5.1.0
|
||||
version: link:../../packages/integrations/tailwind
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-markdoc:
|
||||
dependencies:
|
||||
'@astrojs/markdoc':
|
||||
specifier: ^0.9.1
|
||||
specifier: ^0.9.2
|
||||
version: link:../../packages/integrations/markdoc
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-markdown-plugins:
|
||||
dependencies:
|
||||
'@astrojs/markdown-remark':
|
||||
specifier: ^4.2.1
|
||||
specifier: ^4.3.0
|
||||
version: link:../../packages/markdown/remark
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
hast-util-select:
|
||||
specifier: ^6.0.2
|
||||
|
@ -423,19 +423,19 @@ importers:
|
|||
examples/with-markdown-shiki:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-mdx:
|
||||
dependencies:
|
||||
'@astrojs/mdx':
|
||||
specifier: ^2.1.1
|
||||
specifier: ^2.2.0
|
||||
version: link:../../packages/integrations/mdx
|
||||
'@astrojs/preact':
|
||||
specifier: ^3.1.1
|
||||
version: link:../../packages/integrations/preact
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.19.2
|
||||
|
@ -450,7 +450,7 @@ importers:
|
|||
specifier: ^0.5.0
|
||||
version: 0.5.0(nanostores@0.9.5)(preact@10.19.3)
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
nanostores:
|
||||
specifier: ^0.9.5
|
||||
|
@ -462,7 +462,7 @@ importers:
|
|||
examples/with-tailwindcss:
|
||||
dependencies:
|
||||
'@astrojs/mdx':
|
||||
specifier: ^2.1.1
|
||||
specifier: ^2.2.0
|
||||
version: link:../../packages/integrations/mdx
|
||||
'@astrojs/tailwind':
|
||||
specifier: ^5.1.0
|
||||
|
@ -471,7 +471,7 @@ importers:
|
|||
specifier: ^1.6.3
|
||||
version: 1.6.4
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
autoprefixer:
|
||||
specifier: ^10.4.15
|
||||
|
@ -489,7 +489,7 @@ importers:
|
|||
examples/with-vitest:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.4.15
|
||||
specifier: ^4.5.0
|
||||
version: link:../../packages/astro
|
||||
vitest:
|
||||
specifier: ^1.3.1
|
||||
|
|
Loading…
Reference in a new issue