0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/cloudflare/test
Alexander Niebuhr ffcfcddb75
feat(@astrojs/cloudfalre): add cloudflare envs to Astro.locals (#7541)
* add support for advanced mode

* add support for directory mode

* use asset fallback as in cloudflare's docs

* update locals

* come up with new runtime in `Astro.locals`

* add overwrite protection

* minor cleanup

* changeset

* address review comments

* move overwrite protection to adapter

* fix types

* fix comment

* resolve review comments

* update changeset

* add test

* redo ts

* fix integration test port

* updated tests, add new port

* add TODO comment

* update changeset

* add JSDoc

* Update packages/integrations/cloudflare/src/runtime.ts

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:19:00 -05:00
..
fixtures feat(@astrojs/cloudfalre): add cloudflare envs to Astro.locals (#7541) 2023-08-10 10:19:00 -05:00
basics.test.js Fix cloudflare runtime env var handling (#7679) 2023-07-17 20:57:08 +08:00
cf.test.js feat(@astrojs/cloudfalre): add cloudflare envs to Astro.locals (#7541) 2023-08-10 10:19:00 -05:00
directory-split.test.js fix(@astrojs/cloudflare): SSR split file renaming misses ts endpoints (#7568) 2023-07-17 09:12:41 -04:00
directory.test.js Remove experimental flag for redirects config (#7686) 2023-07-19 09:31:07 -04:00
no-output.test.js
prerender.test.js more efficient _routes.json for cloudflare integration (#7846) 2023-08-10 04:04:09 +01:00
routesJson.js more efficient _routes.json for cloudflare integration (#7846) 2023-08-10 04:04:09 +01:00
runtime.test.js feat(@astrojs/cloudfalre): add cloudflare envs to Astro.locals (#7541) 2023-08-10 10:19:00 -05:00
test-utils.js nit: use node: prefix everywhere (#7692) 2023-07-18 02:17:59 +02:00
with-solid-js.test.js Handle flaky tests (#7651) 2023-07-17 20:30:02 +08:00
wrangler.toml