Skip to content

Commit

Permalink
Merge pull request #1141 from aligent/chore/fix-esbuild-package-name
Browse files Browse the repository at this point in the history
TF-1072: Update esbuild package name
  • Loading branch information
gowrizrh authored Oct 23, 2023
2 parents 2e36db3 + ac52234 commit edf9034
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 18 deletions.
25 changes: 20 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/basic-auth/lib/basic-auth-construct.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion packages/basic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudfront-security-headers/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudfront-security-headers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/geoip-redirect/lib/redirect-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/geoip-redirect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/prerender-proxy/lib/error-response-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/prerender-proxy/lib/prerender-check-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/prerender-proxy/lib/prerender-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/prerender-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/static-hosting/lib/path-remap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/static-hosting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit edf9034

Please sign in to comment.