summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/src/integration-functions.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-27Remove Netlify adapter from core (#8574)Gravatar Matthew Phillips 1-142/+0
* New link * More explicit * Add placeholder package.json * lockfile * add keyworkds
2023-09-25[ci] formatGravatar ematipico 1-8/+8
2023-09-25fix(netlify): bundle netlify functions as ESM to support top-level await (#8661)Gravatar Simon Knott 1-1/+11
2023-08-08feat: astro features (#7815)Gravatar Emanuele Stoppa 1-0/+10
2023-08-08feat: adapter features, deprecate astro configs (#7839)Gravatar Emanuele Stoppa 1-2/+10
2023-07-26Prevent building .html files in hybrid mode (#7805)Gravatar Matthew Phillips 1-0/+1
* Prevent building .html files in hybrid mode * Adding a changeset
2023-07-20Fix organize-imports-cli with satisfies operator (#7727)Gravatar Bjorn Lu 1-1/+1
2023-07-17[ci] formatGravatar ematipico 1-2/+2
2023-07-17feat(@astrojs/netlify): edge middleware support (#7632)Gravatar Emanuele Stoppa 1-2/+22
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-07-13[ci] formatGravatar ematipico 1-2/+2
2023-07-13feat(@astrojs/netlify): add `build.split` support (#7615)Gravatar Emanuele Stoppa 1-4/+35
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-05-17feat: hybrid output (#6991)Gravatar Happydev 1-1/+3
* update config schema * adapt default route `prerender` value * adapt error message for hybrid output * core hybrid output support * add JSDocs for hybrid output * dev server hybrid output support * defer hybrid output check * update endpoint request warning * support `output=hybrid` in integrations * put constant variable out of for loop * revert: reapply back ssr plugin in ssr mode * change `prerender` option default * apply `prerender` by default in hybrid mode * simplfy conditional * update config schema * add `isHybridOutput` helper * more readable prerender condition * set default prerender value if no export is found * only add `pagesVirtualModuleId` ro rollup input in `output=static` * don't export vite plugin * remove unneeded check * don't prerender when it shouldn't * extract fallback `prerender` meta Extract the fallback `prerender` module meta out of the `scan` function. It shouldn't be its responsibility to handle that * pass missing argument to function * test: update cloudflare integration tests * test: update tests of vercel integration * test: update tests of node integration * test: update tests of netlify func integration * test: update tests of netlify edge integration * throw when `hybrid` mode is malconfigured * update node integraiton `output` warning * test(WIP): skip node prerendering tests for now * remove non-existant import * test: bring back prerendering tests * remove outdated comments * test: refactor test to support windows paths * remove outdated comments * apply sarah review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * docs: `experiment.hybridOutput` jsodcs * test: prevent import from being cached * refactor: extract hybrid output check to function * add `hybrid` to output warning in adapter hooks * chore: changeset * add `.js` extension to import * chore: use spaces instead of tabs for gh formating * resolve merge conflict * chore: move test to another file for consitency --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-01-27[ci] formatGravatar matthewp 1-1/+1
2023-01-27feat(@astrojs/netlify): Add on-demand builders Netlify functions (#5874)Gravatar Juan Miguel Guerrero 1-2/+5
* Add on-demand builders option * chore: add changeset * docs: add documentation in configuration section * Update packages/integrations/netlify/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/netlify/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/netlify/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/twenty-pans-agree.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-23Support prerender in Netlify redirects (#5904)Gravatar Matthew Phillips 1-1/+1
* Support prerender in Netlify redirects * Updated sorting algorithm * Update packages/integrations/netlify/src/shared.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.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-10-12[ci] formatGravatar matthewp 1-2/+2
2022-10-12Node.js standalone mode + support for astro preview (#5056)Gravatar Matthew Phillips 1-10/+18
* 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-07-25[ci] formatastro@0.0.0-rc-20220725043302@astrojs/vue@0.0.0-rc-20220725043302@astrojs/vercel@0.0.0-rc-20220725043302@astrojs/tailwind@0.0.0-rc-20220725043302@astrojs/svelte@0.0.0-rc-20220725043302@astrojs/sitemap@0.0.0-rc-20220725043302@astrojs/prefetch@0.0.0-rc-20220725043302@astrojs/partytown@0.0.0-rc-20220725043302@astrojs/node@0.0.0-rc-20220725043302@astrojs/netlify@0.0.0-rc-20220725043302@astrojs/mdx@0.0.0-rc-20220725043302@astrojs/markdown-remark@0.0.0-rc-20220725043302@astrojs/markdown-component@0.0.0-rc-20220725043302@astrojs/lit@0.0.0-rc-20220725043302@astrojs/image@0.0.0-rc-20220725043302@astrojs/deno@0.0.0-rc-20220725043302@astrojs/cloudflare@0.0.0-rc-20220725043302Gravatar FredKSchott 1-2/+4
2022-07-25Add the `output` option (#4015)Gravatar Matthew Phillips 1-0/+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-06-15[ci] formatGravatar tony-sull 1-2/+5
2022-06-15Adds support base64 encoding in Netlify Functions (#3592)Gravatar Tony Sullivan 1-4/+6
* Adding support for base64 encoded responses in Netlify Functions * chore: add changeset * removing the regex check for a more simple header-based check * nit: cleaning up the readme a bit
2022-06-06[ci] formatfix/map-file-404-logsGravatar FredKSchott 1-1/+1
2022-05-16Update out directories for Netlify Functions (#3381)Gravatar Sarah Etter 1-2/+2
* Change out directories for Netlify Functions * Changeset * Update test
2022-05-11[ci] formatGravatar matthewp 1-1/+1
2022-05-11Fix/netlify edge redirects (#3342)Gravatar Pascal Schilp 1-21/+2
* fix: create redirects file for netlify edge adapter * chore: changeset * chore: distinguish between edge/regular
2022-04-19Netlify Edge function support (#3148)Gravatar Matthew Phillips 1-1/+65
* Netlify Edge function support * Update readme with edge function information * Adds a changeset * Disable running edge function test in CI for now
2022-03-25[ci] formatGravatar matthewp 1-3/+1
2022-03-25Netlify adapter (#2879)Gravatar Matthew Phillips 1-0/+3
* Netlify adapter * Remove package.json export that doesnt exist * Fix out path * Make netlifyFunctions the default * Make the dist configurable * Add an export for the functions * Append of the file exists