mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
[ci] release (#12148)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
b9e8e96354
commit
582f12e1f6
55 changed files with 226 additions and 188 deletions
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/tailwind': patch
|
||||
---
|
||||
|
||||
Adds keywords to `package.json` to improve categorization in the Astro integrations catalog
|
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
'@astrojs/markdown-remark': minor
|
||||
'astro': minor
|
||||
---
|
||||
|
||||
Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.
|
||||
|
||||
The following example configures Shiki to highlight `cjs` code blocks using the `javascript` syntax highlighter:
|
||||
|
||||
```js
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
markdown: {
|
||||
shikiConfig: {
|
||||
langAlias: {
|
||||
cjs: 'javascript',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:
|
||||
|
||||
````md
|
||||
```cjs
|
||||
'use strict';
|
||||
|
||||
function commonJs() {
|
||||
return 'I am a commonjs file';
|
||||
}
|
||||
```
|
||||
````
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixes a bug where `astro.config.mts` and `astro.config.cts` weren't reloading the dev server upon modifications.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/rss': patch
|
||||
---
|
||||
|
||||
Fixes an error that occurred when the optional `pubDate` property was missing in an item.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/rss': patch
|
||||
---
|
||||
|
||||
Fixes an error where docs incorrectly stated the `title`, `link` and `pubDate` properties of RSS items was required.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'create-astro': patch
|
||||
---
|
||||
|
||||
Uses `@bluwy/giget-core` instead of `giget` for smaller installation size when downloading the CLI
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixes a bug in the parsing of `x-forwarded-\*` `Request` headers, where multiple values assigned to those headers were not correctly parsed.
|
||||
|
||||
Now, headers like `x-forwarded-proto: https,http` are correctly parsed.
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Skips setting statusMessage header for HTTP/2 response
|
||||
|
||||
HTTP/2 doesn't support status message, so setting this was logging a warning.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixes an issue where `Astro.currentLocale` wasn't incorrectly computed when the `defaultLocale` belonged to a custom locale path.
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
'astro': minor
|
||||
---
|
||||
|
||||
Adds a new `build.concurreny` configuration option to specify the number of pages to build in parallel
|
||||
|
||||
**In most cases, you should not change the default value of `1`.**
|
||||
|
||||
Use this option only when other attempts to reduce the overall rendering time (e.g. batch or cache long running tasks like fetch calls or data access) are not possible or are insufficient.
|
||||
|
||||
Use this option only if the refactors are not possible. If the number is set too high, the page rendering may slow down due to insufficient memory resources and because JS is single-threaded.
|
||||
|
||||
> [!WARNING]
|
||||
> This feature is stable and is not considered experimental. However, this feature is only intended to address difficult performance issues, and breaking changes may occur in a [minor release](https://docs.astro.build/en/upgrade-astro/#semantic-versioning) to keep this option as performant as possible.
|
||||
|
||||
```js
|
||||
// astro.config.mjs
|
||||
import { defineConfig } from 'astro';
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
concurrency: 2,
|
||||
},
|
||||
});
|
||||
```
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^3.1.7",
|
||||
"@astrojs/rss": "^4.0.7",
|
||||
"@astrojs/mdx": "^3.1.8",
|
||||
"@astrojs/rss": "^4.0.8",
|
||||
"@astrojs/sitemap": "^3.2.0",
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.0.0"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest run"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"@astrojs/react": "^3.6.2",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"@astrojs/alpinejs": "^0.4.0",
|
||||
"@types/alpinejs": "^3.13.10",
|
||||
"alpinejs": "^3.14.1",
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/lit": "^4.3.0",
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"lit": "^3.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"@astrojs/vue": "^4.5.2",
|
||||
"@types/react": "^18.3.11",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"preact": "^10.24.2",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "^3.5.3",
|
||||
"@preact/signals": "^1.3.0",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"preact": "^10.24.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"@astrojs/react": "^3.6.2",
|
||||
"@types/react": "^18.3.11",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/solid-js": "^4.4.2",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"solid-js": "^1.9.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/svelte": "^5.7.2",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"svelte": "^4.2.19"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/vue": "^4.5.2",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"vue": "^3.5.11"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^8.3.4",
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.0.0"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^8.3.4",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"html-minifier": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
"devDependencies": {
|
||||
"@astrojs/node": "^8.3.4",
|
||||
"@astrojs/react": "^3.6.2",
|
||||
"@astrojs/tailwind": "^5.1.1",
|
||||
"@astrojs/tailwind": "^5.1.2",
|
||||
"@fortawesome/fontawesome-free": "^6.6.0",
|
||||
"@tailwindcss/forms": "^0.5.9",
|
||||
"@types/react": "^18.3.11",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"postcss": "^8.4.47",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/node": "^8.3.4",
|
||||
"@astrojs/svelte": "^5.7.2",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"svelte": "^4.2.19"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"sass": "^1.79.4",
|
||||
"sharp": "^0.33.3"
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"./app": "./dist/app.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/tailwind": "^5.1.1",
|
||||
"@astrojs/tailwind": "^5.1.2",
|
||||
"@astrojs/node": "^8.3.4",
|
||||
"astro": "^4.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdoc": "^0.11.4",
|
||||
"astro": "^4.15.12"
|
||||
"@astrojs/markdoc": "^0.11.5",
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdown-remark": "^5.2.0",
|
||||
"astro": "^4.15.12",
|
||||
"@astrojs/markdown-remark": "^5.3.0",
|
||||
"astro": "^4.16.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.15.12"
|
||||
"astro": "^4.16.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^3.1.7",
|
||||
"@astrojs/mdx": "^3.1.8",
|
||||
"@astrojs/preact": "^3.5.3",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"preact": "^10.24.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "^3.5.3",
|
||||
"@nanostores/preact": "^0.5.2",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"nanostores": "^0.11.3",
|
||||
"preact": "^10.24.2"
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^3.1.7",
|
||||
"@astrojs/tailwind": "^5.1.1",
|
||||
"@astrojs/mdx": "^3.1.8",
|
||||
"@astrojs/tailwind": "^5.1.2",
|
||||
"@types/canvas-confetti": "^1.6.4",
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"canvas-confetti": "^1.9.3",
|
||||
"postcss": "^8.4.47",
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^4.15.12",
|
||||
"astro": "^4.16.0",
|
||||
"vitest": "^2.1.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# @astrojs/rss
|
||||
|
||||
## 4.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#12137](https://github.com/withastro/astro/pull/12137) [`50dd88b`](https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Fixes an error that occurred when the optional `pubDate` property was missing in an item.
|
||||
|
||||
- [#12137](https://github.com/withastro/astro/pull/12137) [`50dd88b`](https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Fixes an error where docs incorrectly stated the `title`, `link` and `pubDate` properties of RSS items was required.
|
||||
|
||||
## 4.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/rss",
|
||||
"description": "Add RSS feeds to your Astro projects",
|
||||
"version": "4.0.7",
|
||||
"version": "4.0.8",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,78 @@
|
|||
# astro
|
||||
|
||||
## 4.16.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#12039](https://github.com/withastro/astro/pull/12039) [`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b) Thanks [@ematipico](https://github.com/ematipico)! - Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.
|
||||
|
||||
The following example configures Shiki to highlight `cjs` code blocks using the `javascript` syntax highlighter:
|
||||
|
||||
```js
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
markdown: {
|
||||
shikiConfig: {
|
||||
langAlias: {
|
||||
cjs: 'javascript',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:
|
||||
|
||||
````md
|
||||
```cjs
|
||||
'use strict';
|
||||
|
||||
function commonJs() {
|
||||
return 'I am a commonjs file';
|
||||
}
|
||||
```
|
||||
````
|
||||
|
||||
- [#11984](https://github.com/withastro/astro/pull/11984) [`3ac2263`](https://github.com/withastro/astro/commit/3ac2263ff6070136bec9cffb863c38bcc31ccdfe) Thanks [@chaegumi](https://github.com/chaegumi)! - Adds a new `build.concurreny` configuration option to specify the number of pages to build in parallel
|
||||
|
||||
**In most cases, you should not change the default value of `1`.**
|
||||
|
||||
Use this option only when other attempts to reduce the overall rendering time (e.g. batch or cache long running tasks like fetch calls or data access) are not possible or are insufficient.
|
||||
|
||||
Use this option only if the refactors are not possible. If the number is set too high, the page rendering may slow down due to insufficient memory resources and because JS is single-threaded.
|
||||
|
||||
> [!WARNING]
|
||||
> This feature is stable and is not considered experimental. However, this feature is only intended to address difficult performance issues, and breaking changes may occur in a [minor release](https://docs.astro.build/en/upgrade-astro/#semantic-versioning) to keep this option as performant as possible.
|
||||
|
||||
```js
|
||||
// astro.config.mjs
|
||||
import { defineConfig } from 'astro';
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
concurrency: 2,
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#12160](https://github.com/withastro/astro/pull/12160) [`c6fd1df`](https://github.com/withastro/astro/commit/c6fd1df695d0f2a24bb49e6954064f92664ccf67) Thanks [@louisescher](https://github.com/louisescher)! - Fixes a bug where `astro.config.mts` and `astro.config.cts` weren't reloading the dev server upon modifications.
|
||||
|
||||
- [#12130](https://github.com/withastro/astro/pull/12130) [`e96bcae`](https://github.com/withastro/astro/commit/e96bcae535ef2f0661f539c1d49690c531df2d4e) Thanks [@thehansys](https://github.com/thehansys)! - Fixes a bug in the parsing of `x-forwarded-\*` `Request` headers, where multiple values assigned to those headers were not correctly parsed.
|
||||
|
||||
Now, headers like `x-forwarded-proto: https,http` are correctly parsed.
|
||||
|
||||
- [#12147](https://github.com/withastro/astro/pull/12147) [`9db755a`](https://github.com/withastro/astro/commit/9db755ab7cfe658ec426387e297bdcd32c4bc8de) Thanks [@ascorbic](https://github.com/ascorbic)! - Skips setting statusMessage header for HTTP/2 response
|
||||
|
||||
HTTP/2 doesn't support status message, so setting this was logging a warning.
|
||||
|
||||
- [#12151](https://github.com/withastro/astro/pull/12151) [`bb6d37f`](https://github.com/withastro/astro/commit/bb6d37f94a283433994f9243189cb4386df0e11a) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where `Astro.currentLocale` wasn't incorrectly computed when the `defaultLocale` belonged to a custom locale path.
|
||||
|
||||
- Updated dependencies [[`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b)]:
|
||||
- @astrojs/markdown-remark@5.3.0
|
||||
|
||||
## 4.15.12
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "4.15.12",
|
||||
"version": "4.16.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 @@
|
|||
# create-astro
|
||||
|
||||
## 4.9.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#12143](https://github.com/withastro/astro/pull/12143) [`2385d58`](https://github.com/withastro/astro/commit/2385d58389ee975a53f4089f2a7220d97cf3cdff) Thanks [@bluwy](https://github.com/bluwy)! - Uses `@bluwy/giget-core` instead of `giget` for smaller installation size when downloading the CLI
|
||||
|
||||
## 4.9.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "create-astro",
|
||||
"version": "4.9.1",
|
||||
"version": "4.9.2",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# @astrojs/markdoc
|
||||
|
||||
## 0.11.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b)]:
|
||||
- @astrojs/markdown-remark@5.3.0
|
||||
|
||||
## 0.11.4
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/markdoc",
|
||||
"description": "Add support for Markdoc in your Astro site",
|
||||
"version": "0.11.4",
|
||||
"version": "0.11.5",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# @astrojs/mdx
|
||||
|
||||
## 3.1.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b)]:
|
||||
- @astrojs/markdown-remark@5.3.0
|
||||
|
||||
## 3.1.7
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/mdx",
|
||||
"description": "Add support for MDX pages in your Astro site",
|
||||
"version": "3.1.7",
|
||||
"version": "3.1.8",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# @astrojs/tailwind
|
||||
|
||||
## 5.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#12161](https://github.com/withastro/astro/pull/12161) [`8e500f2`](https://github.com/withastro/astro/commit/8e500f2f9656a98e4a14ef567f9bf072459f62c4) Thanks [@delucis](https://github.com/delucis)! - Adds keywords to `package.json` to improve categorization in the Astro integrations catalog
|
||||
|
||||
## 5.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/tailwind",
|
||||
"description": "Use Tailwind CSS to style your Astro site",
|
||||
"version": "5.1.1",
|
||||
"version": "5.1.2",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,39 @@
|
|||
# @astrojs/markdown-remark
|
||||
|
||||
## 5.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#12039](https://github.com/withastro/astro/pull/12039) [`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b) Thanks [@ematipico](https://github.com/ematipico)! - Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.
|
||||
|
||||
The following example configures Shiki to highlight `cjs` code blocks using the `javascript` syntax highlighter:
|
||||
|
||||
```js
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
export default defineConfig({
|
||||
markdown: {
|
||||
shikiConfig: {
|
||||
langAlias: {
|
||||
cjs: 'javascript',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:
|
||||
|
||||
````md
|
||||
```cjs
|
||||
'use strict';
|
||||
|
||||
function commonJs() {
|
||||
return 'I am a commonjs file';
|
||||
}
|
||||
```
|
||||
````
|
||||
|
||||
## 5.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/markdown-remark",
|
||||
"version": "5.2.0",
|
||||
"version": "5.3.0",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
"license": "MIT",
|
||||
|
|
78
pnpm-lock.yaml
generated
78
pnpm-lock.yaml
generated
|
@ -113,28 +113,28 @@ importers:
|
|||
examples/basics:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/blog:
|
||||
dependencies:
|
||||
'@astrojs/mdx':
|
||||
specifier: ^3.1.7
|
||||
specifier: ^3.1.8
|
||||
version: link:../../packages/integrations/mdx
|
||||
'@astrojs/rss':
|
||||
specifier: ^4.0.7
|
||||
specifier: ^4.0.8
|
||||
version: link:../../packages/astro-rss
|
||||
'@astrojs/sitemap':
|
||||
specifier: ^3.2.0
|
||||
version: link:../../packages/integrations/sitemap
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/component:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/container-with-vitest:
|
||||
|
@ -143,7 +143,7 @@ importers:
|
|||
specifier: ^3.6.2
|
||||
version: link:../../packages/integrations/react
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
react:
|
||||
specifier: ^18.3.1
|
||||
|
@ -174,7 +174,7 @@ importers:
|
|||
specifier: ^3.14.1
|
||||
version: 3.14.1
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/framework-lit:
|
||||
|
@ -186,7 +186,7 @@ importers:
|
|||
specifier: ^0.2.1
|
||||
version: 0.2.1
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
lit:
|
||||
specifier: ^3.2.0
|
||||
|
@ -216,7 +216,7 @@ importers:
|
|||
specifier: ^18.3.0
|
||||
version: 18.3.0
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.24.2
|
||||
|
@ -246,7 +246,7 @@ importers:
|
|||
specifier: ^1.3.0
|
||||
version: 1.3.0(preact@10.24.2)
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.24.2
|
||||
|
@ -264,7 +264,7 @@ importers:
|
|||
specifier: ^18.3.0
|
||||
version: 18.3.0
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
react:
|
||||
specifier: ^18.3.1
|
||||
|
@ -279,7 +279,7 @@ importers:
|
|||
specifier: ^4.4.2
|
||||
version: link:../../packages/integrations/solid
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
solid-js:
|
||||
specifier: ^1.9.1
|
||||
|
@ -291,7 +291,7 @@ importers:
|
|||
specifier: ^5.7.2
|
||||
version: link:../../packages/integrations/svelte
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
svelte:
|
||||
specifier: ^4.2.19
|
||||
|
@ -303,7 +303,7 @@ importers:
|
|||
specifier: ^4.5.2
|
||||
version: link:../../packages/integrations/vue
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
vue:
|
||||
specifier: ^3.5.11
|
||||
|
@ -315,13 +315,13 @@ importers:
|
|||
specifier: ^8.3.4
|
||||
version: 8.3.4(astro@packages+astro)
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/integration:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/middleware:
|
||||
|
@ -330,7 +330,7 @@ importers:
|
|||
specifier: ^8.3.4
|
||||
version: 8.3.4(astro@packages+astro)
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
html-minifier:
|
||||
specifier: ^4.0.0
|
||||
|
@ -343,19 +343,19 @@ importers:
|
|||
examples/minimal:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/non-html-pages:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/portfolio:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/server-islands:
|
||||
|
@ -367,7 +367,7 @@ importers:
|
|||
specifier: ^3.6.2
|
||||
version: link:../../packages/integrations/react
|
||||
'@astrojs/tailwind':
|
||||
specifier: ^5.1.1
|
||||
specifier: ^5.1.2
|
||||
version: link:../../packages/integrations/tailwind
|
||||
'@fortawesome/fontawesome-free':
|
||||
specifier: ^6.6.0
|
||||
|
@ -382,7 +382,7 @@ importers:
|
|||
specifier: ^18.3.0
|
||||
version: 18.3.0
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
postcss:
|
||||
specifier: ^8.4.47
|
||||
|
@ -406,7 +406,7 @@ importers:
|
|||
specifier: ^5.7.2
|
||||
version: link:../../packages/integrations/svelte
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
svelte:
|
||||
specifier: ^4.2.19
|
||||
|
@ -415,7 +415,7 @@ importers:
|
|||
examples/starlog:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
sass:
|
||||
specifier: ^1.79.4
|
||||
|
@ -427,7 +427,7 @@ importers:
|
|||
examples/toolbar-app:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/view-transitions:
|
||||
|
@ -436,28 +436,28 @@ importers:
|
|||
specifier: ^8.3.4
|
||||
version: 8.3.4(astro@packages+astro)
|
||||
'@astrojs/tailwind':
|
||||
specifier: ^5.1.1
|
||||
specifier: ^5.1.2
|
||||
version: link:../../packages/integrations/tailwind
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-markdoc:
|
||||
dependencies:
|
||||
'@astrojs/markdoc':
|
||||
specifier: ^0.11.4
|
||||
specifier: ^0.11.5
|
||||
version: link:../../packages/integrations/markdoc
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-markdown-plugins:
|
||||
dependencies:
|
||||
'@astrojs/markdown-remark':
|
||||
specifier: ^5.2.0
|
||||
specifier: ^5.3.0
|
||||
version: link:../../packages/markdown/remark
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
hast-util-select:
|
||||
specifier: ^6.0.2
|
||||
|
@ -478,19 +478,19 @@ importers:
|
|||
examples/with-markdown-shiki:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-mdx:
|
||||
dependencies:
|
||||
'@astrojs/mdx':
|
||||
specifier: ^3.1.7
|
||||
specifier: ^3.1.8
|
||||
version: link:../../packages/integrations/mdx
|
||||
'@astrojs/preact':
|
||||
specifier: ^3.5.3
|
||||
version: link:../../packages/integrations/preact
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.24.2
|
||||
|
@ -505,7 +505,7 @@ importers:
|
|||
specifier: ^0.5.2
|
||||
version: 0.5.2(nanostores@0.11.3)(preact@10.24.2)
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
nanostores:
|
||||
specifier: ^0.11.3
|
||||
|
@ -517,16 +517,16 @@ importers:
|
|||
examples/with-tailwindcss:
|
||||
dependencies:
|
||||
'@astrojs/mdx':
|
||||
specifier: ^3.1.7
|
||||
specifier: ^3.1.8
|
||||
version: link:../../packages/integrations/mdx
|
||||
'@astrojs/tailwind':
|
||||
specifier: ^5.1.1
|
||||
specifier: ^5.1.2
|
||||
version: link:../../packages/integrations/tailwind
|
||||
'@types/canvas-confetti':
|
||||
specifier: ^1.6.4
|
||||
version: 1.6.4
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
autoprefixer:
|
||||
specifier: ^10.4.20
|
||||
|
@ -544,7 +544,7 @@ importers:
|
|||
examples/with-vitest:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^4.15.12
|
||||
specifier: ^4.16.0
|
||||
version: link:../../packages/astro
|
||||
vitest:
|
||||
specifier: ^2.1.2
|
||||
|
|
Loading…
Add table
Reference in a new issue