Commit graph

3798 commits

Author SHA1 Message Date
Fred K. Bot
16edf0c773
[ci] release (#4296)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-13 10:09:17 -07:00
FredKSchott
b429aff2ad [ci] format 2022-08-13 17:01:47 +00:00
Fred K. Schott
1d3a0a16f3
Revert "Ensure hydration scripts inside of slots render ASAP (#4288)" (#4302)
* Revert "Ensure hydration scripts inside of slots render ASAP (#4288)"

This reverts commit c218100684.

* Create khaki-dots-press.md
2022-08-13 10:00:12 -07:00
Peter Singh
6a90f6a941
Reove: references to Lit (#4305) 2022-08-13 09:59:58 -07:00
mundry
2bb4e3b812
add missing word in image integration-guide (#4303)
Co-authored-by: mundry <mundry@users.noreply.github.com>
2022-08-13 13:41:15 -03:00
Fred K. Schott
6a3aa12079 [examples/blog] move copy 2022-08-13 01:12:57 -07:00
Fred K. Schott
d2063b4cf9 update examples/blog package.json 2022-08-13 01:01:49 -07:00
FredKSchott
485742dc0d [ci] format 2022-08-13 07:12:04 +00:00
Fred K. Schott
73f367c77b
add protection if astro preview is run with server output (#4284)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-13 00:09:58 -07:00
Fred K. Schott
d54588c7a4
Update: blog template (#4283)
* add new blog template

* update placeholder images

* use svg favicon

* Update examples/blog/src/pages/blog/using-mdx.mdx

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

* fred pass

* more fred pass

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-13 00:09:40 -07:00
bholmesdev
d4b06f9d8e [ci] format 2022-08-12 22:48:10 +00:00
Ben Holmes
5fe46d946a
fix: content -> frontmatter, content.headings -> headings (#4294) 2022-08-12 18:46:26 -04:00
Fred K. Bot
b1bd52e9ea
[ci] release (#4290)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-12 17:40:47 -05:00
bholmesdev
695e9b34da [ci] format 2022-08-12 22:19:32 +00:00
Ben Holmes
f7afdb889f
[MDX] Fix remaining inconsistencies with Markdown (#4268)
* feat: add "file" and "url" to layout props

* feat: add rawContent and compiledContent errs

* fix: add "file" and "url" to frontmatter

* fix: add separate MDX instance type

* types: add MarkdownLayoutProps and MDXLayoutProps

* refactor: simplify MDXLayoutProps

* test: pass file and url to layout

* test: glob components with .default and Content

* feat: add <Content /> to MDX

* feat: declare MDX type module

* fix: [MD] move file and url to layout props only

* chore: changeset

* chore: bump MDX to "minor" with more details

* refactor: remove "file" + "url" top-level props (save for minor)

* revert: MDInstance type def updates (save for minor)

* fix: MDXInstance "default" + "content" types

* fix: bad test layout

* chore: remove getHeaders fro *.mdx
2022-08-12 18:17:26 -04:00
natemoo-re
437bf73f26 [ci] format 2022-08-12 22:03:24 +00:00
Nate Moore
24d2f7a6e6
Fix namespaced component usage in MDX (#4272)
* fix(#4209): handle namespaced JSX and MDX

* chore: add changeset

* chore: update lockfile

* fix: throw error when componentExport is unresolved

* chore: bump compiler

* chore: bump compiler

* chore: revert example changes

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-12 17:01:05 -05:00
Ben Holmes
3ca9051749
[astro add] Set output: 'server' when adding adapter (#4289)
* fix: add `output: 'server'` when setting adapter

* chore: changeset
2022-08-12 13:16:19 -04:00
matthewp
62763d50b5 [ci] format 2022-08-12 16:21:28 +00:00
Matthew Phillips
8f845ca950
Prevents automatic trailingSlash behavior with getStaticPaths (#4265)
* Prevents automatic trailingSlash behavior with getStaticPaths

* Testing

* weird change
2022-08-12 12:19:32 -04:00
Matthew Phillips
c218100684
Ensure hydration scripts inside of slots render ASAP (#4288)
* Ensure hydration scripts inside of slots render ASAP

* Changeset

* fix type errors

* Update packages/astro/src/runtime/server/render/page.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-12 12:18:41 -04:00
natemoo-re
467fabd749 [ci] format 2022-08-12 15:50:42 +00:00
Nate Moore
c0992e1fef
fix(#4194): remove Astro runtime from browser (#4282)
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-12 10:48:53 -05:00
Erika
b0033cef32
Make astro import inside env.d.ts relative so they work inside the monorepo (#4281) 2022-08-12 11:20:59 -04:00
Fred K. Schott
b1cad77fa1
ci-fix (#4280) 2022-08-11 23:00:38 -07:00
Fred K. Bot
bb3d7d4f39
[ci] release (#4249)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-11 16:50:59 -07:00
Bjorn Lu
5b1facfe29
Clarify preact/compat integration docs (#4267)
* Clarify preact/compat integration

* Create long-lobsters-ring.md

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-08-11 16:34:07 -07:00
FredKSchott
52068e2644 [ci] format 2022-08-11 23:33:05 +00:00
Nate Moore
7127b1bb35
Fix astro add with third-party integrations (#4270)
* fix: nicer third-party integration names

* chore: add changeset

* fix: better handling for package names

* update changelog

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-11 16:31:28 -07:00
FredKSchott
a70d05bd44 [ci] format 2022-08-11 23:29:45 +00:00
Erika
0022f46b57
Fix build output for endpoints route (#4273)
* Fix build output for endpoints route

* Add changeset
2022-08-11 16:28:06 -07:00
Matthew Phillips
d3d09a2c9f
Add 404 routing logic to Netlify redirects file (#4274)
* Add 404 routing logic to Netlify redirects file

* changeset
2022-08-11 16:26:32 -07:00
FredKSchott
be6470688f [ci] format 2022-08-11 23:26:19 +00:00
Fred K. Schott
42fd6936cd
fix astro image bad imports (#4279) 2022-08-11 16:24:17 -07:00
Nate Moore
e65c772678
Update ci.yml (#4271) 2022-08-11 13:44:07 -05:00
Fred K. Bot
692e361ef1
[ci] update lockfile (#4262)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-08-11 12:37:55 -05:00
Ben Holmes
4116128082
[MDX] Pass injected frontmatter to layouts (#4255)
* fix: move layout generation to remark plugin

* test: frontmatter injection in layout

* chore: changeset

* fix: remove content fallback
2022-08-11 12:36:34 -05:00
Caleb Jasik
5afb5ef7af
Fix spelling mistake in @astrojs/image docs (#4256)
`intergration` -> `integration`
2022-08-11 11:07:11 -05:00
natemoo-re
9f6d8eb625 [ci] format 2022-08-11 16:06:04 +00:00
Maik Jablonski
ceb0eef944
Use passive listeners in prefetch (#4207)
* Use passive listeners in prefetch

Without passive=true, Lighthouse complains about not using passive listeners to improve scrolling performance.

* Create cold-shoes-drum.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-11 11:04:10 -05:00
natemoo-re
54ff0a454c [ci] format 2022-08-11 16:01:28 +00:00
Nate Moore
1f0dd31d92
fix(#4246): fix Prism indentation and class (#4251)
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-11 10:59:48 -05:00
Nate Moore
51847a276f
Do not cancel-in-progress on main (#4253)
* chore(ci): do not cancel-in-progress on main

* still cancels?

Co-authored-by: Nate Moore <nate@astro.build>
2022-08-10 17:25:22 -05:00
Nate Moore
20fd767234 Revert "debug ci"
This reverts commit c0caf7e353.
2022-08-10 16:34:01 -05:00
Nate Moore
c0caf7e353 debug ci 2022-08-10 16:33:35 -05:00
Jakob Helgesson
869d009359
Mdx/plugin unshift (#4248)
* Add builtin rehype plugin to beginning

* Add Changeset

* Do the same to rehypeRaw for consistency
2022-08-10 17:10:06 -04:00
matthewp
d087286daa [ci] format 2022-08-10 20:57:00 +00:00
Fred K. Bot
1ee08baf91
[ci] release (#4228)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-10 16:54:12 -04:00
Bjorn Lu
a9baa45af3
Simulate Vite resolve id to url (#4239)
* Simulate Vite resolve id to url

* Add changeset
2022-08-10 16:53:52 -04:00
matthewp
df26aa220b [ci] format 2022-08-10 20:24:40 +00:00