@mrgrain/cdk-esbuild 3.9.0 → 3.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -2777,7 +2777,7 @@
2777
2777
  "stability": "stable"
2778
2778
  },
2779
2779
  "homepage": "https://github.com/mrgrain/cdk-esbuild",
2780
- "jsiiVersion": "1.64.0 (build 4c1eae8)",
2780
+ "jsiiVersion": "1.65.0 (build 7a02b7f)",
2781
2781
  "keywords": [
2782
2782
  "aws-cdk",
2783
2783
  "bundler",
@@ -2800,7 +2800,7 @@
2800
2800
  },
2801
2801
  "name": "@mrgrain/cdk-esbuild",
2802
2802
  "readme": {
2803
- "markdown": "<picture>\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"./images/wordmark-dark.svg\">\n <source media=\"(prefers-color-scheme: light)\" srcset=\"./images/wordmark-light.svg\">\n <img src=\"./images/wordmark.svg\" alt=\"cdk-esbuild\">\n</picture>\n\n_CDK constructs for [esbuild](https://github.com/evanw/esbuild), an extremely fast JavaScript bundler_\n\n[Getting started](#getting-started) |\n[Documentation](#documentation) | [API Reference](#api-reference) | [Upgrading from AWS CDK v1](#upgrading-from-aws-cdk-v1)\n\n[![View on Construct Hub](https://constructs.dev/badge?package=%40mrgrain%2Fcdk-esbuild)](https://constructs.dev/packages/@mrgrain/cdk-esbuild)\n\n## Why?\n\n_esbuild_ is an extremely fast bundler and minifier for Typescript and JavaScript.\nThis package makes _esbuild_ available to deploy lambda functions, static websites or to publish build artefacts (assets) for further use.\n\nAWS CDK [supports _esbuild_ with Lambda Functions](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-nodejs-readme.html). However the implementation cannot be used with any other Constructs and doesn't expose all of _esbuild_'s build interface.\n\nThis package is running _esbuild_ directly in Node.js and bypasses Docker which the AWS CDK implementation uses. The approach is quicker and easier to use for Node.js users, but incompatible with other languages.\n\n**Production readiness**\n\nThis package is stable and ready to be used in production, as many do. However _esbuild_ has not yet released a version 1.0.0 and its API is still in active development. Please read the guide on [esbuild's production readiness](https://esbuild.github.io/faq/#production-readiness).\n\nNotably upgrades of the _esbuild_ minimum version requirement will be introduced in **minor versions** of this package and will inherit breaking changes from _esbuild_.\n\n## Getting started\n\nInstall `cdk-esbuild`:\n\n```\nnpm install @mrgrain/cdk-esbuild@3\n```\n\nIf _peer_ or _optional dependencies_ are not installed automatically (e.g. when using npm v4-6), please use this command to install all of them:\n\n```\nnpm install @mrgrain/cdk-esbuild@3 esbuild\n```\n\n### AWS Lambda: Serverless function\n\n> 💡 See [Lambda Function](examples/lambda) for a complete working example of a how to deploy a lambda function.\n\nUse `TypeScriptCode` as the `code` of a [lambda function](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html#code):\n\n```ts\nimport * as lambda from \"aws-cdk-lib/aws-lambda\";\nimport { TypeScriptCode } from \"@mrgrain/cdk-esbuild\";\n\nconst bundledCode = new TypeScriptCode(\"src/index.ts\");\n\nconst fn = new lambda.Function(stack, \"MyFunction\", {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: \"index.handler\",\n code: bundledCode,\n});\n```\n\n### AWS S3: Static Website\n\n> 💡 See [Static Website with React](examples/website) for a complete working example of a how to deploy a React app to S3.\n\nUse `TypeScriptSource` as one of the `sources` of a [static website deployment](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html#roadmap):\n\n```ts\nimport * as s3 from \"aws-cdk-lib/aws-s3\";\nimport * as s3deploy from \"aws-cdk-lib/aws-s3-deployment\";\nimport { TypeScriptSource } from \"@mrgrain/cdk-esbuild\";\n\nconst websiteBundle = new TypeScriptSource(\"src/index.tsx\");\n\nconst websiteBucket = new s3.Bucket(stack, \"WebsiteBucket\", {\n autoDeleteObjects: true,\n publicReadAccess: true,\n removalPolicy: RemovalPolicy.DESTROY,\n websiteIndexDocument: \"index.html\",\n});\n\nnew s3deploy.BucketDeployment(stack, \"DeployWebsite\", {\n destinationBucket: websiteBucket,\n sources: [websiteBundle],\n});\n```\n\n### Amazon CloudWatch Synthetics: Canary monitoring\n\n> 💡 See [Monitored Website](examples/website) for a complete working example of a deployed and monitored website.\n\nSynthetics runs a canary to produce traffic to an application for monitoring purposes. Use `TypeScriptCode` as the `code` of a Canary test:\n\n> ℹ️ This feature depends on the `@aws-cdk/aws-synthetics-alpha` package which is a developer preview. You may need to update your source code when upgrading to a newer version of this package.\n>\n> ```\n> npm i @aws-cdk/aws-synthetics-alpha\n> ```\n\n```ts\nimport * as synthetics from \"@aws-cdk/aws-synthetics-alpha\";\nimport { TypeScriptCode } from \"@mrgrain/cdk-esbuild\";\n\nconst bundledCode = new TypeScriptCode(\"src/index.ts\", {\n buildOptions: {\n outdir: \"nodejs/node_modules\", // This is required by Synthetics\n },\n});\n\nconst canary = new synthetics.Canary(stack, \"MyCanary\", {\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_2,\n test: synthetics.Test.custom({\n code: bundledCode,\n handler: \"index.handler\",\n });\n});\n```\n\n## Documentation\n\nThe package exports various different constructs for use with existing CDK features. A major guiding design principal for this package is to _extend, don't replace_. Expect constructs that you can provide as props, not complete replacements.\n\nFor use in **Lambda Functions** and **Synthetic Canaries**, the following classes implement `lambda.Code` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Code.html)) and `synthetics.Code` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-synthetics-alpha.Code.html)):\n\n- `TypeScriptCode` & `JavaScriptCode`\n\nInline code is only supported by **Lambda**:\n\n- `InlineTypeScriptCode` & `InlineJavaScriptCode`\n- `InlineTsxCode` & `InlineJsxCode`\n\nFor use with **S3 bucket deployments**, classes implementing `s3deploy.ISource` ([reference](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html)):\n\n- `TypeScriptSource` & `JavaScriptSource`\n\n> _Code and Source constructs seamlessly plug-in to other high-level CDK constructs. They share the same set of parameters, props and build options._\n\nThe following classes power the other features. You normally won't have to use them, but they are there if you need them:\n\n- `TypeScriptAsset` & `JavaScriptAsset` implements `s3.Asset` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3_assets.Asset.html)) \\\n creates an asset uploaded to S3 which can be referenced by other constructs\n\n- `EsbuildBundler` implements `core.BundlingOptions` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.BundlingOptions.html)) \\\n provides an interface for a _esbuild_ bundler wherever needed\n\n### [API Reference](API.md)\n\nAuto-generated reference for classes and structs. This information is also available as part of your IDE's code completion.\n\n### Escape hatches\n\nIt's possible that you want to use an implementation of esbuild that's different to the default one. Common reasons are:\n\n- The current version constraints for esbuild are not suitable\n- To use a version of esbuild that is installed by any other means than `npm`, including Docker\n- Plugin support is needed for building\n\nFor these situations, this package offers an escape hatch to bypass regular the implementation and provide a custom build and transform function.\n\n#### Esbuild binary path\n\nIt is possible to override the binary used by esbuild. The usual way to do this is to set the `ESBUILD_BINARY_PATH` environment variable. For convenience this package allows to set the binary path as a prop:\n\n```ts\nnew TypeScriptCode(\"fixtures/handlers/ts-handler.ts\", {\n esbuildBinaryPath: \"path/to/esbuild/binary\"\n});\n```\n\n#### Custom build function\n\n> 💡 See [Using esbuild with plugins](examples/esbuild-with-plugins) for a complete working example of a custom build function using this escape hatch.\n\nConstructs that result in starting a build, take a `buildFn` as optional prop. While the defined type for this function is `any`, it must implement the same signature as esbuild's `buildSync` function.\n\n```ts\nnew TypeScriptCode(\"fixtures/handlers/ts-handler.ts\", {\n buildFn: (options: BuildOptions): BuildResult => {\n try {\n // custom implementation returning BuildResult\n } catch (error) {\n // throw BuildFailure exception here\n }\n },\n});\n```\n\nInstead of esbuild, the provided function will be invoked with the calculated build options. The custom build function can amend, change or discard any of these. However integration with CDK relies heavily on the values `outdir`/`outfile` are set to and it's usually required to use them unchanged.\n\nFailures have to cause a `BuildFailure` exception in order to be fully handled.\n\n#### Custom transform function\n\nConstructs that result in starting a transformation, take a `transformFn` as optional prop. While the defined type for this function is `any`, it must implement the same signature as esbuild's `transformSync` function.\n\n```ts\nnew InlineTypeScriptCode(\"let x: number = 1\", {\n transformFn: (options: TransformOptions): TransformResult => {\n try {\n // custom implementation returning TransformResult\n } catch (error) {\n // throw TransformFailure exception here\n }\n },,\n});\n```\n\nInstead of esbuild, the provided function will be invoked with the calculated transform options. The custom transform function can amend, change or discard any of these.\n\nFailures have to cause a `TransformFailure` exception in order to be fully handled.\n\n### Upgrading from AWS CDK v1\n\nThis version is compatible with AWS CDK v2. For the previous, AWS CDK v1 compatible release, see [cdk-esbuild@v2](https://github.com/mrgrain/cdk-esbuild/tree/v2).\n\nTo upgrade from AWS CDK v1 and cdk-esbuild@v2, please follow these steps:\n\n- This version requires AWS CDK v2. Follow the [official migration guide](https://docs.aws.amazon.com/cdk/latest/guide/work-with-cdk-v2.html) to upgrade.\n- Update the package dependency to v3: `npm install --save @mrgrain/cdk-esbuild@^3.0.0`\n- `esbuild` is installed as an optional dependency. If your setup does not automatically install optional dependencies, make sure to add it as an explicit dependency.\n- Any use of `InlineCode` variations has to be updated. Previously the second parameter was either of type `TransformerProps` or `TransformOptions`. Now it must be `TransformerProps`.\\\n If the passed value is of type `TransformOptions`, turn it into the correct type like this:\n\n ```ts\n const oldOptions: TransformOptions = {...}\n\n new InlineTypeScriptCode('// inline code', {\n transformOptions: oldOptions\n });\n ```\n\n## Versioning\n\nThis package follows [Semantic Versioning](https://semver.org/), with the exception of upgrades to `esbuild`. These will be released as **minor versions** and often include breaking changes from `esbuild`.\n\n### Npm Tags\n\nSome users prefer to use tags over version ranges. The following stable tags are available for use:\n\n- `cdk-v1`, `cdk-v2` are provided for the latest release compatible with each version of the AWS CDK.\n\n- `latest` is the most recent stable release.\n\nThese tags also exist, but usage is strongly not recommended:\n\n- `unstable`, `next` are used for pre-release of the current and next major version respectively.\n\n- ~~`cdk-1.x.x`~~ tags have been deprecated in favour of `cdk-v1`. Use that one instead.\n\n## Roadmap & Contributions\n\n[The project's roadmap is available on GitHub.](https://github.com/mrgrain/cdk-esbuild/projects/1) Please submit any feature requests as issues to the repository.\n\nAll contributions are welcome, no matter if they are for already planned or completely new features.\n\n## Library authors\n\nBuilding a library consumed by other packages that relies on `cdk-esbuild` might require you to set `buildOptions.absWorkingDir`. The easiest way to do this, is to resolve based on the directory name of the calling file, and traverse the tree upwards to the root of your library package (that's where `package.json` and `tsconfig.json` are):\n\n```ts\n// file: project/src/index.ts\nconst props = {\n buildOptions: {\n absWorkingDir: path.resolve(__dirname, \"..\"), // now: /user/project\n },\n};\n```\n\nThis will dynamically resolve to the correct path, wherever the package is installed.\n\nPlease open an issue if you encounter any difficulties.\n"
2803
+ "markdown": "<picture>\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/mrgrain/cdk-esbuild/main/images/wordmark-dark.svg\">\n <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/mrgrain/cdk-esbuild/main/images/wordmark-light.svg\">\n <img src=\"https://raw.githubusercontent.com/mrgrain/cdk-esbuild/main/images/wordmark-dynamic.svg\" alt=\"cdk-esbuild\">\n</picture>\n\n_CDK constructs for [esbuild](https://github.com/evanw/esbuild), an extremely fast JavaScript bundler_\n\n[Getting started](#getting-started) |\n[Documentation](#documentation) | [API Reference](#api-reference) | [Upgrading from AWS CDK v1](#upgrading-from-aws-cdk-v1)\n\n[![View on Construct Hub](https://constructs.dev/badge?package=%40mrgrain%2Fcdk-esbuild)](https://constructs.dev/packages/@mrgrain/cdk-esbuild)\n\n## Why?\n\n_esbuild_ is an extremely fast bundler and minifier for Typescript and JavaScript.\nThis package makes _esbuild_ available to deploy lambda functions, static websites or to publish build artefacts (assets) for further use.\n\nAWS CDK [supports _esbuild_ with Lambda Functions](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-nodejs-readme.html). However the implementation cannot be used with any other Constructs and doesn't expose all of _esbuild_'s build interface.\n\nThis package is running _esbuild_ directly in Node.js and bypasses Docker which the AWS CDK implementation uses. The approach is quicker and easier to use for Node.js users, but incompatible with other languages.\n\n**Production readiness**\n\nThis package is stable and ready to be used in production, as many do. However _esbuild_ has not yet released a version 1.0.0 and its API is still in active development. Please read the guide on [esbuild's production readiness](https://esbuild.github.io/faq/#production-readiness).\n\nNotably upgrades of the _esbuild_ minimum version requirement will be introduced in **minor versions** of this package and will inherit breaking changes from _esbuild_.\n\n## Getting started\n\nInstall `cdk-esbuild`:\n\n```\nnpm install @mrgrain/cdk-esbuild@3\n```\n\nIf _peer_ or _optional dependencies_ are not installed automatically (e.g. when using npm v4-6), please use this command to install all of them:\n\n```\nnpm install @mrgrain/cdk-esbuild@3 esbuild\n```\n\n### AWS Lambda: Serverless function\n\n> 💡 See [Lambda Function](examples/typescript/lambda) for a complete working example of a how to deploy a lambda function.\n\nUse `TypeScriptCode` as the `code` of a [lambda function](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html#code):\n\n```ts\nimport * as lambda from \"aws-cdk-lib/aws-lambda\";\nimport { TypeScriptCode } from \"@mrgrain/cdk-esbuild\";\n\nconst bundledCode = new TypeScriptCode(\"src/index.ts\");\n\nconst fn = new lambda.Function(stack, \"MyFunction\", {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: \"index.handler\",\n code: bundledCode,\n});\n```\n\n### AWS S3: Static Website\n\n> 💡 See [Static Website with React](examples/typescript/website) for a complete working example of a how to deploy a React app to S3.\n\nUse `TypeScriptSource` as one of the `sources` of a [static website deployment](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html#roadmap):\n\n```ts\nimport * as s3 from \"aws-cdk-lib/aws-s3\";\nimport * as s3deploy from \"aws-cdk-lib/aws-s3-deployment\";\nimport { TypeScriptSource } from \"@mrgrain/cdk-esbuild\";\n\nconst websiteBundle = new TypeScriptSource(\"src/index.tsx\");\n\nconst websiteBucket = new s3.Bucket(stack, \"WebsiteBucket\", {\n autoDeleteObjects: true,\n publicReadAccess: true,\n removalPolicy: RemovalPolicy.DESTROY,\n websiteIndexDocument: \"index.html\",\n});\n\nnew s3deploy.BucketDeployment(stack, \"DeployWebsite\", {\n destinationBucket: websiteBucket,\n sources: [websiteBundle],\n});\n```\n\n### Amazon CloudWatch Synthetics: Canary monitoring\n\n> 💡 See [Monitored Website](examples/typescript/website) for a complete working example of a deployed and monitored website.\n\nSynthetics runs a canary to produce traffic to an application for monitoring purposes. Use `TypeScriptCode` as the `code` of a Canary test:\n\n> ℹ️ This feature depends on the `@aws-cdk/aws-synthetics-alpha` package which is a developer preview. You may need to update your source code when upgrading to a newer version of this package.\n>\n> ```\n> npm i @aws-cdk/aws-synthetics-alpha\n> ```\n\n```ts\nimport * as synthetics from \"@aws-cdk/aws-synthetics-alpha\";\nimport { TypeScriptCode } from \"@mrgrain/cdk-esbuild\";\n\nconst bundledCode = new TypeScriptCode(\"src/index.ts\", {\n buildOptions: {\n outdir: \"nodejs/node_modules\", // This is required by Synthetics\n },\n});\n\nconst canary = new synthetics.Canary(stack, \"MyCanary\", {\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_2,\n test: synthetics.Test.custom({\n code: bundledCode,\n handler: \"index.handler\",\n });\n});\n```\n\n## Documentation\n\nThe package exports various different constructs for use with existing CDK features. A major guiding design principal for this package is to _extend, don't replace_. Expect constructs that you can provide as props, not complete replacements.\n\nFor use in **Lambda Functions** and **Synthetic Canaries**, the following classes implement `lambda.Code` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Code.html)) and `synthetics.Code` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-synthetics-alpha.Code.html)):\n\n- `TypeScriptCode` & `JavaScriptCode`\n\nInline code is only supported by **Lambda**:\n\n- `InlineTypeScriptCode` & `InlineJavaScriptCode`\n- `InlineTsxCode` & `InlineJsxCode`\n\nFor use with **S3 bucket deployments**, classes implementing `s3deploy.ISource` ([reference](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html)):\n\n- `TypeScriptSource` & `JavaScriptSource`\n\n> _Code and Source constructs seamlessly plug-in to other high-level CDK constructs. They share the same set of parameters, props and build options._\n\nThe following classes power the other features. You normally won't have to use them, but they are there if you need them:\n\n- `TypeScriptAsset` & `JavaScriptAsset` implements `s3.Asset` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3_assets.Asset.html)) \\\n creates an asset uploaded to S3 which can be referenced by other constructs\n\n- `EsbuildBundler` implements `core.BundlingOptions` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.BundlingOptions.html)) \\\n provides an interface for a _esbuild_ bundler wherever needed\n\n### [API Reference](API.md)\n\nAuto-generated reference for classes and structs. This information is also available as part of your IDE's code completion.\n\n### Escape hatches\n\nIt's possible that you want to use an implementation of esbuild that's different to the default one. Common reasons are:\n\n- The current version constraints for esbuild are not suitable\n- To use a version of esbuild that is installed by any other means than `npm`, including Docker\n- Plugin support is needed for building\n\nFor these situations, this package offers an escape hatch to bypass regular the implementation and provide a custom build and transform function.\n\n#### Esbuild binary path\n\nIt is possible to override the binary used by esbuild. The usual way to do this is to set the `ESBUILD_BINARY_PATH` environment variable. For convenience this package allows to set the binary path as a prop:\n\n```ts\nnew TypeScriptCode(\"fixtures/handlers/ts-handler.ts\", {\n esbuildBinaryPath: \"path/to/esbuild/binary\"\n});\n```\n\n#### Custom build function\n\n> 💡 See [Using esbuild with plugins](examples/typescript/esbuild-with-plugins) for a complete working example of a custom build function using this escape hatch.\n\nConstructs that result in starting a build, take a `buildFn` as optional prop. While the defined type for this function is `any`, it must implement the same signature as esbuild's `buildSync` function.\n\n```ts\nnew TypeScriptCode(\"fixtures/handlers/ts-handler.ts\", {\n buildFn: (options: BuildOptions): BuildResult => {\n try {\n // custom implementation returning BuildResult\n } catch (error) {\n // throw BuildFailure exception here\n }\n },\n});\n```\n\nInstead of esbuild, the provided function will be invoked with the calculated build options. The custom build function can amend, change or discard any of these. However integration with CDK relies heavily on the values `outdir`/`outfile` are set to and it's usually required to use them unchanged.\n\nFailures have to cause a `BuildFailure` exception in order to be fully handled.\n\n#### Custom transform function\n\nConstructs that result in starting a transformation, take a `transformFn` as optional prop. While the defined type for this function is `any`, it must implement the same signature as esbuild's `transformSync` function.\n\n```ts\nnew InlineTypeScriptCode(\"let x: number = 1\", {\n transformFn: (options: TransformOptions): TransformResult => {\n try {\n // custom implementation returning TransformResult\n } catch (error) {\n // throw TransformFailure exception here\n }\n },,\n});\n```\n\nInstead of esbuild, the provided function will be invoked with the calculated transform options. The custom transform function can amend, change or discard any of these.\n\nFailures have to cause a `TransformFailure` exception in order to be fully handled.\n\n### Upgrading from AWS CDK v1\n\nThis version is compatible with AWS CDK v2. For the previous, AWS CDK v1 compatible release, see [cdk-esbuild@v2](https://github.com/mrgrain/cdk-esbuild/tree/v2).\n\nTo upgrade from AWS CDK v1 and cdk-esbuild@v2, please follow these steps:\n\n- This version requires AWS CDK v2. Follow the [official migration guide](https://docs.aws.amazon.com/cdk/latest/guide/work-with-cdk-v2.html) to upgrade.\n- Update the package dependency to v3: `npm install --save @mrgrain/cdk-esbuild@^3.0.0`\n- `esbuild` is installed as an optional dependency. If your setup does not automatically install optional dependencies, make sure to add it as an explicit dependency.\n- Any use of `InlineCode` variations has to be updated. Previously the second parameter was either of type `TransformerProps` or `TransformOptions`. Now it must be `TransformerProps`.\\\n If the passed value is of type `TransformOptions`, turn it into the correct type like this:\n\n ```ts\n const oldOptions: TransformOptions = {...}\n\n new InlineTypeScriptCode('// inline code', {\n transformOptions: oldOptions\n });\n ```\n\n## Versioning\n\nThis package follows [Semantic Versioning](https://semver.org/), with the exception of upgrades to `esbuild`. These will be released as **minor versions** and often include breaking changes from `esbuild`.\n\n### Npm Tags\n\nSome users prefer to use tags over version ranges. The following stable tags are available for use:\n\n- `cdk-v1`, `cdk-v2` are provided for the latest release compatible with each version of the AWS CDK.\n\n- `latest` is the most recent stable release.\n\nThese tags also exist, but usage is strongly not recommended:\n\n- `unstable`, `next` are used for pre-release of the current and next major version respectively.\n\n- ~~`cdk-1.x.x`~~ tags have been deprecated in favour of `cdk-v1`. Use that one instead.\n\n## Roadmap & Contributions\n\n[The project's roadmap is available on GitHub.](https://github.com/mrgrain/cdk-esbuild/projects/1) Please submit any feature requests as issues to the repository.\n\nAll contributions are welcome, no matter if they are for already planned or completely new features.\n\n## Library authors\n\nBuilding a library consumed by other packages that relies on `cdk-esbuild` might require you to set `buildOptions.absWorkingDir`. The easiest way to do this, is to resolve based on the directory name of the calling file, and traverse the tree upwards to the root of your library package (that's where `package.json` and `tsconfig.json` are):\n\n```ts\n// file: project/src/index.ts\nconst props = {\n buildOptions: {\n absWorkingDir: path.resolve(__dirname, \"..\"), // now: /user/project\n },\n};\n```\n\nThis will dynamically resolve to the correct path, wherever the package is installed.\n\nPlease open an issue if you encounter any difficulties.\n"
2804
2804
  },
2805
2805
  "repository": {
2806
2806
  "type": "git",
@@ -2808,8 +2808,17 @@
2808
2808
  },
2809
2809
  "schema": "jsii/0.10.0",
2810
2810
  "targets": {
2811
+ "dotnet": {
2812
+ "iconUrl": "https://raw.githubusercontent.com/mrgrain/cdk-esbuild/main/images/logo.png",
2813
+ "namespace": "Mrgrain.CdkEsbuild",
2814
+ "packageId": "Mrgrain.CdkEsbuild"
2815
+ },
2811
2816
  "js": {
2812
2817
  "npm": "@mrgrain/cdk-esbuild"
2818
+ },
2819
+ "python": {
2820
+ "distName": "mrgrain.cdk-esbuild",
2821
+ "module": "mrgrain.cdk_esbuild"
2813
2822
  }
2814
2823
  },
2815
2824
  "types": {
@@ -4032,7 +4041,7 @@
4032
4041
  "kind": "interface",
4033
4042
  "locationInModule": {
4034
4043
  "filename": "src/bundler.ts",
4035
- "line": 33
4044
+ "line": 34
4036
4045
  },
4037
4046
  "name": "BundlerProps",
4038
4047
  "properties": [
@@ -4043,7 +4052,7 @@
4043
4052
  "throws": "esbuild.BuildFailure",
4044
4053
  "type": "esbuild.buildSync"
4045
4054
  },
4046
- "default": "esbuild.buildSync",
4055
+ "default": "`esbuild.buildSync`",
4047
4056
  "remarks": "The function will receive the computed options from the bundler. It can use with these options as it wishes, however `outdir`/`outfile` must be respected to integrate with CDK.\nMust throw a `BuildFailure` on failure to correctly inform the bundler.",
4048
4057
  "returns": "esbuild.BuildResult",
4049
4058
  "stability": "experimental",
@@ -4052,7 +4061,7 @@
4052
4061
  "immutable": true,
4053
4062
  "locationInModule": {
4054
4063
  "filename": "src/bundler.ts",
4055
- "line": 89
4064
+ "line": 90
4056
4065
  },
4057
4066
  "name": "buildFn",
4058
4067
  "optional": true,
@@ -4071,7 +4080,7 @@
4071
4080
  "immutable": true,
4072
4081
  "locationInModule": {
4073
4082
  "filename": "src/bundler.ts",
4074
- "line": 52
4083
+ "line": 53
4075
4084
  },
4076
4085
  "name": "buildOptions",
4077
4086
  "optional": true,
@@ -4089,7 +4098,7 @@
4089
4098
  "immutable": true,
4090
4099
  "locationInModule": {
4091
4100
  "filename": "src/bundler.ts",
4092
- "line": 75
4101
+ "line": 76
4093
4102
  },
4094
4103
  "name": "copyDir",
4095
4104
  "optional": true,
@@ -4143,13 +4152,32 @@
4143
4152
  "immutable": true,
4144
4153
  "locationInModule": {
4145
4154
  "filename": "src/bundler.ts",
4146
- "line": 98
4155
+ "line": 99
4147
4156
  },
4148
4157
  "name": "esbuildBinaryPath",
4149
4158
  "optional": true,
4150
4159
  "type": {
4151
4160
  "primitive": "string"
4152
4161
  }
4162
+ },
4163
+ {
4164
+ "abstract": true,
4165
+ "docs": {
4166
+ "default": "- `CDK_ESBUILD_MODULE_PATH` or package resolution (see above)",
4167
+ "remarks": "E.g. \"/home/user/.npm/node_modules/esbuild/lib/main.js\"\n\nIf not set, the module path will be determined in the following order:\n\n- Use a path from the `CDK_ESBUILD_MODULE_PATH` environment variable\n- In TypeScript, fallback to the default Node.js package resolution mechanism\n- All other languages (Python, Go, .NET, Java) use an automatic \"best effort\" resolution mechanism. \\\n The exact algorithm of this mechanism is considered an implementation detail and should not be relied on.\n If `esbuild` cannot be found, it might be installed dynamically to a temporary location.\n To opt-out of this behavior, set either `esbuildModulePath` or `CDK_ESBUILD_MODULE_PATH` env variable.",
4168
+ "stability": "experimental",
4169
+ "summary": "Absolute path to the esbuild module JS file."
4170
+ },
4171
+ "immutable": true,
4172
+ "locationInModule": {
4173
+ "filename": "src/bundler.ts",
4174
+ "line": 118
4175
+ },
4176
+ "name": "esbuildModulePath",
4177
+ "optional": true,
4178
+ "type": {
4179
+ "primitive": "string"
4180
+ }
4153
4181
  }
4154
4182
  ],
4155
4183
  "symbolId": "src/bundler:BundlerProps"
@@ -4226,6 +4254,103 @@
4226
4254
  ],
4227
4255
  "symbolId": "aws-lambda/lib/code:CodeConfig"
4228
4256
  },
4257
+ "@mrgrain/cdk-esbuild.CompilerOptions": {
4258
+ "assembly": "@mrgrain/cdk-esbuild",
4259
+ "datatype": true,
4260
+ "docs": {
4261
+ "stability": "stable"
4262
+ },
4263
+ "fqn": "@mrgrain/cdk-esbuild.CompilerOptions",
4264
+ "kind": "interface",
4265
+ "locationInModule": {
4266
+ "filename": "src/esbuild-types.ts",
4267
+ "line": 590
4268
+ },
4269
+ "name": "CompilerOptions",
4270
+ "properties": [
4271
+ {
4272
+ "abstract": true,
4273
+ "docs": {
4274
+ "stability": "stable"
4275
+ },
4276
+ "immutable": true,
4277
+ "locationInModule": {
4278
+ "filename": "src/esbuild-types.ts",
4279
+ "line": 594
4280
+ },
4281
+ "name": "importsNotUsedAsValues",
4282
+ "optional": true,
4283
+ "type": {
4284
+ "primitive": "string"
4285
+ }
4286
+ },
4287
+ {
4288
+ "abstract": true,
4289
+ "docs": {
4290
+ "stability": "stable"
4291
+ },
4292
+ "immutable": true,
4293
+ "locationInModule": {
4294
+ "filename": "src/esbuild-types.ts",
4295
+ "line": 591
4296
+ },
4297
+ "name": "jsxFactory",
4298
+ "optional": true,
4299
+ "type": {
4300
+ "primitive": "string"
4301
+ }
4302
+ },
4303
+ {
4304
+ "abstract": true,
4305
+ "docs": {
4306
+ "stability": "stable"
4307
+ },
4308
+ "immutable": true,
4309
+ "locationInModule": {
4310
+ "filename": "src/esbuild-types.ts",
4311
+ "line": 592
4312
+ },
4313
+ "name": "jsxFragmentFactory",
4314
+ "optional": true,
4315
+ "type": {
4316
+ "primitive": "string"
4317
+ }
4318
+ },
4319
+ {
4320
+ "abstract": true,
4321
+ "docs": {
4322
+ "stability": "stable"
4323
+ },
4324
+ "immutable": true,
4325
+ "locationInModule": {
4326
+ "filename": "src/esbuild-types.ts",
4327
+ "line": 595
4328
+ },
4329
+ "name": "preserveValueImports",
4330
+ "optional": true,
4331
+ "type": {
4332
+ "primitive": "boolean"
4333
+ }
4334
+ },
4335
+ {
4336
+ "abstract": true,
4337
+ "docs": {
4338
+ "stability": "stable"
4339
+ },
4340
+ "immutable": true,
4341
+ "locationInModule": {
4342
+ "filename": "src/esbuild-types.ts",
4343
+ "line": 593
4344
+ },
4345
+ "name": "useDefineForClassFields",
4346
+ "optional": true,
4347
+ "type": {
4348
+ "primitive": "boolean"
4349
+ }
4350
+ }
4351
+ ],
4352
+ "symbolId": "src/esbuild-types:CompilerOptions"
4353
+ },
4229
4354
  "@mrgrain/cdk-esbuild.EsbuildAsset": {
4230
4355
  "assembly": "@mrgrain/cdk-esbuild",
4231
4356
  "base": "aws-cdk-lib.aws_s3_assets.Asset",
@@ -4286,7 +4411,7 @@
4286
4411
  },
4287
4412
  "locationInModule": {
4288
4413
  "filename": "src/bundler.ts",
4289
- "line": 125
4414
+ "line": 145
4290
4415
  },
4291
4416
  "parameters": [
4292
4417
  {
@@ -4337,7 +4462,7 @@
4337
4462
  "kind": "class",
4338
4463
  "locationInModule": {
4339
4464
  "filename": "src/bundler.ts",
4340
- "line": 107
4465
+ "line": 127
4341
4466
  },
4342
4467
  "name": "EsbuildBundler",
4343
4468
  "properties": [
@@ -4350,7 +4475,7 @@
4350
4475
  "immutable": true,
4351
4476
  "locationInModule": {
4352
4477
  "filename": "src/bundler.ts",
4353
- "line": 142
4478
+ "line": 162
4354
4479
  },
4355
4480
  "name": "entryPoints",
4356
4481
  "type": {
@@ -4387,7 +4512,7 @@
4387
4512
  "immutable": true,
4388
4513
  "locationInModule": {
4389
4514
  "filename": "src/bundler.ts",
4390
- "line": 120
4515
+ "line": 140
4391
4516
  },
4392
4517
  "name": "image",
4393
4518
  "type": {
@@ -4402,7 +4527,7 @@
4402
4527
  "immutable": true,
4403
4528
  "locationInModule": {
4404
4529
  "filename": "src/bundler.ts",
4405
- "line": 113
4530
+ "line": 133
4406
4531
  },
4407
4532
  "name": "local",
4408
4533
  "type": {
@@ -4417,7 +4542,7 @@
4417
4542
  "immutable": true,
4418
4543
  "locationInModule": {
4419
4544
  "filename": "src/bundler.ts",
4420
- "line": 149
4545
+ "line": 169
4421
4546
  },
4422
4547
  "name": "props",
4423
4548
  "type": {
@@ -4670,6 +4795,141 @@
4670
4795
  ],
4671
4796
  "symbolId": "src/code:EsbuildCode"
4672
4797
  },
4798
+ "@mrgrain/cdk-esbuild.EsbuildSource": {
4799
+ "assembly": "@mrgrain/cdk-esbuild",
4800
+ "docs": {
4801
+ "stability": "stable"
4802
+ },
4803
+ "fqn": "@mrgrain/cdk-esbuild.EsbuildSource",
4804
+ "initializer": {
4805
+ "docs": {
4806
+ "stability": "stable"
4807
+ }
4808
+ },
4809
+ "kind": "class",
4810
+ "locationInModule": {
4811
+ "filename": "src/esbuild-source.ts",
4812
+ "line": 11
4813
+ },
4814
+ "name": "EsbuildSource",
4815
+ "properties": [
4816
+ {
4817
+ "docs": {
4818
+ "stability": "stable",
4819
+ "summary": "First try to find to module, then install it to a temporary location."
4820
+ },
4821
+ "immutable": true,
4822
+ "locationInModule": {
4823
+ "filename": "src/esbuild-source.ts",
4824
+ "line": 71
4825
+ },
4826
+ "name": "auto",
4827
+ "static": true,
4828
+ "type": {
4829
+ "primitive": "string"
4830
+ }
4831
+ },
4832
+ {
4833
+ "docs": {
4834
+ "stability": "stable",
4835
+ "summary": "Install the module to a temporary location."
4836
+ },
4837
+ "immutable": true,
4838
+ "locationInModule": {
4839
+ "filename": "src/esbuild-source.ts",
4840
+ "line": 64
4841
+ },
4842
+ "name": "install",
4843
+ "static": true,
4844
+ "type": {
4845
+ "primitive": "string"
4846
+ }
4847
+ },
4848
+ {
4849
+ "docs": {
4850
+ "stability": "stable",
4851
+ "summary": "Require module by name, do not attempt to find it anywhere else."
4852
+ },
4853
+ "immutable": true,
4854
+ "locationInModule": {
4855
+ "filename": "src/esbuild-source.ts",
4856
+ "line": 57
4857
+ },
4858
+ "name": "nodeJs",
4859
+ "static": true,
4860
+ "type": {
4861
+ "primitive": "string"
4862
+ }
4863
+ },
4864
+ {
4865
+ "docs": {
4866
+ "stability": "stable",
4867
+ "summary": "`EsbuildSource.nodeJs` for NodeJs, `EsbuildSource.auto` for all other languages."
4868
+ },
4869
+ "immutable": true,
4870
+ "locationInModule": {
4871
+ "filename": "src/esbuild-source.ts",
4872
+ "line": 32
4873
+ },
4874
+ "name": "platformDefault",
4875
+ "static": true,
4876
+ "type": {
4877
+ "primitive": "string"
4878
+ }
4879
+ },
4880
+ {
4881
+ "docs": {
4882
+ "stability": "stable",
4883
+ "summary": "Try to find the module in most common paths."
4884
+ },
4885
+ "immutable": true,
4886
+ "locationInModule": {
4887
+ "filename": "src/esbuild-source.ts",
4888
+ "line": 43
4889
+ },
4890
+ "name": "anywhere",
4891
+ "optional": true,
4892
+ "static": true,
4893
+ "type": {
4894
+ "primitive": "string"
4895
+ }
4896
+ },
4897
+ {
4898
+ "docs": {
4899
+ "stability": "stable",
4900
+ "summary": "Try to find the module in common global installation paths."
4901
+ },
4902
+ "immutable": true,
4903
+ "locationInModule": {
4904
+ "filename": "src/esbuild-source.ts",
4905
+ "line": 50
4906
+ },
4907
+ "name": "globalPaths",
4908
+ "optional": true,
4909
+ "static": true,
4910
+ "type": {
4911
+ "primitive": "string"
4912
+ }
4913
+ },
4914
+ {
4915
+ "docs": {
4916
+ "stability": "stable",
4917
+ "summary": "Set the default mechanism to find the module The current default to find the module."
4918
+ },
4919
+ "locationInModule": {
4920
+ "filename": "src/esbuild-source.ts",
4921
+ "line": 18
4922
+ },
4923
+ "name": "default",
4924
+ "optional": true,
4925
+ "static": true,
4926
+ "type": {
4927
+ "primitive": "string"
4928
+ }
4929
+ }
4930
+ ],
4931
+ "symbolId": "src/esbuild-source:EsbuildSource"
4932
+ },
4673
4933
  "@mrgrain/cdk-esbuild.InlineJavaScriptCode": {
4674
4934
  "assembly": "@mrgrain/cdk-esbuild",
4675
4935
  "base": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -4684,7 +4944,7 @@
4684
4944
  },
4685
4945
  "locationInModule": {
4686
4946
  "filename": "src/inline-code.ts",
4687
- "line": 122
4947
+ "line": 143
4688
4948
  },
4689
4949
  "parameters": [
4690
4950
  {
@@ -4724,7 +4984,7 @@
4724
4984
  "kind": "class",
4725
4985
  "locationInModule": {
4726
4986
  "filename": "src/inline-code.ts",
4727
- "line": 121
4987
+ "line": 142
4728
4988
  },
4729
4989
  "methods": [
4730
4990
  {
@@ -4734,7 +4994,7 @@
4734
4994
  },
4735
4995
  "locationInModule": {
4736
4996
  "filename": "src/inline-code.ts",
4737
- "line": 75
4997
+ "line": 95
4738
4998
  },
4739
4999
  "name": "bind",
4740
5000
  "overrides": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -4763,7 +5023,7 @@
4763
5023
  "immutable": true,
4764
5024
  "locationInModule": {
4765
5025
  "filename": "src/inline-code.ts",
4766
- "line": 43
5026
+ "line": 63
4767
5027
  },
4768
5028
  "name": "isInline",
4769
5029
  "overrides": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -4788,7 +5048,7 @@
4788
5048
  },
4789
5049
  "locationInModule": {
4790
5050
  "filename": "src/inline-code.ts",
4791
- "line": 153
5051
+ "line": 174
4792
5052
  },
4793
5053
  "parameters": [
4794
5054
  {
@@ -4828,7 +5088,7 @@
4828
5088
  "kind": "class",
4829
5089
  "locationInModule": {
4830
5090
  "filename": "src/inline-code.ts",
4831
- "line": 152
5091
+ "line": 173
4832
5092
  },
4833
5093
  "methods": [
4834
5094
  {
@@ -4838,7 +5098,7 @@
4838
5098
  },
4839
5099
  "locationInModule": {
4840
5100
  "filename": "src/inline-code.ts",
4841
- "line": 75
5101
+ "line": 95
4842
5102
  },
4843
5103
  "name": "bind",
4844
5104
  "overrides": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -4867,7 +5127,7 @@
4867
5127
  "immutable": true,
4868
5128
  "locationInModule": {
4869
5129
  "filename": "src/inline-code.ts",
4870
- "line": 43
5130
+ "line": 63
4871
5131
  },
4872
5132
  "name": "isInline",
4873
5133
  "overrides": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -4892,7 +5152,7 @@
4892
5152
  },
4893
5153
  "locationInModule": {
4894
5154
  "filename": "src/inline-code.ts",
4895
- "line": 213
5155
+ "line": 234
4896
5156
  },
4897
5157
  "parameters": [
4898
5158
  {
@@ -4932,7 +5192,7 @@
4932
5192
  "kind": "class",
4933
5193
  "locationInModule": {
4934
5194
  "filename": "src/inline-code.ts",
4935
- "line": 212
5195
+ "line": 233
4936
5196
  },
4937
5197
  "methods": [
4938
5198
  {
@@ -4942,7 +5202,7 @@
4942
5202
  },
4943
5203
  "locationInModule": {
4944
5204
  "filename": "src/inline-code.ts",
4945
- "line": 75
5205
+ "line": 95
4946
5206
  },
4947
5207
  "name": "bind",
4948
5208
  "overrides": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -4971,7 +5231,7 @@
4971
5231
  "immutable": true,
4972
5232
  "locationInModule": {
4973
5233
  "filename": "src/inline-code.ts",
4974
- "line": 43
5234
+ "line": 63
4975
5235
  },
4976
5236
  "name": "isInline",
4977
5237
  "overrides": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -4996,7 +5256,7 @@
4996
5256
  },
4997
5257
  "locationInModule": {
4998
5258
  "filename": "src/inline-code.ts",
4999
- "line": 183
5259
+ "line": 204
5000
5260
  },
5001
5261
  "parameters": [
5002
5262
  {
@@ -5036,7 +5296,7 @@
5036
5296
  "kind": "class",
5037
5297
  "locationInModule": {
5038
5298
  "filename": "src/inline-code.ts",
5039
- "line": 182
5299
+ "line": 203
5040
5300
  },
5041
5301
  "methods": [
5042
5302
  {
@@ -5046,7 +5306,7 @@
5046
5306
  },
5047
5307
  "locationInModule": {
5048
5308
  "filename": "src/inline-code.ts",
5049
- "line": 75
5309
+ "line": 95
5050
5310
  },
5051
5311
  "name": "bind",
5052
5312
  "overrides": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -5075,7 +5335,7 @@
5075
5335
  "immutable": true,
5076
5336
  "locationInModule": {
5077
5337
  "filename": "src/inline-code.ts",
5078
- "line": 43
5338
+ "line": 63
5079
5339
  },
5080
5340
  "name": "isInline",
5081
5341
  "overrides": "aws-cdk-lib.aws_lambda.InlineCode",
@@ -6180,7 +6440,16 @@
6180
6440
  "name": "tsconfigRaw",
6181
6441
  "optional": true,
6182
6442
  "type": {
6183
- "primitive": "string"
6443
+ "union": {
6444
+ "types": [
6445
+ {
6446
+ "primitive": "string"
6447
+ },
6448
+ {
6449
+ "fqn": "@mrgrain/cdk-esbuild.TsconfigOptions"
6450
+ }
6451
+ ]
6452
+ }
6184
6453
  }
6185
6454
  }
6186
6455
  ],
@@ -6196,7 +6465,7 @@
6196
6465
  "kind": "interface",
6197
6466
  "locationInModule": {
6198
6467
  "filename": "src/inline-code.ts",
6199
- "line": 10
6468
+ "line": 11
6200
6469
  },
6201
6470
  "name": "TransformerProps",
6202
6471
  "properties": [
@@ -6210,7 +6479,7 @@
6210
6479
  "immutable": true,
6211
6480
  "locationInModule": {
6212
6481
  "filename": "src/inline-code.ts",
6213
- "line": 39
6482
+ "line": 40
6214
6483
  },
6215
6484
  "name": "esbuildBinaryPath",
6216
6485
  "optional": true,
@@ -6218,6 +6487,25 @@
6218
6487
  "primitive": "string"
6219
6488
  }
6220
6489
  },
6490
+ {
6491
+ "abstract": true,
6492
+ "docs": {
6493
+ "default": "- `CDK_ESBUILD_MODULE_PATH` or package resolution (see above)",
6494
+ "remarks": "E.g. \"/home/user/.npm/node_modules/esbuild/lib/main.js\"\n\nIf not set, the module path will be determined in the following order:\n\n- Use a path from the `CDK_ESBUILD_MODULE_PATH` environment variable\n- In TypeScript, fallback to the default Node.js package resolution mechanism\n- All other languages (Python, Go, .NET, Java) use an automatic \"best effort\" resolution mechanism. \\\n The exact algorithm of this mechanism is considered an implementation detail and should not be relied on.\n If `esbuild` cannot be found, it might be installed dynamically to a temporary location.\n To opt-out of this behavior, set either `esbuildModulePath` or `CDK_ESBUILD_MODULE_PATH` env variable.",
6495
+ "stability": "experimental",
6496
+ "summary": "Absolute path to the esbuild module JS file."
6497
+ },
6498
+ "immutable": true,
6499
+ "locationInModule": {
6500
+ "filename": "src/inline-code.ts",
6501
+ "line": 59
6502
+ },
6503
+ "name": "esbuildModulePath",
6504
+ "optional": true,
6505
+ "type": {
6506
+ "primitive": "string"
6507
+ }
6508
+ },
6221
6509
  {
6222
6510
  "abstract": true,
6223
6511
  "docs": {
@@ -6225,7 +6513,7 @@
6225
6513
  "throws": "esbuild.TransformFailure",
6226
6514
  "type": "esbuild.transformSync"
6227
6515
  },
6228
- "default": "esbuild.transformSync",
6516
+ "default": "`esbuild.transformSync`",
6229
6517
  "remarks": "The function will receive the computed options from the bundler. It can use with these options as it wishes, however a TransformResult must be returned to integrate with CDK.\nMust throw a `TransformFailure` on failure to correctly inform the bundler.",
6230
6518
  "returns": "esbuild.TransformResult",
6231
6519
  "stability": "experimental",
@@ -6234,7 +6522,7 @@
6234
6522
  "immutable": true,
6235
6523
  "locationInModule": {
6236
6524
  "filename": "src/inline-code.ts",
6237
- "line": 30
6525
+ "line": 31
6238
6526
  },
6239
6527
  "name": "transformFn",
6240
6528
  "optional": true,
@@ -6253,7 +6541,7 @@
6253
6541
  "immutable": true,
6254
6542
  "locationInModule": {
6255
6543
  "filename": "src/inline-code.ts",
6256
- "line": 17
6544
+ "line": 18
6257
6545
  },
6258
6546
  "name": "transformOptions",
6259
6547
  "optional": true,
@@ -6264,6 +6552,39 @@
6264
6552
  ],
6265
6553
  "symbolId": "src/inline-code:TransformerProps"
6266
6554
  },
6555
+ "@mrgrain/cdk-esbuild.TsconfigOptions": {
6556
+ "assembly": "@mrgrain/cdk-esbuild",
6557
+ "datatype": true,
6558
+ "docs": {
6559
+ "stability": "stable"
6560
+ },
6561
+ "fqn": "@mrgrain/cdk-esbuild.TsconfigOptions",
6562
+ "kind": "interface",
6563
+ "locationInModule": {
6564
+ "filename": "src/esbuild-types.ts",
6565
+ "line": 598
6566
+ },
6567
+ "name": "TsconfigOptions",
6568
+ "properties": [
6569
+ {
6570
+ "abstract": true,
6571
+ "docs": {
6572
+ "stability": "stable"
6573
+ },
6574
+ "immutable": true,
6575
+ "locationInModule": {
6576
+ "filename": "src/esbuild-types.ts",
6577
+ "line": 599
6578
+ },
6579
+ "name": "compilerOptions",
6580
+ "optional": true,
6581
+ "type": {
6582
+ "fqn": "@mrgrain/cdk-esbuild.CompilerOptions"
6583
+ }
6584
+ }
6585
+ ],
6586
+ "symbolId": "src/esbuild-types:TsconfigOptions"
6587
+ },
6267
6588
  "@mrgrain/cdk-esbuild.TypeScriptAsset": {
6268
6589
  "assembly": "@mrgrain/cdk-esbuild",
6269
6590
  "base": "@mrgrain/cdk-esbuild.EsbuildAsset",
@@ -6645,6 +6966,6 @@
6645
6966
  "symbolId": "src/source:TypeScriptSourceProps"
6646
6967
  }
6647
6968
  },
6648
- "version": "3.9.0",
6649
- "fingerprint": "Bp8QFIef4EnkeSogdcX2OtOp8WZjqAaMiN0b4Ke2I3M="
6969
+ "version": "3.11.1",
6970
+ "fingerprint": "oJIeTM/sMlbD0OLm8lmgp4pmaRkuVDN76R6mb2VTXkg="
6650
6971
  }