projen 0.71.4 → 0.71.5

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 (136) hide show
  1. package/.jsii +127 -110
  2. package/docs/api/API.md +18 -17
  3. package/lib/.types-compat/ts3.9/lib/javascript/node-package.d.ts +14 -3
  4. package/lib/.types-compat/ts3.9/lib/javascript/node-project.d.ts +1 -0
  5. package/lib/.types-compat/ts3.9/lib/javascript/util.d.ts +0 -2
  6. package/lib/awscdk/auto-discover.js +5 -5
  7. package/lib/awscdk/awscdk-app-java.js +1 -1
  8. package/lib/awscdk/awscdk-app-py.js +1 -1
  9. package/lib/awscdk/awscdk-app-ts.js +1 -1
  10. package/lib/awscdk/awscdk-construct.js +2 -2
  11. package/lib/awscdk/awscdk-deps-java.js +1 -1
  12. package/lib/awscdk/awscdk-deps-js.js +1 -1
  13. package/lib/awscdk/awscdk-deps-py.js +1 -1
  14. package/lib/awscdk/awscdk-deps.js +1 -1
  15. package/lib/awscdk/cdk-config.js +1 -1
  16. package/lib/awscdk/cdk-tasks.js +1 -1
  17. package/lib/awscdk/integration-test.js +1 -1
  18. package/lib/awscdk/lambda-extension.js +1 -1
  19. package/lib/awscdk/lambda-function.js +2 -2
  20. package/lib/build/build-workflow.js +1 -1
  21. package/lib/cdk/auto-discover-base.js +2 -2
  22. package/lib/cdk/construct-lib.js +1 -1
  23. package/lib/cdk/integration-test-base.js +1 -1
  24. package/lib/cdk/jsii-docgen.js +1 -1
  25. package/lib/cdk/jsii-project.js +1 -1
  26. package/lib/cdk8s/auto-discover.js +2 -2
  27. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  28. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  29. package/lib/cdk8s/cdk8s-construct.js +1 -1
  30. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  31. package/lib/cdk8s/cdk8s-deps.js +1 -1
  32. package/lib/cdk8s/integration-test.js +1 -1
  33. package/lib/cdktf/cdktf-construct.js +1 -1
  34. package/lib/circleci/circleci.js +1 -1
  35. package/lib/component.js +1 -1
  36. package/lib/dependencies.js +1 -1
  37. package/lib/dev-env.js +1 -1
  38. package/lib/docker-compose/docker-compose-service.js +1 -1
  39. package/lib/docker-compose/docker-compose.js +1 -1
  40. package/lib/file.js +1 -1
  41. package/lib/gitattributes.js +1 -1
  42. package/lib/github/actions-provider.js +1 -1
  43. package/lib/github/auto-approve.js +1 -1
  44. package/lib/github/auto-merge.js +1 -1
  45. package/lib/github/dependabot.js +1 -1
  46. package/lib/github/github-credentials.js +1 -1
  47. package/lib/github/github-project.js +1 -1
  48. package/lib/github/github.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-lint.js +1 -1
  52. package/lib/github/stale.js +1 -1
  53. package/lib/github/task-workflow.js +1 -1
  54. package/lib/github/workflow-actions.js +1 -1
  55. package/lib/github/workflow-jobs.js +1 -1
  56. package/lib/github/workflows.js +1 -1
  57. package/lib/gitlab/configuration.js +1 -1
  58. package/lib/gitlab/gitlab-configuration.js +1 -1
  59. package/lib/gitlab/nested-configuration.js +1 -1
  60. package/lib/gitpod.js +1 -1
  61. package/lib/ignore-file.js +1 -1
  62. package/lib/ini.js +1 -1
  63. package/lib/java/java-project.js +1 -1
  64. package/lib/java/junit.js +1 -1
  65. package/lib/java/maven-compile.js +1 -1
  66. package/lib/java/maven-packaging.js +1 -1
  67. package/lib/java/maven-sample.js +1 -1
  68. package/lib/java/pom.js +1 -1
  69. package/lib/java/projenrc.js +1 -1
  70. package/lib/javascript/bundler.js +1 -1
  71. package/lib/javascript/eslint.js +1 -1
  72. package/lib/javascript/jest.js +4 -4
  73. package/lib/javascript/node-package.d.ts +14 -3
  74. package/lib/javascript/node-package.js +43 -12
  75. package/lib/javascript/node-project.d.ts +1 -0
  76. package/lib/javascript/node-project.js +3 -2
  77. package/lib/javascript/npm-config.js +1 -1
  78. package/lib/javascript/prettier.js +1 -1
  79. package/lib/javascript/projenrc.js +1 -1
  80. package/lib/javascript/typescript-config.js +1 -1
  81. package/lib/javascript/upgrade-dependencies.js +2 -2
  82. package/lib/javascript/util.d.ts +0 -2
  83. package/lib/javascript/util.js +2 -13
  84. package/lib/json-patch.js +1 -1
  85. package/lib/json.js +1 -1
  86. package/lib/license.js +1 -1
  87. package/lib/logger.js +1 -1
  88. package/lib/makefile.js +1 -1
  89. package/lib/object-file.js +1 -1
  90. package/lib/project-build.js +1 -1
  91. package/lib/project.js +1 -1
  92. package/lib/projects.js +1 -1
  93. package/lib/projenrc-json.js +2 -2
  94. package/lib/projenrc.js +1 -1
  95. package/lib/python/pip.js +1 -1
  96. package/lib/python/poetry.js +2 -2
  97. package/lib/python/projenrc.js +1 -1
  98. package/lib/python/pytest-sample.js +1 -1
  99. package/lib/python/pytest.js +1 -1
  100. package/lib/python/python-project.js +1 -1
  101. package/lib/python/python-sample.js +1 -1
  102. package/lib/python/requirements-file.js +1 -1
  103. package/lib/python/setuppy.js +1 -1
  104. package/lib/python/setuptools.js +1 -1
  105. package/lib/python/venv.js +1 -1
  106. package/lib/readme.js +1 -1
  107. package/lib/release/publisher.js +1 -1
  108. package/lib/release/release-trigger.js +1 -1
  109. package/lib/release/release.js +1 -1
  110. package/lib/renovatebot.js +1 -1
  111. package/lib/sample-file.js +2 -2
  112. package/lib/semver.js +1 -1
  113. package/lib/source-code.js +1 -1
  114. package/lib/task-runtime.js +1 -1
  115. package/lib/task.js +1 -1
  116. package/lib/tasks.js +1 -1
  117. package/lib/testing.js +1 -1
  118. package/lib/textfile.js +1 -1
  119. package/lib/toml.js +1 -1
  120. package/lib/typescript/projenrc-ts.js +1 -1
  121. package/lib/typescript/projenrc.js +1 -1
  122. package/lib/typescript/typescript-typedoc.js +1 -1
  123. package/lib/typescript/typescript.js +3 -3
  124. package/lib/version.js +1 -1
  125. package/lib/vscode/devcontainer.js +1 -1
  126. package/lib/vscode/extensions.js +1 -1
  127. package/lib/vscode/launch-config.js +1 -1
  128. package/lib/vscode/settings.js +1 -1
  129. package/lib/vscode/vscode.js +1 -1
  130. package/lib/web/next.js +3 -3
  131. package/lib/web/postcss.js +1 -1
  132. package/lib/web/react.js +4 -4
  133. package/lib/web/tailwind.js +1 -1
  134. package/lib/xmlfile.js +1 -1
  135. package/lib/yaml.js +1 -1
  136. package/package.json +9 -1
package/.jsii CHANGED
@@ -35927,7 +35927,7 @@
35927
35927
  "kind": "enum",
35928
35928
  "locationInModule": {
35929
35929
  "filename": "src/javascript/node-package.ts",
35930
- "line": 313
35930
+ "line": 310
35931
35931
  },
35932
35932
  "members": [
35933
35933
  {
@@ -35961,7 +35961,7 @@
35961
35961
  "kind": "interface",
35962
35962
  "locationInModule": {
35963
35963
  "filename": "src/javascript/node-package.ts",
35964
- "line": 331
35964
+ "line": 328
35965
35965
  },
35966
35966
  "name": "CodeArtifactOptions",
35967
35967
  "namespace": "javascript",
@@ -35977,7 +35977,7 @@
35977
35977
  "immutable": true,
35978
35978
  "locationInModule": {
35979
35979
  "filename": "src/javascript/node-package.ts",
35980
- "line": 348
35980
+ "line": 345
35981
35981
  },
35982
35982
  "name": "accessKeyIdSecret",
35983
35983
  "optional": true,
@@ -35995,7 +35995,7 @@
35995
35995
  "immutable": true,
35996
35996
  "locationInModule": {
35997
35997
  "filename": "src/javascript/node-package.ts",
35998
- "line": 337
35998
+ "line": 334
35999
35999
  },
36000
36000
  "name": "authProvider",
36001
36001
  "optional": true,
@@ -36014,7 +36014,7 @@
36014
36014
  "immutable": true,
36015
36015
  "locationInModule": {
36016
36016
  "filename": "src/javascript/node-package.ts",
36017
- "line": 368
36017
+ "line": 365
36018
36018
  },
36019
36019
  "name": "roleToAssume",
36020
36020
  "optional": true,
@@ -36033,7 +36033,7 @@
36033
36033
  "immutable": true,
36034
36034
  "locationInModule": {
36035
36035
  "filename": "src/javascript/node-package.ts",
36036
- "line": 359
36036
+ "line": 356
36037
36037
  },
36038
36038
  "name": "secretAccessKeySecret",
36039
36039
  "optional": true,
@@ -38965,7 +38965,7 @@
38965
38965
  },
38966
38966
  "locationInModule": {
38967
38967
  "filename": "src/javascript/node-package.ts",
38968
- "line": 498
38968
+ "line": 502
38969
38969
  },
38970
38970
  "parameters": [
38971
38971
  {
@@ -38986,7 +38986,7 @@
38986
38986
  "kind": "class",
38987
38987
  "locationInModule": {
38988
38988
  "filename": "src/javascript/node-package.ts",
38989
- "line": 391
38989
+ "line": 388
38990
38990
  },
38991
38991
  "methods": [
38992
38992
  {
@@ -38995,7 +38995,7 @@
38995
38995
  },
38996
38996
  "locationInModule": {
38997
38997
  "filename": "src/javascript/node-package.ts",
38998
- "line": 714
38998
+ "line": 721
38999
38999
  },
39000
39000
  "name": "addBin",
39001
39001
  "parameters": [
@@ -39020,7 +39020,7 @@
39020
39020
  },
39021
39021
  "locationInModule": {
39022
39022
  "filename": "src/javascript/node-package.ts",
39023
- "line": 683
39023
+ "line": 690
39024
39024
  },
39025
39025
  "name": "addBundledDeps",
39026
39026
  "parameters": [
@@ -39045,7 +39045,7 @@
39045
39045
  },
39046
39046
  "locationInModule": {
39047
39047
  "filename": "src/javascript/node-package.ts",
39048
- "line": 623
39048
+ "line": 630
39049
39049
  },
39050
39050
  "name": "addDeps",
39051
39051
  "parameters": [
@@ -39070,7 +39070,7 @@
39070
39070
  },
39071
39071
  "locationInModule": {
39072
39072
  "filename": "src/javascript/node-package.ts",
39073
- "line": 638
39073
+ "line": 645
39074
39074
  },
39075
39075
  "name": "addDevDeps",
39076
39076
  "parameters": [
@@ -39095,7 +39095,7 @@
39095
39095
  },
39096
39096
  "locationInModule": {
39097
39097
  "filename": "src/javascript/node-package.ts",
39098
- "line": 700
39098
+ "line": 707
39099
39099
  },
39100
39100
  "name": "addEngine",
39101
39101
  "parameters": [
@@ -39129,7 +39129,7 @@
39129
39129
  },
39130
39130
  "locationInModule": {
39131
39131
  "filename": "src/javascript/node-package.ts",
39132
- "line": 753
39132
+ "line": 763
39133
39133
  },
39134
39134
  "name": "addField",
39135
39135
  "parameters": [
@@ -39160,7 +39160,7 @@
39160
39160
  },
39161
39161
  "locationInModule": {
39162
39162
  "filename": "src/javascript/node-package.ts",
39163
- "line": 708
39163
+ "line": 715
39164
39164
  },
39165
39165
  "name": "addKeywords",
39166
39166
  "parameters": [
@@ -39184,7 +39184,7 @@
39184
39184
  },
39185
39185
  "locationInModule": {
39186
39186
  "filename": "src/javascript/node-package.ts",
39187
- "line": 773
39187
+ "line": 783
39188
39188
  },
39189
39189
  "name": "addPackageResolutions",
39190
39190
  "parameters": [
@@ -39210,7 +39210,7 @@
39210
39210
  },
39211
39211
  "locationInModule": {
39212
39212
  "filename": "src/javascript/node-package.ts",
39213
- "line": 657
39213
+ "line": 664
39214
39214
  },
39215
39215
  "name": "addPeerDeps",
39216
39216
  "parameters": [
@@ -39235,7 +39235,7 @@
39235
39235
  },
39236
39236
  "locationInModule": {
39237
39237
  "filename": "src/javascript/node-package.ts",
39238
- "line": 761
39238
+ "line": 771
39239
39239
  },
39240
39240
  "name": "addVersion",
39241
39241
  "parameters": [
@@ -39258,7 +39258,7 @@
39258
39258
  },
39259
39259
  "locationInModule": {
39260
39260
  "filename": "src/javascript/node-package.ts",
39261
- "line": 743
39261
+ "line": 753
39262
39262
  },
39263
39263
  "name": "hasScript",
39264
39264
  "parameters": [
@@ -39286,7 +39286,7 @@
39286
39286
  },
39287
39287
  "locationInModule": {
39288
39288
  "filename": "src/javascript/node-package.ts",
39289
- "line": 851
39289
+ "line": 859
39290
39290
  },
39291
39291
  "name": "postSynthesize",
39292
39292
  "overrides": "projen.Component"
@@ -39298,7 +39298,7 @@
39298
39298
  },
39299
39299
  "locationInModule": {
39300
39300
  "filename": "src/javascript/node-package.ts",
39301
- "line": 846
39301
+ "line": 854
39302
39302
  },
39303
39303
  "name": "preSynthesize",
39304
39304
  "overrides": "projen.Component"
@@ -39306,11 +39306,11 @@
39306
39306
  {
39307
39307
  "docs": {
39308
39308
  "stability": "experimental",
39309
- "summary": "Removes the npm script (always successful)."
39309
+ "summary": "Removes an npm script (always successful)."
39310
39310
  },
39311
39311
  "locationInModule": {
39312
39312
  "filename": "src/javascript/node-package.ts",
39313
- "line": 734
39313
+ "line": 742
39314
39314
  },
39315
39315
  "name": "removeScript",
39316
39316
  "parameters": [
@@ -39332,7 +39332,7 @@
39332
39332
  },
39333
39333
  "locationInModule": {
39334
39334
  "filename": "src/javascript/node-package.ts",
39335
- "line": 800
39335
+ "line": 808
39336
39336
  },
39337
39337
  "name": "renderUpgradePackagesCommand",
39338
39338
  "parameters": [
@@ -39369,11 +39369,11 @@
39369
39369
  {
39370
39370
  "docs": {
39371
39371
  "stability": "experimental",
39372
- "summary": "Override the contents of an npm package.json script."
39372
+ "summary": "Add a npm package.json script."
39373
39373
  },
39374
39374
  "locationInModule": {
39375
39375
  "filename": "src/javascript/node-package.ts",
39376
- "line": 726
39376
+ "line": 733
39377
39377
  },
39378
39378
  "name": "setScript",
39379
39379
  "parameters": [
@@ -39409,7 +39409,7 @@
39409
39409
  "immutable": true,
39410
39410
  "locationInModule": {
39411
39411
  "filename": "src/javascript/node-package.ts",
39412
- "line": 405
39412
+ "line": 402
39413
39413
  },
39414
39414
  "name": "allowLibraryDependencies",
39415
39415
  "type": {
@@ -39424,13 +39424,28 @@
39424
39424
  "immutable": true,
39425
39425
  "locationInModule": {
39426
39426
  "filename": "src/javascript/node-package.ts",
39427
- "line": 400
39427
+ "line": 397
39428
39428
  },
39429
39429
  "name": "entrypoint",
39430
39430
  "type": {
39431
39431
  "primitive": "string"
39432
39432
  }
39433
39433
  },
39434
+ {
39435
+ "docs": {
39436
+ "stability": "experimental",
39437
+ "summary": "The package.json file."
39438
+ },
39439
+ "immutable": true,
39440
+ "locationInModule": {
39441
+ "filename": "src/javascript/node-package.ts",
39442
+ "line": 491
39443
+ },
39444
+ "name": "file",
39445
+ "type": {
39446
+ "fqn": "projen.JsonFile"
39447
+ }
39448
+ },
39434
39449
  {
39435
39450
  "docs": {
39436
39451
  "stability": "experimental",
@@ -39439,7 +39454,7 @@
39439
39454
  "immutable": true,
39440
39455
  "locationInModule": {
39441
39456
  "filename": "src/javascript/node-package.ts",
39442
- "line": 793
39457
+ "line": 801
39443
39458
  },
39444
39459
  "name": "installAndUpdateLockfileCommand",
39445
39460
  "type": {
@@ -39454,7 +39469,7 @@
39454
39469
  "immutable": true,
39455
39470
  "locationInModule": {
39456
39471
  "filename": "src/javascript/node-package.ts",
39457
- "line": 489
39472
+ "line": 486
39458
39473
  },
39459
39474
  "name": "installCiTask",
39460
39475
  "type": {
@@ -39469,7 +39484,7 @@
39469
39484
  "immutable": true,
39470
39485
  "locationInModule": {
39471
39486
  "filename": "src/javascript/node-package.ts",
39472
- "line": 786
39487
+ "line": 794
39473
39488
  },
39474
39489
  "name": "installCommand",
39475
39490
  "type": {
@@ -39484,7 +39499,7 @@
39484
39499
  "immutable": true,
39485
39500
  "locationInModule": {
39486
39501
  "filename": "src/javascript/node-package.ts",
39487
- "line": 484
39502
+ "line": 481
39488
39503
  },
39489
39504
  "name": "installTask",
39490
39505
  "type": {
@@ -39499,7 +39514,7 @@
39499
39514
  "immutable": true,
39500
39515
  "locationInModule": {
39501
39516
  "filename": "src/javascript/node-package.ts",
39502
- "line": 479
39517
+ "line": 476
39503
39518
  },
39504
39519
  "name": "lockFile",
39505
39520
  "type": {
@@ -39514,7 +39529,7 @@
39514
39529
  "immutable": true,
39515
39530
  "locationInModule": {
39516
39531
  "filename": "src/javascript/node-package.ts",
39517
- "line": 415
39532
+ "line": 412
39518
39533
  },
39519
39534
  "name": "manifest",
39520
39535
  "type": {
@@ -39529,7 +39544,7 @@
39529
39544
  "immutable": true,
39530
39545
  "locationInModule": {
39531
39546
  "filename": "src/javascript/node-package.ts",
39532
- "line": 474
39547
+ "line": 471
39533
39548
  },
39534
39549
  "name": "npmAccess",
39535
39550
  "type": {
@@ -39544,7 +39559,7 @@
39544
39559
  "immutable": true,
39545
39560
  "locationInModule": {
39546
39561
  "filename": "src/javascript/node-package.ts",
39547
- "line": 449
39562
+ "line": 446
39548
39563
  },
39549
39564
  "name": "npmRegistry",
39550
39565
  "type": {
@@ -39559,7 +39574,7 @@
39559
39574
  "immutable": true,
39560
39575
  "locationInModule": {
39561
39576
  "filename": "src/javascript/node-package.ts",
39562
- "line": 444
39577
+ "line": 441
39563
39578
  },
39564
39579
  "name": "npmRegistryUrl",
39565
39580
  "type": {
@@ -39574,7 +39589,7 @@
39574
39589
  "immutable": true,
39575
39590
  "locationInModule": {
39576
39591
  "filename": "src/javascript/node-package.ts",
39577
- "line": 410
39592
+ "line": 407
39578
39593
  },
39579
39594
  "name": "packageManager",
39580
39595
  "type": {
@@ -39589,7 +39604,7 @@
39589
39604
  "immutable": true,
39590
39605
  "locationInModule": {
39591
39606
  "filename": "src/javascript/node-package.ts",
39592
- "line": 395
39607
+ "line": 392
39593
39608
  },
39594
39609
  "name": "packageName",
39595
39610
  "type": {
@@ -39604,7 +39619,7 @@
39604
39619
  "immutable": true,
39605
39620
  "locationInModule": {
39606
39621
  "filename": "src/javascript/node-package.ts",
39607
- "line": 873
39622
+ "line": 881
39608
39623
  },
39609
39624
  "name": "projenCommand",
39610
39625
  "type": {
@@ -39621,7 +39636,7 @@
39621
39636
  "immutable": true,
39622
39637
  "locationInModule": {
39623
39638
  "filename": "src/javascript/node-package.ts",
39624
- "line": 462
39639
+ "line": 459
39625
39640
  },
39626
39641
  "name": "codeArtifactOptions",
39627
39642
  "optional": true,
@@ -39638,7 +39653,7 @@
39638
39653
  "immutable": true,
39639
39654
  "locationInModule": {
39640
39655
  "filename": "src/javascript/node-package.ts",
39641
- "line": 439
39656
+ "line": 436
39642
39657
  },
39643
39658
  "name": "license",
39644
39659
  "optional": true,
@@ -39655,7 +39670,7 @@
39655
39670
  "immutable": true,
39656
39671
  "locationInModule": {
39657
39672
  "filename": "src/javascript/node-package.ts",
39658
- "line": 427
39673
+ "line": 424
39659
39674
  },
39660
39675
  "name": "maxNodeVersion",
39661
39676
  "optional": true,
@@ -39672,7 +39687,7 @@
39672
39687
  "immutable": true,
39673
39688
  "locationInModule": {
39674
39689
  "filename": "src/javascript/node-package.ts",
39675
- "line": 421
39690
+ "line": 418
39676
39691
  },
39677
39692
  "name": "minNodeVersion",
39678
39693
  "optional": true,
@@ -39688,7 +39703,7 @@
39688
39703
  "immutable": true,
39689
39704
  "locationInModule": {
39690
39705
  "filename": "src/javascript/node-package.ts",
39691
- "line": 454
39706
+ "line": 451
39692
39707
  },
39693
39708
  "name": "npmTokenSecret",
39694
39709
  "optional": true,
@@ -39705,7 +39720,7 @@
39705
39720
  "immutable": true,
39706
39721
  "locationInModule": {
39707
39722
  "filename": "src/javascript/node-package.ts",
39708
- "line": 434
39723
+ "line": 431
39709
39724
  },
39710
39725
  "name": "pnpmVersion",
39711
39726
  "optional": true,
@@ -39722,7 +39737,7 @@
39722
39737
  "immutable": true,
39723
39738
  "locationInModule": {
39724
39739
  "filename": "src/javascript/node-package.ts",
39725
- "line": 469
39740
+ "line": 466
39726
39741
  },
39727
39742
  "name": "scopedPackagesOptions",
39728
39743
  "optional": true,
@@ -39748,7 +39763,7 @@
39748
39763
  "kind": "enum",
39749
39764
  "locationInModule": {
39750
39765
  "filename": "src/javascript/node-package.ts",
39751
- "line": 1470
39766
+ "line": 1504
39752
39767
  },
39753
39768
  "members": [
39754
39769
  {
@@ -39794,7 +39809,7 @@
39794
39809
  "kind": "interface",
39795
39810
  "locationInModule": {
39796
39811
  "filename": "src/javascript/node-package.ts",
39797
- "line": 31
39812
+ "line": 26
39798
39813
  },
39799
39814
  "name": "NodePackageOptions",
39800
39815
  "namespace": "javascript",
@@ -39810,7 +39825,7 @@
39810
39825
  "immutable": true,
39811
39826
  "locationInModule": {
39812
39827
  "filename": "src/javascript/node-package.ts",
39813
- "line": 125
39828
+ "line": 120
39814
39829
  },
39815
39830
  "name": "allowLibraryDependencies",
39816
39831
  "optional": true,
@@ -39827,7 +39842,7 @@
39827
39842
  "immutable": true,
39828
39843
  "locationInModule": {
39829
39844
  "filename": "src/javascript/node-package.ts",
39830
- "line": 193
39845
+ "line": 190
39831
39846
  },
39832
39847
  "name": "authorEmail",
39833
39848
  "optional": true,
@@ -39844,7 +39859,7 @@
39844
39859
  "immutable": true,
39845
39860
  "locationInModule": {
39846
39861
  "filename": "src/javascript/node-package.ts",
39847
- "line": 188
39862
+ "line": 185
39848
39863
  },
39849
39864
  "name": "authorName",
39850
39865
  "optional": true,
@@ -39861,7 +39876,7 @@
39861
39876
  "immutable": true,
39862
39877
  "locationInModule": {
39863
39878
  "filename": "src/javascript/node-package.ts",
39864
- "line": 203
39879
+ "line": 200
39865
39880
  },
39866
39881
  "name": "authorOrganization",
39867
39882
  "optional": true,
@@ -39878,7 +39893,7 @@
39878
39893
  "immutable": true,
39879
39894
  "locationInModule": {
39880
39895
  "filename": "src/javascript/node-package.ts",
39881
- "line": 198
39896
+ "line": 195
39882
39897
  },
39883
39898
  "name": "authorUrl",
39884
39899
  "optional": true,
@@ -39896,7 +39911,7 @@
39896
39911
  "immutable": true,
39897
39912
  "locationInModule": {
39898
39913
  "filename": "src/javascript/node-package.ts",
39899
- "line": 156
39914
+ "line": 151
39900
39915
  },
39901
39916
  "name": "autoDetectBin",
39902
39917
  "optional": true,
@@ -39914,7 +39929,7 @@
39914
39929
  "immutable": true,
39915
39930
  "locationInModule": {
39916
39931
  "filename": "src/javascript/node-package.ts",
39917
- "line": 148
39932
+ "line": 143
39918
39933
  },
39919
39934
  "name": "bin",
39920
39935
  "optional": true,
@@ -39936,7 +39951,7 @@
39936
39951
  "immutable": true,
39937
39952
  "locationInModule": {
39938
39953
  "filename": "src/javascript/node-package.ts",
39939
- "line": 276
39954
+ "line": 273
39940
39955
  },
39941
39956
  "name": "bugsEmail",
39942
39957
  "optional": true,
@@ -39953,7 +39968,7 @@
39953
39968
  "immutable": true,
39954
39969
  "locationInModule": {
39955
39970
  "filename": "src/javascript/node-package.ts",
39956
- "line": 271
39971
+ "line": 268
39957
39972
  },
39958
39973
  "name": "bugsUrl",
39959
39974
  "optional": true,
@@ -39971,7 +39986,7 @@
39971
39986
  "immutable": true,
39972
39987
  "locationInModule": {
39973
39988
  "filename": "src/javascript/node-package.ts",
39974
- "line": 111
39989
+ "line": 106
39975
39990
  },
39976
39991
  "name": "bundledDeps",
39977
39992
  "optional": true,
@@ -39995,7 +40010,7 @@
39995
40010
  "immutable": true,
39996
40011
  "locationInModule": {
39997
40012
  "filename": "src/javascript/node-package.ts",
39998
- "line": 300
40013
+ "line": 297
39999
40014
  },
40000
40015
  "name": "codeArtifactOptions",
40001
40016
  "optional": true,
@@ -40018,7 +40033,7 @@
40018
40033
  "immutable": true,
40019
40034
  "locationInModule": {
40020
40035
  "filename": "src/javascript/node-package.ts",
40021
- "line": 60
40036
+ "line": 55
40022
40037
  },
40023
40038
  "name": "deps",
40024
40039
  "optional": true,
@@ -40044,7 +40059,7 @@
40044
40059
  "immutable": true,
40045
40060
  "locationInModule": {
40046
40061
  "filename": "src/javascript/node-package.ts",
40047
- "line": 44
40062
+ "line": 39
40048
40063
  },
40049
40064
  "name": "description",
40050
40065
  "optional": true,
@@ -40067,7 +40082,7 @@
40067
40082
  "immutable": true,
40068
40083
  "locationInModule": {
40069
40084
  "filename": "src/javascript/node-package.ts",
40070
- "line": 78
40085
+ "line": 73
40071
40086
  },
40072
40087
  "name": "devDeps",
40073
40088
  "optional": true,
@@ -40091,7 +40106,7 @@
40091
40106
  "immutable": true,
40092
40107
  "locationInModule": {
40093
40108
  "filename": "src/javascript/node-package.ts",
40094
- "line": 139
40109
+ "line": 134
40095
40110
  },
40096
40111
  "name": "entrypoint",
40097
40112
  "optional": true,
@@ -40108,7 +40123,7 @@
40108
40123
  "immutable": true,
40109
40124
  "locationInModule": {
40110
40125
  "filename": "src/javascript/node-package.ts",
40111
- "line": 208
40126
+ "line": 205
40112
40127
  },
40113
40128
  "name": "homepage",
40114
40129
  "optional": true,
@@ -40125,7 +40140,7 @@
40125
40140
  "immutable": true,
40126
40141
  "locationInModule": {
40127
40142
  "filename": "src/javascript/node-package.ts",
40128
- "line": 130
40143
+ "line": 125
40129
40144
  },
40130
40145
  "name": "keywords",
40131
40146
  "optional": true,
@@ -40149,7 +40164,7 @@
40149
40164
  "immutable": true,
40150
40165
  "locationInModule": {
40151
40166
  "filename": "src/javascript/node-package.ts",
40152
- "line": 243
40167
+ "line": 240
40153
40168
  },
40154
40169
  "name": "license",
40155
40170
  "optional": true,
@@ -40167,7 +40182,7 @@
40167
40182
  "immutable": true,
40168
40183
  "locationInModule": {
40169
40184
  "filename": "src/javascript/node-package.ts",
40170
- "line": 250
40185
+ "line": 247
40171
40186
  },
40172
40187
  "name": "licensed",
40173
40188
  "optional": true,
@@ -40185,7 +40200,7 @@
40185
40200
  "immutable": true,
40186
40201
  "locationInModule": {
40187
40202
  "filename": "src/javascript/node-package.ts",
40188
- "line": 227
40203
+ "line": 224
40189
40204
  },
40190
40205
  "name": "maxNodeVersion",
40191
40206
  "optional": true,
@@ -40203,7 +40218,7 @@
40203
40218
  "immutable": true,
40204
40219
  "locationInModule": {
40205
40220
  "filename": "src/javascript/node-package.ts",
40206
- "line": 220
40221
+ "line": 217
40207
40222
  },
40208
40223
  "name": "minNodeVersion",
40209
40224
  "optional": true,
@@ -40221,7 +40236,7 @@
40221
40236
  "immutable": true,
40222
40237
  "locationInModule": {
40223
40238
  "filename": "src/javascript/node-package.ts",
40224
- "line": 285
40239
+ "line": 282
40225
40240
  },
40226
40241
  "name": "npmAccess",
40227
40242
  "optional": true,
@@ -40240,7 +40255,7 @@
40240
40255
  "immutable": true,
40241
40256
  "locationInModule": {
40242
40257
  "filename": "src/javascript/node-package.ts",
40243
- "line": 266
40258
+ "line": 263
40244
40259
  },
40245
40260
  "name": "npmRegistry",
40246
40261
  "optional": true,
@@ -40259,7 +40274,7 @@
40259
40274
  "immutable": true,
40260
40275
  "locationInModule": {
40261
40276
  "filename": "src/javascript/node-package.ts",
40262
- "line": 259
40277
+ "line": 256
40263
40278
  },
40264
40279
  "name": "npmRegistryUrl",
40265
40280
  "optional": true,
@@ -40277,7 +40292,7 @@
40277
40292
  "immutable": true,
40278
40293
  "locationInModule": {
40279
40294
  "filename": "src/javascript/node-package.ts",
40280
- "line": 292
40295
+ "line": 289
40281
40296
  },
40282
40297
  "name": "npmTokenSecret",
40283
40298
  "optional": true,
@@ -40295,7 +40310,7 @@
40295
40310
  "immutable": true,
40296
40311
  "locationInModule": {
40297
40312
  "filename": "src/javascript/node-package.ts",
40298
- "line": 171
40313
+ "line": 168
40299
40314
  },
40300
40315
  "name": "packageManager",
40301
40316
  "optional": true,
@@ -40316,7 +40331,7 @@
40316
40331
  "immutable": true,
40317
40332
  "locationInModule": {
40318
40333
  "filename": "src/javascript/node-package.ts",
40319
- "line": 37
40334
+ "line": 32
40320
40335
  },
40321
40336
  "name": "packageName",
40322
40337
  "optional": true,
@@ -40333,7 +40348,7 @@
40333
40348
  "immutable": true,
40334
40349
  "locationInModule": {
40335
40350
  "filename": "src/javascript/node-package.ts",
40336
- "line": 116
40351
+ "line": 111
40337
40352
  },
40338
40353
  "name": "peerDependencyOptions",
40339
40354
  "optional": true,
@@ -40352,7 +40367,7 @@
40352
40367
  "immutable": true,
40353
40368
  "locationInModule": {
40354
40369
  "filename": "src/javascript/node-package.ts",
40355
- "line": 97
40370
+ "line": 92
40356
40371
  },
40357
40372
  "name": "peerDeps",
40358
40373
  "optional": true,
@@ -40375,7 +40390,7 @@
40375
40390
  "immutable": true,
40376
40391
  "locationInModule": {
40377
40392
  "filename": "src/javascript/node-package.ts",
40378
- "line": 234
40393
+ "line": 231
40379
40394
  },
40380
40395
  "name": "pnpmVersion",
40381
40396
  "optional": true,
@@ -40393,7 +40408,7 @@
40393
40408
  "immutable": true,
40394
40409
  "locationInModule": {
40395
40410
  "filename": "src/javascript/node-package.ts",
40396
- "line": 177
40411
+ "line": 174
40397
40412
  },
40398
40413
  "name": "repository",
40399
40414
  "optional": true,
@@ -40410,7 +40425,7 @@
40410
40425
  "immutable": true,
40411
40426
  "locationInModule": {
40412
40427
  "filename": "src/javascript/node-package.ts",
40413
- "line": 183
40428
+ "line": 180
40414
40429
  },
40415
40430
  "name": "repositoryDirectory",
40416
40431
  "optional": true,
@@ -40428,7 +40443,7 @@
40428
40443
  "immutable": true,
40429
40444
  "locationInModule": {
40430
40445
  "filename": "src/javascript/node-package.ts",
40431
- "line": 307
40446
+ "line": 304
40432
40447
  },
40433
40448
  "name": "scopedPackagesOptions",
40434
40449
  "optional": true,
@@ -40445,14 +40460,15 @@
40445
40460
  "abstract": true,
40446
40461
  "docs": {
40447
40462
  "default": "{}",
40448
- "remarks": "If a script has the same name as a standard script,\nthe standard script will be overwritten.",
40449
- "stability": "experimental",
40463
+ "deprecated": "use `project.addTask()` or `package.setScript()`",
40464
+ "remarks": "If a script has the same name as a standard script,\nthe standard script will be overwritten.\nAlso adds the script as a task.",
40465
+ "stability": "deprecated",
40450
40466
  "summary": "npm scripts to include."
40451
40467
  },
40452
40468
  "immutable": true,
40453
40469
  "locationInModule": {
40454
40470
  "filename": "src/javascript/node-package.ts",
40455
- "line": 164
40471
+ "line": 161
40456
40472
  },
40457
40473
  "name": "scripts",
40458
40474
  "optional": true,
@@ -40474,7 +40490,7 @@
40474
40490
  "immutable": true,
40475
40491
  "locationInModule": {
40476
40492
  "filename": "src/javascript/node-package.ts",
40477
- "line": 213
40493
+ "line": 210
40478
40494
  },
40479
40495
  "name": "stability",
40480
40496
  "optional": true,
@@ -40550,7 +40566,7 @@
40550
40566
  },
40551
40567
  "locationInModule": {
40552
40568
  "filename": "src/javascript/node-project.ts",
40553
- "line": 1021
40569
+ "line": 1022
40554
40570
  },
40555
40571
  "name": "addBundledDeps",
40556
40572
  "parameters": [
@@ -40576,7 +40592,7 @@
40576
40592
  },
40577
40593
  "locationInModule": {
40578
40594
  "filename": "src/javascript/node-project.ts",
40579
- "line": 804
40595
+ "line": 805
40580
40596
  },
40581
40597
  "name": "addCompileCommand",
40582
40598
  "parameters": [
@@ -40597,7 +40613,7 @@
40597
40613
  },
40598
40614
  "locationInModule": {
40599
40615
  "filename": "src/javascript/node-project.ts",
40600
- "line": 975
40616
+ "line": 976
40601
40617
  },
40602
40618
  "name": "addDeps",
40603
40619
  "parameters": [
@@ -40622,7 +40638,7 @@
40622
40638
  },
40623
40639
  "locationInModule": {
40624
40640
  "filename": "src/javascript/node-project.ts",
40625
- "line": 988
40641
+ "line": 989
40626
40642
  },
40627
40643
  "name": "addDevDeps",
40628
40644
  "parameters": [
@@ -40647,7 +40663,7 @@
40647
40663
  },
40648
40664
  "locationInModule": {
40649
40665
  "filename": "src/javascript/node-project.ts",
40650
- "line": 824
40666
+ "line": 825
40651
40667
  },
40652
40668
  "name": "addFields",
40653
40669
  "parameters": [
@@ -40674,7 +40690,7 @@
40674
40690
  },
40675
40691
  "locationInModule": {
40676
40692
  "filename": "src/javascript/node-project.ts",
40677
- "line": 834
40693
+ "line": 835
40678
40694
  },
40679
40695
  "name": "addKeywords",
40680
40696
  "parameters": [
@@ -40699,7 +40715,7 @@
40699
40715
  },
40700
40716
  "locationInModule": {
40701
40717
  "filename": "src/javascript/node-project.ts",
40702
- "line": 1025
40718
+ "line": 1026
40703
40719
  },
40704
40720
  "name": "addPackageIgnore",
40705
40721
  "overrides": "projen.Project",
@@ -40720,7 +40736,7 @@
40720
40736
  },
40721
40737
  "locationInModule": {
40722
40738
  "filename": "src/javascript/node-project.ts",
40723
- "line": 1005
40739
+ "line": 1006
40724
40740
  },
40725
40741
  "name": "addPeerDeps",
40726
40742
  "parameters": [
@@ -40773,7 +40789,7 @@
40773
40789
  },
40774
40790
  "locationInModule": {
40775
40791
  "filename": "src/javascript/node-project.ts",
40776
- "line": 814
40792
+ "line": 815
40777
40793
  },
40778
40794
  "name": "addTestCommand",
40779
40795
  "parameters": [
@@ -40789,12 +40805,13 @@
40789
40805
  },
40790
40806
  {
40791
40807
  "docs": {
40792
- "stability": "experimental",
40808
+ "deprecated": "Use `project.tasks.tryFind(name)`",
40809
+ "stability": "deprecated",
40793
40810
  "summary": "Indicates if a script by the name name is defined."
40794
40811
  },
40795
40812
  "locationInModule": {
40796
40813
  "filename": "src/javascript/node-project.ts",
40797
- "line": 796
40814
+ "line": 797
40798
40815
  },
40799
40816
  "name": "hasScript",
40800
40817
  "parameters": [
@@ -40844,7 +40861,7 @@
40844
40861
  },
40845
40862
  "locationInModule": {
40846
40863
  "filename": "src/javascript/node-project.ts",
40847
- "line": 924
40864
+ "line": 925
40848
40865
  },
40849
40866
  "name": "renderWorkflowSetup",
40850
40867
  "parameters": [
@@ -40878,7 +40895,7 @@
40878
40895
  },
40879
40896
  "locationInModule": {
40880
40897
  "filename": "src/javascript/node-project.ts",
40881
- "line": 1098
40898
+ "line": 1099
40882
40899
  },
40883
40900
  "name": "runTaskCommand",
40884
40901
  "overrides": "projen.Project",
@@ -41131,7 +41148,7 @@
41131
41148
  "immutable": true,
41132
41149
  "locationInModule": {
41133
41150
  "filename": "src/javascript/node-project.ts",
41134
- "line": 1105
41151
+ "line": 1106
41135
41152
  },
41136
41153
  "name": "buildWorkflowJobId",
41137
41154
  "optional": true,
@@ -41989,7 +42006,7 @@
41989
42006
  "kind": "enum",
41990
42007
  "locationInModule": {
41991
42008
  "filename": "src/javascript/node-package.ts",
41992
- "line": 1495
42009
+ "line": 1529
41993
42010
  },
41994
42011
  "members": [
41995
42012
  {
@@ -42166,7 +42183,7 @@
42166
42183
  "kind": "interface",
42167
42184
  "locationInModule": {
42168
42185
  "filename": "src/javascript/node-package.ts",
42169
- "line": 1459
42186
+ "line": 1493
42170
42187
  },
42171
42188
  "name": "PeerDependencyOptions",
42172
42189
  "namespace": "javascript",
@@ -42181,7 +42198,7 @@
42181
42198
  "immutable": true,
42182
42199
  "locationInModule": {
42183
42200
  "filename": "src/javascript/node-package.ts",
42184
- "line": 1464
42201
+ "line": 1498
42185
42202
  },
42186
42203
  "name": "pinnedDevDependency",
42187
42204
  "optional": true,
@@ -43257,7 +43274,7 @@
43257
43274
  "kind": "interface",
43258
43275
  "locationInModule": {
43259
43276
  "filename": "src/javascript/node-project.ts",
43260
- "line": 1113
43277
+ "line": 1114
43261
43278
  },
43262
43279
  "name": "RenderWorkflowSetupOptions",
43263
43280
  "namespace": "javascript",
@@ -43272,7 +43289,7 @@
43272
43289
  "immutable": true,
43273
43290
  "locationInModule": {
43274
43291
  "filename": "src/javascript/node-project.ts",
43275
- "line": 1118
43292
+ "line": 1119
43276
43293
  },
43277
43294
  "name": "mutable",
43278
43295
  "optional": true,
@@ -43294,7 +43311,7 @@
43294
43311
  "kind": "interface",
43295
43312
  "locationInModule": {
43296
43313
  "filename": "src/javascript/node-package.ts",
43297
- "line": 374
43314
+ "line": 371
43298
43315
  },
43299
43316
  "name": "ScopedPackagesOptions",
43300
43317
  "namespace": "javascript",
@@ -43308,7 +43325,7 @@
43308
43325
  "immutable": true,
43309
43326
  "locationInModule": {
43310
43327
  "filename": "src/javascript/node-package.ts",
43311
- "line": 385
43328
+ "line": 382
43312
43329
  },
43313
43330
  "name": "registryUrl",
43314
43331
  "type": {
@@ -43325,7 +43342,7 @@
43325
43342
  "immutable": true,
43326
43343
  "locationInModule": {
43327
43344
  "filename": "src/javascript/node-package.ts",
43328
- "line": 380
43345
+ "line": 377
43329
43346
  },
43330
43347
  "name": "scope",
43331
43348
  "type": {
@@ -54250,6 +54267,6 @@
54250
54267
  "symbolId": "src/web/tailwind:TailwindConfigOptions"
54251
54268
  }
54252
54269
  },
54253
- "version": "0.71.4",
54254
- "fingerprint": "5yvJn+M7hP1WwFYz1XB01kjitBVUUKysB8ra3y/+Xpg="
54270
+ "version": "0.71.5",
54271
+ "fingerprint": "wMydFQ08zBrGLvJK23ruRFuUiaxE5MjEaiyhLLkqzIM="
54255
54272
  }