Version Packages (#646)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-07-12 11:19:29 -04:00 committed by GitHub
parent 1b73f95806
commit 23dcc649fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 35 additions and 42 deletions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Only show the buildOptions.site notice if not already set

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Improve error handling for unsupported Node versions

View file

@ -1,14 +0,0 @@
---
'astro': patch
---
Add support for components defined in Frontmatter. Previously, the following code would throw an error. Now it is officially supported!
```astro
---
const { level = 1 } = Astro.props;
const Element = `h${level}`;
---
<Element>Hello world!</Element>
```

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -11,7 +11,7 @@
"lint": "prettier --check \"src/**/*.js\"" "lint": "prettier --check \"src/**/*.js\""
}, },
"dependencies": { "dependencies": {
"astro": "^0.17.1", "astro": "^0.17.2",
"date-fns": "^2.19.0", "date-fns": "^2.19.0",
"deepmerge": "^4.2.2", "deepmerge": "^4.2.2",
"docsearch.js": "^2.6.3", "docsearch.js": "^2.6.3",
@ -25,7 +25,7 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4", "@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4",
"@contentful/rich-text-html-renderer": "^14.1.2", "@contentful/rich-text-html-renderer": "^14.1.2",
"@contentful/rich-text-types": "^14.1.2", "@contentful/rich-text-types": "^14.1.2",
"astro": "^0.17.1", "astro": "^0.17.2",
"eleventy-plugin-nesting-toc": "^1.2.0", "eleventy-plugin-nesting-toc": "^1.2.0",
"luxon": "^1.25.0", "luxon": "^1.25.0",
"markdown-it": "^12.0.2", "markdown-it": "^12.0.2",

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1", "astro": "^0.17.2",
"rehype-add-classes": "^1.0.0", "rehype-add-classes": "^1.0.0",
"rehype-toc": "^3.0.2", "rehype-toc": "^3.0.2",
"remark-autolink-headings": "^6.0.1", "remark-autolink-headings": "^6.0.1",

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"dependencies": { "dependencies": {
"nanostores": "^0.3.3" "nanostores": "^0.3.3"

View file

@ -8,7 +8,7 @@
}, },
"devDependencies": { "devDependencies": {
"tailwindcss": "^2.1.2", "tailwindcss": "^2.1.2",
"astro": "^0.17.1" "astro": "^0.17.2"
}, },
"snowpack": { "snowpack": {
"workspaceRoot": "../.." "workspaceRoot": "../.."

View file

@ -1,5 +1,22 @@
# astro # astro
## 0.17.2
### Patch Changes
- 1b73f95: Only show the buildOptions.site notice if not already set
- fb78b76: Improve error handling for unsupported Node versions
- d93f768: Add support for components defined in Frontmatter. Previously, the following code would throw an error. Now it is officially supported!
```astro
---
const { level = 1 } = Astro.props;
const Element = `h${level}`;
---
<Element>Hello world!</Element>
```
## 0.17.1 ## 0.17.1
### Patch Changes ### Patch Changes

View file

@ -1,6 +1,6 @@
{ {
"name": "astro", "name": "astro",
"version": "0.17.1", "version": "0.17.2",
"author": "Skypack", "author": "Skypack",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",

View file

@ -7,6 +7,6 @@
"build": "astro build" "build": "astro build"
}, },
"devDependencies": { "devDependencies": {
"astro": "^0.17.1" "astro": "^0.17.2"
} }
} }