diff --git a/package-lock.json b/package-lock.json index 146f4345..019af162 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", @@ -8451,6 +8464,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 +8523,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/lib/basic-auth-construct.ts b/packages/basic-auth/lib/basic-auth-construct.ts index e27afd3c..4381d0b0 100644 --- a/packages/basic-auth/lib/basic-auth-construct.ts +++ b/packages/basic-auth/lib/basic-auth-construct.ts @@ -1,6 +1,6 @@ import { Construct } from "constructs"; import { EdgeFunction } from "aws-cdk-lib/aws-cloudfront/lib/experimental"; -import { Esbuild } from "@aligent/esbuild"; +import { Esbuild } from "@aligent/cdk-esbuild"; import { AssetHashType, DockerImage } from "aws-cdk-lib"; import { Code, IVersion, Runtime, Version } from "aws-cdk-lib/aws-lambda"; import { join } from "path"; 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/lib/index.ts b/packages/cloudfront-security-headers/lib/index.ts index d5f33bdb..76416128 100644 --- a/packages/cloudfront-security-headers/lib/index.ts +++ b/packages/cloudfront-security-headers/lib/index.ts @@ -3,7 +3,7 @@ import { EdgeFunction } from "aws-cdk-lib/aws-cloudfront/lib/experimental"; import { Code, IVersion, Runtime, Version } from "aws-cdk-lib/aws-lambda"; import { Construct } from "constructs"; import { join } from "path"; -import { Esbuild } from "@aligent/esbuild"; +import { Esbuild } from "@aligent/cdk-esbuild"; export interface SecurityHeaderFunctionProps { contentSecurityPolicy?: Array; 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/lib/redirect-construct.ts b/packages/geoip-redirect/lib/redirect-construct.ts index 0cf65aea..6a66828c 100644 --- a/packages/geoip-redirect/lib/redirect-construct.ts +++ b/packages/geoip-redirect/lib/redirect-construct.ts @@ -3,7 +3,7 @@ import { EdgeFunction } from "aws-cdk-lib/aws-cloudfront/lib/experimental"; import { Code, IVersion, Runtime, Version } from "aws-cdk-lib/aws-lambda"; import { Construct } from "constructs"; import { join } from "path"; -import { Esbuild } from "@aligent/esbuild"; +import { Esbuild } from "@aligent/cdk-esbuild"; export interface RedirectFunctionOptions { redirectHost: string; 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/lib/error-response-construct.ts b/packages/prerender-proxy/lib/error-response-construct.ts index c84bb68c..8c389a7f 100644 --- a/packages/prerender-proxy/lib/error-response-construct.ts +++ b/packages/prerender-proxy/lib/error-response-construct.ts @@ -3,7 +3,7 @@ import { EdgeFunction } from "aws-cdk-lib/aws-cloudfront/lib/experimental"; import { Code, IVersion, Runtime, Version } from "aws-cdk-lib/aws-lambda"; import { Construct } from "constructs"; import { join } from "path"; -import { Esbuild } from "@aligent/esbuild"; +import { Esbuild } from "@aligent/cdk-esbuild"; export interface ErrorResponseFunctionOptions { pathPrefix?: string; diff --git a/packages/prerender-proxy/lib/prerender-cf-cache-control-construct.ts b/packages/prerender-proxy/lib/prerender-cf-cache-control-construct.ts index fbc52713..f87eabb4 100644 --- a/packages/prerender-proxy/lib/prerender-cf-cache-control-construct.ts +++ b/packages/prerender-proxy/lib/prerender-cf-cache-control-construct.ts @@ -3,7 +3,7 @@ import { EdgeFunction } from "aws-cdk-lib/aws-cloudfront/lib/experimental"; import { Code, IVersion, Runtime, Version } from "aws-cdk-lib/aws-lambda"; import { Construct } from "constructs"; import { join } from "path"; -import { Esbuild } from "@aligent/esbuild"; +import { Esbuild } from "@aligent/cdk-esbuild"; export interface CloudFrontCacheControlOptions { cacheKey?: string; diff --git a/packages/prerender-proxy/lib/prerender-check-construct.ts b/packages/prerender-proxy/lib/prerender-check-construct.ts index 9d127088..20d18b3f 100644 --- a/packages/prerender-proxy/lib/prerender-check-construct.ts +++ b/packages/prerender-proxy/lib/prerender-check-construct.ts @@ -3,7 +3,7 @@ import { EdgeFunction } from "aws-cdk-lib/aws-cloudfront/lib/experimental"; import { Code, IVersion, Runtime, Version } from "aws-cdk-lib/aws-lambda"; import { Construct } from "constructs"; import { join } from "path"; -import { Esbuild } from "@aligent/esbuild"; +import { Esbuild } from "@aligent/cdk-esbuild"; export class PrerenderCheckFunction extends Construct { readonly edgeFunction: EdgeFunction; diff --git a/packages/prerender-proxy/lib/prerender-construct.ts b/packages/prerender-proxy/lib/prerender-construct.ts index 2707384a..0f5d0d60 100644 --- a/packages/prerender-proxy/lib/prerender-construct.ts +++ b/packages/prerender-proxy/lib/prerender-construct.ts @@ -3,7 +3,7 @@ import { EdgeFunction } from "aws-cdk-lib/aws-cloudfront/lib/experimental"; import { Code, IVersion, Runtime, Version } from "aws-cdk-lib/aws-lambda"; import { Construct } from "constructs"; import { join } from "path"; -import { Esbuild } from "@aligent/esbuild"; +import { Esbuild } from "@aligent/cdk-esbuild"; export interface PrerenderFunctionOptions { prerenderToken: string; 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/lib/path-remap.ts b/packages/static-hosting/lib/path-remap.ts index 86ebe59f..97775739 100644 --- a/packages/static-hosting/lib/path-remap.ts +++ b/packages/static-hosting/lib/path-remap.ts @@ -3,7 +3,7 @@ import { Code, IVersion, Runtime, Version } from "aws-cdk-lib/aws-lambda"; import { Construct } from "constructs"; import { join } from "path"; import * as cf from "aws-cdk-lib/aws-cloudfront"; -import { Esbuild } from "@aligent/esbuild"; +import { Esbuild } from "@aligent/cdk-esbuild"; export interface RemapOptions { path: string; 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",