projen 0.95.2__py3-none-any.whl → 0.95.4__py3-none-any.whl

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.

Potentially problematic release.


This version of projen might be problematic. Click here for more details.

projen/cdk8s/__init__.py CHANGED
@@ -2616,6 +2616,7 @@ class Cdk8sTypeScriptApp(
2616
2616
  npm_registry: typing.Optional[builtins.str] = None,
2617
2617
  npm_registry_url: typing.Optional[builtins.str] = None,
2618
2618
  npm_token_secret: typing.Optional[builtins.str] = None,
2619
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
2619
2620
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
2620
2621
  package_name: typing.Optional[builtins.str] = None,
2621
2622
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -2783,6 +2784,7 @@ class Cdk8sTypeScriptApp(
2783
2784
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
2784
2785
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
2785
2786
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
2787
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
2786
2788
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
2787
2789
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
2788
2790
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -2952,6 +2954,7 @@ class Cdk8sTypeScriptApp(
2952
2954
  npm_registry=npm_registry,
2953
2955
  npm_registry_url=npm_registry_url,
2954
2956
  npm_token_secret=npm_token_secret,
2957
+ npm_trusted_publishing=npm_trusted_publishing,
2955
2958
  package_manager=package_manager,
2956
2959
  package_name=package_name,
2957
2960
  peer_dependency_options=peer_dependency_options,
@@ -3082,6 +3085,7 @@ class Cdk8sTypeScriptApp(
3082
3085
  "npm_registry": "npmRegistry",
3083
3086
  "npm_registry_url": "npmRegistryUrl",
3084
3087
  "npm_token_secret": "npmTokenSecret",
3088
+ "npm_trusted_publishing": "npmTrustedPublishing",
3085
3089
  "package_manager": "packageManager",
3086
3090
  "package_name": "packageName",
3087
3091
  "peer_dependency_options": "peerDependencyOptions",
@@ -3256,6 +3260,7 @@ class Cdk8sTypeScriptAppOptions(
3256
3260
  npm_registry: typing.Optional[builtins.str] = None,
3257
3261
  npm_registry_url: typing.Optional[builtins.str] = None,
3258
3262
  npm_token_secret: typing.Optional[builtins.str] = None,
3263
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
3259
3264
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
3260
3265
  package_name: typing.Optional[builtins.str] = None,
3261
3266
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -3423,6 +3428,7 @@ class Cdk8sTypeScriptAppOptions(
3423
3428
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
3424
3429
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
3425
3430
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
3431
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
3426
3432
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
3427
3433
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
3428
3434
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -3657,6 +3663,7 @@ class Cdk8sTypeScriptAppOptions(
3657
3663
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
3658
3664
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
3659
3665
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
3666
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
3660
3667
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
3661
3668
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
3662
3669
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -3881,6 +3888,8 @@ class Cdk8sTypeScriptAppOptions(
3881
3888
  self._values["npm_registry_url"] = npm_registry_url
3882
3889
  if npm_token_secret is not None:
3883
3890
  self._values["npm_token_secret"] = npm_token_secret
3891
+ if npm_trusted_publishing is not None:
3892
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
3884
3893
  if package_manager is not None:
3885
3894
  self._values["package_manager"] = package_manager
3886
3895
  if package_name is not None:
@@ -4811,6 +4820,17 @@ class Cdk8sTypeScriptAppOptions(
4811
4820
  result = self._values.get("npm_token_secret")
4812
4821
  return typing.cast(typing.Optional[builtins.str], result)
4813
4822
 
4823
+ @builtins.property
4824
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
4825
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
4826
+
4827
+ :default: - false
4828
+
4829
+ :stability: experimental
4830
+ '''
4831
+ result = self._values.get("npm_trusted_publishing")
4832
+ return typing.cast(typing.Optional[builtins.bool], result)
4833
+
4814
4834
  @builtins.property
4815
4835
  def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
4816
4836
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -6294,6 +6314,7 @@ class ConstructLibraryCdk8s(
6294
6314
  npm_registry: typing.Optional[builtins.str] = None,
6295
6315
  npm_registry_url: typing.Optional[builtins.str] = None,
6296
6316
  npm_token_secret: typing.Optional[builtins.str] = None,
6317
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
6297
6318
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
6298
6319
  package_name: typing.Optional[builtins.str] = None,
6299
6320
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -6470,6 +6491,7 @@ class ConstructLibraryCdk8s(
6470
6491
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
6471
6492
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
6472
6493
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
6494
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
6473
6495
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
6474
6496
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
6475
6497
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -6648,6 +6670,7 @@ class ConstructLibraryCdk8s(
6648
6670
  npm_registry=npm_registry,
6649
6671
  npm_registry_url=npm_registry_url,
6650
6672
  npm_token_secret=npm_token_secret,
6673
+ npm_trusted_publishing=npm_trusted_publishing,
6651
6674
  package_manager=package_manager,
6652
6675
  package_name=package_name,
6653
6676
  peer_dependency_options=peer_dependency_options,
@@ -6779,6 +6802,7 @@ class ConstructLibraryCdk8s(
6779
6802
  "npm_registry": "npmRegistry",
6780
6803
  "npm_registry_url": "npmRegistryUrl",
6781
6804
  "npm_token_secret": "npmTokenSecret",
6805
+ "npm_trusted_publishing": "npmTrustedPublishing",
6782
6806
  "package_manager": "packageManager",
6783
6807
  "package_name": "packageName",
6784
6808
  "peer_dependency_options": "peerDependencyOptions",
@@ -6959,6 +6983,7 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
6959
6983
  npm_registry: typing.Optional[builtins.str] = None,
6960
6984
  npm_registry_url: typing.Optional[builtins.str] = None,
6961
6985
  npm_token_secret: typing.Optional[builtins.str] = None,
6986
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
6962
6987
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
6963
6988
  package_name: typing.Optional[builtins.str] = None,
6964
6989
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -7135,6 +7160,7 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
7135
7160
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
7136
7161
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
7137
7162
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
7163
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
7138
7164
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
7139
7165
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
7140
7166
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -7392,6 +7418,7 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
7392
7418
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
7393
7419
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
7394
7420
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
7421
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
7395
7422
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
7396
7423
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
7397
7424
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -7628,6 +7655,8 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
7628
7655
  self._values["npm_registry_url"] = npm_registry_url
7629
7656
  if npm_token_secret is not None:
7630
7657
  self._values["npm_token_secret"] = npm_token_secret
7658
+ if npm_trusted_publishing is not None:
7659
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
7631
7660
  if package_manager is not None:
7632
7661
  self._values["package_manager"] = package_manager
7633
7662
  if package_name is not None:
@@ -8570,6 +8599,17 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
8570
8599
  result = self._values.get("npm_token_secret")
8571
8600
  return typing.cast(typing.Optional[builtins.str], result)
8572
8601
 
8602
+ @builtins.property
8603
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
8604
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
8605
+
8606
+ :default: - false
8607
+
8608
+ :stability: experimental
8609
+ '''
8610
+ result = self._values.get("npm_trusted_publishing")
8611
+ return typing.cast(typing.Optional[builtins.bool], result)
8612
+
8573
8613
  @builtins.property
8574
8614
  def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
8575
8615
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -10572,6 +10612,7 @@ def _typecheckingstub__38d5838b3dba3e0494a1842bc0bf0513fd0a9baecf03b52c6bb2ef53e
10572
10612
  npm_registry: typing.Optional[builtins.str] = None,
10573
10613
  npm_registry_url: typing.Optional[builtins.str] = None,
10574
10614
  npm_token_secret: typing.Optional[builtins.str] = None,
10615
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
10575
10616
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
10576
10617
  package_name: typing.Optional[builtins.str] = None,
10577
10618
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -10743,6 +10784,7 @@ def _typecheckingstub__af97c045aa0635813d6575f726d794c22aabe3eb1e51bf1ae61d8f28b
10743
10784
  npm_registry: typing.Optional[builtins.str] = None,
10744
10785
  npm_registry_url: typing.Optional[builtins.str] = None,
10745
10786
  npm_token_secret: typing.Optional[builtins.str] = None,
10787
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
10746
10788
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
10747
10789
  package_name: typing.Optional[builtins.str] = None,
10748
10790
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
projen/cdktf/__init__.py CHANGED
@@ -232,6 +232,7 @@ class ConstructLibraryCdktf(
232
232
  npm_registry: typing.Optional[builtins.str] = None,
233
233
  npm_registry_url: typing.Optional[builtins.str] = None,
234
234
  npm_token_secret: typing.Optional[builtins.str] = None,
235
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
235
236
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
236
237
  package_name: typing.Optional[builtins.str] = None,
237
238
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -404,6 +405,7 @@ class ConstructLibraryCdktf(
404
405
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
405
406
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
406
407
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
408
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
407
409
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
408
410
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
409
411
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -578,6 +580,7 @@ class ConstructLibraryCdktf(
578
580
  npm_registry=npm_registry,
579
581
  npm_registry_url=npm_registry_url,
580
582
  npm_token_secret=npm_token_secret,
583
+ npm_trusted_publishing=npm_trusted_publishing,
581
584
  package_manager=package_manager,
582
585
  package_name=package_name,
583
586
  peer_dependency_options=peer_dependency_options,
@@ -691,6 +694,7 @@ class ConstructLibraryCdktf(
691
694
  "npm_registry": "npmRegistry",
692
695
  "npm_registry_url": "npmRegistryUrl",
693
696
  "npm_token_secret": "npmTokenSecret",
697
+ "npm_trusted_publishing": "npmTrustedPublishing",
694
698
  "package_manager": "packageManager",
695
699
  "package_name": "packageName",
696
700
  "peer_dependency_options": "peerDependencyOptions",
@@ -867,6 +871,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
867
871
  npm_registry: typing.Optional[builtins.str] = None,
868
872
  npm_registry_url: typing.Optional[builtins.str] = None,
869
873
  npm_token_secret: typing.Optional[builtins.str] = None,
874
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
870
875
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
871
876
  package_name: typing.Optional[builtins.str] = None,
872
877
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -1039,6 +1044,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
1039
1044
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
1040
1045
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
1041
1046
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
1047
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
1042
1048
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
1043
1049
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
1044
1050
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -1292,6 +1298,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
1292
1298
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
1293
1299
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
1294
1300
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
1301
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
1295
1302
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
1296
1303
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
1297
1304
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -1524,6 +1531,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
1524
1531
  self._values["npm_registry_url"] = npm_registry_url
1525
1532
  if npm_token_secret is not None:
1526
1533
  self._values["npm_token_secret"] = npm_token_secret
1534
+ if npm_trusted_publishing is not None:
1535
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
1527
1536
  if package_manager is not None:
1528
1537
  self._values["package_manager"] = package_manager
1529
1538
  if package_name is not None:
@@ -2458,6 +2467,17 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
2458
2467
  result = self._values.get("npm_token_secret")
2459
2468
  return typing.cast(typing.Optional[builtins.str], result)
2460
2469
 
2470
+ @builtins.property
2471
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
2472
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
2473
+
2474
+ :default: - false
2475
+
2476
+ :stability: experimental
2477
+ '''
2478
+ result = self._values.get("npm_trusted_publishing")
2479
+ return typing.cast(typing.Optional[builtins.bool], result)
2480
+
2461
2481
  @builtins.property
2462
2482
  def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
2463
2483
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -3931,6 +3951,7 @@ def _typecheckingstub__bbf02af18148d47e66a6d0672a809602f782953da7a849545a808c276
3931
3951
  npm_registry: typing.Optional[builtins.str] = None,
3932
3952
  npm_registry_url: typing.Optional[builtins.str] = None,
3933
3953
  npm_token_secret: typing.Optional[builtins.str] = None,
3954
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
3934
3955
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
3935
3956
  package_name: typing.Optional[builtins.str] = None,
3936
3957
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -2236,7 +2236,7 @@ class Jest(
2236
2236
  :param extra_cli_options: (experimental) Additional options to pass to the Jest CLI invocation. Default: - no extra options
2237
2237
  :param ignore_patterns: (deprecated) Defines ``testPathIgnorePatterns`` and ``coveragePathIgnorePatterns``. Default: ["/node_modules/"]
2238
2238
  :param jest_config: (experimental) Jest configuration. Default: - default jest configuration
2239
- :param jest_version: (experimental) The version of jest to use. Note that same version is used as version of ``@types/jest`` and ``ts-jest`` (if Typescript in use), so given version should work also for those. Default: - installs the latest jest version
2239
+ :param jest_version: (experimental) The version of jest to use. Note that same version is used as version of ``@types/jest`` and ``ts-jest`` (if Typescript in use), so given version should work also for those. With Jest 30 ts-jest version 29 is used (if Typescript in use) Default: - installs the latest jest version
2240
2240
  :param junit_reporting: (experimental) Result processing with jest-junit. Output directory is ``test-reports/``. Default: true
2241
2241
  :param pass_with_no_tests: (experimental) Pass with no tests. Default: - true
2242
2242
  :param preserve_default_reporters: (experimental) Preserve the default Jest reporter when additional reporters are added. Default: true
@@ -3844,7 +3844,7 @@ class JestOptions:
3844
3844
  :param extra_cli_options: (experimental) Additional options to pass to the Jest CLI invocation. Default: - no extra options
3845
3845
  :param ignore_patterns: (deprecated) Defines ``testPathIgnorePatterns`` and ``coveragePathIgnorePatterns``. Default: ["/node_modules/"]
3846
3846
  :param jest_config: (experimental) Jest configuration. Default: - default jest configuration
3847
- :param jest_version: (experimental) The version of jest to use. Note that same version is used as version of ``@types/jest`` and ``ts-jest`` (if Typescript in use), so given version should work also for those. Default: - installs the latest jest version
3847
+ :param jest_version: (experimental) The version of jest to use. Note that same version is used as version of ``@types/jest`` and ``ts-jest`` (if Typescript in use), so given version should work also for those. With Jest 30 ts-jest version 29 is used (if Typescript in use) Default: - installs the latest jest version
3848
3848
  :param junit_reporting: (experimental) Result processing with jest-junit. Output directory is ``test-reports/``. Default: true
3849
3849
  :param pass_with_no_tests: (experimental) Pass with no tests. Default: - true
3850
3850
  :param preserve_default_reporters: (experimental) Preserve the default Jest reporter when additional reporters are added. Default: true
@@ -3969,6 +3969,8 @@ class JestOptions:
3969
3969
 
3970
3970
  Note that same version is used as version of ``@types/jest`` and ``ts-jest`` (if Typescript in use), so given version should work also for those.
3971
3971
 
3972
+ With Jest 30 ts-jest version 29 is used (if Typescript in use)
3973
+
3972
3974
  :default: - installs the latest jest version
3973
3975
 
3974
3976
  :stability: experimental
@@ -4273,6 +4275,7 @@ class NodePackage(
4273
4275
  npm_registry: typing.Optional[builtins.str] = None,
4274
4276
  npm_registry_url: typing.Optional[builtins.str] = None,
4275
4277
  npm_token_secret: typing.Optional[builtins.str] = None,
4278
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
4276
4279
  package_manager: typing.Optional["NodePackageManager"] = None,
4277
4280
  package_name: typing.Optional[builtins.str] = None,
4278
4281
  peer_dependency_options: typing.Optional[typing.Union["PeerDependencyOptions", typing.Dict[builtins.str, typing.Any]]] = None,
@@ -4314,6 +4317,7 @@ class NodePackage(
4314
4317
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
4315
4318
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
4316
4319
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
4320
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
4317
4321
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
4318
4322
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
4319
4323
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -4359,6 +4363,7 @@ class NodePackage(
4359
4363
  npm_registry=npm_registry,
4360
4364
  npm_registry_url=npm_registry_url,
4361
4365
  npm_token_secret=npm_token_secret,
4366
+ npm_trusted_publishing=npm_trusted_publishing,
4362
4367
  package_manager=package_manager,
4363
4368
  package_name=package_name,
4364
4369
  peer_dependency_options=peer_dependency_options,
@@ -4927,6 +4932,7 @@ class NodePackageManager(enum.Enum):
4927
4932
  "npm_registry": "npmRegistry",
4928
4933
  "npm_registry_url": "npmRegistryUrl",
4929
4934
  "npm_token_secret": "npmTokenSecret",
4935
+ "npm_trusted_publishing": "npmTrustedPublishing",
4930
4936
  "package_manager": "packageManager",
4931
4937
  "package_name": "packageName",
4932
4938
  "peer_dependency_options": "peerDependencyOptions",
@@ -4971,6 +4977,7 @@ class NodePackageOptions:
4971
4977
  npm_registry: typing.Optional[builtins.str] = None,
4972
4978
  npm_registry_url: typing.Optional[builtins.str] = None,
4973
4979
  npm_token_secret: typing.Optional[builtins.str] = None,
4980
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
4974
4981
  package_manager: typing.Optional[NodePackageManager] = None,
4975
4982
  package_name: typing.Optional[builtins.str] = None,
4976
4983
  peer_dependency_options: typing.Optional[typing.Union["PeerDependencyOptions", typing.Dict[builtins.str, typing.Any]]] = None,
@@ -5011,6 +5018,7 @@ class NodePackageOptions:
5011
5018
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
5012
5019
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
5013
5020
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
5021
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
5014
5022
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
5015
5023
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
5016
5024
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -5060,6 +5068,7 @@ class NodePackageOptions:
5060
5068
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
5061
5069
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
5062
5070
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
5071
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
5063
5072
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
5064
5073
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
5065
5074
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -5126,6 +5135,8 @@ class NodePackageOptions:
5126
5135
  self._values["npm_registry_url"] = npm_registry_url
5127
5136
  if npm_token_secret is not None:
5128
5137
  self._values["npm_token_secret"] = npm_token_secret
5138
+ if npm_trusted_publishing is not None:
5139
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
5129
5140
  if package_manager is not None:
5130
5141
  self._values["package_manager"] = package_manager
5131
5142
  if package_name is not None:
@@ -5512,6 +5523,17 @@ class NodePackageOptions:
5512
5523
  result = self._values.get("npm_token_secret")
5513
5524
  return typing.cast(typing.Optional[builtins.str], result)
5514
5525
 
5526
+ @builtins.property
5527
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
5528
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
5529
+
5530
+ :default: - false
5531
+
5532
+ :stability: experimental
5533
+ '''
5534
+ result = self._values.get("npm_trusted_publishing")
5535
+ return typing.cast(typing.Optional[builtins.bool], result)
5536
+
5515
5537
  @builtins.property
5516
5538
  def package_manager(self) -> typing.Optional[NodePackageManager]:
5517
5539
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -5761,6 +5783,7 @@ class NodeProject(
5761
5783
  npm_registry: typing.Optional[builtins.str] = None,
5762
5784
  npm_registry_url: typing.Optional[builtins.str] = None,
5763
5785
  npm_token_secret: typing.Optional[builtins.str] = None,
5786
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
5764
5787
  package_manager: typing.Optional[NodePackageManager] = None,
5765
5788
  package_name: typing.Optional[builtins.str] = None,
5766
5789
  peer_dependency_options: typing.Optional[typing.Union["PeerDependencyOptions", typing.Dict[builtins.str, typing.Any]]] = None,
@@ -5896,6 +5919,7 @@ class NodeProject(
5896
5919
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
5897
5920
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
5898
5921
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
5922
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
5899
5923
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
5900
5924
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
5901
5925
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -6033,6 +6057,7 @@ class NodeProject(
6033
6057
  npm_registry=npm_registry,
6034
6058
  npm_registry_url=npm_registry_url,
6035
6059
  npm_token_secret=npm_token_secret,
6060
+ npm_trusted_publishing=npm_trusted_publishing,
6036
6061
  package_manager=package_manager,
6037
6062
  package_name=package_name,
6038
6063
  peer_dependency_options=peer_dependency_options,
@@ -6624,6 +6649,7 @@ class NodeProject(
6624
6649
  "npm_registry": "npmRegistry",
6625
6650
  "npm_registry_url": "npmRegistryUrl",
6626
6651
  "npm_token_secret": "npmTokenSecret",
6652
+ "npm_trusted_publishing": "npmTrustedPublishing",
6627
6653
  "package_manager": "packageManager",
6628
6654
  "package_name": "packageName",
6629
6655
  "peer_dependency_options": "peerDependencyOptions",
@@ -6767,6 +6793,7 @@ class NodeProjectOptions(
6767
6793
  npm_registry: typing.Optional[builtins.str] = None,
6768
6794
  npm_registry_url: typing.Optional[builtins.str] = None,
6769
6795
  npm_token_secret: typing.Optional[builtins.str] = None,
6796
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
6770
6797
  package_manager: typing.Optional[NodePackageManager] = None,
6771
6798
  package_name: typing.Optional[builtins.str] = None,
6772
6799
  peer_dependency_options: typing.Optional[typing.Union["PeerDependencyOptions", typing.Dict[builtins.str, typing.Any]]] = None,
@@ -6902,6 +6929,7 @@ class NodeProjectOptions(
6902
6929
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
6903
6930
  :param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
6904
6931
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
6932
+ :param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
6905
6933
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
6906
6934
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
6907
6935
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -7094,6 +7122,7 @@ class NodeProjectOptions(
7094
7122
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
7095
7123
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
7096
7124
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
7125
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
7097
7126
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
7098
7127
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
7099
7128
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -7285,6 +7314,8 @@ class NodeProjectOptions(
7285
7314
  self._values["npm_registry_url"] = npm_registry_url
7286
7315
  if npm_token_secret is not None:
7287
7316
  self._values["npm_token_secret"] = npm_token_secret
7317
+ if npm_trusted_publishing is not None:
7318
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
7288
7319
  if package_manager is not None:
7289
7320
  self._values["package_manager"] = package_manager
7290
7321
  if package_name is not None:
@@ -8153,6 +8184,17 @@ class NodeProjectOptions(
8153
8184
  result = self._values.get("npm_token_secret")
8154
8185
  return typing.cast(typing.Optional[builtins.str], result)
8155
8186
 
8187
+ @builtins.property
8188
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
8189
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
8190
+
8191
+ :default: - false
8192
+
8193
+ :stability: experimental
8194
+ '''
8195
+ result = self._values.get("npm_trusted_publishing")
8196
+ return typing.cast(typing.Optional[builtins.bool], result)
8197
+
8156
8198
  @builtins.property
8157
8199
  def package_manager(self) -> typing.Optional[NodePackageManager]:
8158
8200
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -16690,6 +16732,7 @@ def _typecheckingstub__d10cd20471c8ed8e2de153476379f00bfa1b587c92e8982006812a0e3
16690
16732
  npm_registry: typing.Optional[builtins.str] = None,
16691
16733
  npm_registry_url: typing.Optional[builtins.str] = None,
16692
16734
  npm_token_secret: typing.Optional[builtins.str] = None,
16735
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
16693
16736
  package_manager: typing.Optional[NodePackageManager] = None,
16694
16737
  package_name: typing.Optional[builtins.str] = None,
16695
16738
  peer_dependency_options: typing.Optional[typing.Union[PeerDependencyOptions, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -16827,6 +16870,7 @@ def _typecheckingstub__32555a77b63910142de45100c4a6d74880ddece00a3cbae9c27803467
16827
16870
  npm_registry: typing.Optional[builtins.str] = None,
16828
16871
  npm_registry_url: typing.Optional[builtins.str] = None,
16829
16872
  npm_token_secret: typing.Optional[builtins.str] = None,
16873
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
16830
16874
  package_manager: typing.Optional[NodePackageManager] = None,
16831
16875
  package_name: typing.Optional[builtins.str] = None,
16832
16876
  peer_dependency_options: typing.Optional[typing.Union[PeerDependencyOptions, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -16991,6 +17035,7 @@ def _typecheckingstub__05c2eb8aa04095bbe6af788737363089516ccd341e3a6624f153e8ff7
16991
17035
  npm_registry: typing.Optional[builtins.str] = None,
16992
17036
  npm_registry_url: typing.Optional[builtins.str] = None,
16993
17037
  npm_token_secret: typing.Optional[builtins.str] = None,
17038
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
16994
17039
  package_manager: typing.Optional[NodePackageManager] = None,
16995
17040
  package_name: typing.Optional[builtins.str] = None,
16996
17041
  peer_dependency_options: typing.Optional[typing.Union[PeerDependencyOptions, typing.Dict[builtins.str, typing.Any]]] = None,