0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00
Commit graph

115 commits

Author SHA1 Message Date
Tom Everson
31af0d797f Add Vercel middleware docs to Vercel integration README (#5576)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-12-13 11:35:21 +01:00
Fred K. Bot
c290567ea7 [ci] release (#5589)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-12 15:07:51 -05:00
Juan Martín Seery
60a2f548a9 fix(vercel): support node-fetch and Node 18 fetch (#5587) 2022-12-12 16:45:57 -03:00
Fred K. Bot
c41a698f10 [ci] release (#5507)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-06 11:20:35 +01:00
Juan Martín Seery
6776e56b1f 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
Chris Swithinbank
a562a55826 Integration READMEs code block sweep 🧹 (#5455) 2022-11-22 15:56:55 +01:00
Fred K. Bot
02337babf2 [ci] release (#5399)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-16 10:07:56 -05:00
matthewp
a2ac91b1b1 [ci] format 2022-11-14 18:44:37 +00:00
Matthew Phillips
bf733125bc 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
5bf07a9c94 [ci] release (#5239)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-31 10:21:09 -04:00
matthewp
cd3fd406d8 [ci] format 2022-10-28 18:50:00 +00:00
Matthew Phillips
35cdb5634d Throw error when trying to use the vercel static adapter in server mode (#5241) 2022-10-28 14:48:20 -04:00
Fred K. Bot
3d799e221e [ci] release (#5135)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-26 08:43:23 -04:00
Juan Martín Seery
33ec058634 fix(vercel): Include all files inside dist/ instead of only entry.mjs (#5175) 2022-10-24 11:24:52 -03:00
Fred K. Bot
2811d44f8a [ci] release (#5117)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-19 15:29:21 -04:00
Juan Martín Seery
5652bb3524 fix(vercel): fixed regression #5120 (#5127) 2022-10-19 14:24:26 -04:00
Fred K. Bot
19cff7e3e9 [ci] release (#5078)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-18 14:26:00 -04:00
JuanM04
b94f184ac7 [ci] format 2022-10-14 20:21:16 +00:00
Juan Martín Seery
d27c4f7297 feat(vercel): includeFiles and excludeFiles (#5085)
* refactor + include/excludeFiles

* Changeset

* Updated README.md

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

* Missing .js

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-14 17:19:35 -03:00
Juan Martín Seery
bd03ddb1fd feat(vercel): Edge improvements (#5086)
* Added error on "output" == "static"

* Minify output

* Changeset
2022-10-14 17:17:13 -03:00
Fred K. Bot
facd52a489 [ci] release (#5046)
* [ci] release

* Update packages/integrations/node/CHANGELOG.md

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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-13 12:29:24 -04:00
matthewp
e02469da8f [ci] format 2022-10-12 21:27:56 +00:00
Matthew Phillips
8debb790e0 Node.js standalone mode + support for astro preview (#5056)
* wip

* Deprecate buildConfig and move to config.build

* Implement the standalone server

* Stay backwards compat

* Add changesets

* correctly merge URLs

* Get config earlier

* update node tests

* Return the preview server

* update remaining tests

* swap usage and config ordering

* Update packages/astro/src/@types/astro.ts

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

* Update .changeset/metal-pumas-walk.md

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

* Update .changeset/metal-pumas-walk.md

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

* Update .changeset/stupid-points-refuse.md

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

* Update .changeset/stupid-points-refuse.md

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

* Link to build.server config

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-10-12 17:25:51 -04:00
Fred K. Bot
3de985344a [ci] release (#5019)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-10 11:44:22 -04:00
Juan Martín Seery
bf4ba4aee1 fix(vercel): now works with monorepos (#5033)
* Upgraded nft

* Handle monorepo better

* Changeset

* Fixed common ancestor

* Fixed outdir
2022-10-10 11:37:03 -04:00
Fred K. Bot
a7d58b4663 [ci] release (#4903)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-29 11:20:00 -04:00
matthewp
ddb72519d0 [ci] format 2022-09-28 20:57:35 +00:00
Matthew Phillips
f13aac97f2 Astro.cookies implementation (#4876)
* Astro.cookies implementation

* Remove unused var

* Fix build

* Add a changesetp

* Remove spoken-word expires
2022-09-28 16:55:27 -04:00
Bjorn Lu
d52cf49cbe Remove shamefully-hoist (#4842) 2022-09-28 23:13:33 +08:00
Fred K. Bot
95196d1673 [ci] release (#4846)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-27 12:12:44 -04:00
Bjorn Lu
4964501fc6 Set SSR target webworker for Vercel edge (#4884) 2022-09-27 08:40:10 -04:00
Jake Strawn
02d912301e docs: Update references to support channel in Discord. (#4872) 2022-09-26 21:02:05 +08:00
Michael Rienstra
48d34fb8ed docs: integrations: yarn & pnpm (#4836) 2022-09-22 08:16:02 -03:00
Fred K. Bot
af81d22bb0 [ci] release (#4707)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-12 15:08:39 -04:00
Juan Martín Seery
b610914858 [vercel] Use Edge Functions instead of Edge Middlewares (#4713)
* Don't use middleware

* changeset

* breaking change
2022-09-12 14:40:48 -04:00
Elian ☕️
c5bbc0cbd6 Docs Typo fixes (#4664) 2022-09-07 17:05:13 -03:00
Sarah Rainsberger
c9b9c91252 [docs] update adapter READMESs to include astro add (#4595)
* update adapter READMES to include astro add

* missing space

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-09-06 08:53:47 -04:00
Yan Thomas
0524d55e45 Add deploy guides links to integrations READMEs (#4612) 2022-09-03 17:23:44 -03:00
Fred K. Bot
ba2805bc86 [ci] release (#4555)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 18:03:27 -04:00
Tony Sullivan
3d90c5d37d Adds the "withastro" keyword to adapter packages (#4558)
* adds the "withastro" keyword to adapter packages

* chore: add changeset
2022-08-30 20:19:19 +00:00
Sarah Rainsberger
fa12c31607 [docs] remove confusing note added in wrong place (#4551) 2022-08-30 08:23:24 -04:00
Fred K. Bot
b4f71fa23c [ci] release (#4363)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-22 15:46:46 -04:00
Nu11Terminator
cb9045d9af fix: vercel static export path (#4370)
This enables the use of `{ output: static, adapter: vercelStaticAdapter}`

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-08-22 14:50:15 -04:00
Maik Jablonski
5cd127fbd3 Running Astro as SSG on Vercel without adapter (#4299)
Fixes the 404 handling.
2022-08-22 11:47:14 -04:00
Ben Holmes
b77bfcfffc fix: correctly add react-dom alias to Vercel edge (#4421)
* fix: correctly add react-dom alias to vercel edge

* chore: changeset
2022-08-22 11:46:02 -04:00
Nate Moore
50abdce783 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
FredKSchott
a5ff29c9e1 [ci] format 2022-08-06 04:39:26 +00:00
Fred K. Bot
bf7cacf894 [ci] release (#4056)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-28 08:17:45 -04:00
matthewp
b1173c5751 [ci] format 2022-07-27 15:52:44 +00:00
Matthew Phillips
6e3dd3f3f0 Add errors to cloudflare/vercel adapters when no output config (#4068) 2022-07-27 11:50:48 -04:00