[ci] release (#4223)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
e09692459a
commit
d4ad409875
30 changed files with 61 additions and 81 deletions
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Add rawContent and compiledContent to MD layout props
|
|
@ -10,6 +10,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3"
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@example/my-component": "workspace:*",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
"serve": "astro --root demo preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,6 @@
|
|||
"devDependencies": {
|
||||
"@astrojs/preact": "^1.0.0",
|
||||
"@astrojs/react": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@types/alpinejs": "^3.7.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"alpinejs": "^3.10.2"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/lit": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@webcomponents/template-shadowroot": "^0.1.0",
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"@astrojs/solid-js": "^1.0.0",
|
||||
"@astrojs/svelte": "^1.0.0",
|
||||
"@astrojs/vue": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"@astrojs/react": "^1.0.0",
|
||||
"@types/react": "^18.0.10",
|
||||
"@types/react-dom": "^18.0.5",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.1.0",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/solid-js": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"solid-js": "^1.4.3"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/svelte": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"svelte": "^3.48.0"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/vue": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.2.37"
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^1.0.0",
|
||||
"astro": "^1.0.0",
|
||||
"astro": "^1.0.1",
|
||||
"sass": "^1.52.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"devDependencies": {
|
||||
"@astrojs/node": "^1.0.0",
|
||||
"@astrojs/svelte": "^1.0.0",
|
||||
"astro": "^1.0.0",
|
||||
"astro": "^1.0.1",
|
||||
"concurrently": "^7.2.1",
|
||||
"lightcookie": "^1.0.25",
|
||||
"unocss": "^0.15.6",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/react": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.1.0",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/markdown-remark": "^1.0.0",
|
||||
"astro": "^1.0.0",
|
||||
"astro": "^1.0.1",
|
||||
"hast-util-select": "5.0.1",
|
||||
"rehype-autolink-headings": "^6.1.1",
|
||||
"rehype-slug": "^5.0.1",
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/markdown-remark": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"devDependencies": {
|
||||
"@astrojs/mdx": "^0.8.1",
|
||||
"@astrojs/preact": "^1.0.0",
|
||||
"astro": "^1.0.0",
|
||||
"astro": "^1.0.1",
|
||||
"preact": "^10.6.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^1.0.0",
|
||||
"astro": "^1.0.0"
|
||||
"astro": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/tailwind": "^1.0.0",
|
||||
"astro": "^1.0.0",
|
||||
"astro": "^1.0.1",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"canvas-confetti": "^1.5.1",
|
||||
"postcss": "^8.4.14",
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0",
|
||||
"astro": "^1.0.1",
|
||||
"vite-plugin-pwa": "0.11.11",
|
||||
"workbox-window": "^6.5.3"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0",
|
||||
"astro": "^1.0.1",
|
||||
"vitest": "^0.20.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# astro
|
||||
|
||||
## 1.0.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#4222](https://github.com/withastro/astro/pull/4222) [`b5ef1c211`](https://github.com/withastro/astro/commit/b5ef1c2113693523f10479d472e855ab9c41395d) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add rawContent and compiledContent to MD layout props
|
||||
|
||||
## 1.0.0
|
||||
|
||||
> Astro v1.0 is out! Read the [official announcement post](https://astro.build/blog/astro-1/).
|
||||
|
@ -450,18 +456,7 @@ The **Astro v1.0.0 Release Candidate** comes includes new features, tons of bug
|
|||
Astro supports streaming in its templates. Any time Astro encounters an async boundary it will stream out HTML that occurs before it. For example:
|
||||
|
||||
```astro
|
||||
---
|
||||
import LoadTodos from '../components/LoadTodos.astro';
|
||||
---
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>App</title>
|
||||
</head>
|
||||
<body>
|
||||
<LoadTodos />
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
In this arbtrary example Astro will streaming out the `<head>` section and everything else until it encounters `<LoadTodos />` and then stop. LoadTodos, which is also an Astro component will stream its contents as well; stopping and waiting at any other asynchronous components.
|
||||
|
@ -469,15 +464,7 @@ The **Astro v1.0.0 Release Candidate** comes includes new features, tons of bug
|
|||
As part of this Astro also now supports async iterables within its templates. This means you can do this:
|
||||
|
||||
```astro
|
||||
<ul>
|
||||
{(async function* () {
|
||||
for (const number of numbers) {
|
||||
await wait(1000);
|
||||
yield <li>Number: {number}</li>;
|
||||
yield '\n';
|
||||
}
|
||||
})()}
|
||||
</ul>
|
||||
|
||||
```
|
||||
|
||||
Which will stream out `<li>`s one at a time, waiting a second between each.
|
||||
|
@ -2618,9 +2605,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
|
|||
This change adds support for hoisted scripts, allowing you to bundle scripts together for a page and hoist them to the top (in the head):
|
||||
|
||||
```astro
|
||||
<script hoist>
|
||||
// Anything goes here!
|
||||
</script>
|
||||
|
||||
```
|
||||
|
||||
- Updated dependencies [5d2ea578]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -56,14 +56,14 @@ importers:
|
|||
|
||||
examples/basics:
|
||||
specifiers:
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/blog:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
preact: 10.10.1
|
||||
|
@ -73,14 +73,14 @@ importers:
|
|||
|
||||
examples/component:
|
||||
specifiers:
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/component/demo:
|
||||
specifiers:
|
||||
'@example/my-component': workspace:*
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
devDependencies:
|
||||
'@example/my-component': link:../packages/my-component
|
||||
astro: link:../../../packages/astro
|
||||
|
@ -96,7 +96,7 @@ importers:
|
|||
'@docsearch/css': ^3.1.0
|
||||
'@docsearch/react': ^3.1.0
|
||||
'@types/react': ^17.0.45
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
|
@ -115,7 +115,7 @@ importers:
|
|||
|
||||
examples/env-vars:
|
||||
specifiers:
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
|
@ -123,7 +123,7 @@ importers:
|
|||
specifiers:
|
||||
'@types/alpinejs': ^3.7.0
|
||||
alpinejs: ^3.10.2
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
dependencies:
|
||||
alpinejs: 3.10.3
|
||||
devDependencies:
|
||||
|
@ -134,7 +134,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/lit': ^1.0.0
|
||||
'@webcomponents/template-shadowroot': ^0.1.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
lit: ^2.2.5
|
||||
dependencies:
|
||||
'@webcomponents/template-shadowroot': 0.1.0
|
||||
|
@ -150,7 +150,7 @@ importers:
|
|||
'@astrojs/solid-js': ^1.0.0
|
||||
'@astrojs/svelte': ^1.0.0
|
||||
'@astrojs/vue': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
|
@ -175,7 +175,7 @@ importers:
|
|||
examples/framework-preact:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
preact: 10.10.1
|
||||
|
@ -188,7 +188,7 @@ importers:
|
|||
'@astrojs/react': ^1.0.0
|
||||
'@types/react': ^18.0.10
|
||||
'@types/react-dom': ^18.0.5
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
dependencies:
|
||||
|
@ -203,7 +203,7 @@ importers:
|
|||
examples/framework-solid:
|
||||
specifiers:
|
||||
'@astrojs/solid-js': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
solid-js: ^1.4.3
|
||||
dependencies:
|
||||
solid-js: 1.4.8
|
||||
|
@ -214,7 +214,7 @@ importers:
|
|||
examples/framework-svelte:
|
||||
specifiers:
|
||||
'@astrojs/svelte': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
svelte: ^3.48.0
|
||||
dependencies:
|
||||
svelte: 3.49.0
|
||||
|
@ -225,7 +225,7 @@ importers:
|
|||
examples/framework-vue:
|
||||
specifiers:
|
||||
'@astrojs/vue': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
vue: ^3.2.37
|
||||
dependencies:
|
||||
vue: 3.2.37
|
||||
|
@ -235,20 +235,20 @@ importers:
|
|||
|
||||
examples/minimal:
|
||||
specifiers:
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/non-html-pages:
|
||||
specifiers:
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/portfolio:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
preact: ^10.7.3
|
||||
sass: ^1.52.2
|
||||
dependencies:
|
||||
|
@ -262,7 +262,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/node': ^1.0.0
|
||||
'@astrojs/svelte': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
concurrently: ^7.2.1
|
||||
lightcookie: ^1.0.25
|
||||
svelte: ^3.48.0
|
||||
|
@ -282,7 +282,7 @@ importers:
|
|||
examples/subpath:
|
||||
specifiers:
|
||||
'@astrojs/react': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
dependencies:
|
||||
|
@ -295,7 +295,7 @@ importers:
|
|||
examples/with-markdown-plugins:
|
||||
specifiers:
|
||||
'@astrojs/markdown-remark': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
hast-util-select: 5.0.1
|
||||
rehype-autolink-headings: ^6.1.1
|
||||
rehype-slug: ^5.0.1
|
||||
|
@ -313,7 +313,7 @@ importers:
|
|||
examples/with-markdown-shiki:
|
||||
specifiers:
|
||||
'@astrojs/markdown-remark': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
devDependencies:
|
||||
'@astrojs/markdown-remark': link:../../packages/markdown/remark
|
||||
astro: link:../../packages/astro
|
||||
|
@ -322,7 +322,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/mdx': ^0.8.1
|
||||
'@astrojs/preact': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
preact: ^10.6.5
|
||||
devDependencies:
|
||||
'@astrojs/mdx': link:../../packages/integrations/mdx
|
||||
|
@ -334,7 +334,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/preact': ^1.0.0
|
||||
'@nanostores/preact': ^0.1.3
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
nanostores: ^0.5.12
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
|
@ -348,7 +348,7 @@ importers:
|
|||
examples/with-tailwindcss:
|
||||
specifiers:
|
||||
'@astrojs/tailwind': ^1.0.0
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
autoprefixer: ^10.4.7
|
||||
canvas-confetti: ^1.5.1
|
||||
postcss: ^8.4.14
|
||||
|
@ -363,7 +363,7 @@ importers:
|
|||
|
||||
examples/with-vite-plugin-pwa:
|
||||
specifiers:
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
vite-plugin-pwa: 0.11.11
|
||||
workbox-window: ^6.5.3
|
||||
devDependencies:
|
||||
|
@ -373,7 +373,7 @@ importers:
|
|||
|
||||
examples/with-vitest:
|
||||
specifiers:
|
||||
astro: ^1.0.0
|
||||
astro: ^1.0.1
|
||||
vitest: ^0.20.3
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
|
Loading…
Reference in a new issue