projen 0.32.0 → 0.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/.jsii +1073 -113
  2. package/API.md +348 -60
  3. package/docs/aws-lambda.md +103 -0
  4. package/lib/awscdk/auto-discover.d.ts +46 -0
  5. package/lib/awscdk/auto-discover.js +46 -0
  6. package/lib/awscdk/cdk-config.js +1 -1
  7. package/lib/awscdk/cdk-tasks.js +1 -1
  8. package/lib/awscdk/index.d.ts +2 -0
  9. package/lib/awscdk/index.js +3 -1
  10. package/lib/awscdk/internal.d.ts +4 -0
  11. package/lib/awscdk/internal.js +6 -2
  12. package/lib/awscdk/java-app.js +1 -1
  13. package/lib/awscdk/lambda-function.d.ts +146 -0
  14. package/lib/awscdk/lambda-function.js +160 -0
  15. package/lib/awscdk-app-ts.d.ts +15 -1
  16. package/lib/awscdk-app-ts.js +13 -5
  17. package/lib/awscdk-construct.d.ts +15 -58
  18. package/lib/awscdk-construct.js +13 -62
  19. package/lib/cdk8s-app-ts.js +1 -1
  20. package/lib/cdk8s-construct.js +1 -1
  21. package/lib/cdktf-construct.js +1 -1
  22. package/lib/component.js +1 -1
  23. package/lib/construct-lib.js +1 -1
  24. package/lib/deps/dependencies.js +1 -1
  25. package/lib/dev-env.js +1 -1
  26. package/lib/docker-compose.js +2 -2
  27. package/lib/eslint.d.ts +9 -0
  28. package/lib/eslint.js +16 -5
  29. package/lib/file.js +1 -1
  30. package/lib/git/gitattributes.js +1 -1
  31. package/lib/github/auto-approve.js +1 -1
  32. package/lib/github/auto-merge.js +1 -1
  33. package/lib/github/dependabot.js +1 -1
  34. package/lib/github/github.js +1 -1
  35. package/lib/github/mergify.js +1 -1
  36. package/lib/github/pr-template.js +1 -1
  37. package/lib/github/stale.js +1 -1
  38. package/lib/github/task-workflow.js +1 -1
  39. package/lib/github/workflows.js +4 -5
  40. package/lib/gitpod.js +1 -1
  41. package/lib/ignore-file.js +1 -1
  42. package/lib/index.js +1 -1
  43. package/lib/ini.js +1 -1
  44. package/lib/inventory.js +4 -5
  45. package/lib/java/java-project.js +1 -1
  46. package/lib/java/junit.js +1 -1
  47. package/lib/java/maven-compile.js +1 -1
  48. package/lib/java/maven-packaging.js +1 -1
  49. package/lib/java/maven-sample.js +1 -1
  50. package/lib/java/pom.js +1 -1
  51. package/lib/java/projenrc.js +1 -1
  52. package/lib/javascript/bundler.d.ts +144 -0
  53. package/lib/javascript/bundler.js +93 -0
  54. package/lib/javascript/index.d.ts +1 -0
  55. package/lib/javascript/index.js +2 -1
  56. package/lib/javascript/npm-config.js +1 -1
  57. package/lib/javascript/projenrc.js +1 -1
  58. package/lib/jest.js +1 -1
  59. package/lib/jsii-project.js +1 -1
  60. package/lib/json/projenrc.js +1 -1
  61. package/lib/json.js +1 -1
  62. package/lib/license.js +1 -1
  63. package/lib/logger.js +1 -1
  64. package/lib/makefile.js +1 -1
  65. package/lib/node-package.js +1 -1
  66. package/lib/node-project.d.ts +11 -1
  67. package/lib/node-project.js +9 -4
  68. package/lib/object-file.js +1 -1
  69. package/lib/project.js +2 -2
  70. package/lib/projects.js +1 -1
  71. package/lib/python/pip.js +1 -1
  72. package/lib/python/poetry.js +2 -2
  73. package/lib/python/projenrc.js +4 -5
  74. package/lib/python/pytest.js +1 -1
  75. package/lib/python/python-project.js +1 -1
  76. package/lib/python/python-sample.js +1 -1
  77. package/lib/python/requirements-file.js +1 -1
  78. package/lib/python/setuppy.js +1 -1
  79. package/lib/python/setuptools.js +1 -1
  80. package/lib/python/venv.js +1 -1
  81. package/lib/readme.js +1 -1
  82. package/lib/release/publisher.js +1 -1
  83. package/lib/release/release-trigger.js +1 -1
  84. package/lib/release/release.js +1 -1
  85. package/lib/sample-file.js +2 -2
  86. package/lib/semver.js +1 -1
  87. package/lib/source-code.js +1 -1
  88. package/lib/tasks/runtime.js +1 -1
  89. package/lib/tasks/task.js +1 -1
  90. package/lib/tasks/tasks.js +1 -1
  91. package/lib/textfile.js +1 -1
  92. package/lib/toml.js +1 -1
  93. package/lib/typescript/projenrc.js +1 -1
  94. package/lib/typescript-config.js +1 -1
  95. package/lib/typescript.js +3 -3
  96. package/lib/upgrade-dependencies.js +2 -2
  97. package/lib/util.js +11 -3
  98. package/lib/version.js +1 -1
  99. package/lib/vscode/devcontainer.js +1 -1
  100. package/lib/vscode/launch-config.js +1 -1
  101. package/lib/vscode/vscode.js +1 -1
  102. package/lib/web/next.js +3 -3
  103. package/lib/web/postcss.js +1 -1
  104. package/lib/web/react.js +4 -4
  105. package/lib/web/tailwind.js +1 -1
  106. package/lib/xmlfile.js +1 -1
  107. package/lib/yaml.js +1 -1
  108. package/node_modules/case/LICENSE +22 -0
  109. package/node_modules/case/README.md +139 -0
  110. package/node_modules/case/case.d.ts +43 -0
  111. package/node_modules/case/dist/Case.js +171 -0
  112. package/node_modules/case/dist/Case.min.js +5 -0
  113. package/node_modules/case/dist/Case.min.js.map +1 -0
  114. package/node_modules/case/dist/Case.plus.js +189 -0
  115. package/node_modules/case/dist/Case.plus.min.js +5 -0
  116. package/node_modules/case/dist/Case.plus.min.js.map +1 -0
  117. package/node_modules/case/package.json +58 -0
  118. package/package.json +3 -3
  119. package/node_modules/decamelize/index.d.ts +0 -20
  120. package/node_modules/decamelize/index.js +0 -12
  121. package/node_modules/decamelize/license +0 -9
  122. package/node_modules/decamelize/package.json +0 -40
  123. package/node_modules/decamelize/readme.md +0 -51
package/.jsii CHANGED
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "bundled": {
13
13
  "@iarna/toml": "^2.2.5",
14
+ "case": "^1.6.3",
14
15
  "chalk": "^4.1.2",
15
- "decamelize": "^4.0.0",
16
16
  "fs-extra": "^9.1.0",
17
17
  "glob": "^7",
18
18
  "ini": "^2.0.0",
@@ -158,7 +158,7 @@
158
158
  "kind": "enum",
159
159
  "locationInModule": {
160
160
  "filename": "src/node-project.ts",
161
- "line": 297
161
+ "line": 302
162
162
  },
163
163
  "members": [
164
164
  {
@@ -186,7 +186,7 @@
186
186
  "custom": {
187
187
  "pjid": "awscdk-construct"
188
188
  },
189
- "remarks": "A multi-language (jsii) construct library which vends constructs designed to\nuse within the AWS CDK with a friendly workflow and automatic publishing to\nthe construct catalog.\n\n```ts\nconst project = new ConstructLibraryAws({\n name: 'cdk-watchful',\n description: 'Watching your CDK apps since 2019',\n jsiiVersion: Semver.caret('1.7.0'),\n authorName: 'Elad Ben-Israel',\n authorEmail: 'elad.benisrael@gmail.com',\n repository: 'https://github.com/eladb/cdk-watchful.git',\n keywords: [\n \"cloudwatch\",\n \"monitoring\"\n ],\n\n catalog: {\n twitter: 'emeshbi'\n },\n\n // creates PRs for projen upgrades\n projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',\n\n cdkVersion: '1.54.0',\n cdkDependencies: [\n \"@aws-cdk/aws-apigateway\",\n \"@aws-cdk/aws-cloudwatch\",\n \"@aws-cdk/aws-cloudwatch-actions\",\n \"@aws-cdk/aws-dynamodb\",\n \"@aws-cdk/aws-ecs\",\n \"@aws-cdk/aws-ecs-patterns\",\n \"@aws-cdk/aws-elasticloadbalancingv2\",\n \"@aws-cdk/aws-events\",\n \"@aws-cdk/aws-events-targets\",\n \"@aws-cdk/aws-lambda\",\n \"@aws-cdk/aws-rds\",\n \"@aws-cdk/aws-sns\",\n \"@aws-cdk/aws-sns-subscriptions\",\n \"@aws-cdk/aws-sqs\",\n \"@aws-cdk/core\"\n ],\n devDependencies: {\n \"aws-sdk\": Semver.caret(\"2.708.0\")\n },\n\n // jsii publishing\n\n java: {\n javaPackage: 'io.github.cdklabs.watchful',\n mavenGroupId: 'io.github.cdklabs',\n mavenArtifactId: 'cdk-watchful'\n },\n python: {\n distName: 'cdk-watchful',\n module: 'cdk_watchful'\n }\n});\n\nproject.synth();\n```",
189
+ "remarks": "A multi-language (jsii) construct library which vends constructs designed to\nuse within the AWS CDK with a friendly workflow and automatic publishing to\nthe construct catalog.",
190
190
  "stability": "experimental",
191
191
  "summary": "AWS CDK construct library project."
192
192
  },
@@ -197,7 +197,7 @@
197
197
  },
198
198
  "locationInModule": {
199
199
  "filename": "src/awscdk-construct.ts",
200
- "line": 151
200
+ "line": 111
201
201
  },
202
202
  "parameters": [
203
203
  {
@@ -211,7 +211,7 @@
211
211
  "kind": "class",
212
212
  "locationInModule": {
213
213
  "filename": "src/awscdk-construct.ts",
214
- "line": 140
214
+ "line": 100
215
215
  },
216
216
  "methods": [
217
217
  {
@@ -222,7 +222,7 @@
222
222
  },
223
223
  "locationInModule": {
224
224
  "filename": "src/awscdk-construct.ts",
225
- "line": 209
225
+ "line": 178
226
226
  },
227
227
  "name": "addCdkDependencies",
228
228
  "parameters": [
@@ -246,7 +246,7 @@
246
246
  },
247
247
  "locationInModule": {
248
248
  "filename": "src/awscdk-construct.ts",
249
- "line": 225
249
+ "line": 194
250
250
  },
251
251
  "name": "addCdkTestDependencies",
252
252
  "parameters": [
@@ -274,7 +274,7 @@
274
274
  "immutable": true,
275
275
  "locationInModule": {
276
276
  "filename": "src/awscdk-construct.ts",
277
- "line": 149
277
+ "line": 109
278
278
  },
279
279
  "name": "cdkDependenciesAsDeps",
280
280
  "type": {
@@ -289,7 +289,7 @@
289
289
  "immutable": true,
290
290
  "locationInModule": {
291
291
  "filename": "src/awscdk-construct.ts",
292
- "line": 144
292
+ "line": 104
293
293
  },
294
294
  "name": "cdkVersion",
295
295
  "type": {
@@ -304,7 +304,7 @@
304
304
  "immutable": true,
305
305
  "locationInModule": {
306
306
  "filename": "src/awscdk-construct.ts",
307
- "line": 192
307
+ "line": 161
308
308
  },
309
309
  "name": "version",
310
310
  "type": {
@@ -328,7 +328,7 @@
328
328
  "kind": "interface",
329
329
  "locationInModule": {
330
330
  "filename": "src/awscdk-construct.ts",
331
- "line": 7
331
+ "line": 8
332
332
  },
333
333
  "name": "AwsCdkConstructLibraryOptions",
334
334
  "properties": [
@@ -345,7 +345,7 @@
345
345
  "immutable": true,
346
346
  "locationInModule": {
347
347
  "filename": "src/awscdk-construct.ts",
348
- "line": 14
348
+ "line": 15
349
349
  },
350
350
  "name": "cdkVersion",
351
351
  "type": {
@@ -362,7 +362,7 @@
362
362
  "immutable": true,
363
363
  "locationInModule": {
364
364
  "filename": "src/awscdk-construct.ts",
365
- "line": 64
365
+ "line": 65
366
366
  },
367
367
  "name": "cdkAssert",
368
368
  "optional": true,
@@ -382,7 +382,7 @@
382
382
  "immutable": true,
383
383
  "locationInModule": {
384
384
  "filename": "src/awscdk-construct.ts",
385
- "line": 45
385
+ "line": 46
386
386
  },
387
387
  "name": "cdkDependencies",
388
388
  "optional": true,
@@ -406,7 +406,7 @@
406
406
  "immutable": true,
407
407
  "locationInModule": {
408
408
  "filename": "src/awscdk-construct.ts",
409
- "line": 58
409
+ "line": 59
410
410
  },
411
411
  "name": "cdkDependenciesAsDeps",
412
412
  "optional": true,
@@ -426,7 +426,7 @@
426
426
  "immutable": true,
427
427
  "locationInModule": {
428
428
  "filename": "src/awscdk-construct.ts",
429
- "line": 70
429
+ "line": 71
430
430
  },
431
431
  "name": "cdkTestDependencies",
432
432
  "optional": true,
@@ -450,7 +450,7 @@
450
450
  "immutable": true,
451
451
  "locationInModule": {
452
452
  "filename": "src/awscdk-construct.ts",
453
- "line": 38
453
+ "line": 39
454
454
  },
455
455
  "name": "cdkVersionPinning",
456
456
  "optional": true,
@@ -469,13 +469,49 @@
469
469
  "immutable": true,
470
470
  "locationInModule": {
471
471
  "filename": "src/awscdk-construct.ts",
472
- "line": 28
472
+ "line": 29
473
473
  },
474
474
  "name": "constructsVersion",
475
475
  "optional": true,
476
476
  "type": {
477
477
  "primitive": "string"
478
478
  }
479
+ },
480
+ {
481
+ "abstract": true,
482
+ "docs": {
483
+ "default": "true",
484
+ "stability": "experimental",
485
+ "summary": "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."
486
+ },
487
+ "immutable": true,
488
+ "locationInModule": {
489
+ "filename": "src/awscdk-construct.ts",
490
+ "line": 81
491
+ },
492
+ "name": "lambdaAutoDiscover",
493
+ "optional": true,
494
+ "type": {
495
+ "primitive": "boolean"
496
+ }
497
+ },
498
+ {
499
+ "abstract": true,
500
+ "docs": {
501
+ "default": "- default options",
502
+ "stability": "experimental",
503
+ "summary": "Common options for all AWS Lambda functions."
504
+ },
505
+ "immutable": true,
506
+ "locationInModule": {
507
+ "filename": "src/awscdk-construct.ts",
508
+ "line": 88
509
+ },
510
+ "name": "lambdaOptions",
511
+ "optional": true,
512
+ "type": {
513
+ "fqn": "projen.awscdk.LambdaFunctionCommonOptions"
514
+ }
479
515
  }
480
516
  ],
481
517
  "symbolId": "src/awscdk-construct:AwsCdkConstructLibraryOptions"
@@ -497,7 +533,7 @@
497
533
  },
498
534
  "locationInModule": {
499
535
  "filename": "src/awscdk-app-ts.ts",
500
- "line": 69
536
+ "line": 85
501
537
  },
502
538
  "parameters": [
503
539
  {
@@ -511,7 +547,7 @@
511
547
  "kind": "class",
512
548
  "locationInModule": {
513
549
  "filename": "src/awscdk-app-ts.ts",
514
- "line": 48
550
+ "line": 64
515
551
  },
516
552
  "methods": [
517
553
  {
@@ -521,7 +557,7 @@
521
557
  },
522
558
  "locationInModule": {
523
559
  "filename": "src/awscdk-app-ts.ts",
524
- "line": 142
560
+ "line": 167
525
561
  },
526
562
  "name": "addCdkDependency",
527
563
  "parameters": [
@@ -549,7 +585,7 @@
549
585
  "immutable": true,
550
586
  "locationInModule": {
551
587
  "filename": "src/awscdk-app-ts.ts",
552
- "line": 57
588
+ "line": 73
553
589
  },
554
590
  "name": "appEntrypoint",
555
591
  "type": {
@@ -564,7 +600,7 @@
564
600
  "immutable": true,
565
601
  "locationInModule": {
566
602
  "filename": "src/awscdk-app-ts.ts",
567
- "line": 67
603
+ "line": 83
568
604
  },
569
605
  "name": "cdkConfig",
570
606
  "type": {
@@ -579,7 +615,7 @@
579
615
  "immutable": true,
580
616
  "locationInModule": {
581
617
  "filename": "src/awscdk-app-ts.ts",
582
- "line": 62
618
+ "line": 78
583
619
  },
584
620
  "name": "cdkTasks",
585
621
  "type": {
@@ -594,7 +630,7 @@
594
630
  "immutable": true,
595
631
  "locationInModule": {
596
632
  "filename": "src/awscdk-app-ts.ts",
597
- "line": 52
633
+ "line": 68
598
634
  },
599
635
  "name": "cdkVersion",
600
636
  "type": {
@@ -703,6 +739,42 @@
703
739
  "type": {
704
740
  "primitive": "boolean"
705
741
  }
742
+ },
743
+ {
744
+ "abstract": true,
745
+ "docs": {
746
+ "default": "true",
747
+ "stability": "experimental",
748
+ "summary": "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."
749
+ },
750
+ "immutable": true,
751
+ "locationInModule": {
752
+ "filename": "src/awscdk-app-ts.ts",
753
+ "line": 49
754
+ },
755
+ "name": "lambdaAutoDiscover",
756
+ "optional": true,
757
+ "type": {
758
+ "primitive": "boolean"
759
+ }
760
+ },
761
+ {
762
+ "abstract": true,
763
+ "docs": {
764
+ "default": "- default options",
765
+ "stability": "experimental",
766
+ "summary": "Common options for all AWS Lambda functions."
767
+ },
768
+ "immutable": true,
769
+ "locationInModule": {
770
+ "filename": "src/awscdk-app-ts.ts",
771
+ "line": 56
772
+ },
773
+ "name": "lambdaOptions",
774
+ "optional": true,
775
+ "type": {
776
+ "fqn": "projen.awscdk.LambdaFunctionCommonOptions"
777
+ }
706
778
  }
707
779
  ],
708
780
  "symbolId": "src/awscdk-app-ts:AwsCdkTypeScriptAppOptions"
@@ -1192,7 +1264,7 @@
1192
1264
  },
1193
1265
  "locationInModule": {
1194
1266
  "filename": "src/awscdk-construct.ts",
1195
- "line": 151
1267
+ "line": 111
1196
1268
  },
1197
1269
  "parameters": [
1198
1270
  {
@@ -1206,7 +1278,7 @@
1206
1278
  "kind": "class",
1207
1279
  "locationInModule": {
1208
1280
  "filename": "src/awscdk-construct.ts",
1209
- "line": 238
1281
+ "line": 207
1210
1282
  },
1211
1283
  "name": "ConstructLibraryAws",
1212
1284
  "symbolId": "src/awscdk-construct:ConstructLibraryAws"
@@ -1225,7 +1297,7 @@
1225
1297
  "kind": "interface",
1226
1298
  "locationInModule": {
1227
1299
  "filename": "src/awscdk-construct.ts",
1228
- "line": 235
1300
+ "line": 204
1229
1301
  },
1230
1302
  "name": "ConstructLibraryAwsOptions",
1231
1303
  "symbolId": "src/awscdk-construct:ConstructLibraryAwsOptions"
@@ -3159,7 +3231,8 @@
3159
3231
  "assembly": "projen",
3160
3232
  "base": "projen.Component",
3161
3233
  "docs": {
3162
- "stability": "experimental"
3234
+ "stability": "experimental",
3235
+ "summary": "Represents eslint configuration."
3163
3236
  },
3164
3237
  "fqn": "projen.Eslint",
3165
3238
  "initializer": {
@@ -3168,7 +3241,7 @@
3168
3241
  },
3169
3242
  "locationInModule": {
3170
3243
  "filename": "src/eslint.ts",
3171
- "line": 110
3244
+ "line": 123
3172
3245
  },
3173
3246
  "parameters": [
3174
3247
  {
@@ -3188,9 +3261,35 @@
3188
3261
  "kind": "class",
3189
3262
  "locationInModule": {
3190
3263
  "filename": "src/eslint.ts",
3191
- "line": 87
3264
+ "line": 91
3192
3265
  },
3193
3266
  "methods": [
3267
+ {
3268
+ "docs": {
3269
+ "stability": "experimental",
3270
+ "summary": "Returns the singletone Eslint component of a project or undefined if there is none."
3271
+ },
3272
+ "locationInModule": {
3273
+ "filename": "src/eslint.ts",
3274
+ "line": 96
3275
+ },
3276
+ "name": "of",
3277
+ "parameters": [
3278
+ {
3279
+ "name": "project",
3280
+ "type": {
3281
+ "fqn": "projen.Project"
3282
+ }
3283
+ }
3284
+ ],
3285
+ "returns": {
3286
+ "optional": true,
3287
+ "type": {
3288
+ "fqn": "projen.Eslint"
3289
+ }
3290
+ },
3291
+ "static": true
3292
+ },
3194
3293
  {
3195
3294
  "docs": {
3196
3295
  "stability": "experimental",
@@ -3198,7 +3297,7 @@
3198
3297
  },
3199
3298
  "locationInModule": {
3200
3299
  "filename": "src/eslint.ts",
3201
- "line": 372
3300
+ "line": 385
3202
3301
  },
3203
3302
  "name": "addIgnorePattern",
3204
3303
  "parameters": [
@@ -3217,7 +3316,7 @@
3217
3316
  },
3218
3317
  "locationInModule": {
3219
3318
  "filename": "src/eslint.ts",
3220
- "line": 365
3319
+ "line": 378
3221
3320
  },
3222
3321
  "name": "addOverride",
3223
3322
  "parameters": [
@@ -3236,7 +3335,7 @@
3236
3335
  },
3237
3336
  "locationInModule": {
3238
3337
  "filename": "src/eslint.ts",
3239
- "line": 356
3338
+ "line": 369
3240
3339
  },
3241
3340
  "name": "addRules",
3242
3341
  "parameters": [
@@ -3260,7 +3359,7 @@
3260
3359
  },
3261
3360
  "locationInModule": {
3262
3361
  "filename": "src/eslint.ts",
3263
- "line": 380
3362
+ "line": 393
3264
3363
  },
3265
3364
  "name": "allowDevDeps",
3266
3365
  "parameters": [
@@ -3286,7 +3385,7 @@
3286
3385
  "immutable": true,
3287
3386
  "locationInModule": {
3288
3387
  "filename": "src/eslint.ts",
3289
- "line": 101
3388
+ "line": 114
3290
3389
  },
3291
3390
  "name": "config",
3292
3391
  "type": {
@@ -3301,7 +3400,7 @@
3301
3400
  "immutable": true,
3302
3401
  "locationInModule": {
3303
3402
  "filename": "src/eslint.ts",
3304
- "line": 106
3403
+ "line": 119
3305
3404
  },
3306
3405
  "name": "ignorePatterns",
3307
3406
  "type": {
@@ -3321,7 +3420,7 @@
3321
3420
  "immutable": true,
3322
3421
  "locationInModule": {
3323
3422
  "filename": "src/eslint.ts",
3324
- "line": 96
3423
+ "line": 109
3325
3424
  },
3326
3425
  "name": "overrides",
3327
3426
  "type": {
@@ -3341,7 +3440,7 @@
3341
3440
  "immutable": true,
3342
3441
  "locationInModule": {
3343
3442
  "filename": "src/eslint.ts",
3344
- "line": 91
3443
+ "line": 104
3345
3444
  },
3346
3445
  "name": "rules",
3347
3446
  "type": {
@@ -3371,7 +3470,7 @@
3371
3470
  "kind": "interface",
3372
3471
  "locationInModule": {
3373
3472
  "filename": "src/eslint.ts",
3374
- "line": 7
3473
+ "line": 8
3375
3474
  },
3376
3475
  "name": "EslintOptions",
3377
3476
  "properties": [
@@ -3384,7 +3483,7 @@
3384
3483
  "immutable": true,
3385
3484
  "locationInModule": {
3386
3485
  "filename": "src/eslint.ts",
3387
- "line": 17
3486
+ "line": 18
3388
3487
  },
3389
3488
  "name": "dirs",
3390
3489
  "type": {
@@ -3406,7 +3505,7 @@
3406
3505
  "immutable": true,
3407
3506
  "locationInModule": {
3408
3507
  "filename": "src/eslint.ts",
3409
- "line": 62
3508
+ "line": 63
3410
3509
  },
3411
3510
  "name": "aliasExtensions",
3412
3511
  "optional": true,
@@ -3429,7 +3528,7 @@
3429
3528
  "immutable": true,
3430
3529
  "locationInModule": {
3431
3530
  "filename": "src/eslint.ts",
3432
- "line": 56
3531
+ "line": 57
3433
3532
  },
3434
3533
  "name": "aliasMap",
3435
3534
  "optional": true,
@@ -3453,7 +3552,7 @@
3453
3552
  "immutable": true,
3454
3553
  "locationInModule": {
3455
3554
  "filename": "src/eslint.ts",
3456
- "line": 24
3555
+ "line": 25
3457
3556
  },
3458
3557
  "name": "devdirs",
3459
3558
  "optional": true,
@@ -3476,7 +3575,7 @@
3476
3575
  "immutable": true,
3477
3576
  "locationInModule": {
3478
3577
  "filename": "src/eslint.ts",
3479
- "line": 30
3578
+ "line": 31
3480
3579
  },
3481
3580
  "name": "fileExtensions",
3482
3581
  "optional": true,
@@ -3499,7 +3598,7 @@
3499
3598
  "immutable": true,
3500
3599
  "locationInModule": {
3501
3600
  "filename": "src/eslint.ts",
3502
- "line": 38
3601
+ "line": 39
3503
3602
  },
3504
3603
  "name": "ignorePatterns",
3505
3604
  "optional": true,
@@ -3522,7 +3621,7 @@
3522
3621
  "immutable": true,
3523
3622
  "locationInModule": {
3524
3623
  "filename": "src/eslint.ts",
3525
- "line": 44
3624
+ "line": 45
3526
3625
  },
3527
3626
  "name": "lintProjenRc",
3528
3627
  "optional": true,
@@ -3540,7 +3639,7 @@
3540
3639
  "immutable": true,
3541
3640
  "locationInModule": {
3542
3641
  "filename": "src/eslint.ts",
3543
- "line": 50
3642
+ "line": 51
3544
3643
  },
3545
3644
  "name": "prettier",
3546
3645
  "optional": true,
@@ -3559,7 +3658,7 @@
3559
3658
  "immutable": true,
3560
3659
  "locationInModule": {
3561
3660
  "filename": "src/eslint.ts",
3562
- "line": 69
3661
+ "line": 70
3563
3662
  },
3564
3663
  "name": "tsAlwaysTryTypes",
3565
3664
  "optional": true,
@@ -3577,7 +3676,7 @@
3577
3676
  "immutable": true,
3578
3677
  "locationInModule": {
3579
3678
  "filename": "src/eslint.ts",
3580
- "line": 12
3679
+ "line": 13
3581
3680
  },
3582
3681
  "name": "tsconfigPath",
3583
3682
  "optional": true,
@@ -3599,7 +3698,7 @@
3599
3698
  "kind": "interface",
3600
3699
  "locationInModule": {
3601
3700
  "filename": "src/eslint.ts",
3602
- "line": 75
3701
+ "line": 76
3603
3702
  },
3604
3703
  "name": "EslintOverride",
3605
3704
  "properties": [
@@ -3612,7 +3711,7 @@
3612
3711
  "immutable": true,
3613
3712
  "locationInModule": {
3614
3713
  "filename": "src/eslint.ts",
3615
- "line": 79
3714
+ "line": 80
3616
3715
  },
3617
3716
  "name": "files",
3618
3717
  "type": {
@@ -3633,7 +3732,7 @@
3633
3732
  "immutable": true,
3634
3733
  "locationInModule": {
3635
3734
  "filename": "src/eslint.ts",
3636
- "line": 84
3735
+ "line": 85
3637
3736
  },
3638
3737
  "name": "rules",
3639
3738
  "type": {
@@ -10400,7 +10499,7 @@
10400
10499
  },
10401
10500
  "locationInModule": {
10402
10501
  "filename": "src/node-project.ts",
10403
- "line": 432
10502
+ "line": 439
10404
10503
  },
10405
10504
  "parameters": [
10406
10505
  {
@@ -10414,7 +10513,7 @@
10414
10513
  "kind": "class",
10415
10514
  "locationInModule": {
10416
10515
  "filename": "src/node-project.ts",
10417
- "line": 312
10516
+ "line": 317
10418
10517
  },
10419
10518
  "methods": [
10420
10519
  {
@@ -10423,7 +10522,7 @@
10423
10522
  },
10424
10523
  "locationInModule": {
10425
10524
  "filename": "src/node-project.ts",
10426
- "line": 784
10525
+ "line": 797
10427
10526
  },
10428
10527
  "name": "addBins",
10429
10528
  "parameters": [
@@ -10448,7 +10547,7 @@
10448
10547
  },
10449
10548
  "locationInModule": {
10450
10549
  "filename": "src/node-project.ts",
10451
- "line": 838
10550
+ "line": 851
10452
10551
  },
10453
10552
  "name": "addBuildCommand",
10454
10553
  "parameters": [
@@ -10470,7 +10569,7 @@
10470
10569
  },
10471
10570
  "locationInModule": {
10472
10571
  "filename": "src/node-project.ts",
10473
- "line": 947
10572
+ "line": 960
10474
10573
  },
10475
10574
  "name": "addBundledDeps",
10476
10575
  "parameters": [
@@ -10496,7 +10595,7 @@
10496
10595
  },
10497
10596
  "locationInModule": {
10498
10597
  "filename": "src/node-project.ts",
10499
- "line": 818
10598
+ "line": 831
10500
10599
  },
10501
10600
  "name": "addCompileCommand",
10502
10601
  "parameters": [
@@ -10517,7 +10616,7 @@
10517
10616
  },
10518
10617
  "locationInModule": {
10519
10618
  "filename": "src/node-project.ts",
10520
- "line": 901
10619
+ "line": 914
10521
10620
  },
10522
10621
  "name": "addDeps",
10523
10622
  "parameters": [
@@ -10542,7 +10641,7 @@
10542
10641
  },
10543
10642
  "locationInModule": {
10544
10643
  "filename": "src/node-project.ts",
10545
- "line": 914
10644
+ "line": 927
10546
10645
  },
10547
10646
  "name": "addDevDeps",
10548
10647
  "parameters": [
@@ -10567,7 +10666,7 @@
10567
10666
  },
10568
10667
  "locationInModule": {
10569
10668
  "filename": "src/node-project.ts",
10570
- "line": 848
10669
+ "line": 861
10571
10670
  },
10572
10671
  "name": "addFields",
10573
10672
  "parameters": [
@@ -10594,7 +10693,7 @@
10594
10693
  },
10595
10694
  "locationInModule": {
10596
10695
  "filename": "src/node-project.ts",
10597
- "line": 858
10696
+ "line": 871
10598
10697
  },
10599
10698
  "name": "addKeywords",
10600
10699
  "parameters": [
@@ -10619,7 +10718,7 @@
10619
10718
  },
10620
10719
  "locationInModule": {
10621
10720
  "filename": "src/node-project.ts",
10622
- "line": 951
10721
+ "line": 964
10623
10722
  },
10624
10723
  "name": "addPackageIgnore",
10625
10724
  "overrides": "projen.Project",
@@ -10640,7 +10739,7 @@
10640
10739
  },
10641
10740
  "locationInModule": {
10642
10741
  "filename": "src/node-project.ts",
10643
- "line": 931
10742
+ "line": 944
10644
10743
  },
10645
10744
  "name": "addPeerDeps",
10646
10745
  "parameters": [
@@ -10666,7 +10765,7 @@
10666
10765
  },
10667
10766
  "locationInModule": {
10668
10767
  "filename": "src/node-project.ts",
10669
- "line": 828
10768
+ "line": 841
10670
10769
  },
10671
10770
  "name": "addTestCommand",
10672
10771
  "parameters": [
@@ -10687,7 +10786,7 @@
10687
10786
  },
10688
10787
  "locationInModule": {
10689
10788
  "filename": "src/node-project.ts",
10690
- "line": 810
10789
+ "line": 823
10691
10790
  },
10692
10791
  "name": "hasScript",
10693
10792
  "parameters": [
@@ -10714,7 +10813,7 @@
10714
10813
  },
10715
10814
  "locationInModule": {
10716
10815
  "filename": "src/node-project.ts",
10717
- "line": 802
10816
+ "line": 815
10718
10817
  },
10719
10818
  "name": "removeScript",
10720
10819
  "parameters": [
@@ -10737,7 +10836,7 @@
10737
10836
  },
10738
10837
  "locationInModule": {
10739
10838
  "filename": "src/node-project.ts",
10740
- "line": 1025
10839
+ "line": 1038
10741
10840
  },
10742
10841
  "name": "runTaskCommand",
10743
10842
  "overrides": "projen.Project",
@@ -10765,7 +10864,7 @@
10765
10864
  },
10766
10865
  "locationInModule": {
10767
10866
  "filename": "src/node-project.ts",
10768
- "line": 794
10867
+ "line": 807
10769
10868
  },
10770
10869
  "name": "setScript",
10771
10870
  "parameters": [
@@ -10800,7 +10899,7 @@
10800
10899
  "immutable": true,
10801
10900
  "locationInModule": {
10802
10901
  "filename": "src/node-project.ts",
10803
- "line": 326
10902
+ "line": 331
10804
10903
  },
10805
10904
  "name": "allowLibraryDependencies",
10806
10905
  "type": {
@@ -10815,7 +10914,7 @@
10815
10914
  "immutable": true,
10816
10915
  "locationInModule": {
10817
10916
  "filename": "src/node-project.ts",
10818
- "line": 388
10917
+ "line": 393
10819
10918
  },
10820
10919
  "name": "antitamper",
10821
10920
  "type": {
@@ -10831,13 +10930,27 @@
10831
10930
  "immutable": true,
10832
10931
  "locationInModule": {
10833
10932
  "filename": "src/node-project.ts",
10834
- "line": 346
10933
+ "line": 351
10835
10934
  },
10836
10935
  "name": "buildTask",
10837
10936
  "type": {
10838
10937
  "fqn": "projen.tasks.Task"
10839
10938
  }
10840
10939
  },
10940
+ {
10941
+ "docs": {
10942
+ "stability": "experimental"
10943
+ },
10944
+ "immutable": true,
10945
+ "locationInModule": {
10946
+ "filename": "src/node-project.ts",
10947
+ "line": 434
10948
+ },
10949
+ "name": "bundler",
10950
+ "type": {
10951
+ "fqn": "projen.javascript.Bundler"
10952
+ }
10953
+ },
10841
10954
  {
10842
10955
  "docs": {
10843
10956
  "remarks": "By default for node.js projects this task is empty.",
@@ -10847,7 +10960,7 @@
10847
10960
  "immutable": true,
10848
10961
  "locationInModule": {
10849
10962
  "filename": "src/node-project.ts",
10850
- "line": 336
10963
+ "line": 341
10851
10964
  },
10852
10965
  "name": "compileTask",
10853
10966
  "type": {
@@ -10862,7 +10975,7 @@
10862
10975
  "immutable": true,
10863
10976
  "locationInModule": {
10864
10977
  "filename": "src/node-project.ts",
10865
- "line": 331
10978
+ "line": 336
10866
10979
  },
10867
10980
  "name": "entrypoint",
10868
10981
  "type": {
@@ -10876,7 +10989,7 @@
10876
10989
  "immutable": true,
10877
10990
  "locationInModule": {
10878
10991
  "filename": "src/node-project.ts",
10879
- "line": 862
10992
+ "line": 875
10880
10993
  },
10881
10994
  "name": "installWorkflowSteps",
10882
10995
  "type": {
@@ -10896,7 +11009,7 @@
10896
11009
  "immutable": true,
10897
11010
  "locationInModule": {
10898
11011
  "filename": "src/node-project.ts",
10899
- "line": 425
11012
+ "line": 430
10900
11013
  },
10901
11014
  "name": "manifest",
10902
11015
  "type": {
@@ -10911,7 +11024,7 @@
10911
11024
  "immutable": true,
10912
11025
  "locationInModule": {
10913
11026
  "filename": "src/node-project.ts",
10914
- "line": 393
11027
+ "line": 398
10915
11028
  },
10916
11029
  "name": "npmDistTag",
10917
11030
  "protected": true,
@@ -10927,7 +11040,7 @@
10927
11040
  "immutable": true,
10928
11041
  "locationInModule": {
10929
11042
  "filename": "src/node-project.ts",
10930
- "line": 398
11043
+ "line": 403
10931
11044
  },
10932
11045
  "name": "npmRegistry",
10933
11046
  "protected": true,
@@ -10943,7 +11056,7 @@
10943
11056
  "immutable": true,
10944
11057
  "locationInModule": {
10945
11058
  "filename": "src/node-project.ts",
10946
- "line": 316
11059
+ "line": 321
10947
11060
  },
10948
11061
  "name": "package",
10949
11062
  "type": {
@@ -10959,7 +11072,7 @@
10959
11072
  "immutable": true,
10960
11073
  "locationInModule": {
10961
11074
  "filename": "src/node-project.ts",
10962
- "line": 405
11075
+ "line": 410
10963
11076
  },
10964
11077
  "name": "packageManager",
10965
11078
  "type": {
@@ -10974,7 +11087,7 @@
10974
11087
  "immutable": true,
10975
11088
  "locationInModule": {
10976
11089
  "filename": "src/node-project.ts",
10977
- "line": 420
11090
+ "line": 425
10978
11091
  },
10979
11092
  "name": "projenCommand",
10980
11093
  "type": {
@@ -10989,7 +11102,7 @@
10989
11102
  "immutable": true,
10990
11103
  "locationInModule": {
10991
11104
  "filename": "src/node-project.ts",
10992
- "line": 410
11105
+ "line": 415
10993
11106
  },
10994
11107
  "name": "runScriptCommand",
10995
11108
  "type": {
@@ -11004,7 +11117,7 @@
11004
11117
  "immutable": true,
11005
11118
  "locationInModule": {
11006
11119
  "filename": "src/node-project.ts",
11007
- "line": 341
11120
+ "line": 346
11008
11121
  },
11009
11122
  "name": "testTask",
11010
11123
  "type": {
@@ -11019,7 +11132,7 @@
11019
11132
  "immutable": true,
11020
11133
  "locationInModule": {
11021
11134
  "filename": "src/node-project.ts",
11022
- "line": 351
11135
+ "line": 356
11023
11136
  },
11024
11137
  "name": "autoMerge",
11025
11138
  "optional": true,
@@ -11036,7 +11149,7 @@
11036
11149
  "immutable": true,
11037
11150
  "locationInModule": {
11038
11151
  "filename": "src/node-project.ts",
11039
- "line": 357
11152
+ "line": 362
11040
11153
  },
11041
11154
  "name": "buildWorkflow",
11042
11155
  "optional": true,
@@ -11051,7 +11164,7 @@
11051
11164
  "immutable": true,
11052
11165
  "locationInModule": {
11053
11166
  "filename": "src/node-project.ts",
11054
- "line": 358
11167
+ "line": 363
11055
11168
  },
11056
11169
  "name": "buildWorkflowJobId",
11057
11170
  "optional": true,
@@ -11067,7 +11180,7 @@
11067
11180
  "immutable": true,
11068
11181
  "locationInModule": {
11069
11182
  "filename": "src/node-project.ts",
11070
- "line": 415
11183
+ "line": 420
11071
11184
  },
11072
11185
  "name": "jest",
11073
11186
  "optional": true,
@@ -11083,7 +11196,7 @@
11083
11196
  "immutable": true,
11084
11197
  "locationInModule": {
11085
11198
  "filename": "src/node-project.ts",
11086
- "line": 381
11199
+ "line": 386
11087
11200
  },
11088
11201
  "name": "maxNodeVersion",
11089
11202
  "optional": true,
@@ -11099,7 +11212,7 @@
11099
11212
  "immutable": true,
11100
11213
  "locationInModule": {
11101
11214
  "filename": "src/node-project.ts",
11102
- "line": 376
11215
+ "line": 381
11103
11216
  },
11104
11217
  "name": "minNodeVersion",
11105
11218
  "optional": true,
@@ -11115,7 +11228,7 @@
11115
11228
  "immutable": true,
11116
11229
  "locationInModule": {
11117
11230
  "filename": "src/node-project.ts",
11118
- "line": 321
11231
+ "line": 326
11119
11232
  },
11120
11233
  "name": "npmignore",
11121
11234
  "optional": true,
@@ -11133,7 +11246,7 @@
11133
11246
  "immutable": true,
11134
11247
  "locationInModule": {
11135
11248
  "filename": "src/node-project.ts",
11136
- "line": 366
11249
+ "line": 371
11137
11250
  },
11138
11251
  "name": "publisher",
11139
11252
  "optional": true,
@@ -11149,7 +11262,7 @@
11149
11262
  "immutable": true,
11150
11263
  "locationInModule": {
11151
11264
  "filename": "src/node-project.ts",
11152
- "line": 371
11265
+ "line": 376
11153
11266
  },
11154
11267
  "name": "release",
11155
11268
  "optional": true,
@@ -11252,6 +11365,23 @@
11252
11365
  "primitive": "boolean"
11253
11366
  }
11254
11367
  },
11368
+ {
11369
+ "abstract": true,
11370
+ "docs": {
11371
+ "stability": "experimental",
11372
+ "summary": "Options for `Bundler`."
11373
+ },
11374
+ "immutable": true,
11375
+ "locationInModule": {
11376
+ "filename": "src/node-project.ts",
11377
+ "line": 296
11378
+ },
11379
+ "name": "bundlerOptions",
11380
+ "optional": true,
11381
+ "type": {
11382
+ "fqn": "projen.javascript.BundlerCommonOptions"
11383
+ }
11384
+ },
11255
11385
  {
11256
11386
  "abstract": true,
11257
11387
  "docs": {
@@ -11858,7 +11988,7 @@
11858
11988
  "kind": "interface",
11859
11989
  "locationInModule": {
11860
11990
  "filename": "src/node-project.ts",
11861
- "line": 1030
11991
+ "line": 1043
11862
11992
  },
11863
11993
  "name": "NodeWorkflowSteps",
11864
11994
  "properties": [
@@ -11870,7 +12000,7 @@
11870
12000
  "immutable": true,
11871
12001
  "locationInModule": {
11872
12002
  "filename": "src/node-project.ts",
11873
- "line": 1031
12003
+ "line": 1044
11874
12004
  },
11875
12005
  "name": "antitamper",
11876
12006
  "type": {
@@ -11890,7 +12020,7 @@
11890
12020
  "immutable": true,
11891
12021
  "locationInModule": {
11892
12022
  "filename": "src/node-project.ts",
11893
- "line": 1032
12023
+ "line": 1045
11894
12024
  },
11895
12025
  "name": "install",
11896
12026
  "type": {
@@ -16791,6 +16921,128 @@
16791
16921
  "namespace": "awscdk",
16792
16922
  "symbolId": "src/awscdk/cdk-config:ApprovalLevel"
16793
16923
  },
16924
+ "projen.awscdk.AutoDiscover": {
16925
+ "assembly": "projen",
16926
+ "base": "projen.Component",
16927
+ "docs": {
16928
+ "stability": "experimental",
16929
+ "summary": "Automatically creates a `LambdaFunction` for all `.lambda.ts` files under the source directory of the project."
16930
+ },
16931
+ "fqn": "projen.awscdk.AutoDiscover",
16932
+ "initializer": {
16933
+ "docs": {
16934
+ "stability": "experimental"
16935
+ },
16936
+ "locationInModule": {
16937
+ "filename": "src/awscdk/auto-discover.ts",
16938
+ "line": 35
16939
+ },
16940
+ "parameters": [
16941
+ {
16942
+ "name": "project",
16943
+ "type": {
16944
+ "fqn": "projen.Project"
16945
+ }
16946
+ },
16947
+ {
16948
+ "name": "options",
16949
+ "type": {
16950
+ "fqn": "projen.awscdk.AutoDiscoverOptions"
16951
+ }
16952
+ }
16953
+ ]
16954
+ },
16955
+ "kind": "class",
16956
+ "locationInModule": {
16957
+ "filename": "src/awscdk/auto-discover.ts",
16958
+ "line": 32
16959
+ },
16960
+ "methods": [
16961
+ {
16962
+ "docs": {
16963
+ "stability": "experimental",
16964
+ "summary": "Called before synthesis."
16965
+ },
16966
+ "locationInModule": {
16967
+ "filename": "src/awscdk/auto-discover.ts",
16968
+ "line": 41
16969
+ },
16970
+ "name": "preSynthesize",
16971
+ "overrides": "projen.Component"
16972
+ }
16973
+ ],
16974
+ "name": "AutoDiscover",
16975
+ "namespace": "awscdk",
16976
+ "symbolId": "src/awscdk/auto-discover:AutoDiscover"
16977
+ },
16978
+ "projen.awscdk.AutoDiscoverOptions": {
16979
+ "assembly": "projen",
16980
+ "datatype": true,
16981
+ "docs": {
16982
+ "stability": "experimental",
16983
+ "summary": "Options for `AutoDiscover`."
16984
+ },
16985
+ "fqn": "projen.awscdk.AutoDiscoverOptions",
16986
+ "kind": "interface",
16987
+ "locationInModule": {
16988
+ "filename": "src/awscdk/auto-discover.ts",
16989
+ "line": 11
16990
+ },
16991
+ "name": "AutoDiscoverOptions",
16992
+ "namespace": "awscdk",
16993
+ "properties": [
16994
+ {
16995
+ "abstract": true,
16996
+ "docs": {
16997
+ "stability": "experimental",
16998
+ "summary": "Output directory (where .js files go)."
16999
+ },
17000
+ "immutable": true,
17001
+ "locationInModule": {
17002
+ "filename": "src/awscdk/auto-discover.ts",
17003
+ "line": 25
17004
+ },
17005
+ "name": "libdir",
17006
+ "type": {
17007
+ "primitive": "string"
17008
+ }
17009
+ },
17010
+ {
17011
+ "abstract": true,
17012
+ "docs": {
17013
+ "stability": "experimental",
17014
+ "summary": "Project source tree (relative to project output directory)."
17015
+ },
17016
+ "immutable": true,
17017
+ "locationInModule": {
17018
+ "filename": "src/awscdk/auto-discover.ts",
17019
+ "line": 20
17020
+ },
17021
+ "name": "srcdir",
17022
+ "type": {
17023
+ "primitive": "string"
17024
+ }
17025
+ },
17026
+ {
17027
+ "abstract": true,
17028
+ "docs": {
17029
+ "stability": "experimental",
17030
+ "summary": "Options for auto-discovery of AWS Lambda functions."
17031
+ },
17032
+ "immutable": true,
17033
+ "locationInModule": {
17034
+ "filename": "src/awscdk/auto-discover.ts",
17035
+ "line": 15
17036
+ },
17037
+ "name": "lambdaOptions",
17038
+ "optional": true,
17039
+ "type": {
17040
+ "fqn": "projen.awscdk.LambdaFunctionCommonOptions"
17041
+ }
17042
+ }
17043
+ ],
17044
+ "symbolId": "src/awscdk/auto-discover:AutoDiscoverOptions"
17045
+ },
16794
17046
  "projen.awscdk.AwsCdkJavaApp": {
16795
17047
  "assembly": "projen",
16796
17048
  "base": "projen.java.JavaProject",
@@ -17331,6 +17583,352 @@
17331
17583
  ],
17332
17584
  "symbolId": "src/awscdk/cdk-tasks:CdkTasks"
17333
17585
  },
17586
+ "projen.awscdk.LambdaFunction": {
17587
+ "assembly": "projen",
17588
+ "base": "projen.Component",
17589
+ "docs": {
17590
+ "example": "new LambdaFunction(myProject, {\n entrypoint: 'src/foo.lambda.ts',\n srcdir: myProject.srcdir,\n libdir: myProject.libdir,\n});",
17591
+ "remarks": "To use this, create an AWS Lambda handler file under your source tree with\nthe `.lambda.ts` extension and add a `LambdaFunction` component to your\ntypescript project pointing to this entrypoint.\n\nThis will add a task to your \"compile\" step which will use `esbuild` to\nbundle the handler code into the build directory. It will also generate a\nfile `src/foo-function.ts` with a custom AWS construct called `FooFunction`\nwhich extends `@aws-cdk/aws-lambda.Function` which is bound to the bundled\nhandle through an asset.",
17592
+ "stability": "experimental",
17593
+ "summary": "Generates a pre-bundled AWS Lambda function construct from handler code."
17594
+ },
17595
+ "fqn": "projen.awscdk.LambdaFunction",
17596
+ "initializer": {
17597
+ "docs": {
17598
+ "stability": "experimental",
17599
+ "summary": "Defines a pre-bundled AWS Lambda function construct from handler code."
17600
+ },
17601
+ "locationInModule": {
17602
+ "filename": "src/awscdk/lambda-function.ts",
17603
+ "line": 103
17604
+ },
17605
+ "parameters": [
17606
+ {
17607
+ "docs": {
17608
+ "summary": "The project to use."
17609
+ },
17610
+ "name": "project",
17611
+ "type": {
17612
+ "fqn": "projen.Project"
17613
+ }
17614
+ },
17615
+ {
17616
+ "docs": {
17617
+ "summary": "Options."
17618
+ },
17619
+ "name": "options",
17620
+ "type": {
17621
+ "fqn": "projen.awscdk.LambdaFunctionOptions"
17622
+ }
17623
+ }
17624
+ ]
17625
+ },
17626
+ "kind": "class",
17627
+ "locationInModule": {
17628
+ "filename": "src/awscdk/lambda-function.ts",
17629
+ "line": 91
17630
+ },
17631
+ "name": "LambdaFunction",
17632
+ "namespace": "awscdk",
17633
+ "properties": [
17634
+ {
17635
+ "docs": {
17636
+ "stability": "experimental",
17637
+ "summary": "The bundle task for this function."
17638
+ },
17639
+ "immutable": true,
17640
+ "locationInModule": {
17641
+ "filename": "src/awscdk/lambda-function.ts",
17642
+ "line": 95
17643
+ },
17644
+ "name": "bundleTask",
17645
+ "type": {
17646
+ "fqn": "projen.tasks.Task"
17647
+ }
17648
+ }
17649
+ ],
17650
+ "symbolId": "src/awscdk/lambda-function:LambdaFunction"
17651
+ },
17652
+ "projen.awscdk.LambdaFunctionCommonOptions": {
17653
+ "assembly": "projen",
17654
+ "datatype": true,
17655
+ "docs": {
17656
+ "remarks": "Applies to all functions in\nauto-discovery.",
17657
+ "stability": "experimental",
17658
+ "summary": "Common options for `LambdaFunction`."
17659
+ },
17660
+ "fqn": "projen.awscdk.LambdaFunctionCommonOptions",
17661
+ "kind": "interface",
17662
+ "locationInModule": {
17663
+ "filename": "src/awscdk/lambda-function.ts",
17664
+ "line": 15
17665
+ },
17666
+ "name": "LambdaFunctionCommonOptions",
17667
+ "namespace": "awscdk",
17668
+ "properties": [
17669
+ {
17670
+ "abstract": true,
17671
+ "docs": {
17672
+ "default": "- by default, the \"aws-sdk\" module will be excluded from the\nbundle. Note that if you use this option you will need to add \"aws-sdk\"\nexplicitly.",
17673
+ "stability": "experimental",
17674
+ "summary": "Names of modules which should not be included in the bundle."
17675
+ },
17676
+ "immutable": true,
17677
+ "locationInModule": {
17678
+ "filename": "src/awscdk/lambda-function.ts",
17679
+ "line": 30
17680
+ },
17681
+ "name": "externals",
17682
+ "optional": true,
17683
+ "type": {
17684
+ "collection": {
17685
+ "elementtype": {
17686
+ "primitive": "string"
17687
+ },
17688
+ "kind": "array"
17689
+ }
17690
+ }
17691
+ },
17692
+ {
17693
+ "abstract": true,
17694
+ "docs": {
17695
+ "default": "Runtime.NODEJS_14_X",
17696
+ "stability": "experimental",
17697
+ "summary": "The node.js version to target."
17698
+ },
17699
+ "immutable": true,
17700
+ "locationInModule": {
17701
+ "filename": "src/awscdk/lambda-function.ts",
17702
+ "line": 21
17703
+ },
17704
+ "name": "runtime",
17705
+ "optional": true,
17706
+ "type": {
17707
+ "fqn": "projen.awscdk.LambdaRuntime"
17708
+ }
17709
+ }
17710
+ ],
17711
+ "symbolId": "src/awscdk/lambda-function:LambdaFunctionCommonOptions"
17712
+ },
17713
+ "projen.awscdk.LambdaFunctionOptions": {
17714
+ "assembly": "projen",
17715
+ "datatype": true,
17716
+ "docs": {
17717
+ "stability": "experimental",
17718
+ "summary": "Options for `Function`."
17719
+ },
17720
+ "fqn": "projen.awscdk.LambdaFunctionOptions",
17721
+ "interfaces": [
17722
+ "projen.awscdk.LambdaFunctionCommonOptions"
17723
+ ],
17724
+ "kind": "interface",
17725
+ "locationInModule": {
17726
+ "filename": "src/awscdk/lambda-function.ts",
17727
+ "line": 36
17728
+ },
17729
+ "name": "LambdaFunctionOptions",
17730
+ "namespace": "awscdk",
17731
+ "properties": [
17732
+ {
17733
+ "abstract": true,
17734
+ "docs": {
17735
+ "stability": "experimental",
17736
+ "summary": "A path from the project root directory to a TypeScript file which contains the AWS Lambda handler entrypoint (exports a `handler` function)."
17737
+ },
17738
+ "immutable": true,
17739
+ "locationInModule": {
17740
+ "filename": "src/awscdk/lambda-function.ts",
17741
+ "line": 41
17742
+ },
17743
+ "name": "entrypoint",
17744
+ "type": {
17745
+ "primitive": "string"
17746
+ }
17747
+ },
17748
+ {
17749
+ "abstract": true,
17750
+ "docs": {
17751
+ "stability": "experimental",
17752
+ "summary": "JavaScript output directory (where .js files go)."
17753
+ },
17754
+ "immutable": true,
17755
+ "locationInModule": {
17756
+ "filename": "src/awscdk/lambda-function.ts",
17757
+ "line": 67
17758
+ },
17759
+ "name": "libdir",
17760
+ "type": {
17761
+ "primitive": "string"
17762
+ }
17763
+ },
17764
+ {
17765
+ "abstract": true,
17766
+ "docs": {
17767
+ "stability": "experimental",
17768
+ "summary": "Project source directory tree (where .ts files live)."
17769
+ },
17770
+ "immutable": true,
17771
+ "locationInModule": {
17772
+ "filename": "src/awscdk/lambda-function.ts",
17773
+ "line": 62
17774
+ },
17775
+ "name": "srcdir",
17776
+ "type": {
17777
+ "primitive": "string"
17778
+ }
17779
+ },
17780
+ {
17781
+ "abstract": true,
17782
+ "docs": {
17783
+ "default": "- The name of the entrypoint file, with the `-function.ts` suffix\ninstead of `.lambda.ts`.",
17784
+ "stability": "experimental",
17785
+ "summary": "The name of the generated TypeScript source file."
17786
+ },
17787
+ "immutable": true,
17788
+ "locationInModule": {
17789
+ "filename": "src/awscdk/lambda-function.ts",
17790
+ "line": 49
17791
+ },
17792
+ "name": "constructFile",
17793
+ "optional": true,
17794
+ "type": {
17795
+ "primitive": "string"
17796
+ }
17797
+ },
17798
+ {
17799
+ "abstract": true,
17800
+ "docs": {
17801
+ "default": "- A pascal cased version of the name of the entrypoint file, with\nthe extension `Function` (e.g. `ResizeImageFunction`).",
17802
+ "stability": "experimental",
17803
+ "summary": "The name of the generated `lambda.Function` subclass."
17804
+ },
17805
+ "immutable": true,
17806
+ "locationInModule": {
17807
+ "filename": "src/awscdk/lambda-function.ts",
17808
+ "line": 57
17809
+ },
17810
+ "name": "constructName",
17811
+ "optional": true,
17812
+ "type": {
17813
+ "primitive": "string"
17814
+ }
17815
+ }
17816
+ ],
17817
+ "symbolId": "src/awscdk/lambda-function:LambdaFunctionOptions"
17818
+ },
17819
+ "projen.awscdk.LambdaRuntime": {
17820
+ "assembly": "projen",
17821
+ "docs": {
17822
+ "stability": "experimental",
17823
+ "summary": "The runtime for the AWS Lambda function."
17824
+ },
17825
+ "fqn": "projen.awscdk.LambdaRuntime",
17826
+ "kind": "class",
17827
+ "locationInModule": {
17828
+ "filename": "src/awscdk/lambda-function.ts",
17829
+ "line": 189
17830
+ },
17831
+ "name": "LambdaRuntime",
17832
+ "namespace": "awscdk",
17833
+ "properties": [
17834
+ {
17835
+ "const": true,
17836
+ "docs": {
17837
+ "stability": "experimental",
17838
+ "summary": "Node.js 10.x."
17839
+ },
17840
+ "immutable": true,
17841
+ "locationInModule": {
17842
+ "filename": "src/awscdk/lambda-function.ts",
17843
+ "line": 193
17844
+ },
17845
+ "name": "NODEJS_10_X",
17846
+ "static": true,
17847
+ "type": {
17848
+ "fqn": "projen.awscdk.LambdaRuntime"
17849
+ }
17850
+ },
17851
+ {
17852
+ "const": true,
17853
+ "docs": {
17854
+ "stability": "experimental",
17855
+ "summary": "Node.js 12.x."
17856
+ },
17857
+ "immutable": true,
17858
+ "locationInModule": {
17859
+ "filename": "src/awscdk/lambda-function.ts",
17860
+ "line": 198
17861
+ },
17862
+ "name": "NODEJS_12_X",
17863
+ "static": true,
17864
+ "type": {
17865
+ "fqn": "projen.awscdk.LambdaRuntime"
17866
+ }
17867
+ },
17868
+ {
17869
+ "const": true,
17870
+ "docs": {
17871
+ "stability": "experimental",
17872
+ "summary": "Node.js 14.x."
17873
+ },
17874
+ "immutable": true,
17875
+ "locationInModule": {
17876
+ "filename": "src/awscdk/lambda-function.ts",
17877
+ "line": 203
17878
+ },
17879
+ "name": "NODEJS_14_X",
17880
+ "static": true,
17881
+ "type": {
17882
+ "fqn": "projen.awscdk.LambdaRuntime"
17883
+ }
17884
+ },
17885
+ {
17886
+ "docs": {
17887
+ "stability": "experimental"
17888
+ },
17889
+ "immutable": true,
17890
+ "locationInModule": {
17891
+ "filename": "src/awscdk/lambda-function.ts",
17892
+ "line": 205
17893
+ },
17894
+ "name": "esbuildPlatform",
17895
+ "type": {
17896
+ "primitive": "string"
17897
+ }
17898
+ },
17899
+ {
17900
+ "docs": {
17901
+ "stability": "experimental",
17902
+ "summary": "The esbuild setting to use."
17903
+ },
17904
+ "immutable": true,
17905
+ "locationInModule": {
17906
+ "filename": "src/awscdk/lambda-function.ts",
17907
+ "line": 216
17908
+ },
17909
+ "name": "esbuildTarget",
17910
+ "type": {
17911
+ "primitive": "string"
17912
+ }
17913
+ },
17914
+ {
17915
+ "docs": {
17916
+ "stability": "experimental",
17917
+ "summary": "The aws-lambda.Runtime member name to use."
17918
+ },
17919
+ "immutable": true,
17920
+ "locationInModule": {
17921
+ "filename": "src/awscdk/lambda-function.ts",
17922
+ "line": 211
17923
+ },
17924
+ "name": "functionRuntime",
17925
+ "type": {
17926
+ "primitive": "string"
17927
+ }
17928
+ }
17929
+ ],
17930
+ "symbolId": "src/awscdk/lambda-function:LambdaRuntime"
17931
+ },
17334
17932
  "projen.deps.Dependencies": {
17335
17933
  "assembly": "projen",
17336
17934
  "base": "projen.Component",
@@ -19060,7 +19658,7 @@
19060
19658
  },
19061
19659
  "locationInModule": {
19062
19660
  "filename": "src/github/workflows.ts",
19063
- "line": 58
19661
+ "line": 56
19064
19662
  },
19065
19663
  "parameters": [
19066
19664
  {
@@ -19087,7 +19685,7 @@
19087
19685
  "kind": "class",
19088
19686
  "locationInModule": {
19089
19687
  "filename": "src/github/workflows.ts",
19090
- "line": 37
19688
+ "line": 35
19091
19689
  },
19092
19690
  "methods": [
19093
19691
  {
@@ -19097,7 +19695,7 @@
19097
19695
  },
19098
19696
  "locationInModule": {
19099
19697
  "filename": "src/github/workflows.ts",
19100
- "line": 90
19698
+ "line": 88
19101
19699
  },
19102
19700
  "name": "addJobs",
19103
19701
  "parameters": [
@@ -19124,7 +19722,7 @@
19124
19722
  },
19125
19723
  "locationInModule": {
19126
19724
  "filename": "src/github/workflows.ts",
19127
- "line": 78
19725
+ "line": 76
19128
19726
  },
19129
19727
  "name": "on",
19130
19728
  "parameters": [
@@ -19151,7 +19749,7 @@
19151
19749
  "immutable": true,
19152
19750
  "locationInModule": {
19153
19751
  "filename": "src/github/workflows.ts",
19154
- "line": 41
19752
+ "line": 39
19155
19753
  },
19156
19754
  "name": "name",
19157
19755
  "type": {
@@ -19167,7 +19765,7 @@
19167
19765
  "immutable": true,
19168
19766
  "locationInModule": {
19169
19767
  "filename": "src/github/workflows.ts",
19170
- "line": 48
19768
+ "line": 46
19171
19769
  },
19172
19770
  "name": "concurrency",
19173
19771
  "optional": true,
@@ -19183,7 +19781,7 @@
19183
19781
  "immutable": true,
19184
19782
  "locationInModule": {
19185
19783
  "filename": "src/github/workflows.ts",
19186
- "line": 53
19784
+ "line": 51
19187
19785
  },
19188
19786
  "name": "file",
19189
19787
  "optional": true,
@@ -19205,7 +19803,7 @@
19205
19803
  "kind": "interface",
19206
19804
  "locationInModule": {
19207
19805
  "filename": "src/github/workflows.ts",
19208
- "line": 14
19806
+ "line": 12
19209
19807
  },
19210
19808
  "name": "GithubWorkflowOptions",
19211
19809
  "namespace": "github",
@@ -19222,7 +19820,7 @@
19222
19820
  "immutable": true,
19223
19821
  "locationInModule": {
19224
19822
  "filename": "src/github/workflows.ts",
19225
- "line": 27
19823
+ "line": 25
19226
19824
  },
19227
19825
  "name": "concurrency",
19228
19826
  "optional": true,
@@ -19240,7 +19838,7 @@
19240
19838
  "immutable": true,
19241
19839
  "locationInModule": {
19242
19840
  "filename": "src/github/workflows.ts",
19243
- "line": 20
19841
+ "line": 18
19244
19842
  },
19245
19843
  "name": "force",
19246
19844
  "optional": true,
@@ -24803,6 +25401,368 @@
24803
25401
  ],
24804
25402
  "symbolId": "src/java/projenrc:ProjenrcOptions"
24805
25403
  },
25404
+ "projen.javascript.BundleOptions": {
25405
+ "assembly": "projen",
25406
+ "datatype": true,
25407
+ "docs": {
25408
+ "stability": "experimental",
25409
+ "summary": "Options for bundling."
25410
+ },
25411
+ "fqn": "projen.javascript.BundleOptions",
25412
+ "kind": "interface",
25413
+ "locationInModule": {
25414
+ "filename": "src/javascript/bundler.ts",
25415
+ "line": 126
25416
+ },
25417
+ "name": "BundleOptions",
25418
+ "namespace": "javascript",
25419
+ "properties": [
25420
+ {
25421
+ "abstract": true,
25422
+ "docs": {
25423
+ "stability": "experimental",
25424
+ "summary": "The entrypoint of the code you wish to bundle."
25425
+ },
25426
+ "immutable": true,
25427
+ "locationInModule": {
25428
+ "filename": "src/javascript/bundler.ts",
25429
+ "line": 130
25430
+ },
25431
+ "name": "entrypoint",
25432
+ "type": {
25433
+ "primitive": "string"
25434
+ }
25435
+ },
25436
+ {
25437
+ "abstract": true,
25438
+ "docs": {
25439
+ "stability": "experimental",
25440
+ "summary": "This option sets the output file name for the build operation."
25441
+ },
25442
+ "immutable": true,
25443
+ "locationInModule": {
25444
+ "filename": "src/javascript/bundler.ts",
25445
+ "line": 149
25446
+ },
25447
+ "name": "outfile",
25448
+ "type": {
25449
+ "primitive": "string"
25450
+ }
25451
+ },
25452
+ {
25453
+ "abstract": true,
25454
+ "docs": {
25455
+ "example": "\"node\"",
25456
+ "stability": "experimental",
25457
+ "summary": "esbuild platform."
25458
+ },
25459
+ "immutable": true,
25460
+ "locationInModule": {
25461
+ "filename": "src/javascript/bundler.ts",
25462
+ "line": 144
25463
+ },
25464
+ "name": "platform",
25465
+ "type": {
25466
+ "primitive": "string"
25467
+ }
25468
+ },
25469
+ {
25470
+ "abstract": true,
25471
+ "docs": {
25472
+ "example": "\"node12\"",
25473
+ "stability": "experimental",
25474
+ "summary": "esbuild target."
25475
+ },
25476
+ "immutable": true,
25477
+ "locationInModule": {
25478
+ "filename": "src/javascript/bundler.ts",
25479
+ "line": 137
25480
+ },
25481
+ "name": "target",
25482
+ "type": {
25483
+ "primitive": "string"
25484
+ }
25485
+ },
25486
+ {
25487
+ "abstract": true,
25488
+ "docs": {
25489
+ "default": "[]",
25490
+ "remarks": "Instead of being bundled, the import will be preserved (using require for\nthe iife and cjs formats and using import for the esm format) and will be\nevaluated at run time instead.\n\nThis has several uses. First of all, it can be used to trim unnecessary\ncode from your bundle for a code path that you know will never be executed.\nFor example, a package may contain code that only runs in node but you will\nonly be using that package in the browser. It can also be used to import\ncode in node at run time from a package that cannot be bundled. For\nexample, the fsevents package contains a native extension, which esbuild\ndoesn't support.",
25491
+ "stability": "experimental",
25492
+ "summary": "You can mark a file or a package as external to exclude it from your build."
25493
+ },
25494
+ "immutable": true,
25495
+ "locationInModule": {
25496
+ "filename": "src/javascript/bundler.ts",
25497
+ "line": 167
25498
+ },
25499
+ "name": "externals",
25500
+ "optional": true,
25501
+ "type": {
25502
+ "collection": {
25503
+ "elementtype": {
25504
+ "primitive": "string"
25505
+ },
25506
+ "kind": "array"
25507
+ }
25508
+ }
25509
+ },
25510
+ {
25511
+ "abstract": true,
25512
+ "docs": {
25513
+ "default": "true",
25514
+ "stability": "experimental",
25515
+ "summary": "Include a source map in the bundle."
25516
+ },
25517
+ "immutable": true,
25518
+ "locationInModule": {
25519
+ "filename": "src/javascript/bundler.ts",
25520
+ "line": 174
25521
+ },
25522
+ "name": "sourcemap",
25523
+ "optional": true,
25524
+ "type": {
25525
+ "primitive": "boolean"
25526
+ }
25527
+ },
25528
+ {
25529
+ "abstract": true,
25530
+ "docs": {
25531
+ "default": "true",
25532
+ "remarks": "This can be used\nto continusouly watch for changes.",
25533
+ "stability": "experimental",
25534
+ "summary": "In addition to the `bundle:xyz` task, creates `bundle:xyz:watch` task which will invoke the same esbuild command with the `--watch` flag."
25535
+ },
25536
+ "immutable": true,
25537
+ "locationInModule": {
25538
+ "filename": "src/javascript/bundler.ts",
25539
+ "line": 183
25540
+ },
25541
+ "name": "watchTask",
25542
+ "optional": true,
25543
+ "type": {
25544
+ "primitive": "boolean"
25545
+ }
25546
+ }
25547
+ ],
25548
+ "symbolId": "src/javascript/bundler:BundleOptions"
25549
+ },
25550
+ "projen.javascript.Bundler": {
25551
+ "assembly": "projen",
25552
+ "base": "projen.Component",
25553
+ "docs": {
25554
+ "stability": "experimental",
25555
+ "summary": "Adds support for bundling JavaScript applications and dependencies into a single file."
25556
+ },
25557
+ "fqn": "projen.javascript.Bundler",
25558
+ "initializer": {
25559
+ "docs": {
25560
+ "stability": "experimental",
25561
+ "summary": "Creates a `Bundler`."
25562
+ },
25563
+ "locationInModule": {
25564
+ "filename": "src/javascript/bundler.ts",
25565
+ "line": 52
25566
+ },
25567
+ "parameters": [
25568
+ {
25569
+ "name": "project",
25570
+ "type": {
25571
+ "fqn": "projen.Project"
25572
+ }
25573
+ },
25574
+ {
25575
+ "name": "options",
25576
+ "type": {
25577
+ "fqn": "projen.javascript.BundlerOptions"
25578
+ }
25579
+ }
25580
+ ]
25581
+ },
25582
+ "kind": "class",
25583
+ "locationInModule": {
25584
+ "filename": "src/javascript/bundler.ts",
25585
+ "line": 32
25586
+ },
25587
+ "methods": [
25588
+ {
25589
+ "docs": {
25590
+ "returns": "A bundler",
25591
+ "stability": "experimental",
25592
+ "summary": "Returns the `Bundler` instance associated with a project or `undefined` if there is no Bundler."
25593
+ },
25594
+ "locationInModule": {
25595
+ "filename": "src/javascript/bundler.ts",
25596
+ "line": 39
25597
+ },
25598
+ "name": "of",
25599
+ "parameters": [
25600
+ {
25601
+ "docs": {
25602
+ "summary": "The project."
25603
+ },
25604
+ "name": "project",
25605
+ "type": {
25606
+ "fqn": "projen.Project"
25607
+ }
25608
+ }
25609
+ ],
25610
+ "returns": {
25611
+ "optional": true,
25612
+ "type": {
25613
+ "fqn": "projen.javascript.Bundler"
25614
+ }
25615
+ },
25616
+ "static": true
25617
+ },
25618
+ {
25619
+ "docs": {
25620
+ "stability": "experimental",
25621
+ "summary": "Adds a task to the project which bundles a specific entrypoint and all of its dependencies into a single javascript output file."
25622
+ },
25623
+ "locationInModule": {
25624
+ "filename": "src/javascript/bundler.ts",
25625
+ "line": 85
25626
+ },
25627
+ "name": "addBundle",
25628
+ "parameters": [
25629
+ {
25630
+ "docs": {
25631
+ "summary": "The name of the artifact (the task will be named `bundle:$name`)."
25632
+ },
25633
+ "name": "name",
25634
+ "type": {
25635
+ "primitive": "string"
25636
+ }
25637
+ },
25638
+ {
25639
+ "docs": {
25640
+ "summary": "Bundling options."
25641
+ },
25642
+ "name": "options",
25643
+ "type": {
25644
+ "fqn": "projen.javascript.BundleOptions"
25645
+ }
25646
+ }
25647
+ ],
25648
+ "returns": {
25649
+ "type": {
25650
+ "fqn": "projen.tasks.Task"
25651
+ }
25652
+ }
25653
+ }
25654
+ ],
25655
+ "name": "Bundler",
25656
+ "namespace": "javascript",
25657
+ "properties": [
25658
+ {
25659
+ "docs": {
25660
+ "stability": "experimental",
25661
+ "summary": "Gets or creates the singleton \"bundle\" task of the project."
25662
+ },
25663
+ "immutable": true,
25664
+ "locationInModule": {
25665
+ "filename": "src/javascript/bundler.ts",
25666
+ "line": 62
25667
+ },
25668
+ "name": "bundleTask",
25669
+ "type": {
25670
+ "fqn": "projen.tasks.Task"
25671
+ }
25672
+ },
25673
+ {
25674
+ "docs": {
25675
+ "stability": "experimental"
25676
+ },
25677
+ "immutable": true,
25678
+ "locationInModule": {
25679
+ "filename": "src/javascript/bundler.ts",
25680
+ "line": 47
25681
+ },
25682
+ "name": "esbuildVersion",
25683
+ "optional": true,
25684
+ "type": {
25685
+ "primitive": "string"
25686
+ }
25687
+ }
25688
+ ],
25689
+ "symbolId": "src/javascript/bundler:Bundler"
25690
+ },
25691
+ "projen.javascript.BundlerCommonOptions": {
25692
+ "assembly": "projen",
25693
+ "datatype": true,
25694
+ "docs": {
25695
+ "stability": "experimental",
25696
+ "summary": "Common options for `Bundler`."
25697
+ },
25698
+ "fqn": "projen.javascript.BundlerCommonOptions",
25699
+ "kind": "interface",
25700
+ "locationInModule": {
25701
+ "filename": "src/javascript/bundler.ts",
25702
+ "line": 9
25703
+ },
25704
+ "name": "BundlerCommonOptions",
25705
+ "namespace": "javascript",
25706
+ "properties": [
25707
+ {
25708
+ "abstract": true,
25709
+ "docs": {
25710
+ "default": "- no specific version (implies latest)",
25711
+ "stability": "experimental",
25712
+ "summary": "The semantic version requirement for `esbuild`."
25713
+ },
25714
+ "immutable": true,
25715
+ "locationInModule": {
25716
+ "filename": "src/javascript/bundler.ts",
25717
+ "line": 15
25718
+ },
25719
+ "name": "esbuildVersion",
25720
+ "optional": true,
25721
+ "type": {
25722
+ "primitive": "string"
25723
+ }
25724
+ }
25725
+ ],
25726
+ "symbolId": "src/javascript/bundler:BundlerCommonOptions"
25727
+ },
25728
+ "projen.javascript.BundlerOptions": {
25729
+ "assembly": "projen",
25730
+ "datatype": true,
25731
+ "docs": {
25732
+ "stability": "experimental",
25733
+ "summary": "Options for `Bundler`."
25734
+ },
25735
+ "fqn": "projen.javascript.BundlerOptions",
25736
+ "interfaces": [
25737
+ "projen.javascript.BundlerCommonOptions"
25738
+ ],
25739
+ "kind": "interface",
25740
+ "locationInModule": {
25741
+ "filename": "src/javascript/bundler.ts",
25742
+ "line": 21
25743
+ },
25744
+ "name": "BundlerOptions",
25745
+ "namespace": "javascript",
25746
+ "properties": [
25747
+ {
25748
+ "abstract": true,
25749
+ "docs": {
25750
+ "stability": "experimental",
25751
+ "summary": "A parent task that will spawn the \"bundle\" task (usually \"compile\")."
25752
+ },
25753
+ "immutable": true,
25754
+ "locationInModule": {
25755
+ "filename": "src/javascript/bundler.ts",
25756
+ "line": 25
25757
+ },
25758
+ "name": "parentTask",
25759
+ "type": {
25760
+ "fqn": "projen.tasks.Task"
25761
+ }
25762
+ }
25763
+ ],
25764
+ "symbolId": "src/javascript/bundler:BundlerOptions"
25765
+ },
24806
25766
  "projen.javascript.NpmConfig": {
24807
25767
  "assembly": "projen",
24808
25768
  "base": "projen.Component",
@@ -26202,7 +27162,7 @@
26202
27162
  },
26203
27163
  "locationInModule": {
26204
27164
  "filename": "src/python/projenrc.ts",
26205
- "line": 41
27165
+ "line": 39
26206
27166
  },
26207
27167
  "parameters": [
26208
27168
  {
@@ -26223,7 +27183,7 @@
26223
27183
  "kind": "class",
26224
27184
  "locationInModule": {
26225
27185
  "filename": "src/python/projenrc.ts",
26226
- "line": 35
27186
+ "line": 33
26227
27187
  },
26228
27188
  "name": "Projenrc",
26229
27189
  "namespace": "python",
@@ -26240,7 +27200,7 @@
26240
27200
  "kind": "interface",
26241
27201
  "locationInModule": {
26242
27202
  "filename": "src/python/projenrc.ts",
26243
- "line": 15
27203
+ "line": 13
26244
27204
  },
26245
27205
  "name": "ProjenrcOptions",
26246
27206
  "namespace": "python",
@@ -26255,7 +27215,7 @@
26255
27215
  "immutable": true,
26256
27216
  "locationInModule": {
26257
27217
  "filename": "src/python/projenrc.ts",
26258
- "line": 20
27218
+ "line": 18
26259
27219
  },
26260
27220
  "name": "filename",
26261
27221
  "optional": true,
@@ -26273,7 +27233,7 @@
26273
27233
  "immutable": true,
26274
27234
  "locationInModule": {
26275
27235
  "filename": "src/python/projenrc.ts",
26276
- "line": 26
27236
+ "line": 24
26277
27237
  },
26278
27238
  "name": "projenVersion",
26279
27239
  "optional": true,
@@ -32917,6 +33877,6 @@
32917
33877
  "symbolId": "src/web/tailwind:TailwindConfigOptions"
32918
33878
  }
32919
33879
  },
32920
- "version": "0.32.0",
32921
- "fingerprint": "bLq0MUnydbG4DdIAXJyKGqe+2VofNZcFyhWNrtV6MxI="
33880
+ "version": "0.32.1",
33881
+ "fingerprint": "TjQZzIn/0SYN+UozzdAQEx2ZqmpzVEXTNTNOlJEjef0="
32922
33882
  }