projen 0.32.0 → 0.32.4

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.
Files changed (126) hide show
  1. package/.jsii +1382 -257
  2. package/API.md +416 -61
  3. package/docs/aws-lambda.md +103 -0
  4. package/docs/publisher.md +24 -1
  5. package/lib/awscdk/auto-discover.d.ts +46 -0
  6. package/lib/awscdk/auto-discover.js +46 -0
  7. package/lib/awscdk/cdk-config.js +1 -1
  8. package/lib/awscdk/cdk-tasks.js +1 -1
  9. package/lib/awscdk/index.d.ts +2 -0
  10. package/lib/awscdk/index.js +3 -1
  11. package/lib/awscdk/internal.d.ts +4 -0
  12. package/lib/awscdk/internal.js +6 -2
  13. package/lib/awscdk/java-app.js +1 -1
  14. package/lib/awscdk/lambda-function.d.ts +146 -0
  15. package/lib/awscdk/lambda-function.js +160 -0
  16. package/lib/awscdk-app-ts.d.ts +15 -1
  17. package/lib/awscdk-app-ts.js +13 -5
  18. package/lib/awscdk-construct.d.ts +15 -58
  19. package/lib/awscdk-construct.js +13 -62
  20. package/lib/cdk8s-app-ts.js +1 -1
  21. package/lib/cdk8s-construct.js +1 -1
  22. package/lib/cdktf-construct.js +1 -1
  23. package/lib/component.js +1 -1
  24. package/lib/construct-lib.js +1 -1
  25. package/lib/deps/dependencies.js +1 -1
  26. package/lib/dev-env.js +1 -1
  27. package/lib/docker-compose.js +2 -2
  28. package/lib/eslint.d.ts +9 -0
  29. package/lib/eslint.js +16 -5
  30. package/lib/file.js +1 -1
  31. package/lib/git/gitattributes.js +1 -1
  32. package/lib/github/auto-approve.js +1 -1
  33. package/lib/github/auto-merge.js +1 -1
  34. package/lib/github/dependabot.js +1 -1
  35. package/lib/github/github.js +1 -1
  36. package/lib/github/mergify.js +1 -1
  37. package/lib/github/pr-template.js +1 -1
  38. package/lib/github/stale.js +1 -1
  39. package/lib/github/task-workflow.js +1 -1
  40. package/lib/github/workflows.js +4 -5
  41. package/lib/gitpod.js +1 -1
  42. package/lib/ignore-file.js +1 -1
  43. package/lib/index.js +1 -1
  44. package/lib/ini.js +1 -1
  45. package/lib/inventory.js +4 -5
  46. package/lib/java/java-project.js +1 -1
  47. package/lib/java/junit.js +1 -1
  48. package/lib/java/maven-compile.js +1 -1
  49. package/lib/java/maven-packaging.js +1 -1
  50. package/lib/java/maven-sample.js +1 -1
  51. package/lib/java/pom.js +1 -1
  52. package/lib/java/projenrc.js +1 -1
  53. package/lib/javascript/bundler.d.ts +144 -0
  54. package/lib/javascript/bundler.js +93 -0
  55. package/lib/javascript/index.d.ts +1 -0
  56. package/lib/javascript/index.js +2 -1
  57. package/lib/javascript/npm-config.js +1 -1
  58. package/lib/javascript/projenrc.js +1 -1
  59. package/lib/jest.js +1 -1
  60. package/lib/jsii-project.js +1 -1
  61. package/lib/json/projenrc.js +1 -1
  62. package/lib/json.js +1 -1
  63. package/lib/license.js +1 -1
  64. package/lib/logger.js +1 -1
  65. package/lib/makefile.js +1 -1
  66. package/lib/node-package.d.ts +39 -2
  67. package/lib/node-package.js +31 -5
  68. package/lib/node-project.d.ts +11 -1
  69. package/lib/node-project.js +25 -16
  70. package/lib/object-file.js +1 -1
  71. package/lib/project.js +2 -2
  72. package/lib/projects.js +1 -1
  73. package/lib/python/pip.js +1 -1
  74. package/lib/python/poetry.js +2 -2
  75. package/lib/python/projenrc.js +4 -5
  76. package/lib/python/pytest.js +1 -1
  77. package/lib/python/python-project.js +1 -1
  78. package/lib/python/python-sample.js +1 -1
  79. package/lib/python/requirements-file.js +1 -1
  80. package/lib/python/setuppy.js +1 -1
  81. package/lib/python/setuptools.js +1 -1
  82. package/lib/python/venv.js +1 -1
  83. package/lib/readme.js +1 -1
  84. package/lib/release/publisher.d.ts +36 -0
  85. package/lib/release/publisher.js +20 -5
  86. package/lib/release/release-trigger.js +1 -1
  87. package/lib/release/release.js +1 -1
  88. package/lib/sample-file.js +2 -2
  89. package/lib/semver.js +1 -1
  90. package/lib/source-code.js +1 -1
  91. package/lib/tasks/runtime.js +1 -1
  92. package/lib/tasks/task.js +1 -1
  93. package/lib/tasks/tasks.js +1 -1
  94. package/lib/textfile.js +1 -1
  95. package/lib/toml.js +1 -1
  96. package/lib/typescript/projenrc.js +1 -1
  97. package/lib/typescript-config.js +1 -1
  98. package/lib/typescript.js +3 -3
  99. package/lib/upgrade-dependencies.js +2 -2
  100. package/lib/util.js +11 -3
  101. package/lib/version.js +1 -1
  102. package/lib/vscode/devcontainer.js +1 -1
  103. package/lib/vscode/launch-config.js +1 -1
  104. package/lib/vscode/vscode.js +1 -1
  105. package/lib/web/next.js +3 -3
  106. package/lib/web/postcss.js +1 -1
  107. package/lib/web/react.js +4 -4
  108. package/lib/web/tailwind.js +1 -1
  109. package/lib/xmlfile.js +1 -1
  110. package/lib/yaml.js +1 -1
  111. package/node_modules/case/LICENSE +22 -0
  112. package/node_modules/case/README.md +139 -0
  113. package/node_modules/case/case.d.ts +43 -0
  114. package/node_modules/case/dist/Case.js +171 -0
  115. package/node_modules/case/dist/Case.min.js +5 -0
  116. package/node_modules/case/dist/Case.min.js.map +1 -0
  117. package/node_modules/case/dist/Case.plus.js +189 -0
  118. package/node_modules/case/dist/Case.plus.min.js +5 -0
  119. package/node_modules/case/dist/Case.plus.min.js.map +1 -0
  120. package/node_modules/case/package.json +58 -0
  121. package/package.json +7 -7
  122. package/node_modules/decamelize/index.d.ts +0 -20
  123. package/node_modules/decamelize/index.js +0 -12
  124. package/node_modules/decamelize/license +0 -9
  125. package/node_modules/decamelize/package.json +0 -40
  126. package/node_modules/decamelize/readme.md +0 -51
package/API.md CHANGED
@@ -15,7 +15,7 @@ Name|Description
15
15
  [DevEnvironmentDockerImage](#projen-devenvironmentdockerimage)|Options for specifying the Docker image of the container.
16
16
  [DockerCompose](#projen-dockercompose)|Create a docker-compose YAML file.
17
17
  [DockerComposeService](#projen-dockercomposeservice)|A docker-compose service.
18
- [Eslint](#projen-eslint)|*No description*
18
+ [Eslint](#projen-eslint)|Represents eslint configuration.
19
19
  [FileBase](#projen-filebase)|*No description*
20
20
  [GitHubProject](#projen-githubproject)|GitHub-based project.
21
21
  [Gitpod](#projen-gitpod)|The Gitpod component which emits .gitpod.yml.
@@ -48,9 +48,12 @@ Name|Description
48
48
  [Version](#projen-version)|*No description*
49
49
  [XmlFile](#projen-xmlfile)|Represents an XML file.
50
50
  [YamlFile](#projen-yamlfile)|Represents a YAML file.
51
+ [awscdk.AutoDiscover](#projen-awscdk-autodiscover)|Automatically creates a `LambdaFunction` for all `.lambda.ts` files under the source directory of the project.
51
52
  [awscdk.AwsCdkJavaApp](#projen-awscdk-awscdkjavaapp)|AWS CDK app in Java.
52
53
  [awscdk.CdkConfig](#projen-awscdk-cdkconfig)|Represents cdk.json file.
53
54
  [awscdk.CdkTasks](#projen-awscdk-cdktasks)|Adds standard AWS CDK tasks to your project.
55
+ [awscdk.LambdaFunction](#projen-awscdk-lambdafunction)|Generates a pre-bundled AWS Lambda function construct from handler code.
56
+ [awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)|The runtime for the AWS Lambda function.
54
57
  [deps.Dependencies](#projen-deps-dependencies)|The `Dependencies` component is responsible to track the list of dependencies a project has, and then used by project types as the model for rendering project-specific dependency manifests such as the dependencies section `package.json` files.
55
58
  [git.GitAttributesFile](#projen-git-gitattributesfile)|Assign attributes to file names in a git repository.
56
59
  [github.AutoApprove](#projen-github-autoapprove)|Auto approve pull requests that meet a criteria.
@@ -69,6 +72,7 @@ Name|Description
69
72
  [java.MavenSample](#projen-java-mavensample)|Java code sample.
70
73
  [java.Pom](#projen-java-pom)|A Project Object Model or POM is the fundamental unit of work in Maven.
71
74
  [java.Projenrc](#projen-java-projenrc)|Allows writing projenrc files in java.
75
+ [javascript.Bundler](#projen-javascript-bundler)|Adds support for bundling JavaScript applications and dependencies into a single file.
72
76
  [javascript.NpmConfig](#projen-javascript-npmconfig)|File representing the local NPM config in .npmrc.
73
77
  [javascript.Projenrc](#projen-javascript-projenrc)|Sets up a javascript project to use TypeScript for projenrc.
74
78
  [json.Projenrc](#projen-json-projenrc)|Sets up a project to use JSON for projenrc.
@@ -112,6 +116,7 @@ Name|Description
112
116
  [AwsCdkTypeScriptAppOptions](#projen-awscdktypescriptappoptions)|*No description*
113
117
  [Catalog](#projen-catalog)|*No description*
114
118
  [Cdk8sTypeScriptAppOptions](#projen-cdk8stypescriptappoptions)|*No description*
119
+ [CodeArtifactOptions](#projen-codeartifactoptions)|*No description*
115
120
  [ConstructLibraryAwsOptions](#projen-constructlibraryawsoptions)|*No description*
116
121
  [ConstructLibraryCdk8sOptions](#projen-constructlibrarycdk8soptions)|*No description*
117
122
  [ConstructLibraryCdktfOptions](#projen-constructlibrarycdktfoptions)|*No description*
@@ -171,9 +176,12 @@ Name|Description
171
176
  [VersionOptions](#projen-versionoptions)|Options for `Version`.
172
177
  [XmlFileOptions](#projen-xmlfileoptions)|Options for `XmlFile`.
173
178
  [YamlFileOptions](#projen-yamlfileoptions)|Options for `JsonFile`.
179
+ [awscdk.AutoDiscoverOptions](#projen-awscdk-autodiscoveroptions)|Options for `AutoDiscover`.
174
180
  [awscdk.AwsCdkJavaAppOptions](#projen-awscdk-awscdkjavaappoptions)|*No description*
175
181
  [awscdk.CdkConfigCommonOptions](#projen-awscdk-cdkconfigcommonoptions)|Common options for `cdk.json`.
176
182
  [awscdk.CdkConfigOptions](#projen-awscdk-cdkconfigoptions)|Options for `CdkJson`.
183
+ [awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)|Common options for `LambdaFunction`.
184
+ [awscdk.LambdaFunctionOptions](#projen-awscdk-lambdafunctionoptions)|Options for `Function`.
177
185
  [deps.Dependency](#projen-deps-dependency)|Represents a project dependency.
178
186
  [deps.DependencyCoordinates](#projen-deps-dependencycoordinates)|Coordinates of the dependency (name and version).
179
187
  [deps.DepsManifest](#projen-deps-depsmanifest)|*No description*
@@ -202,6 +210,9 @@ Name|Description
202
210
  [java.PluginOptions](#projen-java-pluginoptions)|Options for Maven plugins.
203
211
  [java.PomOptions](#projen-java-pomoptions)|Options for `Pom`.
204
212
  [java.ProjenrcOptions](#projen-java-projenrcoptions)|Options for `Projenrc`.
213
+ [javascript.BundleOptions](#projen-javascript-bundleoptions)|Options for bundling.
214
+ [javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)|Common options for `Bundler`.
215
+ [javascript.BundlerOptions](#projen-javascript-bundleroptions)|Options for `Bundler`.
205
216
  [javascript.NpmConfigOptions](#projen-javascript-npmconfigoptions)|Options to configure the local NPM config.
206
217
  [javascript.ProjenrcOptions](#projen-javascript-projenrcoptions)|*No description*
207
218
  [json.ProjenrcOptions](#projen-json-projenrcoptions)|*No description*
@@ -217,6 +228,7 @@ Name|Description
217
228
  [python.SetupPyOptions](#projen-python-setuppyoptions)|Fields to pass in the setup() function of setup.py.
218
229
  [python.VenvOptions](#projen-python-venvoptions)|Options for venv.
219
230
  [release.BranchOptions](#projen-release-branchoptions)|Options for a release branch.
231
+ [release.CodeArtifactOptions](#projen-release-codeartifactoptions)|*No description*
220
232
  [release.GitHubReleasesPublishOptions](#projen-release-githubreleasespublishoptions)|Publishing options for GitHub releases.
221
233
  [release.GitPublishOptions](#projen-release-gitpublishoptions)|Publishing options for Git releases.
222
234
  [release.GoPublishOptions](#projen-release-gopublishoptions)|*No description*
@@ -308,64 +320,6 @@ A multi-language (jsii) construct library which vends constructs designed to
308
320
  use within the AWS CDK with a friendly workflow and automatic publishing to
309
321
  the construct catalog.
310
322
 
311
- ```ts
312
- const project = new ConstructLibraryAws({
313
- name: 'cdk-watchful',
314
- description: 'Watching your CDK apps since 2019',
315
- jsiiVersion: Semver.caret('1.7.0'),
316
- authorName: 'Elad Ben-Israel',
317
- authorEmail: 'elad.benisrael@gmail.com',
318
- repository: 'https://github.com/eladb/cdk-watchful.git',
319
- keywords: [
320
- "cloudwatch",
321
- "monitoring"
322
- ],
323
-
324
- catalog: {
325
- twitter: 'emeshbi'
326
- },
327
-
328
- // creates PRs for projen upgrades
329
- projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
330
-
331
- cdkVersion: '1.54.0',
332
- cdkDependencies: [
333
- "@aws-cdk/aws-apigateway",
334
- "@aws-cdk/aws-cloudwatch",
335
- "@aws-cdk/aws-cloudwatch-actions",
336
- "@aws-cdk/aws-dynamodb",
337
- "@aws-cdk/aws-ecs",
338
- "@aws-cdk/aws-ecs-patterns",
339
- "@aws-cdk/aws-elasticloadbalancingv2",
340
- "@aws-cdk/aws-events",
341
- "@aws-cdk/aws-events-targets",
342
- "@aws-cdk/aws-lambda",
343
- "@aws-cdk/aws-rds",
344
- "@aws-cdk/aws-sns",
345
- "@aws-cdk/aws-sns-subscriptions",
346
- "@aws-cdk/aws-sqs",
347
- "@aws-cdk/core"
348
- ],
349
- devDependencies: {
350
- "aws-sdk": Semver.caret("2.708.0")
351
- },
352
-
353
- // jsii publishing
354
-
355
- java: {
356
- javaPackage: 'io.github.cdklabs.watchful',
357
- mavenGroupId: 'io.github.cdklabs',
358
- mavenArtifactId: 'cdk-watchful'
359
- },
360
- python: {
361
- distName: 'cdk-watchful',
362
- module: 'cdk_watchful'
363
- }
364
- });
365
-
366
- project.synth();
367
- ```
368
-
369
323
  __Extends__: [ConstructLibrary](#projen-constructlibrary)
370
324
 
371
325
  ### Initializer
@@ -405,6 +359,7 @@ new AwsCdkConstructLibrary(options: AwsCdkConstructLibraryOptions)
405
359
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
406
360
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
407
361
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
362
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
408
363
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
409
364
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
410
365
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -449,6 +404,7 @@ new AwsCdkConstructLibrary(options: AwsCdkConstructLibraryOptions)
449
404
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
450
405
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
451
406
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
407
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
452
408
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
453
409
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
454
410
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -519,6 +475,8 @@ new AwsCdkConstructLibrary(options: AwsCdkConstructLibraryOptions)
519
475
  * **cdkTestDependencies** (<code>Array<string></code>) AWS CDK modules required for testing. __*Optional*__
520
476
  * **cdkVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for CDK. __*Default*__: false
521
477
  * **constructsVersion** (<code>string</code>) Minimum target version of constructs being tested against. If not provided, the default value depends on the configured `cdkVersion`:. __*Default*__: When the default behavior is used, the dependency on `constructs` will only be added as a `peerDependency`. Otherwise, a `devDependency` will also be added, set to the exact version configrued here.
478
+ * **lambdaAutoDiscover** (<code>boolean</code>) Automatically adds an `aws_lambda.Function` for each `.lambda.ts` handler in your source tree. If this is disabled, you either need to explicitly call `aws_lambda.Function.autoDiscover()` or define a `new aws_lambda.Function()` for each handler. __*Default*__: true
479
+ * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Common options for all AWS Lambda functions. __*Default*__: default options
522
480
 
523
481
 
524
482
 
@@ -613,6 +571,7 @@ new AwsCdkTypeScriptApp(options: AwsCdkTypeScriptAppOptions)
613
571
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
614
572
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
615
573
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
574
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
616
575
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
617
576
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
618
577
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -657,6 +616,7 @@ new AwsCdkTypeScriptApp(options: AwsCdkTypeScriptAppOptions)
657
616
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
658
617
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
659
618
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
619
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
660
620
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
661
621
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
662
622
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -714,6 +674,8 @@ new AwsCdkTypeScriptApp(options: AwsCdkTypeScriptAppOptions)
714
674
  * **appEntrypoint** (<code>string</code>) The CDK app's entrypoint (relative to the source directory, which is "src" by default). __*Default*__: "main.ts"
715
675
  * **cdkDependencies** (<code>Array<string></code>) Which AWS CDK modules (those that start with "@aws-cdk/") this app uses. __*Optional*__
716
676
  * **cdkVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for CDK. __*Default*__: false
677
+ * **lambdaAutoDiscover** (<code>boolean</code>) Automatically adds an `awscdk.LambdaFunction` for each `.lambda.ts` handler in your source tree. If this is disabled, you can manually add an `awscdk.AutoDiscover` component to your project. __*Default*__: true
678
+ * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Common options for all AWS Lambda functions. __*Default*__: default options
717
679
 
718
680
 
719
681
 
@@ -788,6 +750,7 @@ new Cdk8sTypeScriptApp(options: Cdk8sTypeScriptAppOptions)
788
750
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
789
751
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
790
752
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
753
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
791
754
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
792
755
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
793
756
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -832,6 +795,7 @@ new Cdk8sTypeScriptApp(options: Cdk8sTypeScriptAppOptions)
832
795
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
833
796
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
834
797
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
798
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
835
799
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
836
800
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
837
801
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -1018,6 +982,7 @@ new ConstructLibrary(options: ConstructLibraryOptions)
1018
982
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
1019
983
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
1020
984
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
985
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
1021
986
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
1022
987
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
1023
988
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -1062,6 +1027,7 @@ new ConstructLibrary(options: ConstructLibraryOptions)
1062
1027
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
1063
1028
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
1064
1029
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
1030
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
1065
1031
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
1066
1032
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
1067
1033
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -1172,6 +1138,7 @@ new ConstructLibraryAws(options: AwsCdkConstructLibraryOptions)
1172
1138
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
1173
1139
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
1174
1140
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
1141
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
1175
1142
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
1176
1143
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
1177
1144
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -1216,6 +1183,7 @@ new ConstructLibraryAws(options: AwsCdkConstructLibraryOptions)
1216
1183
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
1217
1184
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
1218
1185
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
1186
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
1219
1187
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
1220
1188
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
1221
1189
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -1286,6 +1254,8 @@ new ConstructLibraryAws(options: AwsCdkConstructLibraryOptions)
1286
1254
  * **cdkTestDependencies** (<code>Array<string></code>) AWS CDK modules required for testing. __*Optional*__
1287
1255
  * **cdkVersionPinning** (<code>boolean</code>) Use pinned version instead of caret version for CDK. __*Default*__: false
1288
1256
  * **constructsVersion** (<code>string</code>) Minimum target version of constructs being tested against. If not provided, the default value depends on the configured `cdkVersion`:. __*Default*__: When the default behavior is used, the dependency on `constructs` will only be added as a `peerDependency`. Otherwise, a `devDependency` will also be added, set to the exact version configrued here.
1257
+ * **lambdaAutoDiscover** (<code>boolean</code>) Automatically adds an `aws_lambda.Function` for each `.lambda.ts` handler in your source tree. If this is disabled, you either need to explicitly call `aws_lambda.Function.autoDiscover()` or define a `new aws_lambda.Function()` for each handler. __*Default*__: true
1258
+ * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Common options for all AWS Lambda functions. __*Default*__: default options
1289
1259
 
1290
1260
 
1291
1261
 
@@ -1337,6 +1307,7 @@ new ConstructLibraryCdk8s(options: ConstructLibraryCdk8sOptions)
1337
1307
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
1338
1308
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
1339
1309
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
1310
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
1340
1311
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
1341
1312
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
1342
1313
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -1381,6 +1352,7 @@ new ConstructLibraryCdk8s(options: ConstructLibraryCdk8sOptions)
1381
1352
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
1382
1353
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
1383
1354
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
1355
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
1384
1356
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
1385
1357
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
1386
1358
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -1511,6 +1483,7 @@ new ConstructLibraryCdktf(options: ConstructLibraryCdktfOptions)
1511
1483
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
1512
1484
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
1513
1485
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
1486
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
1514
1487
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
1515
1488
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
1516
1489
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -1555,6 +1528,7 @@ new ConstructLibraryCdktf(options: ConstructLibraryCdktfOptions)
1555
1528
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
1556
1529
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
1557
1530
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
1531
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
1558
1532
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
1559
1533
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
1560
1534
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -1886,7 +1860,7 @@ addVolume(volume: IDockerComposeVolumeBinding): void
1886
1860
 
1887
1861
  ## class Eslint 🔹 <a id="projen-eslint"></a>
1888
1862
 
1889
-
1863
+ Represents eslint configuration.
1890
1864
 
1891
1865
  __Extends__: [Component](#projen-component)
1892
1866
 
@@ -1981,6 +1955,19 @@ allowDevDeps(pattern: string): void
1981
1955
 
1982
1956
 
1983
1957
 
1958
+ #### *static* of(project)🔹 <a id="projen-eslint-of"></a>
1959
+
1960
+ Returns the singletone Eslint component of a project or undefined if there is none.
1961
+
1962
+ ```ts
1963
+ static of(project: Project): Eslint
1964
+ ```
1965
+
1966
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
1967
+
1968
+ __Returns__:
1969
+ * <code>[Eslint](#projen-eslint)</code>
1970
+
1984
1971
 
1985
1972
 
1986
1973
  ## class FileBase 🔹 <a id="projen-filebase"></a>
@@ -2568,6 +2555,7 @@ new JsiiProject(options: JsiiProjectOptions)
2568
2555
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
2569
2556
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
2570
2557
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
2558
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
2571
2559
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
2572
2560
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
2573
2561
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -2612,6 +2600,7 @@ new JsiiProject(options: JsiiProjectOptions)
2612
2600
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
2613
2601
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
2614
2602
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
2603
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
2615
2604
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
2616
2605
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
2617
2606
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -3016,6 +3005,7 @@ new NodePackage(project: Project, options?: NodePackageOptions)
3016
3005
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
3017
3006
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
3018
3007
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
3008
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
3019
3009
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
3020
3010
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
3021
3011
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -3058,13 +3048,14 @@ Name | Type | Description
3058
3048
  **npmDistTag**🔹 | <code>string</code> | npm distribution tag.
3059
3049
  **npmRegistry**🔹 | <code>string</code> | The npm registry host (e.g. `registry.npmjs.org`).
3060
3050
  **npmRegistryUrl**🔹 | <code>string</code> | npm registry (e.g. `https://registry.npmjs.org`). Use `npmRegistryHost` to get just the host name.
3061
- **npmTokenSecret**🔹 | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages.
3062
3051
  **packageManager**🔹 | <code>[NodePackageManager](#projen-nodepackagemanager)</code> | The package manager to use.
3063
3052
  **packageName**🔹 | <code>string</code> | The name of the npm package.
3064
3053
  **projenCommand**🔹 | <code>string</code> | The command to use in order to run the projen CLI.
3054
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
3065
3055
  **license**?🔹 | <code>string</code> | The SPDX license of this module.<br/>__*Optional*__
3066
3056
  **maxNodeVersion**?🔹 | <code>string</code> | Maximum node version required by this pacakge.<br/>__*Default*__: no maximum.
3067
3057
  **minNodeVersion**?🔹 | <code>string</code> | Minimum node.js version required by this package.<br/>__*Default*__: no minimum
3058
+ **npmTokenSecret**?🔹 | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages.<br/>__*Optional*__
3068
3059
 
3069
3060
  ### Methods
3070
3061
 
@@ -3320,6 +3311,7 @@ new NodeProject(options: NodeProjectOptions)
3320
3311
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
3321
3312
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
3322
3313
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
3314
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
3323
3315
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
3324
3316
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
3325
3317
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -3364,6 +3356,7 @@ new NodeProject(options: NodeProjectOptions)
3364
3356
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
3365
3357
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
3366
3358
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
3359
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
3367
3360
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
3368
3361
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
3369
3362
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -3406,6 +3399,7 @@ Name | Type | Description
3406
3399
  **allowLibraryDependencies**⚠️ | <code>boolean</code> | <span></span>
3407
3400
  **antitamper**🔹 | <code>boolean</code> | Indicates if workflows have anti-tamper checks.
3408
3401
  **buildTask**🔹 | <code>[tasks.Task](#projen-tasks-task)</code> | The task responsible for a full release build.
3402
+ **bundler**🔹 | <code>[javascript.Bundler](#projen-javascript-bundler)</code> | <span></span>
3409
3403
  **compileTask**🔹 | <code>[tasks.Task](#projen-tasks-task)</code> | Compiles the code.
3410
3404
  **entrypoint**⚠️ | <code>string</code> | <span></span>
3411
3405
  **installWorkflowSteps**🔹 | <code>Array<[github.workflows.JobStep](#projen-github-workflows-jobstep)></code> | <span></span>
@@ -4448,6 +4442,7 @@ new TypeScriptAppProject(options: TypeScriptProjectOptions)
4448
4442
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
4449
4443
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
4450
4444
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
4445
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
4451
4446
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
4452
4447
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
4453
4448
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -4492,6 +4487,7 @@ new TypeScriptAppProject(options: TypeScriptProjectOptions)
4492
4487
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
4493
4488
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
4494
4489
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
4490
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
4495
4491
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
4496
4492
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
4497
4493
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -4588,6 +4584,7 @@ new TypeScriptLibraryProject(options: TypeScriptProjectOptions)
4588
4584
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
4589
4585
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
4590
4586
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
4587
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
4591
4588
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
4592
4589
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
4593
4590
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -4632,6 +4629,7 @@ new TypeScriptLibraryProject(options: TypeScriptProjectOptions)
4632
4629
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
4633
4630
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
4634
4631
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
4632
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
4635
4633
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
4636
4634
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
4637
4635
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -4728,6 +4726,7 @@ new TypeScriptProject(options: TypeScriptProjectOptions)
4728
4726
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
4729
4727
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
4730
4728
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
4729
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
4731
4730
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
4732
4731
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
4733
4732
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -4772,6 +4771,7 @@ new TypeScriptProject(options: TypeScriptProjectOptions)
4772
4771
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
4773
4772
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
4774
4773
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
4774
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
4775
4775
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
4776
4776
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
4777
4777
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -5125,6 +5125,47 @@ __Returns__:
5125
5125
 
5126
5126
 
5127
5127
 
5128
+ ## class AutoDiscover 🔹 <a id="projen-awscdk-autodiscover"></a>
5129
+
5130
+ Automatically creates a `LambdaFunction` for all `.lambda.ts` files under the source directory of the project.
5131
+
5132
+ __Submodule__: awscdk
5133
+
5134
+ __Extends__: [Component](#projen-component)
5135
+
5136
+ ### Initializer
5137
+
5138
+
5139
+
5140
+
5141
+ ```ts
5142
+ new awscdk.AutoDiscover(project: Project, options: AutoDiscoverOptions)
5143
+ ```
5144
+
5145
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
5146
+ * **options** (<code>[awscdk.AutoDiscoverOptions](#projen-awscdk-autodiscoveroptions)</code>) *No description*
5147
+ * **libdir** (<code>string</code>) Output directory (where .js files go).
5148
+ * **srcdir** (<code>string</code>) Project source tree (relative to project output directory).
5149
+ * **lambdaOptions** (<code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code>) Options for auto-discovery of AWS Lambda functions. __*Optional*__
5150
+
5151
+
5152
+ ### Methods
5153
+
5154
+
5155
+ #### preSynthesize()🔹 <a id="projen-awscdk-autodiscover-presynthesize"></a>
5156
+
5157
+ Called before synthesis.
5158
+
5159
+ ```ts
5160
+ preSynthesize(): void
5161
+ ```
5162
+
5163
+
5164
+
5165
+
5166
+
5167
+
5168
+
5128
5169
  ## class AwsCdkJavaApp 🔹 <a id="projen-awscdk-awscdkjavaapp"></a>
5129
5170
 
5130
5171
  AWS CDK app in Java.
@@ -5289,6 +5330,76 @@ Name | Type | Description
5289
5330
 
5290
5331
 
5291
5332
 
5333
+ ## class LambdaFunction 🔹 <a id="projen-awscdk-lambdafunction"></a>
5334
+
5335
+ Generates a pre-bundled AWS Lambda function construct from handler code.
5336
+
5337
+ To use this, create an AWS Lambda handler file under your source tree with
5338
+ the `.lambda.ts` extension and add a `LambdaFunction` component to your
5339
+ typescript project pointing to this entrypoint.
5340
+
5341
+ This will add a task to your "compile" step which will use `esbuild` to
5342
+ bundle the handler code into the build directory. It will also generate a
5343
+ file `src/foo-function.ts` with a custom AWS construct called `FooFunction`
5344
+ which extends `@aws-cdk/aws-lambda.Function` which is bound to the bundled
5345
+ handle through an asset.
5346
+
5347
+ __Submodule__: awscdk
5348
+
5349
+ __Extends__: [Component](#projen-component)
5350
+
5351
+ ### Initializer
5352
+
5353
+
5354
+ Defines a pre-bundled AWS Lambda function construct from handler code.
5355
+
5356
+ ```ts
5357
+ new awscdk.LambdaFunction(project: Project, options: LambdaFunctionOptions)
5358
+ ```
5359
+
5360
+ * **project** (<code>[Project](#projen-project)</code>) The project to use.
5361
+ * **options** (<code>[awscdk.LambdaFunctionOptions](#projen-awscdk-lambdafunctionoptions)</code>) Options.
5362
+ * **externals** (<code>Array<string></code>) Names of modules which should not be included in the bundle. __*Default*__: by default, the "aws-sdk" module will be excluded from the bundle. Note that if you use this option you will need to add "aws-sdk" explicitly.
5363
+ * **runtime** (<code>[awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)</code>) The node.js version to target. __*Default*__: Runtime.NODEJS_14_X
5364
+ * **entrypoint** (<code>string</code>) A path from the project root directory to a TypeScript file which contains the AWS Lambda handler entrypoint (exports a `handler` function).
5365
+ * **libdir** (<code>string</code>) JavaScript output directory (where .js files go).
5366
+ * **srcdir** (<code>string</code>) Project source directory tree (where .ts files live).
5367
+ * **constructFile** (<code>string</code>) The name of the generated TypeScript source file. __*Default*__: The name of the entrypoint file, with the `-function.ts` suffix instead of `.lambda.ts`.
5368
+ * **constructName** (<code>string</code>) The name of the generated `lambda.Function` subclass. __*Default*__: A pascal cased version of the name of the entrypoint file, with the extension `Function` (e.g. `ResizeImageFunction`).
5369
+
5370
+
5371
+
5372
+ ### Properties
5373
+
5374
+
5375
+ Name | Type | Description
5376
+ -----|------|-------------
5377
+ **bundleTask**🔹 | <code>[tasks.Task](#projen-tasks-task)</code> | The bundle task for this function.
5378
+
5379
+
5380
+
5381
+ ## class LambdaRuntime 🔹 <a id="projen-awscdk-lambdaruntime"></a>
5382
+
5383
+ The runtime for the AWS Lambda function.
5384
+
5385
+ __Submodule__: awscdk
5386
+
5387
+
5388
+
5389
+ ### Properties
5390
+
5391
+
5392
+ Name | Type | Description
5393
+ -----|------|-------------
5394
+ **esbuildPlatform**🔹 | <code>string</code> | <span></span>
5395
+ **esbuildTarget**🔹 | <code>string</code> | The esbuild setting to use.
5396
+ **functionRuntime**🔹 | <code>string</code> | The aws-lambda.Runtime member name to use.
5397
+ *static* **NODEJS_10_X**🔹 | <code>[awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)</code> | Node.js 10.x.
5398
+ *static* **NODEJS_12_X**🔹 | <code>[awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)</code> | Node.js 12.x.
5399
+ *static* **NODEJS_14_X**🔹 | <code>[awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)</code> | Node.js 14.x.
5400
+
5401
+
5402
+
5292
5403
  ## class Dependencies 🔹 <a id="projen-deps-dependencies"></a>
5293
5404
 
5294
5405
  The `Dependencies` component is responsible to track the list of dependencies a project has, and then used by project types as the model for rendering project-specific dependency manifests such as the dependencies section `package.json` files.
@@ -6293,6 +6404,77 @@ Name | Type | Description
6293
6404
 
6294
6405
 
6295
6406
 
6407
+ ## class Bundler 🔹 <a id="projen-javascript-bundler"></a>
6408
+
6409
+ Adds support for bundling JavaScript applications and dependencies into a single file.
6410
+
6411
+ __Submodule__: javascript
6412
+
6413
+ __Extends__: [Component](#projen-component)
6414
+
6415
+ ### Initializer
6416
+
6417
+
6418
+ Creates a `Bundler`.
6419
+
6420
+ ```ts
6421
+ new javascript.Bundler(project: Project, options: BundlerOptions)
6422
+ ```
6423
+
6424
+ * **project** (<code>[Project](#projen-project)</code>) *No description*
6425
+ * **options** (<code>[javascript.BundlerOptions](#projen-javascript-bundleroptions)</code>) *No description*
6426
+ * **esbuildVersion** (<code>string</code>) The semantic version requirement for `esbuild`. __*Default*__: no specific version (implies latest)
6427
+ * **parentTask** (<code>[tasks.Task](#projen-tasks-task)</code>) A parent task that will spawn the "bundle" task (usually "compile").
6428
+
6429
+
6430
+
6431
+ ### Properties
6432
+
6433
+
6434
+ Name | Type | Description
6435
+ -----|------|-------------
6436
+ **bundleTask**🔹 | <code>[tasks.Task](#projen-tasks-task)</code> | Gets or creates the singleton "bundle" task of the project.
6437
+ **esbuildVersion**?🔹 | <code>string</code> | __*Optional*__
6438
+
6439
+ ### Methods
6440
+
6441
+
6442
+ #### addBundle(name, options)🔹 <a id="projen-javascript-bundler-addbundle"></a>
6443
+
6444
+ Adds a task to the project which bundles a specific entrypoint and all of its dependencies into a single javascript output file.
6445
+
6446
+ ```ts
6447
+ addBundle(name: string, options: BundleOptions): Task
6448
+ ```
6449
+
6450
+ * **name** (<code>string</code>) The name of the artifact (the task will be named `bundle:$name`).
6451
+ * **options** (<code>[javascript.BundleOptions](#projen-javascript-bundleoptions)</code>) Bundling options.
6452
+ * **entrypoint** (<code>string</code>) The entrypoint of the code you wish to bundle.
6453
+ * **outfile** (<code>string</code>) This option sets the output file name for the build operation.
6454
+ * **platform** (<code>string</code>) esbuild platform.
6455
+ * **target** (<code>string</code>) esbuild target.
6456
+ * **externals** (<code>Array<string></code>) You can mark a file or a package as external to exclude it from your build. __*Default*__: []
6457
+ * **sourcemap** (<code>boolean</code>) Include a source map in the bundle. __*Default*__: true
6458
+ * **watchTask** (<code>boolean</code>) In addition to the `bundle:xyz` task, creates `bundle:xyz:watch` task which will invoke the same esbuild command with the `--watch` flag. __*Default*__: true
6459
+
6460
+ __Returns__:
6461
+ * <code>[tasks.Task](#projen-tasks-task)</code>
6462
+
6463
+ #### *static* of(project)🔹 <a id="projen-javascript-bundler-of"></a>
6464
+
6465
+ Returns the `Bundler` instance associated with a project or `undefined` if there is no Bundler.
6466
+
6467
+ ```ts
6468
+ static of(project: Project): Bundler
6469
+ ```
6470
+
6471
+ * **project** (<code>[Project](#projen-project)</code>) The project.
6472
+
6473
+ __Returns__:
6474
+ * <code>[javascript.Bundler](#projen-javascript-bundler)</code>
6475
+
6476
+
6477
+
6296
6478
  ## class NpmConfig 🔹 <a id="projen-javascript-npmconfig"></a>
6297
6479
 
6298
6480
  File representing the local NPM config in .npmrc.
@@ -7138,6 +7320,7 @@ publishToNpm(options?: NpmPublishOptions): void
7138
7320
  ```
7139
7321
 
7140
7322
  * **options** (<code>[release.NpmPublishOptions](#projen-release-npmpublishoptions)</code>) Options.
7323
+ * **codeArtifactOptions** (<code>[release.CodeArtifactOptions](#projen-release-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
7141
7324
  * **distTag** (<code>string</code>) Tags can be used to provide an alias instead of version numbers. __*Default*__: "latest"
7142
7325
  * **npmTokenSecret** (<code>string</code>) GitHub secret which contains the NPM token to use when publishing packages. __*Default*__: "NPM_TOKEN" or "GITHUB_TOKEN" if `registry` is set to `npm.pkg.github.com`.
7143
7326
  * **registry** (<code>string</code>) The domain name of the npm package registry. __*Default*__: "registry.npmjs.org"
@@ -8016,6 +8199,7 @@ new web.NextJsProject(options: NextJsProjectOptions)
8016
8199
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
8017
8200
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
8018
8201
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
8202
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
8019
8203
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
8020
8204
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
8021
8205
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -8060,6 +8244,7 @@ new web.NextJsProject(options: NextJsProjectOptions)
8060
8244
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
8061
8245
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
8062
8246
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
8247
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
8063
8248
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
8064
8249
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
8065
8250
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -8154,6 +8339,7 @@ new web.NextJsTypeScriptProject(options: NextJsTypeScriptProjectOptions)
8154
8339
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
8155
8340
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
8156
8341
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
8342
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
8157
8343
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
8158
8344
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
8159
8345
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -8198,6 +8384,7 @@ new web.NextJsTypeScriptProject(options: NextJsTypeScriptProjectOptions)
8198
8384
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
8199
8385
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
8200
8386
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
8387
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
8201
8388
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
8202
8389
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
8203
8390
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -8366,6 +8553,7 @@ new web.ReactProject(options: ReactProjectOptions)
8366
8553
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
8367
8554
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
8368
8555
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
8556
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
8369
8557
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
8370
8558
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
8371
8559
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -8410,6 +8598,7 @@ new web.ReactProject(options: ReactProjectOptions)
8410
8598
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
8411
8599
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
8412
8600
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
8601
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
8413
8602
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
8414
8603
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
8415
8604
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -8545,6 +8734,7 @@ new web.ReactTypeScriptProject(options: ReactTypeScriptProjectOptions)
8545
8734
  * **autoDetectBin** (<code>boolean</code>) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. __*Default*__: true
8546
8735
  * **bin** (<code>Map<string, string></code>) Binary programs vended with your module. __*Optional*__
8547
8736
  * **bundledDeps** (<code>Array<string></code>) List of dependencies to bundle into this module. __*Optional*__
8737
+ * **codeArtifactOptions** (<code>[CodeArtifactOptions](#projen-codeartifactoptions)</code>) Options for publishing npm package to AWS CodeArtifact. __*Default*__: undefined
8548
8738
  * **deps** (<code>Array<string></code>) Runtime dependencies of this module. __*Default*__: []
8549
8739
  * **description** (<code>string</code>) The description is just a string that helps people understand the purpose of the package. __*Optional*__
8550
8740
  * **devDeps** (<code>Array<string></code>) Build dependencies for this module. __*Default*__: []
@@ -8589,6 +8779,7 @@ new web.ReactTypeScriptProject(options: ReactTypeScriptProjectOptions)
8589
8779
  * **autoApproveProjenUpgrades** (<code>boolean</code>) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: false
8590
8780
  * **autoApproveUpgrades** (<code>boolean</code>) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). __*Default*__: true
8591
8781
  * **buildWorkflow** (<code>boolean</code>) Define a GitHub workflow for building PRs. __*Default*__: true if not a subproject
8782
+ * **bundlerOptions** (<code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code>) Options for `Bundler`. __*Optional*__
8592
8783
  * **codeCov** (<code>boolean</code>) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret. __*Default*__: false
8593
8784
  * **codeCovTokenSecret** (<code>string</code>) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. __*Default*__: if this option is not specified, only public repositories are supported
8594
8785
  * **copyrightOwner** (<code>string</code>) License copyright owner. __*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -8717,6 +8908,7 @@ Name | Type | Description
8717
8908
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
8718
8909
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
8719
8910
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
8911
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
8720
8912
  **catalog**?🔹 | <code>[Catalog](#projen-catalog)</code> | Libraries will be picked up by the construct catalog when they are published to npm as jsii modules and will be published under:.<br/>__*Default*__: new version will be announced
8721
8913
  **cdkAssert**?🔹 | <code>boolean</code> | Install the @aws-cdk/assert library?<br/>__*Default*__: true
8722
8914
  **cdkDependencies**?🔹 | <code>Array<string></code> | Which AWS CDK modules (those that start with "@aws-cdk/") does this library require when consumed?<br/>__*Optional*__
@@ -8724,6 +8916,7 @@ Name | Type | Description
8724
8916
  **cdkTestDependencies**?🔹 | <code>Array<string></code> | AWS CDK modules required for testing.<br/>__*Optional*__
8725
8917
  **cdkVersionPinning**?🔹 | <code>boolean</code> | Use pinned version instead of caret version for CDK.<br/>__*Default*__: false
8726
8918
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
8919
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
8727
8920
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
8728
8921
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
8729
8922
  **compat**?🔹 | <code>boolean</code> | Automatically run API compatibility test against the latest version published to npm after compilation.<br/>__*Default*__: false
@@ -8758,6 +8951,8 @@ Name | Type | Description
8758
8951
  **jestOptions**?🔹 | <code>[JestOptions](#projen-jestoptions)</code> | Jest options.<br/>__*Default*__: default options
8759
8952
  **jsiiReleaseVersion**?🔹 | <code>string</code> | Version requirement of `jsii-release` which is used to publish modules to npm.<br/>__*Default*__: "latest"
8760
8953
  **keywords**?🔹 | <code>Array<string></code> | Keywords to include in `package.json`.<br/>__*Optional*__
8954
+ **lambdaAutoDiscover**?🔹 | <code>boolean</code> | Automatically adds an `aws_lambda.Function` for each `.lambda.ts` handler in your source tree. If this is disabled, you either need to explicitly call `aws_lambda.Function.autoDiscover()` or define a `new aws_lambda.Function()` for each handler.<br/>__*Default*__: true
8955
+ **lambdaOptions**?🔹 | <code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code> | Common options for all AWS Lambda functions.<br/>__*Default*__: default options
8761
8956
  **libdir**?🔹 | <code>string</code> | Typescript artifacts output directory.<br/>__*Default*__: "lib"
8762
8957
  **license**?🔹 | <code>string</code> | License's SPDX identifier.<br/>__*Default*__: "Apache-2.0"
8763
8958
  **licensed**?🔹 | <code>boolean</code> | Indicates if a license should be added.<br/>__*Default*__: true
@@ -8868,10 +9063,12 @@ Name | Type | Description
8868
9063
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
8869
9064
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
8870
9065
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
9066
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
8871
9067
  **cdkDependencies**?🔹 | <code>Array<string></code> | Which AWS CDK modules (those that start with "@aws-cdk/") this app uses.<br/>__*Optional*__
8872
9068
  **cdkVersionPinning**?🔹 | <code>boolean</code> | Use pinned version instead of caret version for CDK.<br/>__*Default*__: false
8873
9069
  **cdkout**?🔹 | <code>string</code> | cdk.out directory.<br/>__*Default*__: "cdk.out"
8874
9070
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
9071
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
8875
9072
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
8876
9073
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
8877
9074
  **compileBeforeTest**?🔹 | <code>boolean</code> | Compile the code before running tests.<br/>__*Default*__: if `testdir` is under `src/**`, the default is `true`, otherwise the default is `false`.
@@ -8903,6 +9100,8 @@ Name | Type | Description
8903
9100
  **jestOptions**?🔹 | <code>[JestOptions](#projen-jestoptions)</code> | Jest options.<br/>__*Default*__: default options
8904
9101
  **jsiiReleaseVersion**?🔹 | <code>string</code> | Version requirement of `jsii-release` which is used to publish modules to npm.<br/>__*Default*__: "latest"
8905
9102
  **keywords**?🔹 | <code>Array<string></code> | Keywords to include in `package.json`.<br/>__*Optional*__
9103
+ **lambdaAutoDiscover**?🔹 | <code>boolean</code> | Automatically adds an `awscdk.LambdaFunction` for each `.lambda.ts` handler in your source tree. If this is disabled, you can manually add an `awscdk.AutoDiscover` component to your project.<br/>__*Default*__: true
9104
+ **lambdaOptions**?🔹 | <code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code> | Common options for all AWS Lambda functions.<br/>__*Default*__: default options
8906
9105
  **libdir**?🔹 | <code>string</code> | Typescript artifacts output directory.<br/>__*Default*__: "lib"
8907
9106
  **license**?🔹 | <code>string</code> | License's SPDX identifier.<br/>__*Default*__: "Apache-2.0"
8908
9107
  **licensed**?🔹 | <code>boolean</code> | Indicates if a license should be added.<br/>__*Default*__: true
@@ -9022,12 +9221,14 @@ Name | Type | Description
9022
9221
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
9023
9222
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
9024
9223
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
9224
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
9025
9225
  **cdk8sCliVersion**?🔹 | <code>string</code> | cdk8s-cli version.<br/>__*Default*__: "cdk8sVersion"
9026
9226
  **cdk8sCliVersionPinning**?🔹 | <code>boolean</code> | Use pinned version instead of caret version for CDK8s-cli.<br/>__*Default*__: false
9027
9227
  **cdk8sPlusVersion**?🔹 | <code>string</code> | cdk8s-plus-17 version.<br/>__*Default*__: "cdk8sVersion"
9028
9228
  **cdk8sPlusVersionPinning**?🔹 | <code>boolean</code> | Use pinned version instead of caret version for cdk8s-plus-17.<br/>__*Default*__: false
9029
9229
  **cdk8sVersionPinning**?🔹 | <code>boolean</code> | Use pinned version instead of caret version for CDK8s.<br/>__*Default*__: false
9030
9230
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
9231
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
9031
9232
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
9032
9233
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
9033
9234
  **compileBeforeTest**?🔹 | <code>boolean</code> | Compile the code before running tests.<br/>__*Default*__: if `testdir` is under `src/**`, the default is `true`, otherwise the default is `false`.
@@ -9135,6 +9336,20 @@ Name | Type | Description
9135
9336
 
9136
9337
 
9137
9338
 
9339
+ ## struct CodeArtifactOptions 🔹 <a id="projen-codeartifactoptions"></a>
9340
+
9341
+
9342
+
9343
+
9344
+
9345
+
9346
+ Name | Type | Description
9347
+ -----|------|-------------
9348
+ **accessKeyIdSecret**?🔹 | <code>string</code> | GitHub secret which contains the AWS access key ID to use when publishing packages to AWS CodeArtifact.<br/>__*Default*__: "AWS_ACCESS_KEY_ID"
9349
+ **secretAccessKeySecret**?🔹 | <code>string</code> | GitHub secret which contains the AWS secret access key to use when publishing packages to AWS CodeArtifact.<br/>__*Default*__: "AWS_SECRET_ACCESS_KEY"
9350
+
9351
+
9352
+
9138
9353
  ## struct ConstructLibraryAwsOptions ⚠️ <a id="projen-constructlibraryawsoptions"></a>
9139
9354
 
9140
9355
 
@@ -9165,6 +9380,7 @@ Name | Type | Description
9165
9380
  **bin**?⚠️ | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
9166
9381
  **buildWorkflow**?⚠️ | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
9167
9382
  **bundledDeps**?⚠️ | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
9383
+ **bundlerOptions**?⚠️ | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
9168
9384
  **catalog**?⚠️ | <code>[Catalog](#projen-catalog)</code> | Libraries will be picked up by the construct catalog when they are published to npm as jsii modules and will be published under:.<br/>__*Default*__: new version will be announced
9169
9385
  **cdkAssert**?⚠️ | <code>boolean</code> | Install the @aws-cdk/assert library?<br/>__*Default*__: true
9170
9386
  **cdkDependencies**?⚠️ | <code>Array<string></code> | Which AWS CDK modules (those that start with "@aws-cdk/") does this library require when consumed?<br/>__*Optional*__
@@ -9172,6 +9388,7 @@ Name | Type | Description
9172
9388
  **cdkTestDependencies**?⚠️ | <code>Array<string></code> | AWS CDK modules required for testing.<br/>__*Optional*__
9173
9389
  **cdkVersionPinning**?⚠️ | <code>boolean</code> | Use pinned version instead of caret version for CDK.<br/>__*Default*__: false
9174
9390
  **clobber**?⚠️ | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
9391
+ **codeArtifactOptions**?⚠️ | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
9175
9392
  **codeCov**?⚠️ | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
9176
9393
  **codeCovTokenSecret**?⚠️ | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
9177
9394
  **compat**?⚠️ | <code>boolean</code> | Automatically run API compatibility test against the latest version published to npm after compilation.<br/>__*Default*__: false
@@ -9206,6 +9423,8 @@ Name | Type | Description
9206
9423
  **jestOptions**?⚠️ | <code>[JestOptions](#projen-jestoptions)</code> | Jest options.<br/>__*Default*__: default options
9207
9424
  **jsiiReleaseVersion**?⚠️ | <code>string</code> | Version requirement of `jsii-release` which is used to publish modules to npm.<br/>__*Default*__: "latest"
9208
9425
  **keywords**?⚠️ | <code>Array<string></code> | Keywords to include in `package.json`.<br/>__*Optional*__
9426
+ **lambdaAutoDiscover**?⚠️ | <code>boolean</code> | Automatically adds an `aws_lambda.Function` for each `.lambda.ts` handler in your source tree. If this is disabled, you either need to explicitly call `aws_lambda.Function.autoDiscover()` or define a `new aws_lambda.Function()` for each handler.<br/>__*Default*__: true
9427
+ **lambdaOptions**?⚠️ | <code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code> | Common options for all AWS Lambda functions.<br/>__*Default*__: default options
9209
9428
  **libdir**?⚠️ | <code>string</code> | Typescript artifacts output directory.<br/>__*Default*__: "lib"
9210
9429
  **license**?⚠️ | <code>string</code> | License's SPDX identifier.<br/>__*Default*__: "Apache-2.0"
9211
9430
  **licensed**?⚠️ | <code>boolean</code> | Indicates if a license should be added.<br/>__*Default*__: true
@@ -9318,11 +9537,13 @@ Name | Type | Description
9318
9537
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
9319
9538
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
9320
9539
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
9540
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
9321
9541
  **catalog**?🔹 | <code>[Catalog](#projen-catalog)</code> | Libraries will be picked up by the construct catalog when they are published to npm as jsii modules and will be published under:.<br/>__*Default*__: new version will be announced
9322
9542
  **cdk8sPlusVersion**?🔹 | <code>string</code> | cdk8s-plus-17 version.<br/>__*Default*__: "cdk8sVersion"
9323
9543
  **cdk8sPlusVersionPinning**?🔹 | <code>boolean</code> | Use pinned version instead of caret version for cdk8s-plus-17.<br/>__*Default*__: false
9324
9544
  **cdk8sVersionPinning**?🔹 | <code>boolean</code> | Use pinned version instead of caret version for CDK8s.<br/>__*Default*__: false
9325
9545
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
9546
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
9326
9547
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
9327
9548
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
9328
9549
  **compat**?🔹 | <code>boolean</code> | Automatically run API compatibility test against the latest version published to npm after compilation.<br/>__*Default*__: false
@@ -9470,8 +9691,10 @@ Name | Type | Description
9470
9691
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
9471
9692
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
9472
9693
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
9694
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
9473
9695
  **catalog**?🔹 | <code>[Catalog](#projen-catalog)</code> | Libraries will be picked up by the construct catalog when they are published to npm as jsii modules and will be published under:.<br/>__*Default*__: new version will be announced
9474
9696
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
9697
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
9475
9698
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
9476
9699
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
9477
9700
  **compat**?🔹 | <code>boolean</code> | Automatically run API compatibility test against the latest version published to npm after compilation.<br/>__*Default*__: false
@@ -9616,8 +9839,10 @@ Name | Type | Description
9616
9839
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
9617
9840
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
9618
9841
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
9842
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
9619
9843
  **catalog**?🔹 | <code>[Catalog](#projen-catalog)</code> | Libraries will be picked up by the construct catalog when they are published to npm as jsii modules and will be published under:.<br/>__*Default*__: new version will be announced
9620
9844
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
9845
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
9621
9846
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
9622
9847
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
9623
9848
  **compat**?🔹 | <code>boolean</code> | Automatically run API compatibility test against the latest version published to npm after compilation.<br/>__*Default*__: false
@@ -10449,7 +10674,9 @@ Name | Type | Description
10449
10674
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
10450
10675
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
10451
10676
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
10677
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
10452
10678
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
10679
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
10453
10680
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
10454
10681
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
10455
10682
  **compat**?🔹 | <code>boolean</code> | Automatically run API compatibility test against the latest version published to npm after compilation.<br/>__*Default*__: false
@@ -10683,6 +10910,7 @@ Name | Type | Description
10683
10910
  **autoDetectBin**?🔹 | <code>boolean</code> | Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section.<br/>__*Default*__: true
10684
10911
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
10685
10912
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
10913
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
10686
10914
  **deps**?🔹 | <code>Array<string></code> | Runtime dependencies of this module.<br/>__*Default*__: []
10687
10915
  **description**?🔹 | <code>string</code> | The description is just a string that helps people understand the purpose of the package.<br/>__*Optional*__
10688
10916
  **devDeps**?🔹 | <code>Array<string></code> | Build dependencies for this module.<br/>__*Default*__: []
@@ -10736,7 +10964,9 @@ Name | Type | Description
10736
10964
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
10737
10965
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
10738
10966
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
10967
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
10739
10968
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
10969
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
10740
10970
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
10741
10971
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
10742
10972
  **copyrightOwner**?🔹 | <code>string</code> | License copyright owner.<br/>__*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -11084,7 +11314,9 @@ Name | Type | Description
11084
11314
  **bin**?⚠️ | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
11085
11315
  **buildWorkflow**?⚠️ | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
11086
11316
  **bundledDeps**?⚠️ | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
11317
+ **bundlerOptions**?⚠️ | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
11087
11318
  **clobber**?⚠️ | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
11319
+ **codeArtifactOptions**?⚠️ | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
11088
11320
  **codeCov**?⚠️ | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
11089
11321
  **codeCovTokenSecret**?⚠️ | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
11090
11322
  **compileBeforeTest**?⚠️ | <code>boolean</code> | Compile the code before running tests.<br/>__*Default*__: if `testdir` is under `src/**`, the default is `true`, otherwise the default is `false`.
@@ -11216,7 +11448,9 @@ Name | Type | Description
11216
11448
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
11217
11449
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
11218
11450
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
11451
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
11219
11452
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
11453
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
11220
11454
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
11221
11455
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
11222
11456
  **compileBeforeTest**?🔹 | <code>boolean</code> | Compile the code before running tests.<br/>__*Default*__: if `testdir` is under `src/**`, the default is `true`, otherwise the default is `false`.
@@ -11429,6 +11663,21 @@ Name | Type | Description
11429
11663
 
11430
11664
 
11431
11665
 
11666
+ ## struct AutoDiscoverOptions 🔹 <a id="projen-awscdk-autodiscoveroptions"></a>
11667
+
11668
+
11669
+ Options for `AutoDiscover`.
11670
+
11671
+
11672
+
11673
+ Name | Type | Description
11674
+ -----|------|-------------
11675
+ **libdir**🔹 | <code>string</code> | Output directory (where .js files go).
11676
+ **srcdir**🔹 | <code>string</code> | Project source tree (relative to project output directory).
11677
+ **lambdaOptions**?🔹 | <code>[awscdk.LambdaFunctionCommonOptions](#projen-awscdk-lambdafunctioncommonoptions)</code> | Options for auto-discovery of AWS Lambda functions.<br/>__*Optional*__
11678
+
11679
+
11680
+
11432
11681
  ## struct AwsCdkJavaAppOptions 🔹 <a id="projen-awscdk-awscdkjavaappoptions"></a>
11433
11682
 
11434
11683
 
@@ -11517,6 +11766,42 @@ Name | Type | Description
11517
11766
 
11518
11767
 
11519
11768
 
11769
+ ## struct LambdaFunctionCommonOptions 🔹 <a id="projen-awscdk-lambdafunctioncommonoptions"></a>
11770
+
11771
+
11772
+ Common options for `LambdaFunction`.
11773
+
11774
+ Applies to all functions in
11775
+ auto-discovery.
11776
+
11777
+
11778
+
11779
+ Name | Type | Description
11780
+ -----|------|-------------
11781
+ **externals**?🔹 | <code>Array<string></code> | Names of modules which should not be included in the bundle.<br/>__*Default*__: by default, the "aws-sdk" module will be excluded from the bundle. Note that if you use this option you will need to add "aws-sdk" explicitly.
11782
+ **runtime**?🔹 | <code>[awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)</code> | The node.js version to target.<br/>__*Default*__: Runtime.NODEJS_14_X
11783
+
11784
+
11785
+
11786
+ ## struct LambdaFunctionOptions 🔹 <a id="projen-awscdk-lambdafunctionoptions"></a>
11787
+
11788
+
11789
+ Options for `Function`.
11790
+
11791
+
11792
+
11793
+ Name | Type | Description
11794
+ -----|------|-------------
11795
+ **entrypoint**🔹 | <code>string</code> | A path from the project root directory to a TypeScript file which contains the AWS Lambda handler entrypoint (exports a `handler` function).
11796
+ **libdir**🔹 | <code>string</code> | JavaScript output directory (where .js files go).
11797
+ **srcdir**🔹 | <code>string</code> | Project source directory tree (where .ts files live).
11798
+ **constructFile**?🔹 | <code>string</code> | The name of the generated TypeScript source file.<br/>__*Default*__: The name of the entrypoint file, with the `-function.ts` suffix instead of `.lambda.ts`.
11799
+ **constructName**?🔹 | <code>string</code> | The name of the generated `lambda.Function` subclass.<br/>__*Default*__: A pascal cased version of the name of the entrypoint file, with the extension `Function` (e.g. `ResizeImageFunction`).
11800
+ **externals**?🔹 | <code>Array<string></code> | Names of modules which should not be included in the bundle.<br/>__*Default*__: by default, the "aws-sdk" module will be excluded from the bundle. Note that if you use this option you will need to add "aws-sdk" explicitly.
11801
+ **runtime**?🔹 | <code>[awscdk.LambdaRuntime](#projen-awscdk-lambdaruntime)</code> | The node.js version to target.<br/>__*Default*__: Runtime.NODEJS_14_X
11802
+
11803
+
11804
+
11520
11805
  ## struct Dependency 🔹 <a id="projen-deps-dependency"></a>
11521
11806
 
11522
11807
  __Obtainable from__: [Dependencies](#projen-deps-dependencies).[addDependency](#projen-deps-dependencies#projen-deps-dependencies-adddependency)(), [Dependencies](#projen-deps-dependencies).[getDependency](#projen-deps-dependencies#projen-deps-dependencies-getdependency)(), [JavaProject](#projen-java-javaproject).[addPlugin](#projen-java-javaproject#projen-java-javaproject-addplugin)(), [Pom](#projen-java-pom).[addPlugin](#projen-java-pom#projen-java-pom-addplugin)()
@@ -12018,6 +12303,52 @@ Name | Type | Description
12018
12303
 
12019
12304
 
12020
12305
 
12306
+ ## struct BundleOptions 🔹 <a id="projen-javascript-bundleoptions"></a>
12307
+
12308
+
12309
+ Options for bundling.
12310
+
12311
+
12312
+
12313
+ Name | Type | Description
12314
+ -----|------|-------------
12315
+ **entrypoint**🔹 | <code>string</code> | The entrypoint of the code you wish to bundle.
12316
+ **outfile**🔹 | <code>string</code> | This option sets the output file name for the build operation.
12317
+ **platform**🔹 | <code>string</code> | esbuild platform.
12318
+ **target**🔹 | <code>string</code> | esbuild target.
12319
+ **externals**?🔹 | <code>Array<string></code> | You can mark a file or a package as external to exclude it from your build.<br/>__*Default*__: []
12320
+ **sourcemap**?🔹 | <code>boolean</code> | Include a source map in the bundle.<br/>__*Default*__: true
12321
+ **watchTask**?🔹 | <code>boolean</code> | In addition to the `bundle:xyz` task, creates `bundle:xyz:watch` task which will invoke the same esbuild command with the `--watch` flag.<br/>__*Default*__: true
12322
+
12323
+
12324
+
12325
+ ## struct BundlerCommonOptions 🔹 <a id="projen-javascript-bundlercommonoptions"></a>
12326
+
12327
+
12328
+ Common options for `Bundler`.
12329
+
12330
+
12331
+
12332
+ Name | Type | Description
12333
+ -----|------|-------------
12334
+ **esbuildVersion**?🔹 | <code>string</code> | The semantic version requirement for `esbuild`.<br/>__*Default*__: no specific version (implies latest)
12335
+
12336
+
12337
+
12338
+ ## struct BundlerOptions 🔹 <a id="projen-javascript-bundleroptions"></a>
12339
+
12340
+
12341
+ Options for `Bundler`.
12342
+
12343
+
12344
+
12345
+ Name | Type | Description
12346
+ -----|------|-------------
12347
+ **parentTask**🔹 | <code>[tasks.Task](#projen-tasks-task)</code> | A parent task that will spawn the "bundle" task (usually "compile").
12348
+ **esbuildVersion**?🔹 | <code>string</code> | The semantic version requirement for `esbuild`.<br/>__*Default*__: no specific version (implies latest)
12349
+
12350
+
12351
+
12021
12352
  ## struct NpmConfigOptions 🔹 <a id="projen-javascript-npmconfigoptions"></a>
12022
12353
 
12023
12354
 
@@ -12409,6 +12740,20 @@ Name | Type | Description
12409
12740
 
12410
12741
 
12411
12742
 
12743
+ ## struct CodeArtifactOptions 🔹 <a id="projen-release-codeartifactoptions"></a>
12744
+
12745
+
12746
+
12747
+
12748
+
12749
+
12750
+ Name | Type | Description
12751
+ -----|------|-------------
12752
+ **accessKeyIdSecret**?🔹 | <code>string</code> | GitHub secret which contains the AWS access key ID to use when publishing packages to AWS CodeArtifact.<br/>__*Default*__: "AWS_ACCESS_KEY_ID"
12753
+ **secretAccessKeySecret**?🔹 | <code>string</code> | GitHub secret which contains the AWS secret access key to use when publishing packages to AWS CodeArtifact.<br/>__*Default*__: "AWS_SECRET_ACCESS_KEY"
12754
+
12755
+
12756
+
12412
12757
  ## struct GitHubReleasesPublishOptions 🔹 <a id="projen-release-githubreleasespublishoptions"></a>
12413
12758
 
12414
12759
 
@@ -12488,6 +12833,7 @@ Name | Type | Description
12488
12833
 
12489
12834
  Name | Type | Description
12490
12835
  -----|------|-------------
12836
+ **codeArtifactOptions**?⚠️ | <code>[release.CodeArtifactOptions](#projen-release-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
12491
12837
  **distTag**?⚠️ | <code>string</code> | Tags can be used to provide an alias instead of version numbers.<br/>__*Default*__: "latest"
12492
12838
  **npmTokenSecret**?⚠️ | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages.<br/>__*Default*__: "NPM_TOKEN" or "GITHUB_TOKEN" if `registry` is set to `npm.pkg.github.com`.
12493
12839
  **registry**?⚠️ | <code>string</code> | The domain name of the npm package registry.<br/>__*Default*__: "registry.npmjs.org"
@@ -12565,6 +12911,7 @@ Options for npm release.
12565
12911
 
12566
12912
  Name | Type | Description
12567
12913
  -----|------|-------------
12914
+ **codeArtifactOptions**?🔹 | <code>[release.CodeArtifactOptions](#projen-release-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
12568
12915
  **distTag**?🔹 | <code>string</code> | Tags can be used to provide an alias instead of version numbers.<br/>__*Default*__: "latest"
12569
12916
  **npmTokenSecret**?🔹 | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages.<br/>__*Default*__: "NPM_TOKEN" or "GITHUB_TOKEN" if `registry` is set to `npm.pkg.github.com`.
12570
12917
  **registry**?🔹 | <code>string</code> | The domain name of the npm package registry.<br/>__*Default*__: "registry.npmjs.org"
@@ -12939,7 +13286,9 @@ Name | Type | Description
12939
13286
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
12940
13287
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
12941
13288
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
13289
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
12942
13290
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
13291
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
12943
13292
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
12944
13293
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
12945
13294
  **copyrightOwner**?🔹 | <code>string</code> | License copyright owner.<br/>__*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -13057,7 +13406,9 @@ Name | Type | Description
13057
13406
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
13058
13407
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
13059
13408
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
13409
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
13060
13410
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
13411
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
13061
13412
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
13062
13413
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
13063
13414
  **compileBeforeTest**?🔹 | <code>boolean</code> | Compile the code before running tests.<br/>__*Default*__: if `testdir` is under `src/**`, the default is `true`, otherwise the default is `false`.
@@ -13219,7 +13570,9 @@ Name | Type | Description
13219
13570
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
13220
13571
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
13221
13572
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
13573
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
13222
13574
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
13575
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
13223
13576
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
13224
13577
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
13225
13578
  **copyrightOwner**?🔹 | <code>string</code> | License copyright owner.<br/>__*Default*__: defaults to the value of authorName or "" if `authorName` is undefined.
@@ -13365,7 +13718,9 @@ Name | Type | Description
13365
13718
  **bin**?🔹 | <code>Map<string, string></code> | Binary programs vended with your module.<br/>__*Optional*__
13366
13719
  **buildWorkflow**?🔹 | <code>boolean</code> | Define a GitHub workflow for building PRs.<br/>__*Default*__: true if not a subproject
13367
13720
  **bundledDeps**?🔹 | <code>Array<string></code> | List of dependencies to bundle into this module.<br/>__*Optional*__
13721
+ **bundlerOptions**?🔹 | <code>[javascript.BundlerCommonOptions](#projen-javascript-bundlercommonoptions)</code> | Options for `Bundler`.<br/>__*Optional*__
13368
13722
  **clobber**?🔹 | <code>boolean</code> | Add a `clobber` task which resets the repo to origin.<br/>__*Default*__: true
13723
+ **codeArtifactOptions**?🔹 | <code>[CodeArtifactOptions](#projen-codeartifactoptions)</code> | Options for publishing npm package to AWS CodeArtifact.<br/>__*Default*__: undefined
13369
13724
  **codeCov**?🔹 | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos. Configured with @codeCovTokenSecret.<br/>__*Default*__: false
13370
13725
  **codeCovTokenSecret**?🔹 | <code>string</code> | Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.<br/>__*Default*__: if this option is not specified, only public repositories are supported
13371
13726
  **compileBeforeTest**?🔹 | <code>boolean</code> | Compile the code before running tests.<br/>__*Default*__: if `testdir` is under `src/**`, the default is `true`, otherwise the default is `false`.