summaryrefslogtreecommitdiff
path: root/examples/ssr/astro.config.mjs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-12[ci] formatGravatar matthewp 1-1/+1
2022-10-12Node.js standalone mode + support for astro preview (#5056)Gravatar Matthew Phillips 1-1/+3
* 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-25Add the `output` option (#4015)Gravatar Matthew Phillips 1-0/+1
* 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-04-03chore: updated examples to v0.26.0 (#2977)Gravatar Juan Martín Seery 1-2/+2
* New script behavior * Astro.request * Reverted `deno` to `node` * Updated subpath
2022-03-30Deno adapter (#2934)Gravatar Matthew Phillips 1-2/+2
* Bundle everything, commit 1 * Get everything working * Remove dependency on readable-stream * Adds a changeset * Fix ts errors * Use the node logger in tests * Callback the logger when done writing * Fix test helper to await the callback * Use serialize-javascript again * Remove dead code * Rename hook * Oops
2022-03-29Make it deployable to Netlify (#2931)Gravatar Matthew Phillips 1-13/+0
2022-03-24Adapters v0 (#2855)Gravatar Matthew Phillips 1-0/+2
* 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
2022-03-18Astro Integration System (#2820)Gravatar Fred K. Schott 1-1/+3
* update examples * add initial integrations * update tests * update astro * update ci * get final tests working * update injectelement todo * update ben code review * respond to final code review feedback
2022-03-17Allow SSR dynamic routes to not implement getStaticPaths (#2815)Gravatar Matthew Phillips 1-1/+1
* Allow SSR dynamic routes to not implement getStaticPaths * Adds a changeset * Update based on code-review comments
2022-03-16[ci] formatGravatar matthewp 1-2/+2
2022-03-16Implements redirects, headers for SSR (#2798)Gravatar Matthew Phillips 1-1/+7
* Implements redirects, headers for SSR * Move away from an explicit Request * Properly handle endpoint routes in the build * chore(lint): ESLint fix * Update based on review comments Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15Export defineConfig helper (#2803)Gravatar Nate Moore 1-1/+1
* feat: add astro/config entrypoint * chore: update examples to use `defineConfig` util * chore: prettier fix * chore: add changeset
2022-02-14[ci] yarn formatGravatar matthewp 1-4/+4
2022-02-14Flagged SSR support (#2548)Gravatar Matthew Phillips 1-0/+12
* Checkpoint, basics are working * Add the `--experimental-ssr` flag * Adds the changeset * Fixes population of getStaticPaths results * Pass through the imported module * Route manifest test * Fix remaining tests * Fix remaining tests * Copy server assets over * Fix types * Allowing passing in the request to the Node version of App * Improve the example app * Gets CI to pass