projen 0.99.47 → 0.99.48

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 (144) hide show
  1. package/.jsii +251 -61
  2. package/lib/ai-instructions.js +2 -2
  3. package/lib/awscdk/auto-discover.js +6 -6
  4. package/lib/awscdk/awscdk-app-java.js +1 -1
  5. package/lib/awscdk/awscdk-app-py.js +1 -1
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +2 -2
  8. package/lib/awscdk/awscdk-deps-java.js +1 -1
  9. package/lib/awscdk/awscdk-deps-js.js +1 -1
  10. package/lib/awscdk/awscdk-deps-py.js +1 -1
  11. package/lib/awscdk/awscdk-deps.js +1 -1
  12. package/lib/awscdk/cdk-config.js +4 -4
  13. package/lib/awscdk/cdk-tasks.js +1 -1
  14. package/lib/awscdk/integration-test.js +1 -1
  15. package/lib/awscdk/lambda-extension.js +1 -1
  16. package/lib/awscdk/lambda-function.js +2 -2
  17. package/lib/build/build-workflow.js +1 -1
  18. package/lib/cdk/auto-discover-base.js +2 -2
  19. package/lib/cdk/construct-lib.js +1 -1
  20. package/lib/cdk/integration-test-base.js +1 -1
  21. package/lib/cdk/jsii-docgen.js +1 -1
  22. package/lib/cdk/jsii-project.js +1 -1
  23. package/lib/cdk8s/auto-discover.js +2 -2
  24. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  25. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  26. package/lib/cdk8s/cdk8s-construct.js +1 -1
  27. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  28. package/lib/cdk8s/cdk8s-deps.js +1 -1
  29. package/lib/cdk8s/integration-test.js +1 -1
  30. package/lib/cdktf/cdktf-construct.js +1 -1
  31. package/lib/circleci/circleci.js +1 -1
  32. package/lib/component.js +1 -1
  33. package/lib/dependencies.js +5 -4
  34. package/lib/dev-env.js +1 -1
  35. package/lib/docker-compose/docker-compose-service.js +1 -1
  36. package/lib/docker-compose/docker-compose.js +1 -1
  37. package/lib/file.d.ts +15 -0
  38. package/lib/file.js +24 -3
  39. package/lib/gitattributes.js +1 -1
  40. package/lib/github/actions-provider.js +1 -1
  41. package/lib/github/auto-approve.js +1 -1
  42. package/lib/github/auto-merge.js +1 -1
  43. package/lib/github/auto-queue.js +1 -1
  44. package/lib/github/dependabot.js +1 -1
  45. package/lib/github/github-credentials.js +1 -1
  46. package/lib/github/github-project.js +1 -1
  47. package/lib/github/github.js +1 -1
  48. package/lib/github/merge-queue.js +1 -1
  49. package/lib/github/mergify.js +1 -1
  50. package/lib/github/pr-template.js +1 -1
  51. package/lib/github/pull-request-backport.js +1 -1
  52. package/lib/github/pull-request-lint.js +1 -1
  53. package/lib/github/stale.js +1 -1
  54. package/lib/github/task-workflow-job.js +1 -1
  55. package/lib/github/task-workflow.js +1 -1
  56. package/lib/github/workflow-actions.js +1 -1
  57. package/lib/github/workflow-jobs.js +1 -1
  58. package/lib/github/workflow-steps.js +1 -1
  59. package/lib/github/workflows.js +1 -1
  60. package/lib/gitlab/configuration.js +1 -1
  61. package/lib/gitlab/gitlab-configuration.js +1 -1
  62. package/lib/gitlab/nested-configuration.js +1 -1
  63. package/lib/gitpod.js +1 -1
  64. package/lib/ignore-file.js +1 -1
  65. package/lib/ini.js +1 -1
  66. package/lib/java/java-project.js +1 -1
  67. package/lib/java/junit.js +1 -1
  68. package/lib/java/maven-compile.js +1 -1
  69. package/lib/java/maven-packaging.js +1 -1
  70. package/lib/java/maven-sample.js +1 -1
  71. package/lib/java/pom.js +2 -2
  72. package/lib/java/projenrc.js +1 -1
  73. package/lib/javascript/biome/biome.js +1 -1
  74. package/lib/javascript/bundler.js +1 -1
  75. package/lib/javascript/eslint.js +1 -1
  76. package/lib/javascript/jest.js +4 -4
  77. package/lib/javascript/license-checker.js +1 -1
  78. package/lib/javascript/node-package.d.ts +52 -3
  79. package/lib/javascript/node-package.js +80 -21
  80. package/lib/javascript/node-project.js +1 -1
  81. package/lib/javascript/npm-config.js +1 -1
  82. package/lib/javascript/prettier.js +1 -1
  83. package/lib/javascript/projenrc.js +1 -1
  84. package/lib/javascript/typescript-config.js +2 -2
  85. package/lib/javascript/upgrade-dependencies.js +2 -2
  86. package/lib/javascript/yarnrc.js +1 -1
  87. package/lib/json-patch.js +1 -1
  88. package/lib/json.js +1 -1
  89. package/lib/license.js +1 -1
  90. package/lib/logger.js +1 -1
  91. package/lib/makefile.js +1 -1
  92. package/lib/object-file.js +1 -1
  93. package/lib/project-build.js +1 -1
  94. package/lib/project-tree.js +1 -1
  95. package/lib/project.js +1 -1
  96. package/lib/projects.js +1 -1
  97. package/lib/projenrc-json.js +2 -2
  98. package/lib/projenrc.js +1 -1
  99. package/lib/python/pip.js +1 -1
  100. package/lib/python/poetry.js +2 -2
  101. package/lib/python/projenrc.js +1 -1
  102. package/lib/python/pyproject-toml-file.js +1 -1
  103. package/lib/python/pytest-sample.js +1 -1
  104. package/lib/python/pytest.js +1 -1
  105. package/lib/python/python-project.js +1 -1
  106. package/lib/python/python-sample.js +1 -1
  107. package/lib/python/requirements-file.js +1 -1
  108. package/lib/python/setuppy.js +1 -1
  109. package/lib/python/setuptools.js +1 -1
  110. package/lib/python/uv.js +1 -1
  111. package/lib/python/venv.js +1 -1
  112. package/lib/readme.js +1 -1
  113. package/lib/release/publisher.js +1 -1
  114. package/lib/release/release-trigger.js +1 -1
  115. package/lib/release/release.js +1 -1
  116. package/lib/renovatebot.js +1 -1
  117. package/lib/sample-file.js +2 -2
  118. package/lib/semver.js +1 -1
  119. package/lib/source-code.js +1 -1
  120. package/lib/task-runtime.js +1 -1
  121. package/lib/task.js +1 -1
  122. package/lib/tasks.js +1 -1
  123. package/lib/testing.js +1 -1
  124. package/lib/textfile.js +1 -1
  125. package/lib/toml.js +1 -1
  126. package/lib/typescript/projenrc-ts.js +1 -1
  127. package/lib/typescript/projenrc.js +1 -1
  128. package/lib/typescript/typescript-typedoc.js +1 -1
  129. package/lib/typescript/typescript.js +6 -6
  130. package/lib/util/diff.d.ts +11 -0
  131. package/lib/util/diff.js +170 -0
  132. package/lib/version.js +2 -2
  133. package/lib/vscode/devcontainer.js +1 -1
  134. package/lib/vscode/extensions.js +1 -1
  135. package/lib/vscode/launch-config.js +1 -1
  136. package/lib/vscode/settings.js +1 -1
  137. package/lib/vscode/vscode.js +1 -1
  138. package/lib/web/next.js +3 -3
  139. package/lib/web/postcss.js +1 -1
  140. package/lib/web/react.js +4 -4
  141. package/lib/web/tailwind.js +1 -1
  142. package/lib/xmlfile.js +1 -1
  143. package/lib/yaml.js +1 -1
  144. package/package.json +4 -4
package/.jsii CHANGED
@@ -462,7 +462,7 @@
462
462
  },
463
463
  "locationInModule": {
464
464
  "filename": "src/file.ts",
465
- "line": 95
465
+ "line": 98
466
466
  },
467
467
  "parameters": [
468
468
  {
@@ -918,7 +918,7 @@
918
918
  },
919
919
  "locationInModule": {
920
920
  "filename": "src/dependencies.ts",
921
- "line": 53
921
+ "line": 54
922
922
  },
923
923
  "parameters": [
924
924
  {
@@ -935,7 +935,7 @@
935
935
  "kind": "class",
936
936
  "locationInModule": {
937
937
  "filename": "src/dependencies.ts",
938
- "line": 17
938
+ "line": 18
939
939
  },
940
940
  "methods": [
941
941
  {
@@ -946,7 +946,7 @@
946
946
  },
947
947
  "locationInModule": {
948
948
  "filename": "src/dependencies.ts",
949
- "line": 32
949
+ "line": 33
950
950
  },
951
951
  "name": "parseDependency",
952
952
  "parameters": [
@@ -971,7 +971,7 @@
971
971
  },
972
972
  "locationInModule": {
973
973
  "filename": "src/dependencies.ts",
974
- "line": 135
974
+ "line": 136
975
975
  },
976
976
  "name": "addDependency",
977
977
  "parameters": [
@@ -1021,7 +1021,7 @@
1021
1021
  },
1022
1022
  "locationInModule": {
1023
1023
  "filename": "src/dependencies.ts",
1024
- "line": 88
1024
+ "line": 89
1025
1025
  },
1026
1026
  "name": "getDependency",
1027
1027
  "parameters": [
@@ -1060,7 +1060,7 @@
1060
1060
  },
1061
1061
  "locationInModule": {
1062
1062
  "filename": "src/dependencies.ts",
1063
- "line": 186
1063
+ "line": 189
1064
1064
  },
1065
1065
  "name": "isDependencySatisfied",
1066
1066
  "parameters": [
@@ -1105,7 +1105,7 @@
1105
1105
  },
1106
1106
  "locationInModule": {
1107
1107
  "filename": "src/dependencies.ts",
1108
- "line": 168
1108
+ "line": 171
1109
1109
  },
1110
1110
  "name": "removeDependency",
1111
1111
  "parameters": [
@@ -1140,7 +1140,7 @@
1140
1140
  },
1141
1141
  "locationInModule": {
1142
1142
  "filename": "src/dependencies.ts",
1143
- "line": 209
1143
+ "line": 212
1144
1144
  },
1145
1145
  "name": "requestDependency",
1146
1146
  "parameters": [
@@ -1169,7 +1169,7 @@
1169
1169
  },
1170
1170
  "locationInModule": {
1171
1171
  "filename": "src/dependencies.ts",
1172
- "line": 114
1172
+ "line": 115
1173
1173
  },
1174
1174
  "name": "tryGetDependency",
1175
1175
  "parameters": [
@@ -1213,7 +1213,7 @@
1213
1213
  "immutable": true,
1214
1214
  "locationInModule": {
1215
1215
  "filename": "src/dependencies.ts",
1216
- "line": 21
1216
+ "line": 22
1217
1217
  },
1218
1218
  "name": "MANIFEST_FILE",
1219
1219
  "static": true,
@@ -1230,7 +1230,7 @@
1230
1230
  "immutable": true,
1231
1231
  "locationInModule": {
1232
1232
  "filename": "src/dependencies.ts",
1233
- "line": 72
1233
+ "line": 73
1234
1234
  },
1235
1235
  "name": "all",
1236
1236
  "type": {
@@ -1259,7 +1259,7 @@
1259
1259
  "kind": "interface",
1260
1260
  "locationInModule": {
1261
1261
  "filename": "src/dependencies.ts",
1262
- "line": 363
1262
+ "line": 366
1263
1263
  },
1264
1264
  "name": "Dependency",
1265
1265
  "properties": [
@@ -1272,7 +1272,7 @@
1272
1272
  "immutable": true,
1273
1273
  "locationInModule": {
1274
1274
  "filename": "src/dependencies.ts",
1275
- "line": 367
1275
+ "line": 370
1276
1276
  },
1277
1277
  "name": "type",
1278
1278
  "type": {
@@ -1289,7 +1289,7 @@
1289
1289
  "immutable": true,
1290
1290
  "locationInModule": {
1291
1291
  "filename": "src/dependencies.ts",
1292
- "line": 374
1292
+ "line": 377
1293
1293
  },
1294
1294
  "name": "metadata",
1295
1295
  "optional": true,
@@ -1316,7 +1316,7 @@
1316
1316
  "kind": "interface",
1317
1317
  "locationInModule": {
1318
1318
  "filename": "src/dependencies.ts",
1319
- "line": 343
1319
+ "line": 346
1320
1320
  },
1321
1321
  "name": "DependencyCoordinates",
1322
1322
  "properties": [
@@ -1330,7 +1330,7 @@
1330
1330
  "immutable": true,
1331
1331
  "locationInModule": {
1332
1332
  "filename": "src/dependencies.ts",
1333
- "line": 350
1333
+ "line": 353
1334
1334
  },
1335
1335
  "name": "name",
1336
1336
  "type": {
@@ -1347,7 +1347,7 @@
1347
1347
  "immutable": true,
1348
1348
  "locationInModule": {
1349
1349
  "filename": "src/dependencies.ts",
1350
- "line": 357
1350
+ "line": 360
1351
1351
  },
1352
1352
  "name": "version",
1353
1353
  "optional": true,
@@ -1370,7 +1370,7 @@
1370
1370
  "kind": "interface",
1371
1371
  "locationInModule": {
1372
1372
  "filename": "src/dependencies.ts",
1373
- "line": 432
1373
+ "line": 435
1374
1374
  },
1375
1375
  "name": "DependencyRequest",
1376
1376
  "properties": [
@@ -1383,7 +1383,7 @@
1383
1383
  "immutable": true,
1384
1384
  "locationInModule": {
1385
1385
  "filename": "src/dependencies.ts",
1386
- "line": 436
1386
+ "line": 439
1387
1387
  },
1388
1388
  "name": "name",
1389
1389
  "type": {
@@ -1400,7 +1400,7 @@
1400
1400
  "immutable": true,
1401
1401
  "locationInModule": {
1402
1402
  "filename": "src/dependencies.ts",
1403
- "line": 455
1403
+ "line": 458
1404
1404
  },
1405
1405
  "name": "metadata",
1406
1406
  "optional": true,
@@ -1424,7 +1424,7 @@
1424
1424
  "immutable": true,
1425
1425
  "locationInModule": {
1426
1426
  "filename": "src/dependencies.ts",
1427
- "line": 449
1427
+ "line": 452
1428
1428
  },
1429
1429
  "name": "type",
1430
1430
  "optional": true,
@@ -1442,7 +1442,7 @@
1442
1442
  "immutable": true,
1443
1443
  "locationInModule": {
1444
1444
  "filename": "src/dependencies.ts",
1445
- "line": 442
1445
+ "line": 445
1446
1446
  },
1447
1447
  "name": "version",
1448
1448
  "optional": true,
@@ -1463,7 +1463,7 @@
1463
1463
  "kind": "enum",
1464
1464
  "locationInModule": {
1465
1465
  "filename": "src/dependencies.ts",
1466
- "line": 380
1466
+ "line": 383
1467
1467
  },
1468
1468
  "members": [
1469
1469
  {
@@ -1538,7 +1538,7 @@
1538
1538
  "kind": "interface",
1539
1539
  "locationInModule": {
1540
1540
  "filename": "src/dependencies.ts",
1541
- "line": 333
1541
+ "line": 336
1542
1542
  },
1543
1543
  "name": "DepsManifest",
1544
1544
  "properties": [
@@ -1551,7 +1551,7 @@
1551
1551
  "immutable": true,
1552
1552
  "locationInModule": {
1553
1553
  "filename": "src/dependencies.ts",
1554
- "line": 337
1554
+ "line": 340
1555
1555
  },
1556
1556
  "name": "dependencies",
1557
1557
  "type": {
@@ -3613,7 +3613,7 @@
3613
3613
  },
3614
3614
  "locationInModule": {
3615
3615
  "filename": "src/file.ts",
3616
- "line": 95
3616
+ "line": 98
3617
3617
  },
3618
3618
  "parameters": [
3619
3619
  {
@@ -3640,9 +3640,56 @@
3640
3640
  "kind": "class",
3641
3641
  "locationInModule": {
3642
3642
  "filename": "src/file.ts",
3643
- "line": 55
3643
+ "line": 56
3644
3644
  },
3645
3645
  "methods": [
3646
+ {
3647
+ "docs": {
3648
+ "default": "3",
3649
+ "remarks": "Only available after synthesis.\n\nThis is an expensive operation and should only be used on non time-critical\ncode paths, like debug output.",
3650
+ "returns": "the diff as an array of lines, or `undefined` if the file was\nnot changed or has not been synthesized yet.",
3651
+ "stability": "experimental",
3652
+ "summary": "Returns a unified diff of the old and new file contents with context lines and hunk headers."
3653
+ },
3654
+ "locationInModule": {
3655
+ "filename": "src/file.ts",
3656
+ "line": 242
3657
+ },
3658
+ "name": "diff",
3659
+ "parameters": [
3660
+ {
3661
+ "docs": {
3662
+ "summary": "Whether to colorize the diff output."
3663
+ },
3664
+ "name": "colorize",
3665
+ "optional": true,
3666
+ "type": {
3667
+ "primitive": "boolean"
3668
+ }
3669
+ },
3670
+ {
3671
+ "docs": {
3672
+ "summary": "Number of context lines around changes."
3673
+ },
3674
+ "name": "contextLines",
3675
+ "optional": true,
3676
+ "type": {
3677
+ "primitive": "number"
3678
+ }
3679
+ }
3680
+ ],
3681
+ "returns": {
3682
+ "optional": true,
3683
+ "type": {
3684
+ "collection": {
3685
+ "elementtype": {
3686
+ "primitive": "string"
3687
+ },
3688
+ "kind": "array"
3689
+ }
3690
+ }
3691
+ }
3692
+ },
3646
3693
  {
3647
3694
  "docs": {
3648
3695
  "stability": "experimental",
@@ -3650,7 +3697,7 @@
3650
3697
  },
3651
3698
  "locationInModule": {
3652
3699
  "filename": "src/file.ts",
3653
- "line": 154
3700
+ "line": 157
3654
3701
  },
3655
3702
  "name": "synthesize",
3656
3703
  "overrides": "projen.Component"
@@ -3664,7 +3711,7 @@
3664
3711
  },
3665
3712
  "locationInModule": {
3666
3713
  "filename": "src/file.ts",
3667
- "line": 149
3714
+ "line": 152
3668
3715
  },
3669
3716
  "name": "synthesizeContent",
3670
3717
  "parameters": [
@@ -3697,7 +3744,7 @@
3697
3744
  "immutable": true,
3698
3745
  "locationInModule": {
3699
3746
  "filename": "src/file.ts",
3700
- "line": 74
3747
+ "line": 75
3701
3748
  },
3702
3749
  "name": "absolutePath",
3703
3750
  "type": {
@@ -3712,7 +3759,7 @@
3712
3759
  "immutable": true,
3713
3760
  "locationInModule": {
3714
3761
  "filename": "src/file.ts",
3715
- "line": 59
3762
+ "line": 60
3716
3763
  },
3717
3764
  "name": "path",
3718
3765
  "type": {
@@ -3728,7 +3775,7 @@
3728
3775
  "immutable": true,
3729
3776
  "locationInModule": {
3730
3777
  "filename": "src/file.ts",
3731
- "line": 221
3778
+ "line": 226
3732
3779
  },
3733
3780
  "name": "changed",
3734
3781
  "optional": true,
@@ -3745,7 +3792,7 @@
3745
3792
  "immutable": true,
3746
3793
  "locationInModule": {
3747
3794
  "filename": "src/file.ts",
3748
- "line": 84
3795
+ "line": 87
3749
3796
  },
3750
3797
  "name": "marker",
3751
3798
  "optional": true,
@@ -3760,7 +3807,7 @@
3760
3807
  },
3761
3808
  "locationInModule": {
3762
3809
  "filename": "src/file.ts",
3763
- "line": 69
3810
+ "line": 70
3764
3811
  },
3765
3812
  "name": "executable",
3766
3813
  "type": {
@@ -3774,7 +3821,7 @@
3774
3821
  },
3775
3822
  "locationInModule": {
3776
3823
  "filename": "src/file.ts",
3777
- "line": 64
3824
+ "line": 65
3778
3825
  },
3779
3826
  "name": "readonly",
3780
3827
  "type": {
@@ -3794,7 +3841,7 @@
3794
3841
  "kind": "interface",
3795
3842
  "locationInModule": {
3796
3843
  "filename": "src/file.ts",
3797
- "line": 17
3844
+ "line": 18
3798
3845
  },
3799
3846
  "name": "FileBaseOptions",
3800
3847
  "properties": [
@@ -3809,7 +3856,7 @@
3809
3856
  "immutable": true,
3810
3857
  "locationInModule": {
3811
3858
  "filename": "src/file.ts",
3812
- "line": 25
3859
+ "line": 26
3813
3860
  },
3814
3861
  "name": "committed",
3815
3862
  "optional": true,
@@ -3827,7 +3874,7 @@
3827
3874
  "immutable": true,
3828
3875
  "locationInModule": {
3829
3876
  "filename": "src/file.ts",
3830
- "line": 31
3877
+ "line": 32
3831
3878
  },
3832
3879
  "name": "editGitignore",
3833
3880
  "optional": true,
@@ -3845,7 +3892,7 @@
3845
3892
  "immutable": true,
3846
3893
  "locationInModule": {
3847
3894
  "filename": "src/file.ts",
3848
- "line": 45
3895
+ "line": 46
3849
3896
  },
3850
3897
  "name": "executable",
3851
3898
  "optional": true,
@@ -3863,7 +3910,7 @@
3863
3910
  "immutable": true,
3864
3911
  "locationInModule": {
3865
3912
  "filename": "src/file.ts",
3866
- "line": 52
3913
+ "line": 53
3867
3914
  },
3868
3915
  "name": "marker",
3869
3916
  "optional": true,
@@ -3881,7 +3928,7 @@
3881
3928
  "immutable": true,
3882
3929
  "locationInModule": {
3883
3930
  "filename": "src/file.ts",
3884
- "line": 38
3931
+ "line": 39
3885
3932
  },
3886
3933
  "name": "readonly",
3887
3934
  "optional": true,
@@ -5442,7 +5489,7 @@
5442
5489
  "kind": "interface",
5443
5490
  "locationInModule": {
5444
5491
  "filename": "src/file.ts",
5445
- "line": 256
5492
+ "line": 286
5446
5493
  },
5447
5494
  "methods": [
5448
5495
  {
@@ -5453,7 +5500,7 @@
5453
5500
  },
5454
5501
  "locationInModule": {
5455
5502
  "filename": "src/file.ts",
5456
- "line": 260
5503
+ "line": 290
5457
5504
  },
5458
5505
  "name": "toJSON",
5459
5506
  "returns": {
@@ -5476,7 +5523,7 @@
5476
5523
  "kind": "interface",
5477
5524
  "locationInModule": {
5478
5525
  "filename": "src/file.ts",
5479
- "line": 229
5526
+ "line": 259
5480
5527
  },
5481
5528
  "methods": [
5482
5529
  {
@@ -5490,7 +5537,7 @@
5490
5537
  },
5491
5538
  "locationInModule": {
5492
5539
  "filename": "src/file.ts",
5493
- "line": 236
5540
+ "line": 266
5494
5541
  },
5495
5542
  "name": "resolve",
5496
5543
  "parameters": [
@@ -9557,7 +9604,7 @@
9557
9604
  "kind": "interface",
9558
9605
  "locationInModule": {
9559
9606
  "filename": "src/file.ts",
9560
- "line": 242
9607
+ "line": 272
9561
9608
  },
9562
9609
  "name": "ResolveOptions",
9563
9610
  "properties": [
@@ -9571,7 +9618,7 @@
9571
9618
  "immutable": true,
9572
9619
  "locationInModule": {
9573
9620
  "filename": "src/file.ts",
9574
- "line": 253
9621
+ "line": 283
9575
9622
  },
9576
9623
  "name": "args",
9577
9624
  "optional": true,
@@ -9594,7 +9641,7 @@
9594
9641
  "immutable": true,
9595
9642
  "locationInModule": {
9596
9643
  "filename": "src/file.ts",
9597
- "line": 247
9644
+ "line": 277
9598
9645
  },
9599
9646
  "name": "omitEmpty",
9600
9647
  "optional": true,
@@ -45505,6 +45552,125 @@
45505
45552
  ],
45506
45553
  "symbolId": "src/javascript/jest:HasteConfig"
45507
45554
  },
45555
+ "projen.javascript.InstallReason": {
45556
+ "assembly": "projen",
45557
+ "docs": {
45558
+ "stability": "experimental",
45559
+ "summary": "Why a dependency install was triggered during synthesis."
45560
+ },
45561
+ "fqn": "projen.javascript.InstallReason",
45562
+ "kind": "enum",
45563
+ "locationInModule": {
45564
+ "filename": "src/javascript/node-package.ts",
45565
+ "line": 2111
45566
+ },
45567
+ "members": [
45568
+ {
45569
+ "docs": {
45570
+ "stability": "experimental",
45571
+ "summary": "The node_modules directory does not exist."
45572
+ },
45573
+ "name": "NO_NODE_MODULES"
45574
+ },
45575
+ {
45576
+ "docs": {
45577
+ "stability": "experimental",
45578
+ "summary": "The package.json file was modified during synthesis."
45579
+ },
45580
+ "name": "PACKAGE_JSON_CHANGED"
45581
+ },
45582
+ {
45583
+ "docs": {
45584
+ "stability": "experimental",
45585
+ "summary": "Wildcard dependency versions were resolved to concrete ranges."
45586
+ },
45587
+ "name": "DEPS_RESOLVED"
45588
+ }
45589
+ ],
45590
+ "name": "InstallReason",
45591
+ "namespace": "javascript",
45592
+ "symbolId": "src/javascript/node-package:InstallReason"
45593
+ },
45594
+ "projen.javascript.InstallTrigger": {
45595
+ "assembly": "projen",
45596
+ "datatype": true,
45597
+ "docs": {
45598
+ "stability": "experimental",
45599
+ "summary": "Describes why dependencies need to be installed."
45600
+ },
45601
+ "fqn": "projen.javascript.InstallTrigger",
45602
+ "kind": "interface",
45603
+ "locationInModule": {
45604
+ "filename": "src/javascript/node-package.ts",
45605
+ "line": 2123
45606
+ },
45607
+ "name": "InstallTrigger",
45608
+ "namespace": "javascript",
45609
+ "properties": [
45610
+ {
45611
+ "abstract": true,
45612
+ "docs": {
45613
+ "stability": "experimental",
45614
+ "summary": "The reason for the install."
45615
+ },
45616
+ "immutable": true,
45617
+ "locationInModule": {
45618
+ "filename": "src/javascript/node-package.ts",
45619
+ "line": 2125
45620
+ },
45621
+ "name": "reason",
45622
+ "type": {
45623
+ "fqn": "projen.javascript.InstallReason"
45624
+ }
45625
+ },
45626
+ {
45627
+ "abstract": true,
45628
+ "docs": {
45629
+ "stability": "experimental",
45630
+ "summary": "A unified diff of the package.json changes. Only present when reason is `PACKAGE_JSON_CHANGED`."
45631
+ },
45632
+ "immutable": true,
45633
+ "locationInModule": {
45634
+ "filename": "src/javascript/node-package.ts",
45635
+ "line": 2131
45636
+ },
45637
+ "name": "diff",
45638
+ "optional": true,
45639
+ "type": {
45640
+ "collection": {
45641
+ "elementtype": {
45642
+ "primitive": "string"
45643
+ },
45644
+ "kind": "array"
45645
+ }
45646
+ }
45647
+ },
45648
+ {
45649
+ "abstract": true,
45650
+ "docs": {
45651
+ "remarks": "Only present when reason is `DEPS_RESOLVED`.",
45652
+ "stability": "experimental",
45653
+ "summary": "Human-readable descriptions of resolved dependency version changes."
45654
+ },
45655
+ "immutable": true,
45656
+ "locationInModule": {
45657
+ "filename": "src/javascript/node-package.ts",
45658
+ "line": 2137
45659
+ },
45660
+ "name": "resolutions",
45661
+ "optional": true,
45662
+ "type": {
45663
+ "collection": {
45664
+ "elementtype": {
45665
+ "primitive": "string"
45666
+ },
45667
+ "kind": "array"
45668
+ }
45669
+ }
45670
+ }
45671
+ ],
45672
+ "symbolId": "src/javascript/node-package:InstallTrigger"
45673
+ },
45508
45674
  "projen.javascript.Jest": {
45509
45675
  "assembly": "projen",
45510
45676
  "base": "projen.Component",
@@ -48186,6 +48352,30 @@
48186
48352
  }
48187
48353
  }
48188
48354
  },
48355
+ {
48356
+ "docs": {
48357
+ "remarks": "Does not log — the caller is\nresponsible for informing the user before calling this method.",
48358
+ "stability": "experimental",
48359
+ "summary": "Runs the install or install:ci task."
48360
+ },
48361
+ "locationInModule": {
48362
+ "filename": "src/javascript/node-package.ts",
48363
+ "line": 1898
48364
+ },
48365
+ "name": "installDependencies",
48366
+ "parameters": [
48367
+ {
48368
+ "docs": {
48369
+ "summary": "the reason for the install, available for subclasses to act on."
48370
+ },
48371
+ "name": "_trigger",
48372
+ "type": {
48373
+ "fqn": "projen.javascript.InstallTrigger"
48374
+ }
48375
+ }
48376
+ ],
48377
+ "protected": true
48378
+ },
48189
48379
  {
48190
48380
  "docs": {
48191
48381
  "remarks": "Order is *not* guaranteed.",
@@ -48337,7 +48527,7 @@
48337
48527
  "immutable": true,
48338
48528
  "locationInModule": {
48339
48529
  "filename": "src/javascript/node-package.ts",
48340
- "line": 1113
48530
+ "line": 1165
48341
48531
  },
48342
48532
  "name": "execCommand",
48343
48533
  "type": {
@@ -48548,7 +48738,7 @@
48548
48738
  "immutable": true,
48549
48739
  "locationInModule": {
48550
48740
  "filename": "src/javascript/node-package.ts",
48551
- "line": 1121
48741
+ "line": 1173
48552
48742
  },
48553
48743
  "name": "projenCommand",
48554
48744
  "type": {
@@ -48726,7 +48916,7 @@
48726
48916
  "kind": "enum",
48727
48917
  "locationInModule": {
48728
48918
  "filename": "src/javascript/node-package.ts",
48729
- "line": 1961
48919
+ "line": 2019
48730
48920
  },
48731
48921
  "members": [
48732
48922
  {
@@ -51310,7 +51500,7 @@
51310
51500
  "kind": "enum",
51311
51501
  "locationInModule": {
51312
51502
  "filename": "src/javascript/node-package.ts",
51313
- "line": 2005
51503
+ "line": 2063
51314
51504
  },
51315
51505
  "members": [
51316
51506
  {
@@ -51505,7 +51695,7 @@
51505
51695
  "kind": "interface",
51506
51696
  "locationInModule": {
51507
51697
  "filename": "src/javascript/node-package.ts",
51508
- "line": 1950
51698
+ "line": 2008
51509
51699
  },
51510
51700
  "name": "PeerDependencyOptions",
51511
51701
  "namespace": "javascript",
@@ -51520,7 +51710,7 @@
51520
51710
  "immutable": true,
51521
51711
  "locationInModule": {
51522
51712
  "filename": "src/javascript/node-package.ts",
51523
- "line": 1955
51713
+ "line": 2013
51524
51714
  },
51525
51715
  "name": "pinnedDevDependency",
51526
51716
  "optional": true,
@@ -55687,7 +55877,7 @@
55687
55877
  "kind": "interface",
55688
55878
  "locationInModule": {
55689
55879
  "filename": "src/javascript/node-package.ts",
55690
- "line": 2020
55880
+ "line": 2078
55691
55881
  },
55692
55882
  "name": "YarnBerryOptions",
55693
55883
  "namespace": "javascript",
@@ -55702,7 +55892,7 @@
55702
55892
  "immutable": true,
55703
55893
  "locationInModule": {
55704
55894
  "filename": "src/javascript/node-package.ts",
55705
- "line": 2026
55895
+ "line": 2084
55706
55896
  },
55707
55897
  "name": "version",
55708
55898
  "optional": true,
@@ -55720,7 +55910,7 @@
55720
55910
  "immutable": true,
55721
55911
  "locationInModule": {
55722
55912
  "filename": "src/javascript/node-package.ts",
55723
- "line": 2033
55913
+ "line": 2091
55724
55914
  },
55725
55915
  "name": "yarnRcOptions",
55726
55916
  "optional": true,
@@ -55739,7 +55929,7 @@
55739
55929
  "immutable": true,
55740
55930
  "locationInModule": {
55741
55931
  "filename": "src/javascript/node-package.ts",
55742
- "line": 2041
55932
+ "line": 2099
55743
55933
  },
55744
55934
  "name": "zeroInstalls",
55745
55935
  "optional": true,
@@ -81765,6 +81955,6 @@
81765
81955
  "usedFeatures": [
81766
81956
  "class-covariant-overrides"
81767
81957
  ],
81768
- "version": "0.99.47",
81769
- "fingerprint": "0n+yvB20F7rgVwGAoECqmlOpwZoELKXQ8Frbj28QkwU="
81958
+ "version": "0.99.48",
81959
+ "fingerprint": "DYLYwGiChz5heEtusKYkBDmIDiG6rhVPpBk2sHLQhmo="
81770
81960
  }