Commit graph

3744 commits

Author SHA1 Message Date
Matthew Phillips
561a34d912
Include astro components for HMR invalidation (#4240)
* Include astro components for HMR invalidation

* Changeset

* remove extra vite server passing
2022-08-10 15:26:58 -04:00
natemoo-re
d186c406b9 [ci] format 2022-08-10 19:13:28 +00:00
Obinna Ekwuno
bfbd32588f
[Docs]: Update Cloudflare README (#4232)
* update cloudflare readme

* Create modern-papayas-rhyme.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-10 14:11:19 -05:00
Matthew Phillips
0af5aa7a3b
Fix solid recursion bug (#4215)
* Fix solid recursion bug

* Fix types

* Remove debug code

* Remove logging from e2e test
2022-08-10 15:10:31 -04:00
StefanGussner
58941e93c3
Update code samples to match release version (#4241)
As I learned from a support Thread on Discord, the tagName convention was dropped during the beta period. Instead you need to export the class and use it in astro file.
I updated the code samples on this page accordingly.
2022-08-10 14:08:12 -05:00
Bjorn Lu
f8e3853394
Fix preact compat support for libraries (#4213)
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-08-10 22:22:10 +08:00
Bjorn Lu
c38e7f1890
Remove dev server during build (#4234) 2022-08-10 22:06:02 +08:00
Bjorn Lu
dcc2480d9d
Skip mod.d.ts in format:ci (#4235) 2022-08-10 22:05:07 +08:00
Fred K. Bot
9703f6f8f3
[ci] update lockfile (#4233)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-08-10 09:26:20 -04:00
Mayank
e918b3883e
feat: Support -y in astro add (#4225) 2022-08-09 21:29:51 -07:00
Fred K. Bot
74528a1973
[ci] release (#4224)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-09 17:31:06 -07:00
Fred K. Schott
3a7f2385ea Revert "[ci] release (#4223)"
This reverts commit d4ad409875.
2022-08-09 17:28:02 -07:00
Alexandre Desroches
92aa6a75ea
Updated @astrojs/image README.md missing formats prop as subtitle (#4221)
* Update README.md

Added missing subtitle for `formats` prop of the <Picture> component

* Create fast-drinks-visit.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-08-09 16:29:07 -07:00
Masataka Yakura
fe3b423982
Markdown component: fix package name in readme.md (#4208)
* Markdown component: fix package name in readme.md

readme says it's `@astrojs/markdown`, but package name is actually `@astrojs/markdown-component`.

* Create dry-deers-vanish.md

* Update dry-deers-vanish.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-08-09 16:28:48 -07:00
Fred K. Bot
d4ad409875
[ci] release (#4223)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-09 19:25:15 -04:00
bholmesdev
e09692459a [ci] format 2022-08-09 23:20:54 +00:00
Ben Holmes
b5ef1c2113
[MD] Add rawContent and compiledContent to MD layout props (#4222)
* fix: add subs for astro.source and astro.html

* fix: define "source" property

* test: raw and compiled content from layout

* chore: changeset

Co-authored-by: bholmesdev <bholmesdev@gmail.com>
2022-08-09 19:18:34 -04:00
natemoo-re
a4f24266c0 [ci] format 2022-08-09 16:12:27 +00:00
Nate Moore
9f067dca27
Astro 1.0.0 (#4214)
* chore: remove changesets patch

* chore: add changesets

* chore: version packages

* chore: normalize formatting

* chore: update lockfile

* chore: fix codeblocks

* Update packages/astro/CHANGELOG.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/CHANGELOG.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/CHANGELOG.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* chore: fixup code samples

* chore: move v0.25 message out of note

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-09 11:10:25 -05:00
Sarah Rainsberger
63d43e1754
remove errant remaining details tags (#4212) 2022-08-09 09:09:16 -05:00
Fred K. Bot
4d29163d11
[ci] release (#4197)
* [ci] release

* Update CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-08 18:10:55 -05:00
natemoo-re
7eb54fcb4f [ci] format 2022-08-08 22:35:40 +00:00
Ben Holmes
4c2ca5352d
[MDX] Remove frontmatterOptions (#4204)
* feat: remove frontmatterOptions config

* test: remove custom frontmatter suite

* deps: remove remark-mdx-frontmatter

* docs: remove `frontmatterOptions` config

* chore: changeset
2022-08-08 17:33:35 -05:00
Erika
36cb503c8a
Update @astrojs/image README with mention of the new env.d.ts file (#4206) 2022-08-08 17:27:48 -04:00
Nate Moore
ec376369a8
fix: ensure jsx does not reference server entrypoint (#4203)
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-08 16:26:36 -05:00
Ben Holmes
6c9736cbc9
[MDX] Add frontmatter injection to README (#4205)
* docs: remove `remark-mdx-frontmatter` from README

* docs: remove remark-mdx-frontmatter link

* docs: MDX frontmatter injection

* chore: changeset
2022-08-08 17:16:06 -04:00
matthewp
f8c2d828bd [ci] format 2022-08-08 19:38:05 +00:00
Matthew Phillips
6bc2cbe5e9
Add Windows back to smoke tests (#4202) 2022-08-08 15:35:58 -04:00
Matthew Phillips
25d36d9558
Refactor runtime (#4201)
* Refactor runtime

* Add back in generator change

* Adding a changeset

* Fix build
2022-08-08 15:35:01 -04:00
Nate Moore
f207c417e0
Add Astro.generator (#4012)
* feat: add generator property and component

* chore: remove `Generator` component

* chore: update generator description

* chore: include generator in examples

* chore: update lockfile

* chore: format

* fix: do not reference core from server runtime

* chore: remove component test

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-08 12:34:05 -05:00
natemoo-re
2c710e4edb [ci] format 2022-08-08 17:24:48 +00:00
Maina Wycliffe
f2989ec73b
Add a Github Codespace Config based on gitpod dockerfile (#4185)
* Add a codespace config based on gitpod dockerfile

This will ensure contributors using Github Codespaces also have to
correct environemnt setup, with all packages installed.

* chore: rename Dockerfile

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-08 12:22:32 -05:00
natemoo-re
d3ceb617a1 [ci] format 2022-08-08 17:12:48 +00:00
Randall
84275e0810
Changes required for a Passing grade from OpenSSF Best Practices (#3718)
* Add `SECURITY.md` and `SECURITY_CONTACTS`

Signed by: Randall T. Vasquez <ran.dall@icloud.com>

* Add OpenSFF Best Practices badge

Signed by: Randall T. Vasquez <ran.dall@icloud.com>

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-08 12:11:00 -05:00
Richard Cooke
f4c571bdb0
feat: add support to @astrojs/cloudflare directory deploy mode (#3806)
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-08 12:10:48 -05:00
Nate Moore
821074fcb5
Update ---01-bug-report.yml (#4199) 2022-08-08 12:08:35 -05:00
Sarah Rainsberger
9894b3dcde
remove details tags from integration READMEs (#4198) 2022-08-08 12:07:38 -05:00
Fred K. Bot
2c71a99202
[ci] update lockfile (#4184)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-08-08 09:40:28 -05:00
Maik Jablonski
5e71a8720e
fix: astro preview does not serve custom 404 (4113) (#4189)
* fix: astro preview does not serve custom 404 (4113)

* fix: use exists instead of stat

* Create thick-ducks-sparkle.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-08 09:40:07 -05:00
oliverpool
ad3d786e1f
tailwind: link to import doc for applyBaseStyles (#4193) 2022-08-08 09:38:28 -05:00
Bjorn Lu
28ab273a3d
Fix client build sourcemap generation (#4195) 2022-08-08 21:55:18 +08:00
delucis
6086562a93 [ci] format 2022-08-07 09:20:21 +00:00
Mark Spratt
341344f331
docs: Modify legacy flag description (#4187)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-07 11:18:33 +02:00
Fred K. Bot
3a7e0221b3
[ci] release (#4186)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-06 09:06:57 -07:00
Erika
77c018e515
Fix relaxed and default TypeScript settings not working (#4183)
* Fix relaxed and default TypeScript settings not working

* Create itchy-hats-exist.md
2022-08-06 07:04:39 -07:00
Fred K. Bot
4e4061f485
[ci] release (#4159)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-05 21:48:35 -07:00
FredKSchott
9c3b8d0630 [ci] format 2022-08-06 04:43:26 +00:00
Kevin Zuniga Cuellar
bcca548d46 add charset utf-8 2022-08-05 21:41:09 -07:00
FredKSchott
4de35f3b70 [ci] format 2022-08-06 04:39:26 +00:00
Erika
24c8e7d853
Add prettier-plugin-astro to the monorepo (#4083)
* Add `prettier-plugin-astro` to the monorepo

* Fix issue that prevent formatting Picture component

* Revert "Fix issue that prevent formatting Picture component"

This reverts commit 5536c5122ca01c64e2be6bdbc88aaaa71a690a58.

* Add back CLI parameter

* Update to latest prettier plugin

* Add more ignored files, unfortunately
2022-08-05 21:36:31 -07:00