Commit graph

705 commits

Author SHA1 Message Date
Nate Moore
281ea9fc34
Node: better serverEntrypoint error (#5560)
* fix(node): better entrypoint error

* fix(node): surface start errors during preview

Co-authored-by: Nate Moore <nate@astro.build>
2022-12-08 14:54:19 -06:00
Fred K. Bot
50cb99003a
[ci] release (#5544)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-08 09:12:10 -05:00
Bjorn Lu
fabd9124bd
Update esbuild dependency (#5534) 2022-12-06 22:11:59 +08:00
Fred K. Bot
d8e00a4871
[ci] release (#5507)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-06 11:20:35 +01:00
truesri
65d27666e1
Fix bug: pass alt from getPicture to getImage (#5521) 2022-12-06 17:17:08 +08:00
Chris Swithinbank
efc4363e0b
Support rendering <Fragment> in MDX <Content /> component (#5522) 2022-12-05 21:56:43 +01:00
Juan Martín Seery
a1885ea2f5
fix(vercel): Update request-transforms.ts (#5514)
* fix(vercel): Update set-cookie header hanlder

* Update from SvelteKit adapter

* Updated changeset
2022-12-02 20:38:40 -03:00
Fred K. Bot
8450a09f14
[ci] release (#5485)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-30 11:10:06 -05:00
wulinsheng123
299ae9bb6a
fix bug: added a warning if the image was GIF (#5474)
Co-authored-by: wuls <linsheng.wu@beantechs.com>
2022-11-28 14:27:39 -05:00
Fred K. Bot
5fa1285239
[ci] release (#5432)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-24 22:54:52 +08:00
李瑞丰
d79e9d73a3
doc: fix deno preview command (#5464) 2022-11-24 09:52:22 +01:00
matthewp
6a1e4ca02c [ci] format 2022-11-22 15:15:03 +00:00
Thomas Jaggi
2a1c085b19
[MDX] Support remark-rehype options from Astro Markdown config (#5427)
* [MDX] Support remark-rehype options from Astro Markdown config

* [MDX] Add remarkRehype to MdxOptions, extend with default markdown config

* [MDX] Add remarkRehype to README

* [MDX] Fix remarkRehype inheritance, add tests

* [MDX] Update remarkRehype docs in README

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

* [MDX] Fix remarkRehype docs

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-11-22 10:12:25 -05:00
Chris Swithinbank
fcada72bd5
Integration READMEs code block sweep 🧹 (#5455) 2022-11-22 15:56:55 +01:00
Bjorn Lu
8f203bfda3
Update tailwindcss @apply suggestion (#5406)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-11-22 01:42:45 +08:00
matthewp
7a405c5d47 [ci] format 2022-11-21 17:33:04 +00:00
Sam Chen
cef33dd841
Remove temp tailwind config file in finally (#5450) 2022-11-21 12:30:59 -05:00
bluwy
d6ece859ed [ci] format 2022-11-21 13:33:45 +00:00
Daniel
743000cc70
Use Cloudflare Pages to serve static assets and support _headers, _redirects and _routes.json (#5347)
Co-authored-by: AirBorne04 <unknown>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-11-21 21:31:21 +08:00
Chris Swithinbank
ef2ffc7ae9
Fix docs link in MDX integration README (#5448) 2022-11-21 12:15:05 +01:00
Brenley Dueck
4266869f4f
fix: partytown base path (#5425)
* fix: partytown base path

* add changeset
2022-11-17 14:46:20 -05:00
Fred K. Bot
bbb329e65e
[ci] release (#5419)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-17 10:52:42 -05:00
matthewp
eea824bee9 [ci] format 2022-11-17 15:51:50 +00:00
Scttpr
12236dbc06
feat: provide HOST env variable at runtime (#5421)
* feat: provide HOST env variable at runtime

* doc: add change to documentation

* Update documentation according to suggestions

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* fix: empty string is considered as undefined

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-11-17 10:48:20 -05:00
matthewp
c18c618a09 [ci] format 2022-11-16 21:58:37 +00:00
wulinsheng123
e2fb0c4ff2
Log error if failed to fetch remote image (#5393)
* I cant catch an error in the loadRemoteImage function when the fetch function occurs error

* I cant catch an error in the loadRemoteImage function when the fetch function occurs error

* fix ssg file

Co-authored-by: wuls <linsheng.wu@beantechs.com>
Co-authored-by: Okiki Ojo <okikio.dev@gmail.com>
2022-11-16 16:55:48 -05:00
Jean-Baptiste Alleaume
aa16b6cebc
Add response iterator to node adapter (#5418)
* add response iterator to node adapter

* changeset

* add node-fetch types

* fix @types/node-fetch as a dev dep
2022-11-16 16:55:15 -05:00
Ted Diño
afb751dbd1
[docs] fix typo in image integration README (#5416) 2022-11-16 12:07:11 -04:00
Fred K. Bot
49c1a5d439
[ci] release (#5399)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-16 10:07:56 -05:00
Matthew Phillips
a278c7ae6f
Restart dev server on package.json changes (#5412)
* Restart dev server on package.json changes

* Adding a changeset

* update vitefu

* lockfile updated
2022-11-16 08:34:19 -05:00
Matthew Phillips
40226dd14d
Use Vite to load non JS astro configs (#5377)
* Use Vite to load non JS astro configs

* Adding a changeset

* Allow config to not exist

* Use a file url

* Use proload as a fallback

* add missing peerdep

* fix lint mistakes

* Refactor the vite-load

* First check if the file exists

* Pass through fs

* Update packages/astro/src/core/config/vite-load.ts

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

* Also load astro.config.cjs

* Do search before trying to load

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-11-15 10:02:23 -05:00
迷渡
247c4077eb
[deno] fix package name (#5402) 2022-11-15 14:05:50 +08:00
matthewp
6ff1399e98 [ci] format 2022-11-14 18:44:37 +00:00
Matthew Phillips
ee750087ce
Fix usage of the Image component with the Vercel adapter (#5361)
* Revert "Revert "Allow image-pool to be used as its own Worker (#5317)" (#5360)"

This reverts commit 20e60c6e08.

* Remove special image-pool.js moving around

* Merge in assetIncludes

* changeset

* Copy to chunk folder in SSR too

* Update tidy-shoes-yawn.md
2022-11-14 13:42:35 -05:00
Fred K. Bot
993b58d567
[ci] release (#5365)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-14 13:31:31 -05:00
Donald
df8092b007
Fix typo in image integration documentatation (#5388) 2022-11-13 23:00:14 -04:00
Danny Guo
06432c71d8
Fix a typo in the @astrojs/node documentation (#5364) 2022-11-11 14:23:44 +08:00
Bjorn Lu
3ae2a961b7
Respect Vite user config for third-party packages (#5345) 2022-11-11 14:22:43 +08:00
Fred K. Bot
7ec016fec3
[ci] release (#5359)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 16:09:24 -08:00
Matthew Phillips
20e60c6e08
Revert "Allow image-pool to be used as its own Worker (#5317)" (#5360)
* Revert "Allow image-pool to be used as its own Worker (#5317)"

This reverts commit d701ae074a.

* Adding a changeset

* Remove diff

* Remove unused code
2022-11-10 16:07:22 -08:00
Fred K. Bot
f8115180f3
[ci] release (#5329)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-10 13:01:45 -08:00
Matthew Phillips
faa01cec73
Fix the image tests (#5338)
* Fix the image tests

* fix more base tests
2022-11-09 11:22:53 -04:00
Bjorn Lu
230d71f4b7
Move rehype-pretty-code as devDep (#5337) 2022-11-09 22:23:05 +08:00
matthewp
92374c0f75 [ci] format 2022-11-09 13:35:06 +00:00
Bjorn Lu
dca762cf73
Preserve code element node meta for rehype syntax highlighters (#5335) 2022-11-09 08:32:13 -05:00
Bjorn Lu
dc00ca4648
Share picture fallback image with source (#5324) 2022-11-09 08:31:09 -05:00
Fred K. Bot
e8ff4571f2
[ci] release (#5325)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-08 13:00:53 -05:00
matthewp
982e446e8d [ci] format 2022-11-08 16:16:50 +00:00
Matthew Phillips
d701ae074a
Allow image-pool to be used as its own Worker (#5317)
* Allow image-pool to be used as its own Worker

* Adding a changeset

* fix image tests

* update picture tests

* Pass the current URL
2022-11-08 11:14:51 -05:00
Bjorn Lu
a79a37cad5
Support environment variables in Cloudflare and Netlify Edge functions (#5301)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-11-08 21:54:49 +08:00