Skip to content

Commit

Permalink
Merge branch 'main' into chore/esbuild-up
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanM04 committed Apr 10, 2022
2 parents f430d17 + ce0c54a commit 9dcdc98
Show file tree
Hide file tree
Showing 37 changed files with 198 additions and 67 deletions.
4 changes: 4 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,13 @@
"changesets": [
"angry-suits-thank",
"big-yaks-invite",
"calm-dolphins-remain",
"dirty-trains-yawn",
"dull-bobcats-clean",
"empty-pens-talk",
"forty-boats-remain",
"nervous-chairs-check",
"odd-squids-rest",
"shiny-rice-worry",
"sour-laws-raise",
"stale-walls-whisper",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/shaggy-pans-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Update JSDoc comments that get shown to users through editor integration
2 changes: 1 addition & 1 deletion examples/blog-multiple-authors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/preact": "^0.0.2",
"astro": "^1.0.0-beta.4",
"astro": "^1.0.0-beta.5",
"sass": "^1.49.11"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/preact": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"preact": "^10.7.0"
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 @@ -10,6 +10,6 @@
},
"devDependencies": {
"@example/my-component": "workspace:*",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
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.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"devDependencies": {
"@astrojs/preact": "^0.0.2",
"@astrojs/react": "^0.1.0",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/env-vars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/framework-alpine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/framework-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/lit": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0",
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": "^0.0.4-beta.0",
"@astrojs/svelte": "^0.0.2",
"@astrojs/vue": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0",
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 @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/preact": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"preact": "^10.7.0"
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 @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/react": "^0.1.0",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"react": "^18.0.0",
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 @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/solid-js": "^0.0.4-beta.0",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"solid-js": "^1.3.13"
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/svelte": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"svelte": "^3.46.6"
Expand Down
2 changes: 1 addition & 1 deletion examples/framework-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/vue": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"vue": "^3.2.31"
Expand Down
2 changes: 1 addition & 1 deletion examples/integrations-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@astrojs/sitemap": "^0.1.0",
"@astrojs/tailwind": "^0.1.0",
"@astrojs/turbolinks": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/non-html-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/preact": "^0.0.2",
"astro": "^1.0.0-beta.4",
"astro": "^1.0.0-beta.5",
"sass": "^1.49.11"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"devDependencies": {
"@astrojs/node": "^0.0.2",
"@astrojs/svelte": "^0.0.2",
"astro": "^1.0.0-beta.4",
"astro": "^1.0.0-beta.5",
"concurrently": "^7.1.0",
"lightcookie": "^1.0.25",
"unocss": "^0.15.6",
Expand Down
2 changes: 1 addition & 1 deletion examples/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/subpath/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/react": "^0.1.0",
"astro": "^1.0.0-beta.4",
"astro": "^1.0.0-beta.5",
"sass": "^1.49.11"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/with-markdown-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/markdown-remark": "^0.8.1",
"astro": "^1.0.0-beta.4",
"astro": "^1.0.0-beta.5",
"hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.0.1",
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 @@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/markdown-remark": "^0.8.1",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/with-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@astrojs/react": "^0.1.0",
"@astrojs/svelte": "^0.0.2",
"@astrojs/vue": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
},
"dependencies": {
"preact": "^10.7.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"@astrojs/solid-js": "^0.0.4-beta.0",
"@astrojs/svelte": "^0.0.2",
"@astrojs/vue": "^0.0.2",
"astro": "^1.0.0-beta.4"
"astro": "^1.0.0-beta.5"
}
}
2 changes: 1 addition & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/tailwind": "^0.1.0",
"astro": "^1.0.0-beta.4",
"astro": "^1.0.0-beta.5",
"autoprefixer": "^10.4.4",
"canvas-confetti": "^1.5.1",
"postcss": "^8.4.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vite-plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.4",
"astro": "^1.0.0-beta.5",
"vite-plugin-pwa": "0.11.11",
"workbox-window": "^6.5.2"
}
Expand Down
15 changes: 15 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# astro

## 1.0.0-beta.5

### Patch Changes

- [#3026](https://github.com/withastro/astro/pull/3026) [`4b0f27d9`](https://github.com/withastro/astro/commit/4b0f27d9ffa6ec90e898de504588ba92630064c0) Thanks [@matthewp](https://github.com/matthewp)! - Fix for adding set-cookie multiple times

* [#3020](https://github.com/withastro/astro/pull/3020) [`c773dcde`](https://github.com/withastro/astro/commit/c773dcde317d46e3f8e68088cda580c30bc8e1da) Thanks [@tony-sull](https://github.com/tony-sull)! - Add support for advanced CSS imports with `?raw` and `?url`

> ⚠️WARNING⚠️:
> Be careful when bypassing Astro's built-in CSS bundling! Styles won't be included in the built output - this is best used in combination with `set:html` to inline styles directly into the built HTML page.
- [#3022](https://github.com/withastro/astro/pull/3022) [`8c04ff1f`](https://github.com/withastro/astro/commit/8c04ff1f0bea42d033832ce5047076e315cb38a3) Thanks [@matthewp](https://github.com/matthewp)! - Allows adapters to export default

* [#3021](https://github.com/withastro/astro/pull/3021) [`7e9d82d7`](https://github.com/withastro/astro/commit/7e9d82d75e4b19993b4246d3546169c8476702c4) Thanks [@matthewp](https://github.com/matthewp)! - Warn when attempting to access headers in SSG mode

## 1.0.0-beta.4

### Patch Changes
Expand Down
5 changes: 3 additions & 2 deletions packages/astro/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ type Astro = import('astro').AstroGlobal;

// We duplicate the description here because editors won't show the JSDoc comment from the imported type (but will for its properties, ex: Astro.request will show the AstroGlobal.request description)
/**
* Astro.* available in all components
* Docs: https://docs.astro.build/reference/api-reference/#astro-global
* Astro global available in all contexts in .astro files
*
* [Astro documentation](https://docs.astro.build/reference/api-reference/#astro-global)
*/
declare const Astro: Readonly<Astro>;

Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
Expand Down
Loading

0 comments on commit 9dcdc98

Please sign in to comment.