mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
serverless/cloudflare: update Wrangler version and compatibility dates. (#450)
* serverless/cloudflare: update Wrangler version and compatibility dates. * fix Lambda build
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"tsc": "tsc --noEmit --watch",
|
"tsc": "tsc --noEmit --watch",
|
||||||
"build-zip": "esbuild src/index.ts --target=es2020 --outfile=dist/index.mjs --format=cjs --bundle --platform=node --target=node20 --external:@aws-sdk/client-s3 --external:@aws-sdk/node-http-handler --banner:js=//$(git describe --always) && cd dist && zip lambda_function.zip index.js",
|
"build-zip": "esbuild src/index.ts --target=es2020 --outfile=dist/index.js --format=cjs --bundle --platform=node --target=node20 --external:@aws-sdk/client-s3 --external:@aws-sdk/node-http-handler --banner:js=//$(git describe --always) && cd dist && zip lambda_function.zip index.js",
|
||||||
"build-cloudformation-stack": "esbuild src/index.ts --target=es2020 --minify --outfile=dist/index.js --format=cjs --bundle --platform=node --target=node20 --external:@aws-sdk/client-s3 --banner:js=//sha:$(git describe --always) && tsx inline_lambda.ts",
|
"build-cloudformation-stack": "esbuild src/index.ts --target=es2020 --minify --outfile=dist/index.js --format=cjs --bundle --platform=node --target=node20 --external:@aws-sdk/client-s3 --banner:js=//sha:$(git describe --always) && tsx inline_lambda.ts",
|
||||||
"test": "tsx ../shared/index.test.ts",
|
"test": "tsx ../shared/index.test.ts",
|
||||||
"biome": "biome check --config-path=../../js/ src --apply",
|
"biome": "biome check --config-path=../../js/ src --apply",
|
||||||
|
|||||||
913
serverless/cloudflare/package-lock.json
generated
913
serverless/cloudflare/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@
|
|||||||
"@cloudflare/workers-types": "^4.20230518.0",
|
"@cloudflare/workers-types": "^4.20230518.0",
|
||||||
"tsx": "^4.7.0",
|
"tsx": "^4.7.0",
|
||||||
"typescript": "^4.8.4",
|
"typescript": "^4.8.4",
|
||||||
"wrangler": "3.19.0"
|
"wrangler": "^3.76.0"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name = "pmtiles-cloudflare"
|
name = "pmtiles-cloudflare"
|
||||||
main = "src/index.ts"
|
main = "src/index.ts"
|
||||||
compatibility_date = "2022-10-18"
|
compatibility_date = "2024-09-02"
|
||||||
minify = false
|
minify = false
|
||||||
|
|
||||||
r2_buckets = [
|
r2_buckets = [
|
||||||
|
|||||||
Reference in New Issue
Block a user