Skip to content

Commit

Permalink
Merge branch 'main' into fix/restart-root
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored Feb 6, 2023
2 parents 6c3e4ce + 327a76c commit 88ac057
Show file tree
Hide file tree
Showing 223 changed files with 3,727 additions and 2,643 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-worms-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Moved pagination error to AstroErrorData
5 changes: 5 additions & 0 deletions .changeset/flat-dolphins-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Respect `vite.build.emptyOutDir` setting during `astro build`
5 changes: 5 additions & 0 deletions .changeset/friendly-bobcats-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Ensure vite config (aliases, custom modules, etc) is respected when loading the content collection config
5 changes: 5 additions & 0 deletions .changeset/gorgeous-mails-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Fix outdated error message in `paginate()` function.
5 changes: 5 additions & 0 deletions .changeset/grumpy-bees-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Content collections: Fix accidental "use underscore to ignore" logs for `.DS_Store` files and underscored directory names.
5 changes: 0 additions & 5 deletions .changeset/happy-fireants-occur.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/honest-beds-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/cloudflare': patch
---

Uses config root path as location for Cloudflare Pages Functions
5 changes: 5 additions & 0 deletions .changeset/lazy-plums-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/image': patch
---

Improve type definitions (`background` should be optional)
5 changes: 5 additions & 0 deletions .changeset/lemon-flies-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fix sourcemap generation when scanning files
5 changes: 0 additions & 5 deletions .changeset/long-boats-perform.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-actors-switch.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/new-ravens-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-astro': major
---

Redesigned `create-astro` experience
5 changes: 5 additions & 0 deletions .changeset/shaggy-pianos-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fix hoisted script propagation in content collection pages
6 changes: 6 additions & 0 deletions .changeset/silent-dragons-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@astrojs/netlify': patch
'astro': patch
---

Fix polyfills not being available in certain cases
2 changes: 1 addition & 1 deletion examples/basics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ npm create astro@latest -- --template basics
```

[![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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/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": "^2.0.3"
"astro": "^2.0.6"
}
}
7 changes: 4 additions & 3 deletions examples/basics/src/components/Card.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ const { href, title, body } = Astro.props;
.link-card {
list-style: none;
display: flex;
padding: 0.15rem;
padding: 0.25rem;
background-color: white;
background-image: var(--accent-gradient);
background-image: none;
background-size: 400%;
border-radius: 0.5rem;
border-radius: 0.6rem;
background-position: 100%;
transition: background-position 0.6s cubic-bezier(0.22, 1, 0.36, 1);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
Expand Down Expand Up @@ -55,6 +55,7 @@ const { href, title, body } = Astro.props;
}
.link-card:is(:hover, :focus-within) {
background-position: 0;
background-image: var(--accent-gradient);
}
.link-card:is(:hover, :focus-within) h2 {
color: rgb(var(--accent));
Expand Down
2 changes: 1 addition & 1 deletion examples/blog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/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": "^2.0.3",
"@astrojs/mdx": "^0.15.2",
"astro": "^2.0.6",
"@astrojs/mdx": "^0.16.0",
"@astrojs/rss": "^2.1.0",
"@astrojs/sitemap": "^1.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/component/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/non-html-pages)


## 🚀 Project Structure
Expand Down
2 changes: 1 addition & 1 deletion examples/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.0.3"
"astro": "^2.0.6"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Astro Starter Kit: Deno

[![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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/deno)

```
npm create astro@latest -- --template deno
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": "^2.0.3"
"astro": "^2.0.6"
},
"devDependencies": {
"@astrojs/deno": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/docs)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
4 changes: 2 additions & 2 deletions examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.0.3",
"astro": "^2.0.6",
"preact": "^10.7.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"@astrojs/react": "^2.0.2",
"@astrojs/preact": "^2.0.1",
"@astrojs/preact": "^2.0.2",
"@algolia/client-search": "^4.13.1",
"@docsearch/css": "^3.1.0",
"@docsearch/react": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-alpine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/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": "^2.0.3",
"astro": "^2.0.6",
"alpinejs": "^3.10.2",
"@astrojs/alpinejs": "^0.1.3",
"@types/alpinejs": "^3.7.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-lit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/framework-lit)

This example showcases Astro working with [Lit](https://lit.dev/).
4 changes: 2 additions & 2 deletions examples/framework-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.0.3",
"astro": "^2.0.6",
"lit": "^2.2.5",
"@astrojs/lit": "^1.1.1",
"@astrojs/lit": "^1.1.2",
"@webcomponents/template-shadowroot": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/framework-multiple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/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
6 changes: 3 additions & 3 deletions examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.0.3",
"astro": "^2.0.6",
"preact": "^10.7.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"solid-js": "^1.4.3",
"svelte": "^3.48.0",
"vue": "^3.2.37",
"@astrojs/preact": "^2.0.1",
"@astrojs/preact": "^2.0.2",
"@astrojs/react": "^2.0.2",
"@astrojs/solid-js": "^2.0.1",
"@astrojs/solid-js": "^2.0.2",
"@astrojs/svelte": "^2.0.1",
"@astrojs/vue": "^2.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-preact/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/framework-preact)

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

Expand Down
4 changes: 2 additions & 2 deletions examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.0.3",
"astro": "^2.0.6",
"preact": "^10.7.3",
"@astrojs/preact": "^2.0.1",
"@astrojs/preact": "^2.0.2",
"@preact/signals": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/framework-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/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": "^2.0.3",
"astro": "^2.0.6",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"@astrojs/react": "^2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-solid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/framework-solid)

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

Expand Down
4 changes: 2 additions & 2 deletions examples/framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.0.3",
"astro": "^2.0.6",
"solid-js": "^1.4.3",
"@astrojs/solid-js": "^2.0.1"
"@astrojs/solid-js": "^2.0.2"
}
}
2 changes: 1 addition & 1 deletion examples/framework-svelte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/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": "^2.0.1",
"astro": "^2.0.3"
"astro": "^2.0.6"
}
}
2 changes: 1 addition & 1 deletion examples/framework-vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/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": "^2.0.3",
"astro": "^2.0.6",
"vue": "^3.2.37",
"@astrojs/vue": "^2.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/hackernews/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/hackernews)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
Expand Down
4 changes: 2 additions & 2 deletions examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/node": "^5.0.1",
"astro": "^2.0.3"
"@astrojs/node": "^5.0.3",
"astro": "^2.0.6"
}
}
2 changes: 1 addition & 1 deletion examples/integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/integration)


## 🚀 Project Structure
Expand Down
Loading

0 comments on commit 88ac057

Please sign in to comment.