From 44b50dd657d2990166f95c1e888c4d80898ad236 Mon Sep 17 00:00:00 2001 From: Gowri Date: Mon, 23 Oct 2023 14:25:26 +1030 Subject: [PATCH] TF-1072: update esbuild package name so that it can be published to npm --- package-lock.json | 145 ++++++++++++------ packages/basic-auth/package.json | 2 +- .../cloudfront-security-headers/package.json | 2 +- packages/geoip-redirect/package.json | 2 +- packages/prerender-proxy/package.json | 2 +- packages/static-hosting/package.json | 2 +- 6 files changed, 101 insertions(+), 54 deletions(-) diff --git a/package-lock.json b/package-lock.json index 146f4345..e18f3b58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,6 +37,10 @@ "resolved": "packages/cloudfront-security-headers", "link": true }, + "node_modules/@aligent/cdk-esbuild": { + "resolved": "packages/esbuild", + "link": true + }, "node_modules/@aligent/cdk-geoip-redirect": { "resolved": "packages/geoip-redirect", "link": true @@ -73,10 +77,6 @@ "resolved": "packages/waf", "link": true }, - "node_modules/@aligent/esbuild": { - "resolved": "packages/esbuild", - "link": true - }, "node_modules/@ampproject/remapping": { "version": "2.2.1", "dev": true, @@ -4610,6 +4610,7 @@ }, "node_modules/balanced-match": { "version": "1.0.2", + "dev": true, "license": "MIT" }, "node_modules/bowser": { @@ -4618,6 +4619,7 @@ }, "node_modules/brace-expansion": { "version": "1.1.11", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -4821,6 +4823,7 @@ }, "node_modules/concat-map": { "version": "0.0.1", + "dev": true, "license": "MIT" }, "node_modules/constructs": { @@ -4909,6 +4912,7 @@ }, "node_modules/deepmerge": { "version": "4.3.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -5614,6 +5618,7 @@ }, "node_modules/ignore": { "version": "5.2.4", + "dev": true, "license": "MIT", "engines": { "node": ">= 4" @@ -6479,6 +6484,7 @@ }, "node_modules/lru-cache": { "version": "6.0.0", + "dev": true, "license": "ISC", "dependencies": { "yallist": "^4.0.0" @@ -6566,6 +6572,7 @@ }, "node_modules/minimatch": { "version": "3.1.2", + "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -6915,6 +6922,7 @@ }, "node_modules/punycode": { "version": "2.3.0", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -7065,6 +7073,7 @@ }, "node_modules/semver": { "version": "7.5.4", + "dev": true, "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" @@ -7559,6 +7568,7 @@ }, "node_modules/yallist": { "version": "4.0.0", + "dev": true, "license": "ISC" }, "node_modules/yaml": { @@ -7623,6 +7633,7 @@ "source-map-support": "^0.5.21" }, "devDependencies": { + "@aligent/cdk-esbuild": "^2.0", "@types/aws-lambda": "^8.10.122", "@types/jest": "^29.5.5", "@types/node": "20.6.3", @@ -7642,6 +7653,7 @@ "source-map-support": "^0.5.21" }, "devDependencies": { + "@aligent/cdk-esbuild": "^2.0", "@types/aws-lambda": "^8.10.122", "@types/jest": "^29.5.5", "@types/node": "20.6.3", @@ -7653,7 +7665,7 @@ } }, "packages/esbuild": { - "name": "@aligent/esbuild", + "name": "@aligent/cdk-esbuild", "version": "2.0.0", "license": "GPL-3.0-only", "dependencies": { @@ -7682,6 +7694,7 @@ "source-map-support": "^0.5.21" }, "devDependencies": { + "@aligent/cdk-esbuild": "^2.0", "@types/aws-lambda": "^8.10.122", "@types/jest": "^29.5.5", "@types/node": "20.6.3", @@ -7816,6 +7829,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/ansi-regex": { "version": "2.1.1", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -7824,11 +7838,13 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/aproba": { "version": "1.2.0", + "extraneous": true, "inBundle": true, "license": "ISC" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/are-we-there-yet": { "version": "1.1.7", + "extraneous": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7838,6 +7854,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/code-point-at": { "version": "1.1.0", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -7846,21 +7863,25 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/console-control-strings": { "version": "1.1.0", + "extraneous": true, "inBundle": true, "license": "ISC" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/core-util-is": { "version": "1.0.3", + "extraneous": true, "inBundle": true, "license": "MIT" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/deep-diff": { "version": "1.0.2", + "extraneous": true, "inBundle": true, "license": "MIT" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/deepmerge": { "version": "4.3.1", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -7869,16 +7890,19 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/delegates": { "version": "1.0.0", + "extraneous": true, "inBundle": true, "license": "MIT" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/emoji-regex": { "version": "8.0.0", + "extraneous": true, "inBundle": true, "license": "MIT" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/gauge": { "version": "2.7.4", + "extraneous": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7894,16 +7918,19 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/has-unicode": { "version": "2.0.1", + "extraneous": true, "inBundle": true, "license": "ISC" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/inherits": { "version": "2.0.4", + "extraneous": true, "inBundle": true, "license": "ISC" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/is-fullwidth-code-point": { "version": "1.0.0", + "extraneous": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7915,11 +7942,13 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/isarray": { "version": "1.0.0", + "extraneous": true, "inBundle": true, "license": "MIT" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/npmlog": { "version": "4.1.2", + "extraneous": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7931,6 +7960,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/number-is-nan": { "version": "1.0.1", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -7939,6 +7969,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/object-assign": { "version": "4.1.1", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -7947,11 +7978,13 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/process-nextick-args": { "version": "2.0.1", + "extraneous": true, "inBundle": true, "license": "MIT" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/readable-stream": { "version": "2.3.8", + "extraneous": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7966,21 +7999,25 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/safe-buffer": { "version": "5.1.2", + "extraneous": true, "inBundle": true, "license": "MIT" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/set-blocking": { "version": "2.0.0", + "extraneous": true, "inBundle": true, "license": "ISC" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/signal-exit": { "version": "3.0.7", + "extraneous": true, "inBundle": true, "license": "ISC" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/string_decoder": { "version": "1.1.1", + "extraneous": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7989,6 +8026,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/string-width": { "version": "1.0.2", + "extraneous": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8002,6 +8040,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/strip-ansi": { "version": "3.0.1", + "extraneous": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8013,11 +8052,13 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/util-deprecate": { "version": "1.0.2", + "extraneous": true, "inBundle": true, "license": "MIT" }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/wide-align": { "version": "1.1.5", + "extraneous": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8026,6 +8067,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/wide-align/node_modules/ansi-regex": { "version": "5.0.1", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -8034,6 +8076,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/wide-align/node_modules/is-fullwidth-code-point": { "version": "3.0.0", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -8042,6 +8085,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/wide-align/node_modules/string-width": { "version": "4.2.3", + "extraneous": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8055,6 +8099,7 @@ }, "packages/prerender-fargate/node_modules/@aws-solutions-constructs/core/node_modules/wide-align/node_modules/strip-ansi": { "version": "6.0.1", + "extraneous": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8105,15 +8150,15 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/@balena/dockerignore": { "version": "1.0.2", + "extraneous": true, "inBundle": true, - "license": "Apache-2.0", - "peer": true + "license": "Apache-2.0" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/ajv": { "version": "8.12.0", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -8127,18 +8172,18 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/ansi-regex": { "version": "5.0.1", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/ansi-styles": { "version": "4.3.0", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -8151,24 +8196,24 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/astral-regex": { "version": "2.0.0", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/balanced-match": { "version": "1.0.2", + "extraneous": true, "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/brace-expansion": { "version": "1.1.11", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -8176,18 +8221,18 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/case": { "version": "1.6.3", + "extraneous": true, "inBundle": true, "license": "(MIT OR GPL-3.0-or-later)", - "peer": true, "engines": { "node": ">= 0.8.0" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/color-convert": { "version": "2.0.1", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "color-name": "~1.1.4" }, @@ -8197,33 +8242,33 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/color-name": { "version": "1.1.4", + "extraneous": true, "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/concat-map": { "version": "0.0.1", + "extraneous": true, "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/emoji-regex": { "version": "8.0.0", + "extraneous": true, "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/fast-deep-equal": { "version": "3.1.3", + "extraneous": true, "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/fs-extra": { "version": "11.1.1", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -8235,39 +8280,39 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/graceful-fs": { "version": "4.2.11", + "extraneous": true, "inBundle": true, - "license": "ISC", - "peer": true + "license": "ISC" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/ignore": { "version": "5.2.4", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">= 4" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/is-fullwidth-code-point": { "version": "3.0.0", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/json-schema-traverse": { "version": "1.0.0", + "extraneous": true, "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/jsonfile": { "version": "6.1.0", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "universalify": "^2.0.0" }, @@ -8277,24 +8322,24 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/jsonschema": { "version": "1.4.1", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": "*" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/lodash.truncate": { "version": "4.4.2", + "extraneous": true, "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/lru-cache": { "version": "6.0.0", + "extraneous": true, "inBundle": true, "license": "ISC", - "peer": true, "dependencies": { "yallist": "^4.0.0" }, @@ -8304,9 +8349,9 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/minimatch": { "version": "3.1.2", + "extraneous": true, "inBundle": true, "license": "ISC", - "peer": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -8316,27 +8361,27 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/punycode": { "version": "2.3.0", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=6" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/require-from-string": { "version": "2.0.2", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=0.10.0" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/semver": { "version": "7.5.4", + "extraneous": true, "inBundle": true, "license": "ISC", - "peer": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -8349,9 +8394,9 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/slice-ansi": { "version": "4.0.0", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -8366,9 +8411,9 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/string-width": { "version": "4.2.3", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -8380,9 +8425,9 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/strip-ansi": { "version": "6.0.1", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -8392,9 +8437,9 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/table": { "version": "6.8.1", + "extraneous": true, "inBundle": true, "license": "BSD-3-Clause", - "peer": true, "dependencies": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", @@ -8408,33 +8453,33 @@ }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/universalify": { "version": "2.0.0", + "extraneous": true, "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">= 10.0.0" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/uri-js": { "version": "4.4.1", + "extraneous": true, "inBundle": true, "license": "BSD-2-Clause", - "peer": true, "dependencies": { "punycode": "^2.1.0" } }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/yallist": { "version": "4.0.0", + "extraneous": true, "inBundle": true, - "license": "ISC", - "peer": true + "license": "ISC" }, "packages/prerender-fargate/node_modules/aws-cdk-lib/node_modules/yaml": { "version": "1.10.2", + "extraneous": true, "inBundle": true, "license": "ISC", - "peer": true, "engines": { "node": ">= 6" } @@ -8451,6 +8496,7 @@ "source-map-support": "^0.5.21" }, "devDependencies": { + "@aligent/cdk-esbuild": "^2.0", "@types/aws-lambda": "^8.10.122", "@types/jest": "^29.5.5", "@types/node": "20.6.3", @@ -8509,6 +8555,7 @@ "source-map-support": "^0.5.21" }, "devDependencies": { + "@aligent/cdk-esbuild": "^2.0", "@types/aws-lambda": "^8.10.122", "@types/jest": "^29.5.5", "@types/node": "20.6.3", diff --git a/packages/basic-auth/package.json b/packages/basic-auth/package.json index a04a5708..a1db2f9b 100644 --- a/packages/basic-auth/package.json +++ b/packages/basic-auth/package.json @@ -24,7 +24,7 @@ "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "~5.2.2", - "@aligent/esbuild": "^2.0" + "@aligent/cdk-esbuild": "^2.0" }, "dependencies": { "aws-cdk-lib": "2.97.0", diff --git a/packages/cloudfront-security-headers/package.json b/packages/cloudfront-security-headers/package.json index 5b866b0b..56ecd31f 100644 --- a/packages/cloudfront-security-headers/package.json +++ b/packages/cloudfront-security-headers/package.json @@ -18,7 +18,7 @@ "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "~5.2.2", - "@aligent/esbuild": "^2.0" + "@aligent/cdk-esbuild": "^2.0" }, "dependencies": { "aws-cdk-lib": "2.97.0", diff --git a/packages/geoip-redirect/package.json b/packages/geoip-redirect/package.json index 004b873d..a63582b9 100644 --- a/packages/geoip-redirect/package.json +++ b/packages/geoip-redirect/package.json @@ -24,7 +24,7 @@ "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "~5.2.2", - "@aligent/esbuild": "^2.0" + "@aligent/cdk-esbuild": "^2.0" }, "dependencies": { "aws-cdk-lib": "2.97.0", diff --git a/packages/prerender-proxy/package.json b/packages/prerender-proxy/package.json index 0990f017..f6e38b75 100644 --- a/packages/prerender-proxy/package.json +++ b/packages/prerender-proxy/package.json @@ -24,7 +24,7 @@ "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "~5.2.2", - "@aligent/esbuild": "^2.0" + "@aligent/cdk-esbuild": "^2.0" }, "dependencies": { "aws-cdk-lib": "2.97.0", diff --git a/packages/static-hosting/package.json b/packages/static-hosting/package.json index bcef5366..d28bc69c 100644 --- a/packages/static-hosting/package.json +++ b/packages/static-hosting/package.json @@ -21,7 +21,7 @@ "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "~5.2.2", - "@aligent/esbuild": "^2.0" + "@aligent/cdk-esbuild": "^2.0" }, "dependencies": { "aws-cdk-lib": "2.97.0",