Skip to content

Commit

Permalink
TF-1072: update imports of esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
gowrizrh committed Oct 23, 2023
1 parent 44b50dd commit ac52234
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 84 deletions.
120 changes: 44 additions & 76 deletions package-lock.json

Large diffs are not rendered by default.

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/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/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/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/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

0 comments on commit ac52234

Please sign in to comment.