Skip to content

Commit

Permalink
Merge branch 'main' into third-party-improve
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Nov 11, 2022
2 parents 1fa8ae0 + 7ec016f commit 2637a0b
Show file tree
Hide file tree
Showing 83 changed files with 587 additions and 386 deletions.
5 changes: 0 additions & 5 deletions .changeset/curly-experts-think.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-olives-end.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/good-ghosts-attack.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-kangaroos-sin.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/plenty-eyes-develop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-planes-fix.md

This file was deleted.

1 change: 1 addition & 0 deletions examples/basics/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Welcome to [Astro](https://astro.build)

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/basics)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
1 change: 1 addition & 0 deletions examples/blog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template blog
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/blog)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/blog)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
4 changes: 2 additions & 2 deletions examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"@astrojs/mdx": "^0.11.5",
"astro": "^1.6.7",
"@astrojs/mdx": "^0.11.6",
"@astrojs/rss": "^1.0.3",
"@astrojs/sitemap": "^1.0.0"
}
Expand Down
1 change: 1 addition & 0 deletions examples/component/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ npm create astro@latest -- --template component
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/non-html-pages)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/non-html-pages)


## 🚀 Project Structure
Expand Down
4 changes: 2 additions & 2 deletions examples/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
],
"scripts": {},
"devDependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
},
"peerDependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
3 changes: 2 additions & 1 deletion examples/deno/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Welcome to [Astro](https://astro.build)

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/deno)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/deno)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
},
"devDependencies": {
"@astrojs/deno": "^2.0.0"
Expand Down
1 change: 1 addition & 0 deletions examples/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template docs
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/docs)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/docs)

![docs](https://user-images.githubusercontent.com/4677417/186189283-0831b9ab-d6b9-485d-8955-3057e532ab31.png)

Expand Down
2 changes: 1 addition & 1 deletion examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"preact": "^10.7.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
Expand Down
1 change: 1 addition & 0 deletions examples/framework-alpine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template framework-alpine
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-alpine)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/framework-alpine)

This example showcases Astro working with [AlpineJS](https://alpinejs.dev/).

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 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"alpinejs": "^3.10.2",
"@astrojs/alpinejs": "^0.1.2",
"@types/alpinejs": "^3.7.0"
Expand Down
1 change: 1 addition & 0 deletions examples/framework-lit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ npm create astro@latest -- --template framework-lit
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-lit)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/framework-lit)

This example showcases Astro working with [Lit](https://lit.dev/).
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 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"lit": "^2.2.5",
"@astrojs/lit": "^1.0.0",
"@webcomponents/template-shadowroot": "^0.1.0"
Expand Down
1 change: 1 addition & 0 deletions examples/framework-multiple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template framework-multiple
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-multiple)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/framework-multiple)

This example showcases Astro's built-in support for multiple frameworks ([React](https://reactjs.org), [Preact](https://preactjs.com), [Svelte](https://svelte.dev), and [Vue (`v3.x`)](https://v3.vuejs.org/)).

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 @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"preact": "^10.7.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
Expand Down
1 change: 1 addition & 0 deletions examples/framework-preact/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template framework-preact
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-preact)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/framework-preact)

This example showcases Astro working with [Preact](https://preactjs.com).

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 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"preact": "^10.7.3",
"@astrojs/preact": "^1.2.0",
"@preact/signals": "^1.1.0"
Expand Down
1 change: 1 addition & 0 deletions examples/framework-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template framework-react
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-react)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/framework-react)

This example showcases Astro working with [React](https://reactjs.org/).

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 @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"@astrojs/react": "^1.2.2",
Expand Down
1 change: 1 addition & 0 deletions examples/framework-solid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template framework-solid
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-solid)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/framework-solid)

This example showcases Astro working with [Solid](https://www.solidjs.com/).

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 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"solid-js": "^1.4.3",
"@astrojs/solid-js": "^1.2.2"
}
Expand Down
1 change: 1 addition & 0 deletions examples/framework-svelte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ npm create astro@latest -- --template framework-svelte
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-svelte)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/framework-svelte)

This example showcases Astro working with [Svelte](https://svelte.dev/).
2 changes: 1 addition & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"dependencies": {
"svelte": "^3.48.0",
"@astrojs/svelte": "^1.0.2",
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
1 change: 1 addition & 0 deletions examples/framework-vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template framework-vue
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-vue)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/framework-vue)

This example showcases Astro working with [Vue](https://v3.vuejs.org/).

2 changes: 1 addition & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"vue": "^3.2.37",
"@astrojs/vue": "^1.2.1"
}
Expand Down
1 change: 1 addition & 0 deletions examples/hackernews/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template hackernews
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/hackernews)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/hackernews)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
2 changes: 1 addition & 1 deletion examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"dependencies": {
"@astrojs/node": "^3.0.0",
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
1 change: 1 addition & 0 deletions examples/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ npm create astro@latest -- --template integration
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/integration)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/integration)


## 🚀 Project Structure
Expand Down
4 changes: 2 additions & 2 deletions examples/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
],
"scripts": {},
"devDependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
},
"peerDependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
1 change: 1 addition & 0 deletions examples/minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template minimal
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/minimal)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
5 changes: 1 addition & 4 deletions examples/minimal/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { defineConfig } from 'astro/config';

// https://astro.build/config
export default defineConfig({
srcDir: '.',
root: '.',
});
export default defineConfig({});
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
1 change: 1 addition & 0 deletions examples/non-html-pages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ npm create astro@latest -- --template non-html-pages
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/non-html-pages)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/non-html-pages)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
2 changes: 1 addition & 1 deletion examples/non-html-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
1 change: 1 addition & 0 deletions examples/portfolio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template portfolio
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/portfolio)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/portfolio)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
2 changes: 1 addition & 1 deletion examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"svelte": "^3.48.0",
"@astrojs/svelte": "^1.0.2",
"@astrojs/node": "^3.0.0",
Expand Down
1 change: 1 addition & 0 deletions examples/with-markdown-plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ npm create astro@latest -- --template with-markdown-plugins
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-markdown-plugins)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/with-markdown-plugins)

This example showcases Astro's [built-in Markdown support](https://docs.astro.build/en/guides/markdown-content/) with additional, user-provided plugins.
2 changes: 1 addition & 1 deletion examples/with-markdown-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5",
"astro": "^1.6.7",
"@astrojs/markdown-remark": "^1.1.3",
"hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.1",
Expand Down
1 change: 1 addition & 0 deletions examples/with-markdown-shiki/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm create astro@latest -- --template with-markdown-shiki
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-markdown-shiki)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/github/withastro/astro/tree/latest/examples/with-markdown-shiki)

This example showcases Astro's [built-in Markdown support](https://docs.astro.build/en/guides/markdown-content/).

Expand Down
2 changes: 1 addition & 1 deletion examples/with-markdown-shiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.6.5"
"astro": "^1.6.7"
}
}
Loading

0 comments on commit 2637a0b

Please sign in to comment.