Skip to content

Commit

Permalink
Merge branch 'main' into fix/image-ssg-querystring
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Sullivan authored Aug 22, 2022
2 parents 82a9d65 + 439f1d1 commit 64619a1
Show file tree
Hide file tree
Showing 161 changed files with 610 additions and 207 deletions.
5 changes: 5 additions & 0 deletions .changeset/few-mayflies-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Allow user config to set `markdown.drafts` option
5 changes: 5 additions & 0 deletions .changeset/giant-ants-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Refactor static build config merge
5 changes: 0 additions & 5 deletions .changeset/grumpy-wombats-laugh.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hip-bobcats-divide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-llamas-glow.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/rare-comics-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Preserve all error stack lines
5 changes: 5 additions & 0 deletions .changeset/six-jars-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Provide correct MIME type for dynamic endpoint routes in dev
2 changes: 1 addition & 1 deletion examples/basics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Inside of your Astro project, you'll see the following folders and files:
```
/
├── public/
│ └── favicon.ico
│ └── favicon.svg
├── src/
│ ├── components/
│ │ └── Layout.astro
Expand Down
2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"devDependencies": {
"astro": "^1.0.5"
"astro": "^1.0.6"
}
}
Binary file removed examples/basics/public/favicon.ico
Binary file not shown.
File renamed without changes
2 changes: 1 addition & 1 deletion examples/basics/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { title } = Astro.props as Props;
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
Expand Down
4 changes: 2 additions & 2 deletions examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"astro": "astro"
},
"devDependencies": {
"@astrojs/mdx": "^0.9.0",
"@astrojs/mdx": "^0.10.0",
"@astrojs/rss": "^1.0.0",
"@astrojs/sitemap": "^1.0.0",
"astro": "^1.0.5"
"astro": "^1.0.6"
}
}
13 changes: 13 additions & 0 deletions examples/blog/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/blog/src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { title, description, image = '/placeholder-social.jpg' } = Astro.props;
<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/astro.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />

<!-- Primary Meta Tags -->
Expand Down
2 changes: 1 addition & 1 deletion examples/blog/src/pages/blog/markdown-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sap

## Images

![This is a placeholder image description](/placeholder-social.png)
![This is a placeholder image description](/placeholder-social.jpg)

## Blockquotes

Expand Down
2 changes: 1 addition & 1 deletion examples/component/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"devDependencies": {
"@example/my-component": "workspace:*",
"astro": "^1.0.5"
"astro": "^1.0.6"
}
}
Binary file removed examples/component/demo/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/component/demo/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"serve": "astro --root demo preview"
},
"devDependencies": {
"astro": "^1.0.5"
"astro": "^1.0.6"
}
}
2 changes: 1 addition & 1 deletion examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"devDependencies": {
"@astrojs/preact": "^1.0.2",
"@astrojs/react": "^1.0.0",
"astro": "^1.0.5"
"astro": "^1.0.6"
}
}
Binary file removed examples/docs/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/docs/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion examples/docs/src/components/HeadCommon.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import '../styles/index.css';
<meta name="generator" content={Astro.generator} />

<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" type="image/x-icon" href="/favicon.ico" />

<link rel="sitemap" href="/sitemap.xml" />

Expand Down
4 changes: 2 additions & 2 deletions examples/docs/src/components/LeftSidebar/LeftSidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const sidebarSections = SIDEBAR[langCode].reduce((col, item, i) => {
// If the first item is not a section header, create a new container section.
if (i === 0) {
if (!item.header) {
const pesudoSection = { text: '' };
col.push({ ...pesudoSection, children: [] });
const pseudoSection = { text: '' };
col.push({ ...pseudoSection, children: [] });
}
}
if (item.header) {
Expand Down
2 changes: 1 addition & 1 deletion examples/env-vars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"astro": "astro"
},
"devDependencies": {
"astro": "^1.0.5"
"astro": "^1.0.6"
}
}
Binary file removed examples/env-vars/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/env-vars/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/framework-alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@types/alpinejs": "^3.7.0",
"astro": "^1.0.5"
"astro": "^1.0.6"
},
"dependencies": {
"alpinejs": "^3.10.2"
Expand Down
Binary file removed examples/framework-alpine/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/framework-alpine/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/framework-alpine/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Counter from '../components/Counter.astro';
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<style>
html,
body {
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@astrojs/lit": "^1.0.0",
"astro": "^1.0.5"
"astro": "^1.0.6"
},
"dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0",
Expand Down
Binary file removed examples/framework-lit/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/framework-lit/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/framework-lit/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { MyCounter } from '../components/my-counter.js';
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>Demo</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@astrojs/solid-js": "^1.0.0",
"@astrojs/svelte": "^1.0.0",
"@astrojs/vue": "^1.0.0",
"astro": "^1.0.5"
"astro": "^1.0.6"
},
"dependencies": {
"preact": "^10.7.3",
Expand Down
Binary file removed examples/framework-multiple/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/framework-multiple/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/framework-multiple/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import SvelteCounter from '../components/SvelteCounter.svelte';
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
</head>
<body>
<main>
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@astrojs/preact": "^1.0.2",
"astro": "^1.0.5"
"astro": "^1.0.6"
},
"dependencies": {
"preact": "^10.7.3"
Expand Down
Binary file removed examples/framework-preact/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/framework-preact/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/framework-preact/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Counter from '../components/Counter';
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<style>
html,
body {
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/react": "^1.0.0",
"@types/react": "^18.0.10",
"@types/react-dom": "^18.0.5",
"astro": "^1.0.5"
"astro": "^1.0.6"
},
"dependencies": {
"react": "^18.1.0",
Expand Down
Binary file removed examples/framework-react/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/framework-react/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/framework-react/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const someProps = {
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<style>
html,
body {
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@astrojs/solid-js": "^1.0.0",
"astro": "^1.0.5"
"astro": "^1.0.6"
},
"dependencies": {
"solid-js": "^1.4.3"
Expand Down
Binary file removed examples/framework-solid/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions examples/framework-solid/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/framework-solid/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Counter from '../components/Counter';
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<style>
html,
body {
Expand Down
Loading

0 comments on commit 64619a1

Please sign in to comment.