projen 0.52.60 → 0.52.63

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 (116) hide show
  1. package/.jsii +100 -72
  2. package/changelog.md +2 -2
  3. package/docs/api/API.md +1 -0
  4. package/lib/awscdk/auto-discover.js +3 -3
  5. package/lib/awscdk/awscdk-app-java.js +1 -1
  6. package/lib/awscdk/awscdk-app-py.js +1 -1
  7. package/lib/awscdk/awscdk-app-ts.js +1 -1
  8. package/lib/awscdk/awscdk-construct.js +2 -2
  9. package/lib/awscdk/awscdk-deps-java.js +1 -1
  10. package/lib/awscdk/awscdk-deps-js.js +1 -1
  11. package/lib/awscdk/awscdk-deps.js +1 -1
  12. package/lib/awscdk/cdk-config.js +1 -1
  13. package/lib/awscdk/cdk-tasks.js +1 -1
  14. package/lib/awscdk/integration-test.js +1 -1
  15. package/lib/awscdk/lambda-function.js +2 -2
  16. package/lib/build/build-workflow.js +1 -1
  17. package/lib/cdk/auto-discover-base.js +2 -2
  18. package/lib/cdk/construct-lib.js +1 -1
  19. package/lib/cdk/integration-test-base.js +1 -1
  20. package/lib/cdk/jsii-docgen.js +1 -1
  21. package/lib/cdk/jsii-project.js +1 -1
  22. package/lib/cdk8s/auto-discover.js +2 -2
  23. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  24. package/lib/cdk8s/cdk8s-construct.js +1 -1
  25. package/lib/cdk8s/integration-test.js +1 -1
  26. package/lib/cdktf/cdktf-construct.js +1 -1
  27. package/lib/component.js +1 -1
  28. package/lib/dependencies.js +1 -1
  29. package/lib/dev-env.js +1 -1
  30. package/lib/docker-compose.js +2 -2
  31. package/lib/file.js +1 -1
  32. package/lib/gitattributes.js +1 -1
  33. package/lib/github/auto-approve.js +1 -1
  34. package/lib/github/auto-merge.js +1 -1
  35. package/lib/github/dependabot.js +1 -1
  36. package/lib/github/github-project.js +1 -1
  37. package/lib/github/github.js +1 -1
  38. package/lib/github/mergify.js +1 -1
  39. package/lib/github/pr-template.js +1 -1
  40. package/lib/github/pull-request-lint.js +1 -1
  41. package/lib/github/stale.js +1 -1
  42. package/lib/github/task-workflow.js +1 -1
  43. package/lib/github/workflows.js +1 -1
  44. package/lib/gitlab/configuration.js +1 -1
  45. package/lib/gitlab/gitlab-configuration.js +1 -1
  46. package/lib/gitlab/nested-configuration.js +1 -1
  47. package/lib/gitpod.js +1 -1
  48. package/lib/ignore-file.js +1 -1
  49. package/lib/ini.js +1 -1
  50. package/lib/java/java-project.js +1 -1
  51. package/lib/java/junit.js +1 -1
  52. package/lib/java/maven-compile.js +1 -1
  53. package/lib/java/maven-packaging.js +1 -1
  54. package/lib/java/maven-sample.js +1 -1
  55. package/lib/java/pom.js +1 -1
  56. package/lib/java/projenrc.js +1 -1
  57. package/lib/javascript/bundler.js +1 -1
  58. package/lib/javascript/eslint.js +1 -1
  59. package/lib/javascript/jest.d.ts +8 -0
  60. package/lib/javascript/jest.js +2 -2
  61. package/lib/javascript/node-package.js +1 -1
  62. package/lib/javascript/node-project.js +1 -1
  63. package/lib/javascript/npm-config.js +1 -1
  64. package/lib/javascript/prettier.js +1 -1
  65. package/lib/javascript/projenrc.js +1 -1
  66. package/lib/javascript/typescript-config.js +1 -1
  67. package/lib/javascript/upgrade-dependencies.js +2 -2
  68. package/lib/json.js +1 -1
  69. package/lib/license.js +1 -1
  70. package/lib/logger.js +1 -1
  71. package/lib/makefile.js +1 -1
  72. package/lib/object-file.js +1 -1
  73. package/lib/project-build.js +1 -1
  74. package/lib/project.js +1 -1
  75. package/lib/projects.js +1 -1
  76. package/lib/projenrc-json.js +1 -1
  77. package/lib/python/pip.js +1 -1
  78. package/lib/python/poetry.js +2 -2
  79. package/lib/python/projenrc.js +1 -1
  80. package/lib/python/pytest-sample.js +1 -1
  81. package/lib/python/pytest.js +1 -1
  82. package/lib/python/python-project.js +1 -1
  83. package/lib/python/python-sample.js +1 -1
  84. package/lib/python/requirements-file.js +1 -1
  85. package/lib/python/setuppy.js +1 -1
  86. package/lib/python/setuptools.js +1 -1
  87. package/lib/python/venv.js +1 -1
  88. package/lib/readme.js +1 -1
  89. package/lib/release/publisher.js +1 -1
  90. package/lib/release/release-trigger.js +1 -1
  91. package/lib/release/release.js +1 -1
  92. package/lib/sample-file.js +2 -2
  93. package/lib/semver.js +1 -1
  94. package/lib/source-code.js +1 -1
  95. package/lib/task-runtime.js +1 -1
  96. package/lib/task.js +1 -1
  97. package/lib/tasks.js +1 -1
  98. package/lib/testing.js +1 -1
  99. package/lib/textfile.js +1 -1
  100. package/lib/toml.js +1 -1
  101. package/lib/typescript/projenrc.js +1 -1
  102. package/lib/typescript/typescript-typedoc.js +1 -1
  103. package/lib/typescript/typescript.js +3 -3
  104. package/lib/version.js +1 -1
  105. package/lib/vscode/devcontainer.js +1 -1
  106. package/lib/vscode/launch-config.js +1 -1
  107. package/lib/vscode/vscode.js +1 -1
  108. package/lib/web/next.js +3 -3
  109. package/lib/web/postcss.js +1 -1
  110. package/lib/web/react.js +4 -4
  111. package/lib/web/tailwind.js +1 -1
  112. package/lib/xmlfile.js +1 -1
  113. package/lib/yaml.js +1 -1
  114. package/package.json +1 -1
  115. package/releasetag.txt +1 -1
  116. package/version.txt +1 -1
package/.jsii CHANGED
@@ -28282,7 +28282,7 @@
28282
28282
  "kind": "interface",
28283
28283
  "locationInModule": {
28284
28284
  "filename": "src/javascript/jest.ts",
28285
- "line": 531
28285
+ "line": 540
28286
28286
  },
28287
28287
  "name": "CoverageThreshold",
28288
28288
  "namespace": "javascript",
@@ -28295,7 +28295,7 @@
28295
28295
  "immutable": true,
28296
28296
  "locationInModule": {
28297
28297
  "filename": "src/javascript/jest.ts",
28298
- "line": 532
28298
+ "line": 541
28299
28299
  },
28300
28300
  "name": "branches",
28301
28301
  "optional": true,
@@ -28311,7 +28311,7 @@
28311
28311
  "immutable": true,
28312
28312
  "locationInModule": {
28313
28313
  "filename": "src/javascript/jest.ts",
28314
- "line": 533
28314
+ "line": 542
28315
28315
  },
28316
28316
  "name": "functions",
28317
28317
  "optional": true,
@@ -28327,7 +28327,7 @@
28327
28327
  "immutable": true,
28328
28328
  "locationInModule": {
28329
28329
  "filename": "src/javascript/jest.ts",
28330
- "line": 534
28330
+ "line": 543
28331
28331
  },
28332
28332
  "name": "lines",
28333
28333
  "optional": true,
@@ -28343,7 +28343,7 @@
28343
28343
  "immutable": true,
28344
28344
  "locationInModule": {
28345
28345
  "filename": "src/javascript/jest.ts",
28346
- "line": 535
28346
+ "line": 544
28347
28347
  },
28348
28348
  "name": "statements",
28349
28349
  "optional": true,
@@ -29049,7 +29049,7 @@
29049
29049
  "kind": "interface",
29050
29050
  "locationInModule": {
29051
29051
  "filename": "src/javascript/jest.ts",
29052
- "line": 538
29052
+ "line": 547
29053
29053
  },
29054
29054
  "name": "HasteConfig",
29055
29055
  "namespace": "javascript",
@@ -29062,7 +29062,7 @@
29062
29062
  "immutable": true,
29063
29063
  "locationInModule": {
29064
29064
  "filename": "src/javascript/jest.ts",
29065
- "line": 539
29065
+ "line": 548
29066
29066
  },
29067
29067
  "name": "computeSha1",
29068
29068
  "optional": true,
@@ -29078,7 +29078,7 @@
29078
29078
  "immutable": true,
29079
29079
  "locationInModule": {
29080
29080
  "filename": "src/javascript/jest.ts",
29081
- "line": 540
29081
+ "line": 549
29082
29082
  },
29083
29083
  "name": "defaultPlatform",
29084
29084
  "optional": true,
@@ -29094,7 +29094,7 @@
29094
29094
  "immutable": true,
29095
29095
  "locationInModule": {
29096
29096
  "filename": "src/javascript/jest.ts",
29097
- "line": 541
29097
+ "line": 550
29098
29098
  },
29099
29099
  "name": "hasteImplModulePath",
29100
29100
  "optional": true,
@@ -29110,7 +29110,7 @@
29110
29110
  "immutable": true,
29111
29111
  "locationInModule": {
29112
29112
  "filename": "src/javascript/jest.ts",
29113
- "line": 542
29113
+ "line": 551
29114
29114
  },
29115
29115
  "name": "platforms",
29116
29116
  "optional": true,
@@ -29131,7 +29131,7 @@
29131
29131
  "immutable": true,
29132
29132
  "locationInModule": {
29133
29133
  "filename": "src/javascript/jest.ts",
29134
- "line": 543
29134
+ "line": 552
29135
29135
  },
29136
29136
  "name": "throwOnModuleCollision",
29137
29137
  "optional": true,
@@ -29156,7 +29156,7 @@
29156
29156
  },
29157
29157
  "locationInModule": {
29158
29158
  "filename": "src/javascript/jest.ts",
29159
- "line": 572
29159
+ "line": 581
29160
29160
  },
29161
29161
  "parameters": [
29162
29162
  {
@@ -29177,7 +29177,7 @@
29177
29177
  "kind": "class",
29178
29178
  "locationInModule": {
29179
29179
  "filename": "src/javascript/jest.ts",
29180
- "line": 556
29180
+ "line": 565
29181
29181
  },
29182
29182
  "methods": [
29183
29183
  {
@@ -29186,7 +29186,7 @@
29186
29186
  },
29187
29187
  "locationInModule": {
29188
29188
  "filename": "src/javascript/jest.ts",
29189
- "line": 698
29189
+ "line": 707
29190
29190
  },
29191
29191
  "name": "addIgnorePattern",
29192
29192
  "parameters": [
@@ -29204,7 +29204,7 @@
29204
29204
  },
29205
29205
  "locationInModule": {
29206
29206
  "filename": "src/javascript/jest.ts",
29207
- "line": 702
29207
+ "line": 711
29208
29208
  },
29209
29209
  "name": "addReporter",
29210
29210
  "parameters": [
@@ -29231,7 +29231,7 @@
29231
29231
  },
29232
29232
  "locationInModule": {
29233
29233
  "filename": "src/javascript/jest.ts",
29234
- "line": 706
29234
+ "line": 715
29235
29235
  },
29236
29236
  "name": "addSnapshotResolver",
29237
29237
  "parameters": [
@@ -29250,7 +29250,7 @@
29250
29250
  },
29251
29251
  "locationInModule": {
29252
29252
  "filename": "src/javascript/jest.ts",
29253
- "line": 686
29253
+ "line": 695
29254
29254
  },
29255
29255
  "name": "addTestMatch",
29256
29256
  "parameters": [
@@ -29272,7 +29272,7 @@
29272
29272
  },
29273
29273
  "locationInModule": {
29274
29274
  "filename": "src/javascript/jest.ts",
29275
- "line": 694
29275
+ "line": 703
29276
29276
  },
29277
29277
  "name": "addWatchIgnorePattern",
29278
29278
  "parameters": [
@@ -29299,7 +29299,7 @@
29299
29299
  "immutable": true,
29300
29300
  "locationInModule": {
29301
29301
  "filename": "src/javascript/jest.ts",
29302
- "line": 560
29302
+ "line": 569
29303
29303
  },
29304
29304
  "name": "config",
29305
29305
  "type": {
@@ -29767,6 +29767,34 @@
29767
29767
  "primitive": "number"
29768
29768
  }
29769
29769
  },
29770
+ {
29771
+ "abstract": true,
29772
+ "docs": {
29773
+ "default": "- the number of the cores available on your machine minus one for the main thread",
29774
+ "remarks": "In single run mode,\nthis defaults to the number of the cores available on your machine minus one for the main thread\nIn watch mode, this defaults to half of the available cores on your machine.\nFor environments with variable CPUs available, you can use percentage based configuration: \"maxWorkers\": \"50%\"",
29775
+ "stability": "experimental",
29776
+ "summary": "Specifies the maximum number of workers the worker-pool will spawn for running tests."
29777
+ },
29778
+ "immutable": true,
29779
+ "locationInModule": {
29780
+ "filename": "src/javascript/jest.ts",
29781
+ "line": 167
29782
+ },
29783
+ "name": "maxWorkers",
29784
+ "optional": true,
29785
+ "type": {
29786
+ "union": {
29787
+ "types": [
29788
+ {
29789
+ "primitive": "string"
29790
+ },
29791
+ {
29792
+ "primitive": "number"
29793
+ }
29794
+ ]
29795
+ }
29796
+ }
29797
+ },
29770
29798
  {
29771
29799
  "abstract": true,
29772
29800
  "docs": {
@@ -29778,7 +29806,7 @@
29778
29806
  "immutable": true,
29779
29807
  "locationInModule": {
29780
29808
  "filename": "src/javascript/jest.ts",
29781
- "line": 166
29809
+ "line": 175
29782
29810
  },
29783
29811
  "name": "moduleDirectories",
29784
29812
  "optional": true,
@@ -29802,7 +29830,7 @@
29802
29830
  "immutable": true,
29803
29831
  "locationInModule": {
29804
29832
  "filename": "src/javascript/jest.ts",
29805
- "line": 173
29833
+ "line": 182
29806
29834
  },
29807
29835
  "name": "moduleFileExtensions",
29808
29836
  "optional": true,
@@ -29825,7 +29853,7 @@
29825
29853
  "immutable": true,
29826
29854
  "locationInModule": {
29827
29855
  "filename": "src/javascript/jest.ts",
29828
- "line": 180
29856
+ "line": 189
29829
29857
  },
29830
29858
  "name": "moduleNameMapper",
29831
29859
  "optional": true,
@@ -29863,7 +29891,7 @@
29863
29891
  "immutable": true,
29864
29892
  "locationInModule": {
29865
29893
  "filename": "src/javascript/jest.ts",
29866
- "line": 188
29894
+ "line": 197
29867
29895
  },
29868
29896
  "name": "modulePathIgnorePatterns",
29869
29897
  "optional": true,
@@ -29887,7 +29915,7 @@
29887
29915
  "immutable": true,
29888
29916
  "locationInModule": {
29889
29917
  "filename": "src/javascript/jest.ts",
29890
- "line": 196
29918
+ "line": 205
29891
29919
  },
29892
29920
  "name": "modulePaths",
29893
29921
  "optional": true,
@@ -29910,7 +29938,7 @@
29910
29938
  "immutable": true,
29911
29939
  "locationInModule": {
29912
29940
  "filename": "src/javascript/jest.ts",
29913
- "line": 202
29941
+ "line": 211
29914
29942
  },
29915
29943
  "name": "notify",
29916
29944
  "optional": true,
@@ -29929,7 +29957,7 @@
29929
29957
  "immutable": true,
29930
29958
  "locationInModule": {
29931
29959
  "filename": "src/javascript/jest.ts",
29932
- "line": 208
29960
+ "line": 217
29933
29961
  },
29934
29962
  "name": "notifyMode",
29935
29963
  "optional": true,
@@ -29948,7 +29976,7 @@
29948
29976
  "immutable": true,
29949
29977
  "locationInModule": {
29950
29978
  "filename": "src/javascript/jest.ts",
29951
- "line": 221
29979
+ "line": 230
29952
29980
  },
29953
29981
  "name": "preset",
29954
29982
  "optional": true,
@@ -29966,7 +29994,7 @@
29966
29994
  "immutable": true,
29967
29995
  "locationInModule": {
29968
29996
  "filename": "src/javascript/jest.ts",
29969
- "line": 227
29997
+ "line": 236
29970
29998
  },
29971
29999
  "name": "prettierPath",
29972
30000
  "optional": true,
@@ -29985,7 +30013,7 @@
29985
30013
  "immutable": true,
29986
30014
  "locationInModule": {
29987
30015
  "filename": "src/javascript/jest.ts",
29988
- "line": 235
30016
+ "line": 244
29989
30017
  },
29990
30018
  "name": "projects",
29991
30019
  "optional": true,
@@ -30023,7 +30051,7 @@
30023
30051
  "immutable": true,
30024
30052
  "locationInModule": {
30025
30053
  "filename": "src/javascript/jest.ts",
30026
- "line": 243
30054
+ "line": 252
30027
30055
  },
30028
30056
  "name": "reporters",
30029
30057
  "optional": true,
@@ -30056,7 +30084,7 @@
30056
30084
  "immutable": true,
30057
30085
  "locationInModule": {
30058
30086
  "filename": "src/javascript/jest.ts",
30059
- "line": 251
30087
+ "line": 260
30060
30088
  },
30061
30089
  "name": "resetMocks",
30062
30090
  "optional": true,
@@ -30075,7 +30103,7 @@
30075
30103
  "immutable": true,
30076
30104
  "locationInModule": {
30077
30105
  "filename": "src/javascript/jest.ts",
30078
- "line": 258
30106
+ "line": 267
30079
30107
  },
30080
30108
  "name": "resetModules",
30081
30109
  "optional": true,
@@ -30094,7 +30122,7 @@
30094
30122
  "immutable": true,
30095
30123
  "locationInModule": {
30096
30124
  "filename": "src/javascript/jest.ts",
30097
- "line": 265
30125
+ "line": 274
30098
30126
  },
30099
30127
  "name": "resolver",
30100
30128
  "optional": true,
@@ -30113,7 +30141,7 @@
30113
30141
  "immutable": true,
30114
30142
  "locationInModule": {
30115
30143
  "filename": "src/javascript/jest.ts",
30116
- "line": 273
30144
+ "line": 282
30117
30145
  },
30118
30146
  "name": "restoreMocks",
30119
30147
  "optional": true,
@@ -30132,7 +30160,7 @@
30132
30160
  "immutable": true,
30133
30161
  "locationInModule": {
30134
30162
  "filename": "src/javascript/jest.ts",
30135
- "line": 281
30163
+ "line": 290
30136
30164
  },
30137
30165
  "name": "rootDir",
30138
30166
  "optional": true,
@@ -30150,7 +30178,7 @@
30150
30178
  "immutable": true,
30151
30179
  "locationInModule": {
30152
30180
  "filename": "src/javascript/jest.ts",
30153
- "line": 287
30181
+ "line": 296
30154
30182
  },
30155
30183
  "name": "roots",
30156
30184
  "optional": true,
@@ -30173,7 +30201,7 @@
30173
30201
  "immutable": true,
30174
30202
  "locationInModule": {
30175
30203
  "filename": "src/javascript/jest.ts",
30176
- "line": 293
30204
+ "line": 302
30177
30205
  },
30178
30206
  "name": "runner",
30179
30207
  "optional": true,
@@ -30192,7 +30220,7 @@
30192
30220
  "immutable": true,
30193
30221
  "locationInModule": {
30194
30222
  "filename": "src/javascript/jest.ts",
30195
- "line": 302
30223
+ "line": 311
30196
30224
  },
30197
30225
  "name": "setupFiles",
30198
30226
  "optional": true,
@@ -30216,7 +30244,7 @@
30216
30244
  "immutable": true,
30217
30245
  "locationInModule": {
30218
30246
  "filename": "src/javascript/jest.ts",
30219
- "line": 311
30247
+ "line": 320
30220
30248
  },
30221
30249
  "name": "setupFilesAfterEnv",
30222
30250
  "optional": true,
@@ -30239,7 +30267,7 @@
30239
30267
  "immutable": true,
30240
30268
  "locationInModule": {
30241
30269
  "filename": "src/javascript/jest.ts",
30242
- "line": 317
30270
+ "line": 326
30243
30271
  },
30244
30272
  "name": "slowTestThreshold",
30245
30273
  "optional": true,
@@ -30258,7 +30286,7 @@
30258
30286
  "immutable": true,
30259
30287
  "locationInModule": {
30260
30288
  "filename": "src/javascript/jest.ts",
30261
- "line": 324
30289
+ "line": 333
30262
30290
  },
30263
30291
  "name": "snapshotResolver",
30264
30292
  "optional": true,
@@ -30276,7 +30304,7 @@
30276
30304
  "immutable": true,
30277
30305
  "locationInModule": {
30278
30306
  "filename": "src/javascript/jest.ts",
30279
- "line": 330
30307
+ "line": 339
30280
30308
  },
30281
30309
  "name": "snapshotSerializers",
30282
30310
  "optional": true,
@@ -30300,7 +30328,7 @@
30300
30328
  "immutable": true,
30301
30329
  "locationInModule": {
30302
30330
  "filename": "src/javascript/jest.ts",
30303
- "line": 338
30331
+ "line": 347
30304
30332
  },
30305
30333
  "name": "testEnvironment",
30306
30334
  "optional": true,
@@ -30319,7 +30347,7 @@
30319
30347
  "immutable": true,
30320
30348
  "locationInModule": {
30321
30349
  "filename": "src/javascript/jest.ts",
30322
- "line": 345
30350
+ "line": 354
30323
30351
  },
30324
30352
  "name": "testEnvironmentOptions",
30325
30353
  "optional": true,
@@ -30337,7 +30365,7 @@
30337
30365
  "immutable": true,
30338
30366
  "locationInModule": {
30339
30367
  "filename": "src/javascript/jest.ts",
30340
- "line": 351
30368
+ "line": 360
30341
30369
  },
30342
30370
  "name": "testFailureExitCode",
30343
30371
  "optional": true,
@@ -30356,7 +30384,7 @@
30356
30384
  "immutable": true,
30357
30385
  "locationInModule": {
30358
30386
  "filename": "src/javascript/jest.ts",
30359
- "line": 359
30387
+ "line": 368
30360
30388
  },
30361
30389
  "name": "testMatch",
30362
30390
  "optional": true,
@@ -30380,7 +30408,7 @@
30380
30408
  "immutable": true,
30381
30409
  "locationInModule": {
30382
30410
  "filename": "src/javascript/jest.ts",
30383
- "line": 366
30411
+ "line": 375
30384
30412
  },
30385
30413
  "name": "testPathIgnorePatterns",
30386
30414
  "optional": true,
@@ -30404,7 +30432,7 @@
30404
30432
  "immutable": true,
30405
30433
  "locationInModule": {
30406
30434
  "filename": "src/javascript/jest.ts",
30407
- "line": 374
30435
+ "line": 383
30408
30436
  },
30409
30437
  "name": "testRegex",
30410
30438
  "optional": true,
@@ -30436,7 +30464,7 @@
30436
30464
  "immutable": true,
30437
30465
  "locationInModule": {
30438
30466
  "filename": "src/javascript/jest.ts",
30439
- "line": 380
30467
+ "line": 389
30440
30468
  },
30441
30469
  "name": "testResultsProcessor",
30442
30470
  "optional": true,
@@ -30455,7 +30483,7 @@
30455
30483
  "immutable": true,
30456
30484
  "locationInModule": {
30457
30485
  "filename": "src/javascript/jest.ts",
30458
- "line": 387
30486
+ "line": 396
30459
30487
  },
30460
30488
  "name": "testRunner",
30461
30489
  "optional": true,
@@ -30477,7 +30505,7 @@
30477
30505
  "immutable": true,
30478
30506
  "locationInModule": {
30479
30507
  "filename": "src/javascript/jest.ts",
30480
- "line": 394
30508
+ "line": 403
30481
30509
  },
30482
30510
  "name": "testSequencer",
30483
30511
  "optional": true,
@@ -30495,7 +30523,7 @@
30495
30523
  "immutable": true,
30496
30524
  "locationInModule": {
30497
30525
  "filename": "src/javascript/jest.ts",
30498
- "line": 400
30526
+ "line": 409
30499
30527
  },
30500
30528
  "name": "testTimeout",
30501
30529
  "optional": true,
@@ -30514,7 +30542,7 @@
30514
30542
  "immutable": true,
30515
30543
  "locationInModule": {
30516
30544
  "filename": "src/javascript/jest.ts",
30517
- "line": 406
30545
+ "line": 415
30518
30546
  },
30519
30547
  "name": "testURL",
30520
30548
  "optional": true,
@@ -30533,7 +30561,7 @@
30533
30561
  "immutable": true,
30534
30562
  "locationInModule": {
30535
30563
  "filename": "src/javascript/jest.ts",
30536
- "line": 413
30564
+ "line": 422
30537
30565
  },
30538
30566
  "name": "timers",
30539
30567
  "optional": true,
@@ -30552,7 +30580,7 @@
30552
30580
  "immutable": true,
30553
30581
  "locationInModule": {
30554
30582
  "filename": "src/javascript/jest.ts",
30555
- "line": 420
30583
+ "line": 429
30556
30584
  },
30557
30585
  "name": "transform",
30558
30586
  "optional": true,
@@ -30585,7 +30613,7 @@
30585
30613
  "immutable": true,
30586
30614
  "locationInModule": {
30587
30615
  "filename": "src/javascript/jest.ts",
30588
- "line": 427
30616
+ "line": 436
30589
30617
  },
30590
30618
  "name": "transformIgnorePatterns",
30591
30619
  "optional": true,
@@ -30609,7 +30637,7 @@
30609
30637
  "immutable": true,
30610
30638
  "locationInModule": {
30611
30639
  "filename": "src/javascript/jest.ts",
30612
- "line": 435
30640
+ "line": 444
30613
30641
  },
30614
30642
  "name": "unmockedModulePathPatterns",
30615
30643
  "optional": true,
@@ -30633,7 +30661,7 @@
30633
30661
  "immutable": true,
30634
30662
  "locationInModule": {
30635
30663
  "filename": "src/javascript/jest.ts",
30636
- "line": 443
30664
+ "line": 452
30637
30665
  },
30638
30666
  "name": "verbose",
30639
30667
  "optional": true,
@@ -30651,7 +30679,7 @@
30651
30679
  "immutable": true,
30652
30680
  "locationInModule": {
30653
30681
  "filename": "src/javascript/jest.ts",
30654
- "line": 463
30682
+ "line": 472
30655
30683
  },
30656
30684
  "name": "watchman",
30657
30685
  "optional": true,
@@ -30670,7 +30698,7 @@
30670
30698
  "immutable": true,
30671
30699
  "locationInModule": {
30672
30700
  "filename": "src/javascript/jest.ts",
30673
- "line": 451
30701
+ "line": 460
30674
30702
  },
30675
30703
  "name": "watchPathIgnorePatterns",
30676
30704
  "optional": true,
@@ -30692,7 +30720,7 @@
30692
30720
  "immutable": true,
30693
30721
  "locationInModule": {
30694
30722
  "filename": "src/javascript/jest.ts",
30695
- "line": 457
30723
+ "line": 466
30696
30724
  },
30697
30725
  "name": "watchPlugins",
30698
30726
  "optional": true,
@@ -30713,7 +30741,7 @@
30713
30741
  "kind": "interface",
30714
30742
  "locationInModule": {
30715
30743
  "filename": "src/javascript/jest.ts",
30716
- "line": 471
30744
+ "line": 480
30717
30745
  },
30718
30746
  "name": "JestOptions",
30719
30747
  "namespace": "javascript",
@@ -30728,7 +30756,7 @@
30728
30756
  "immutable": true,
30729
30757
  "locationInModule": {
30730
30758
  "filename": "src/javascript/jest.ts",
30731
- "line": 522
30759
+ "line": 531
30732
30760
  },
30733
30761
  "name": "configFilePath",
30734
30762
  "optional": true,
@@ -30748,7 +30776,7 @@
30748
30776
  "immutable": true,
30749
30777
  "locationInModule": {
30750
30778
  "filename": "src/javascript/jest.ts",
30751
- "line": 477
30779
+ "line": 486
30752
30780
  },
30753
30781
  "name": "coverage",
30754
30782
  "optional": true,
@@ -30766,7 +30794,7 @@
30766
30794
  "immutable": true,
30767
30795
  "locationInModule": {
30768
30796
  "filename": "src/javascript/jest.ts",
30769
- "line": 485
30797
+ "line": 494
30770
30798
  },
30771
30799
  "name": "coverageText",
30772
30800
  "optional": true,
@@ -30785,7 +30813,7 @@
30785
30813
  "immutable": true,
30786
30814
  "locationInModule": {
30787
30815
  "filename": "src/javascript/jest.ts",
30788
- "line": 492
30816
+ "line": 501
30789
30817
  },
30790
30818
  "name": "ignorePatterns",
30791
30819
  "optional": true,
@@ -30808,7 +30836,7 @@
30808
30836
  "immutable": true,
30809
30837
  "locationInModule": {
30810
30838
  "filename": "src/javascript/jest.ts",
30811
- "line": 528
30839
+ "line": 537
30812
30840
  },
30813
30841
  "name": "jestConfig",
30814
30842
  "optional": true,
@@ -30826,7 +30854,7 @@
30826
30854
  "immutable": true,
30827
30855
  "locationInModule": {
30828
30856
  "filename": "src/javascript/jest.ts",
30829
- "line": 515
30857
+ "line": 524
30830
30858
  },
30831
30859
  "name": "jestVersion",
30832
30860
  "optional": true,
@@ -30845,7 +30873,7 @@
30845
30873
  "immutable": true,
30846
30874
  "locationInModule": {
30847
30875
  "filename": "src/javascript/jest.ts",
30848
- "line": 501
30876
+ "line": 510
30849
30877
  },
30850
30878
  "name": "junitReporting",
30851
30879
  "optional": true,
@@ -30863,7 +30891,7 @@
30863
30891
  "immutable": true,
30864
30892
  "locationInModule": {
30865
30893
  "filename": "src/javascript/jest.ts",
30866
- "line": 508
30894
+ "line": 517
30867
30895
  },
30868
30896
  "name": "preserveDefaultReporters",
30869
30897
  "optional": true,
@@ -44381,6 +44409,6 @@
44381
44409
  "symbolId": "src/web/tailwind:TailwindConfigOptions"
44382
44410
  }
44383
44411
  },
44384
- "version": "0.52.60",
44385
- "fingerprint": "+1f0fk2ROv5fUDq+FKrrW87NtIYyeWn7o2U9m2DfYvw="
44412
+ "version": "0.52.63",
44413
+ "fingerprint": "8X0G3hYGHzPiAMrgufM+bFt3bg0odzzHkXy/0AFDVtM="
44386
44414
  }
package/changelog.md CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
- ### [0.52.60](https://github.com/projen/projen/compare/v0.52.59...v0.52.60) (2022-03-08)
2
+ ### [0.52.63](https://github.com/projen/projen/compare/v0.52.62...v0.52.63) (2022-03-10)
3
3
 
4
4
 
5
5
  ### Features
6
6
 
7
- * Exclude packages that has version set by Projen from upgrade task ([#1665](https://github.com/projen/projen/issues/1665)) ([b2625a4](https://github.com/projen/projen/commit/b2625a456390d6ed32e1f331cbd400a1d7a81dcc)), closes [#1659](https://github.com/projen/projen/issues/1659)
7
+ * **jest:** expose maxmaxWorkers property in jest config ([#1675](https://github.com/projen/projen/issues/1675)) ([5b9369c](https://github.com/projen/projen/commit/5b9369caa68483b92b118a689f081acf9806fc9c)), closes [#1645](https://github.com/projen/projen/issues/1645)
package/docs/api/API.md CHANGED
@@ -14645,6 +14645,7 @@ Name | Type | Description
14645
14645
  **haste**?🔹 | <code>[javascript.HasteConfig](#projen-javascript-hasteconfig)</code> | This will be used to configure the behavior of jest-haste-map, Jest's internal file crawler/cache system.<br/>__*Default*__: {}
14646
14646
  **injectGlobals**?🔹 | <code>boolean</code> | Insert Jest's globals (expect, test, describe, beforeEach etc.) into the global environment. If you set this to false, you should import from @jest/globals.<br/>__*Default*__: true
14647
14647
  **maxConcurrency**?🔹 | <code>number</code> | A number limiting the number of tests that are allowed to run at the same time when using test.concurrent. Any test above this limit will be queued and executed once a slot is released.<br/>__*Default*__: 5
14648
+ **maxWorkers**?🔹 | <code>string &#124; number</code> | Specifies the maximum number of workers the worker-pool will spawn for running tests.<br/>__*Default*__: the number of the cores available on your machine minus one for the main thread
14648
14649
  **moduleDirectories**?🔹 | <code>Array<string></code> | An array of directory names to be searched recursively up from the requiring module's location.<br/>__*Default*__: ["node_modules"]
14649
14650
  **moduleFileExtensions**?🔹 | <code>Array<string></code> | An array of file extensions your modules use.<br/>__*Default*__: ["js", "json", "jsx", "ts", "tsx", "node"]
14650
14651
  **moduleNameMapper**?🔹 | <code>Map<string, string &#124; Array<string>></code> | A map from regular expressions to module names or to arrays of module names that allow to stub out resources, like images or styles with a single module.<br/>__*Default*__: null