summaryrefslogtreecommitdiff
path: root/packages/integrations/node/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-09[ci] formatGravatar matthewp 1-1/+1
2023-01-09Drop Node 14 support (#5782)Gravatar Erika 1-1/+1
* chore: Update engines field * fix(deps): Remove node-fetch * feat(polyfills): Remove node-fetch for undici * feat(webapi): Remove node-fetch from the webapis polyfills for undici * feat(core): Remove node-fetch for undici in Astro core * feat(telemetry): Remove node-fetch for undici * feat(node): Remove node-fetch for undici in node integration * feat(vercel): Remove node-fetch for undici in Vercel integration * chore: update lockfile * chore: update lockfile * chore: changeset * fix(set): Fix set directives not streaming correctly on Node 16 * Try another approach * Debugging * Debug fetch * Use global fetch if there is one * changeset for lit * Remove web-streams-polyfill * Remove web-streams-polyfill license note * Update .changeset/stupid-wolves-explain.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-03Remove deprecated APIs (#5707)Gravatar Bjorn Lu 1-9/+0
* Remove deprecated Astro globals * Remove deprecated hook param * Fix test * Add changeset * Add TODO
2022-12-08[ci] formatGravatar natemoo-re 1-1/+3
2022-12-08Node: better serverEntrypoint error (#5560)Gravatar Nate Moore 1-4/+8
* fix(node): better entrypoint error * fix(node): surface start errors during preview Co-authored-by: Nate Moore <nate@astro.build>
2022-11-17[ci] formatGravatar matthewp 1-1/+3
2022-11-17feat: provide HOST env variable at runtime (#5421)Gravatar Scttpr 1-1/+2
* 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-16[ci] formatGravatar matthewp 1-235/+221
2022-11-16Add response iterator to node adapter (#5418)Gravatar Jean-Baptiste Alleaume 2-3/+245
* add response iterator to node adapter * changeset * add node-fetch types * fix @types/node-fetch as a dev dep
2022-11-07[ci] formatGravatar matthewp 1-4/+12
2022-11-07Handle `base` in adapters (#5290)Gravatar Matthew Phillips 3-3/+15
* Handle `base` in adapters * Use removeBase in the test adapter * Update packages/integrations/node/src/preview.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * Update packages/integrations/cloudflare/src/server.advanced.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * Include the subpath for links Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-10-27[ci] formatGravatar bluwy 1-1/+1
2022-10-27Fix node standalone for windows system (#5207)Gravatar BeanWei 1-4/+3
2022-10-18[ci] formatGravatar matthewp 1-8/+8
2022-10-18Mark @astrojs/node to be noExternal (#5114)Gravatar Matthew Phillips 1-0/+9
* Mark @astrojs/node to be noExternal * Adding a changeset
2022-10-18Fix port env in standalone mode (#5111)Gravatar Rishi Raj Jain 1-1/+1
2022-10-12[ci] formatGravatar matthewp 7-56/+69
2022-10-12Node.js standalone mode + support for astro preview (#5056)Gravatar Matthew Phillips 7-46/+291
* 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-09-28[ci] formatGravatar matthewp 1-2/+2
2022-09-28Astro.cookies implementation (#4876)Gravatar Matthew Phillips 1-2/+10
* Astro.cookies implementation * Remove unused var * Fix build * Add a changesetp * Remove spoken-word expires
2022-08-29Fix `@astrojs/node` typo (#4525)Gravatar Bjorn Lu 1-1/+1
2022-07-25[ci] formatGravatar FredKSchott 1-1/+1
2022-07-25Add the `output` option (#4015)Gravatar Matthew Phillips 1-1/+5
* Start of work on astroConfig.mode === 'server' * Add tests and more * adapter -> deploy in some places * Add fallback for `adapter` config * Update more tests * Update image tests * Fix clientAddress test * Updates based on PR review * Add a changeset * Update integrations tests + readme * Oops * Remove old option * Rename `mode` to `output` * Update Node adapter test * Update test * fred pass * fred pass * fred pass * fix test Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-07-22[ci] formatGravatar matthewp 1-2/+2
2022-07-22Fixes Node adapter receiving a request body (#4023)Gravatar Matthew Phillips 1-12/+19
* Fixes Node adapter receiving a request body * Updated lockfile
2022-06-06[ci] formatGravatar FredKSchott 1-2/+2
2022-04-14[ci] formatGravatar matthewp 1-1/+1
2022-04-14Support the Markdown component in SSR (#3036)Gravatar Matthew Phillips 1-1/+1
* Support the Markdown component in SSR * Adds a changeset * Support runtime markdown in Node.js * Remove option from test adapter
2022-03-24[ci] formatGravatar matthewp 1-1/+1
2022-03-24Build to a single file (#2873)Gravatar Matthew Phillips 1-8/+4
* Build to a single file * Updates based on initial code review * Adds a changeset * Use the default export for cjs module * Await generatePages * Prevent timing from causing module to not import * Fix shared CSS * Properly handle windows ids * Dont shadow * Fix ts errors * Remove console.log
2022-03-24[ci] formatGravatar matthewp 2-9/+9
2022-03-24Adapters v0 (#2855)Gravatar Matthew Phillips 2-0/+68
* Adapter v0 * Finalizing adapters * Update the lockfile * Add the default adapter after config setup is called * Create the default adapter in config:done * Fix lint error * Remove unused callConfigSetup * remove unused export * Use a test adapter to test SSR * Adds a changeset * Updated based on feedback * Updated the lockfile * Only throw if set to a different adapter * Clean up outdated comments * Move the adapter to an config option * Make adapter optional * Update the docs/changeset to reflect config API change * Clarify regular Node usage