Brandon Liu
353a7611e8
serverless/cloudflare: update Wrangler version and compatibility dates. ( #450 )
...
* serverless/cloudflare: update Wrangler version and compatibility dates.
* fix Lambda build
2024-09-12 16:54:59 +08:00
Brandon Liu
61c38459ba
Switch lambda-function.zip to use CommonJS instead of ESM to match CloudFormation inlined template [ #448 ] ( #449 )
2024-09-12 10:17:09 +08:00
Brandon Liu
3f320aeda0
AWS Lambda: update dependencies ( #439 )
...
* fix fast-xml-parser security issue.
* update types to nodejs20
* replace deprecated @aws-sdk/node-http-handler with @smithy/node-http-handler, which requires bundling as it's not included in the Lambda runtime.
2024-09-04 11:34:44 +08:00
Brandon Liu
bcd5571ba5
Update CloudFormation template. ( #435 )
...
* Update CloudFormation template.
* Inline Lambda code into CloudFormation template.
read x-distribution-name header in TileJSON response if PUBLIC_HOSTNAME is not set.
* include both build-zip and build-cloudformation-stack in CI
2024-09-02 15:10:12 +08:00
Brandon Liu
e86dd554be
lint cloudflare implementation ( #352 )
...
Add linters to AWS and cloudflare implementations [#287 ]
2024-02-05 16:59:06 +08:00
Brandon Liu
22d7a58f36
replace esbuild runner with tsx ( #333 )
...
* also bump esbuild to latest version in all package.jsons
2024-01-29 17:51:42 +08:00
Brandon Liu
7bab1d744e
aws: bump s3 client to 3.360.0 ( #216 )
...
* aws: bump s3 client to 3.360.0
2023-07-07 15:34:46 +08:00
Brandon Liu
dc8eb73458
TileJSON support for Cloudflare and AWS [ #169 ]
...
* Remove TILE_PATH configuration as this makes supporting non-tile paths difficult
* create shared/ dir in serverless for common code
* linting fixes
2023-06-21 18:19:10 +08:00
Brandon Liu
f9a4848684
AWS Lambda: set 500ms timeouts on s3 requests to work around latency spikes.
2022-11-23 10:38:03 +08:00
Brandon Liu
e86d9b7e04
AWS Lambda: port to node 18 and aws sdk v3
2022-11-21 19:29:36 +08:00
Brandon Liu
6ed943d156
migrate Lambda implementation from python -> node [ #80 ]
2022-10-19 23:01:53 +08:00