projen 0.95.2__tar.gz → 0.95.3__tar.gz

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.

Files changed (35) hide show
  1. {projen-0.95.2/src/projen.egg-info → projen-0.95.3}/PKG-INFO +1 -1
  2. {projen-0.95.2 → projen-0.95.3}/setup.py +2 -2
  3. {projen-0.95.2 → projen-0.95.3}/src/projen/_jsii/__init__.py +1 -1
  4. {projen-0.95.2 → projen-0.95.3}/src/projen/_jsii/bin/projen +1 -1
  5. projen-0.95.3/src/projen/_jsii/projen@0.95.3.jsii.tgz +0 -0
  6. {projen-0.95.2 → projen-0.95.3}/src/projen/awscdk/__init__.py +63 -0
  7. {projen-0.95.2 → projen-0.95.3}/src/projen/cdk/__init__.py +83 -0
  8. {projen-0.95.2 → projen-0.95.3}/src/projen/cdk8s/__init__.py +42 -0
  9. {projen-0.95.2 → projen-0.95.3}/src/projen/cdktf/__init__.py +21 -0
  10. {projen-0.95.2 → projen-0.95.3}/src/projen/javascript/__init__.py +43 -0
  11. {projen-0.95.2 → projen-0.95.3}/src/projen/javascript/biome_config/__init__.py +98 -4
  12. {projen-0.95.2 → projen-0.95.3}/src/projen/release/__init__.py +154 -15
  13. {projen-0.95.2 → projen-0.95.3}/src/projen/typescript/__init__.py +45 -0
  14. {projen-0.95.2 → projen-0.95.3}/src/projen/web/__init__.py +84 -0
  15. {projen-0.95.2 → projen-0.95.3/src/projen.egg-info}/PKG-INFO +1 -1
  16. {projen-0.95.2 → projen-0.95.3}/src/projen.egg-info/SOURCES.txt +1 -1
  17. projen-0.95.2/src/projen/_jsii/projen@0.95.2.jsii.tgz +0 -0
  18. {projen-0.95.2 → projen-0.95.3}/LICENSE +0 -0
  19. {projen-0.95.2 → projen-0.95.3}/MANIFEST.in +0 -0
  20. {projen-0.95.2 → projen-0.95.3}/README.md +0 -0
  21. {projen-0.95.2 → projen-0.95.3}/pyproject.toml +0 -0
  22. {projen-0.95.2 → projen-0.95.3}/setup.cfg +0 -0
  23. {projen-0.95.2 → projen-0.95.3}/src/projen/__init__.py +0 -0
  24. {projen-0.95.2 → projen-0.95.3}/src/projen/build/__init__.py +0 -0
  25. {projen-0.95.2 → projen-0.95.3}/src/projen/circleci/__init__.py +0 -0
  26. {projen-0.95.2 → projen-0.95.3}/src/projen/github/__init__.py +0 -0
  27. {projen-0.95.2 → projen-0.95.3}/src/projen/github/workflows/__init__.py +0 -0
  28. {projen-0.95.2 → projen-0.95.3}/src/projen/gitlab/__init__.py +0 -0
  29. {projen-0.95.2 → projen-0.95.3}/src/projen/java/__init__.py +0 -0
  30. {projen-0.95.2 → projen-0.95.3}/src/projen/py.typed +0 -0
  31. {projen-0.95.2 → projen-0.95.3}/src/projen/python/__init__.py +0 -0
  32. {projen-0.95.2 → projen-0.95.3}/src/projen/vscode/__init__.py +0 -0
  33. {projen-0.95.2 → projen-0.95.3}/src/projen.egg-info/dependency_links.txt +0 -0
  34. {projen-0.95.2 → projen-0.95.3}/src/projen.egg-info/requires.txt +0 -0
  35. {projen-0.95.2 → projen-0.95.3}/src/projen.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: projen
3
- Version: 0.95.2
3
+ Version: 0.95.3
4
4
  Summary: CDK for software projects
5
5
  Home-page: https://github.com/projen/projen.git
6
6
  Author: Amazon Web Services
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "projen",
8
- "version": "0.95.2",
8
+ "version": "0.95.3",
9
9
  "description": "CDK for software projects",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/projen/projen.git",
@@ -43,7 +43,7 @@ kwargs = json.loads(
43
43
  ],
44
44
  "package_data": {
45
45
  "projen._jsii": [
46
- "projen@0.95.2.jsii.tgz"
46
+ "projen@0.95.3.jsii.tgz"
47
47
  ],
48
48
  "projen": [
49
49
  "py.typed"
@@ -31,7 +31,7 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
31
31
  import constructs._jsii
32
32
 
33
33
  __jsii_assembly__ = jsii.JSIIAssembly.load(
34
- "projen", "0.95.2", __name__[0:-6], "projen@0.95.2.jsii.tgz"
34
+ "projen", "0.95.3", __name__[0:-6], "projen@0.95.3.jsii.tgz"
35
35
  )
36
36
 
37
37
  __all__ = [
@@ -8,7 +8,7 @@ if "JSII_RUNTIME_PACKAGE_CACHE" not in os.environ:
8
8
  os.environ["JSII_RUNTIME_PACKAGE_CACHE"] = "disabled"
9
9
 
10
10
  __jsii_assembly__ = jsii.JSIIAssembly.load(
11
- "projen", "0.95.2", "projen", "projen@0.95.2.jsii.tgz"
11
+ "projen", "0.95.3", "projen", "projen@0.95.3.jsii.tgz"
12
12
  )
13
13
 
14
14
  exit_code = __jsii_assembly__.invokeBinScript("projen", "projen", sys.argv[1:])
@@ -418,6 +418,7 @@ class AwsCdkConstructLibrary(
418
418
  npm_registry: typing.Optional[builtins.str] = None,
419
419
  npm_registry_url: typing.Optional[builtins.str] = None,
420
420
  npm_token_secret: typing.Optional[builtins.str] = None,
421
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
421
422
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
422
423
  package_name: typing.Optional[builtins.str] = None,
423
424
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -603,6 +604,7 @@ class AwsCdkConstructLibrary(
603
604
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
604
605
  :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"
605
606
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
607
+ :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
606
608
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
607
609
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
608
610
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -790,6 +792,7 @@ class AwsCdkConstructLibrary(
790
792
  npm_registry=npm_registry,
791
793
  npm_registry_url=npm_registry_url,
792
794
  npm_token_secret=npm_token_secret,
795
+ npm_trusted_publishing=npm_trusted_publishing,
793
796
  package_manager=package_manager,
794
797
  package_name=package_name,
795
798
  peer_dependency_options=peer_dependency_options,
@@ -2567,6 +2570,7 @@ class AwsCdkTypeScriptApp(
2567
2570
  npm_registry: typing.Optional[builtins.str] = None,
2568
2571
  npm_registry_url: typing.Optional[builtins.str] = None,
2569
2572
  npm_token_secret: typing.Optional[builtins.str] = None,
2573
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
2570
2574
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
2571
2575
  package_name: typing.Optional[builtins.str] = None,
2572
2576
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -2744,6 +2748,7 @@ class AwsCdkTypeScriptApp(
2744
2748
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
2745
2749
  :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"
2746
2750
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
2751
+ :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
2747
2752
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
2748
2753
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
2749
2754
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -2923,6 +2928,7 @@ class AwsCdkTypeScriptApp(
2923
2928
  npm_registry=npm_registry,
2924
2929
  npm_registry_url=npm_registry_url,
2925
2930
  npm_token_secret=npm_token_secret,
2931
+ npm_trusted_publishing=npm_trusted_publishing,
2926
2932
  package_manager=package_manager,
2927
2933
  package_name=package_name,
2928
2934
  peer_dependency_options=peer_dependency_options,
@@ -3699,6 +3705,7 @@ class ConstructLibraryAws(
3699
3705
  npm_registry: typing.Optional[builtins.str] = None,
3700
3706
  npm_registry_url: typing.Optional[builtins.str] = None,
3701
3707
  npm_token_secret: typing.Optional[builtins.str] = None,
3708
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
3702
3709
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
3703
3710
  package_name: typing.Optional[builtins.str] = None,
3704
3711
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -3884,6 +3891,7 @@ class ConstructLibraryAws(
3884
3891
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
3885
3892
  :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"
3886
3893
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
3894
+ :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
3887
3895
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
3888
3896
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
3889
3897
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -4071,6 +4079,7 @@ class ConstructLibraryAws(
4071
4079
  npm_registry=npm_registry,
4072
4080
  npm_registry_url=npm_registry_url,
4073
4081
  npm_token_secret=npm_token_secret,
4082
+ npm_trusted_publishing=npm_trusted_publishing,
4074
4083
  package_manager=package_manager,
4075
4084
  package_name=package_name,
4076
4085
  peer_dependency_options=peer_dependency_options,
@@ -6099,6 +6108,7 @@ class AutoDiscoverOptions(
6099
6108
  "npm_registry": "npmRegistry",
6100
6109
  "npm_registry_url": "npmRegistryUrl",
6101
6110
  "npm_token_secret": "npmTokenSecret",
6111
+ "npm_trusted_publishing": "npmTrustedPublishing",
6102
6112
  "package_manager": "packageManager",
6103
6113
  "package_name": "packageName",
6104
6114
  "peer_dependency_options": "peerDependencyOptions",
@@ -6291,6 +6301,7 @@ class AwsCdkConstructLibraryOptions(
6291
6301
  npm_registry: typing.Optional[builtins.str] = None,
6292
6302
  npm_registry_url: typing.Optional[builtins.str] = None,
6293
6303
  npm_token_secret: typing.Optional[builtins.str] = None,
6304
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
6294
6305
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
6295
6306
  package_name: typing.Optional[builtins.str] = None,
6296
6307
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -6477,6 +6488,7 @@ class AwsCdkConstructLibraryOptions(
6477
6488
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
6478
6489
  :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"
6479
6490
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
6491
+ :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
6480
6492
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
6481
6493
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
6482
6494
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -6745,6 +6757,7 @@ class AwsCdkConstructLibraryOptions(
6745
6757
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
6746
6758
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
6747
6759
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
6760
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
6748
6761
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
6749
6762
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
6750
6763
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -6990,6 +7003,8 @@ class AwsCdkConstructLibraryOptions(
6990
7003
  self._values["npm_registry_url"] = npm_registry_url
6991
7004
  if npm_token_secret is not None:
6992
7005
  self._values["npm_token_secret"] = npm_token_secret
7006
+ if npm_trusted_publishing is not None:
7007
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
6993
7008
  if package_manager is not None:
6994
7009
  self._values["package_manager"] = package_manager
6995
7010
  if package_name is not None:
@@ -7950,6 +7965,17 @@ class AwsCdkConstructLibraryOptions(
7950
7965
  result = self._values.get("npm_token_secret")
7951
7966
  return typing.cast(typing.Optional[builtins.str], result)
7952
7967
 
7968
+ @builtins.property
7969
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
7970
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
7971
+
7972
+ :default: - false
7973
+
7974
+ :stability: experimental
7975
+ '''
7976
+ result = self._values.get("npm_trusted_publishing")
7977
+ return typing.cast(typing.Optional[builtins.bool], result)
7978
+
7953
7979
  @builtins.property
7954
7980
  def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
7955
7981
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -12321,6 +12347,7 @@ class AwsCdkPythonAppOptions(
12321
12347
  "npm_registry": "npmRegistry",
12322
12348
  "npm_registry_url": "npmRegistryUrl",
12323
12349
  "npm_token_secret": "npmTokenSecret",
12350
+ "npm_trusted_publishing": "npmTrustedPublishing",
12324
12351
  "package_manager": "packageManager",
12325
12352
  "package_name": "packageName",
12326
12353
  "peer_dependency_options": "peerDependencyOptions",
@@ -12506,6 +12533,7 @@ class AwsCdkTypeScriptAppOptions(
12506
12533
  npm_registry: typing.Optional[builtins.str] = None,
12507
12534
  npm_registry_url: typing.Optional[builtins.str] = None,
12508
12535
  npm_token_secret: typing.Optional[builtins.str] = None,
12536
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
12509
12537
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
12510
12538
  package_name: typing.Optional[builtins.str] = None,
12511
12539
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -12683,6 +12711,7 @@ class AwsCdkTypeScriptAppOptions(
12683
12711
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
12684
12712
  :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"
12685
12713
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
12714
+ :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
12686
12715
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
12687
12716
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
12688
12717
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -12929,6 +12958,7 @@ class AwsCdkTypeScriptAppOptions(
12929
12958
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
12930
12959
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
12931
12960
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
12961
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
12932
12962
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
12933
12963
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
12934
12964
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -13163,6 +13193,8 @@ class AwsCdkTypeScriptAppOptions(
13163
13193
  self._values["npm_registry_url"] = npm_registry_url
13164
13194
  if npm_token_secret is not None:
13165
13195
  self._values["npm_token_secret"] = npm_token_secret
13196
+ if npm_trusted_publishing is not None:
13197
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
13166
13198
  if package_manager is not None:
13167
13199
  self._values["package_manager"] = package_manager
13168
13200
  if package_name is not None:
@@ -14113,6 +14145,17 @@ class AwsCdkTypeScriptAppOptions(
14113
14145
  result = self._values.get("npm_token_secret")
14114
14146
  return typing.cast(typing.Optional[builtins.str], result)
14115
14147
 
14148
+ @builtins.property
14149
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
14150
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
14151
+
14152
+ :default: - false
14153
+
14154
+ :stability: experimental
14155
+ '''
14156
+ result = self._values.get("npm_trusted_publishing")
14157
+ return typing.cast(typing.Optional[builtins.bool], result)
14158
+
14116
14159
  @builtins.property
14117
14160
  def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
14118
14161
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -15638,6 +15681,7 @@ class AwsCdkTypeScriptAppOptions(
15638
15681
  "npm_registry": "npmRegistry",
15639
15682
  "npm_registry_url": "npmRegistryUrl",
15640
15683
  "npm_token_secret": "npmTokenSecret",
15684
+ "npm_trusted_publishing": "npmTrustedPublishing",
15641
15685
  "package_manager": "packageManager",
15642
15686
  "package_name": "packageName",
15643
15687
  "peer_dependency_options": "peerDependencyOptions",
@@ -15827,6 +15871,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
15827
15871
  npm_registry: typing.Optional[builtins.str] = None,
15828
15872
  npm_registry_url: typing.Optional[builtins.str] = None,
15829
15873
  npm_token_secret: typing.Optional[builtins.str] = None,
15874
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
15830
15875
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
15831
15876
  package_name: typing.Optional[builtins.str] = None,
15832
15877
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -16012,6 +16057,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
16012
16057
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
16013
16058
  :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"
16014
16059
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
16060
+ :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
16015
16061
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
16016
16062
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
16017
16063
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -16282,6 +16328,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
16282
16328
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
16283
16329
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
16284
16330
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
16331
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
16285
16332
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
16286
16333
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
16287
16334
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -16527,6 +16574,8 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
16527
16574
  self._values["npm_registry_url"] = npm_registry_url
16528
16575
  if npm_token_secret is not None:
16529
16576
  self._values["npm_token_secret"] = npm_token_secret
16577
+ if npm_trusted_publishing is not None:
16578
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
16530
16579
  if package_manager is not None:
16531
16580
  self._values["package_manager"] = package_manager
16532
16581
  if package_name is not None:
@@ -17487,6 +17536,17 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
17487
17536
  result = self._values.get("npm_token_secret")
17488
17537
  return typing.cast(typing.Optional[builtins.str], result)
17489
17538
 
17539
+ @builtins.property
17540
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
17541
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
17542
+
17543
+ :default: - false
17544
+
17545
+ :stability: experimental
17546
+ '''
17547
+ result = self._values.get("npm_trusted_publishing")
17548
+ return typing.cast(typing.Optional[builtins.bool], result)
17549
+
17490
17550
  @builtins.property
17491
17551
  def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
17492
17552
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -19628,6 +19688,7 @@ def _typecheckingstub__afd0fb486a35fef51bf540cdcd69366795c03710cee73c0b5a81431a8
19628
19688
  npm_registry: typing.Optional[builtins.str] = None,
19629
19689
  npm_registry_url: typing.Optional[builtins.str] = None,
19630
19690
  npm_token_secret: typing.Optional[builtins.str] = None,
19691
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
19631
19692
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
19632
19693
  package_name: typing.Optional[builtins.str] = None,
19633
19694
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -19969,6 +20030,7 @@ def _typecheckingstub__d4516e51d77bf8bd5807e45e842cd19fa87c9a6d72e4f7d0caead33d3
19969
20030
  npm_registry: typing.Optional[builtins.str] = None,
19970
20031
  npm_registry_url: typing.Optional[builtins.str] = None,
19971
20032
  npm_token_secret: typing.Optional[builtins.str] = None,
20033
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
19972
20034
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
19973
20035
  package_name: typing.Optional[builtins.str] = None,
19974
20036
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -20150,6 +20212,7 @@ def _typecheckingstub__53f11e06b68a1910463459774b89205819af9292d548e5215ddd85989
20150
20212
  npm_registry: typing.Optional[builtins.str] = None,
20151
20213
  npm_registry_url: typing.Optional[builtins.str] = None,
20152
20214
  npm_token_secret: typing.Optional[builtins.str] = None,
20215
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
20153
20216
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
20154
20217
  package_name: typing.Optional[builtins.str] = None,
20155
20218
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -1538,6 +1538,7 @@ class JsiiProject(
1538
1538
  npm_registry: typing.Optional[builtins.str] = None,
1539
1539
  npm_registry_url: typing.Optional[builtins.str] = None,
1540
1540
  npm_token_secret: typing.Optional[builtins.str] = None,
1541
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
1541
1542
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
1542
1543
  package_name: typing.Optional[builtins.str] = None,
1543
1544
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -1707,6 +1708,7 @@ class JsiiProject(
1707
1708
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
1708
1709
  :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"
1709
1710
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
1711
+ :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
1710
1712
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
1711
1713
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
1712
1714
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -1878,6 +1880,7 @@ class JsiiProject(
1878
1880
  npm_registry=npm_registry,
1879
1881
  npm_registry_url=npm_registry_url,
1880
1882
  npm_token_secret=npm_token_secret,
1883
+ npm_trusted_publishing=npm_trusted_publishing,
1881
1884
  package_manager=package_manager,
1882
1885
  package_name=package_name,
1883
1886
  peer_dependency_options=peer_dependency_options,
@@ -1991,6 +1994,7 @@ class JsiiProject(
1991
1994
  "npm_registry": "npmRegistry",
1992
1995
  "npm_registry_url": "npmRegistryUrl",
1993
1996
  "npm_token_secret": "npmTokenSecret",
1997
+ "npm_trusted_publishing": "npmTrustedPublishing",
1994
1998
  "package_manager": "packageManager",
1995
1999
  "package_name": "packageName",
1996
2000
  "peer_dependency_options": "peerDependencyOptions",
@@ -2164,6 +2168,7 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
2164
2168
  npm_registry: typing.Optional[builtins.str] = None,
2165
2169
  npm_registry_url: typing.Optional[builtins.str] = None,
2166
2170
  npm_token_secret: typing.Optional[builtins.str] = None,
2171
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
2167
2172
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
2168
2173
  package_name: typing.Optional[builtins.str] = None,
2169
2174
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -2333,6 +2338,7 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
2333
2338
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
2334
2339
  :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"
2335
2340
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
2341
+ :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
2336
2342
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
2337
2343
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
2338
2344
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -2581,6 +2587,7 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
2581
2587
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
2582
2588
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
2583
2589
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
2590
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
2584
2591
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
2585
2592
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
2586
2593
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -2809,6 +2816,8 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
2809
2816
  self._values["npm_registry_url"] = npm_registry_url
2810
2817
  if npm_token_secret is not None:
2811
2818
  self._values["npm_token_secret"] = npm_token_secret
2819
+ if npm_trusted_publishing is not None:
2820
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
2812
2821
  if package_manager is not None:
2813
2822
  self._values["package_manager"] = package_manager
2814
2823
  if package_name is not None:
@@ -3739,6 +3748,17 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
3739
3748
  result = self._values.get("npm_token_secret")
3740
3749
  return typing.cast(typing.Optional[builtins.str], result)
3741
3750
 
3751
+ @builtins.property
3752
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
3753
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
3754
+
3755
+ :default: - false
3756
+
3757
+ :stability: experimental
3758
+ '''
3759
+ result = self._values.get("npm_trusted_publishing")
3760
+ return typing.cast(typing.Optional[builtins.bool], result)
3761
+
3742
3762
  @builtins.property
3743
3763
  def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
3744
3764
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -5110,7 +5130,9 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
5110
5130
  "post_publish_steps": "postPublishSteps",
5111
5131
  "pre_publish_steps": "prePublishSteps",
5112
5132
  "publish_tools": "publishTools",
5133
+ "attestations": "attestations",
5113
5134
  "code_artifact_options": "codeArtifactOptions",
5135
+ "trusted_publishing": "trustedPublishing",
5114
5136
  "twine_password_secret": "twinePasswordSecret",
5115
5137
  "twine_registry_url": "twineRegistryUrl",
5116
5138
  "twine_username_secret": "twineUsernameSecret",
@@ -5126,7 +5148,9 @@ class JsiiPythonTarget(_PyPiPublishOptions_99154bcd):
5126
5148
  post_publish_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
5127
5149
  pre_publish_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
5128
5150
  publish_tools: typing.Optional[typing.Union[_Tools_75b93a2a, typing.Dict[builtins.str, typing.Any]]] = None,
5151
+ attestations: typing.Optional[builtins.bool] = None,
5129
5152
  code_artifact_options: typing.Optional[typing.Union[_CodeArtifactOptions_7236977a, typing.Dict[builtins.str, typing.Any]]] = None,
5153
+ trusted_publishing: typing.Optional[builtins.bool] = None,
5130
5154
  twine_password_secret: typing.Optional[builtins.str] = None,
5131
5155
  twine_registry_url: typing.Optional[builtins.str] = None,
5132
5156
  twine_username_secret: typing.Optional[builtins.str] = None,
@@ -5138,7 +5162,9 @@ class JsiiPythonTarget(_PyPiPublishOptions_99154bcd):
5138
5162
  :param post_publish_steps: (experimental) Steps to execute after executing the publishing command. These can be used to add/update the release artifacts ot any other tasks needed. Note that when using this in ``publishToGitHubReleases`` this will override steps added via ``addGitHubPostPublishingSteps``.
5139
5163
  :param pre_publish_steps: (experimental) Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if needed. These steps are executed after ``dist/`` has been populated with the build output. Note that when using this in ``publishToGitHubReleases`` this will override steps added via ``addGitHubPrePublishingSteps``.
5140
5164
  :param publish_tools: (experimental) Additional tools to install in the publishing job. Default: - no additional tools are installed
5165
+ :param attestations: (experimental) Generate and publish cryptographic attestations for files uploaded to PyPI. Attestations provide package provenance and integrity an can be viewed on PyPI. They are only available when using a Trusted Publisher for publishing. Default: - enabled when using trusted publishing, otherwise not applicable
5141
5166
  :param code_artifact_options: (experimental) Options for publishing to AWS CodeArtifact. Default: - undefined
5167
+ :param trusted_publishing: (experimental) Use PyPI trusted publishing instead of tokens or username & password. Needs to be setup in PyPI.
5142
5168
  :param twine_password_secret: (experimental) The GitHub secret which contains PyPI password. Default: "TWINE_PASSWORD"
5143
5169
  :param twine_registry_url: (experimental) The registry url to use when releasing packages. Default: - twine default
5144
5170
  :param twine_username_secret: (experimental) The GitHub secret which contains PyPI user name. Default: "TWINE_USERNAME"
@@ -5157,7 +5183,9 @@ class JsiiPythonTarget(_PyPiPublishOptions_99154bcd):
5157
5183
  check_type(argname="argument post_publish_steps", value=post_publish_steps, expected_type=type_hints["post_publish_steps"])
5158
5184
  check_type(argname="argument pre_publish_steps", value=pre_publish_steps, expected_type=type_hints["pre_publish_steps"])
5159
5185
  check_type(argname="argument publish_tools", value=publish_tools, expected_type=type_hints["publish_tools"])
5186
+ check_type(argname="argument attestations", value=attestations, expected_type=type_hints["attestations"])
5160
5187
  check_type(argname="argument code_artifact_options", value=code_artifact_options, expected_type=type_hints["code_artifact_options"])
5188
+ check_type(argname="argument trusted_publishing", value=trusted_publishing, expected_type=type_hints["trusted_publishing"])
5161
5189
  check_type(argname="argument twine_password_secret", value=twine_password_secret, expected_type=type_hints["twine_password_secret"])
5162
5190
  check_type(argname="argument twine_registry_url", value=twine_registry_url, expected_type=type_hints["twine_registry_url"])
5163
5191
  check_type(argname="argument twine_username_secret", value=twine_username_secret, expected_type=type_hints["twine_username_secret"])
@@ -5175,8 +5203,12 @@ class JsiiPythonTarget(_PyPiPublishOptions_99154bcd):
5175
5203
  self._values["pre_publish_steps"] = pre_publish_steps
5176
5204
  if publish_tools is not None:
5177
5205
  self._values["publish_tools"] = publish_tools
5206
+ if attestations is not None:
5207
+ self._values["attestations"] = attestations
5178
5208
  if code_artifact_options is not None:
5179
5209
  self._values["code_artifact_options"] = code_artifact_options
5210
+ if trusted_publishing is not None:
5211
+ self._values["trusted_publishing"] = trusted_publishing
5180
5212
  if twine_password_secret is not None:
5181
5213
  self._values["twine_password_secret"] = twine_password_secret
5182
5214
  if twine_registry_url is not None:
@@ -5239,6 +5271,21 @@ class JsiiPythonTarget(_PyPiPublishOptions_99154bcd):
5239
5271
  result = self._values.get("publish_tools")
5240
5272
  return typing.cast(typing.Optional[_Tools_75b93a2a], result)
5241
5273
 
5274
+ @builtins.property
5275
+ def attestations(self) -> typing.Optional[builtins.bool]:
5276
+ '''(experimental) Generate and publish cryptographic attestations for files uploaded to PyPI.
5277
+
5278
+ Attestations provide package provenance and integrity an can be viewed on PyPI.
5279
+ They are only available when using a Trusted Publisher for publishing.
5280
+
5281
+ :default: - enabled when using trusted publishing, otherwise not applicable
5282
+
5283
+ :see: https://docs.pypi.org/attestations/producing-attestations/
5284
+ :stability: experimental
5285
+ '''
5286
+ result = self._values.get("attestations")
5287
+ return typing.cast(typing.Optional[builtins.bool], result)
5288
+
5242
5289
  @builtins.property
5243
5290
  def code_artifact_options(self) -> typing.Optional[_CodeArtifactOptions_7236977a]:
5244
5291
  '''(experimental) Options for publishing to AWS CodeArtifact.
@@ -5250,6 +5297,18 @@ class JsiiPythonTarget(_PyPiPublishOptions_99154bcd):
5250
5297
  result = self._values.get("code_artifact_options")
5251
5298
  return typing.cast(typing.Optional[_CodeArtifactOptions_7236977a], result)
5252
5299
 
5300
+ @builtins.property
5301
+ def trusted_publishing(self) -> typing.Optional[builtins.bool]:
5302
+ '''(experimental) Use PyPI trusted publishing instead of tokens or username & password.
5303
+
5304
+ Needs to be setup in PyPI.
5305
+
5306
+ :see: https://docs.pypi.org/trusted-publishers/adding-a-publisher/
5307
+ :stability: experimental
5308
+ '''
5309
+ result = self._values.get("trusted_publishing")
5310
+ return typing.cast(typing.Optional[builtins.bool], result)
5311
+
5253
5312
  @builtins.property
5254
5313
  def twine_password_secret(self) -> typing.Optional[builtins.str]:
5255
5314
  '''(experimental) The GitHub secret which contains PyPI password.
@@ -5466,6 +5525,7 @@ class ConstructLibrary(
5466
5525
  npm_registry: typing.Optional[builtins.str] = None,
5467
5526
  npm_registry_url: typing.Optional[builtins.str] = None,
5468
5527
  npm_token_secret: typing.Optional[builtins.str] = None,
5528
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
5469
5529
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
5470
5530
  package_name: typing.Optional[builtins.str] = None,
5471
5531
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -5636,6 +5696,7 @@ class ConstructLibrary(
5636
5696
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
5637
5697
  :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"
5638
5698
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
5699
+ :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
5639
5700
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
5640
5701
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
5641
5702
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -5808,6 +5869,7 @@ class ConstructLibrary(
5808
5869
  npm_registry=npm_registry,
5809
5870
  npm_registry_url=npm_registry_url,
5810
5871
  npm_token_secret=npm_token_secret,
5872
+ npm_trusted_publishing=npm_trusted_publishing,
5811
5873
  package_manager=package_manager,
5812
5874
  package_name=package_name,
5813
5875
  peer_dependency_options=peer_dependency_options,
@@ -5928,6 +5990,7 @@ typing.cast(typing.Any, ConstructLibrary).__jsii_proxy_class__ = lambda : _Const
5928
5990
  "npm_registry": "npmRegistry",
5929
5991
  "npm_registry_url": "npmRegistryUrl",
5930
5992
  "npm_token_secret": "npmTokenSecret",
5993
+ "npm_trusted_publishing": "npmTrustedPublishing",
5931
5994
  "package_manager": "packageManager",
5932
5995
  "package_name": "packageName",
5933
5996
  "peer_dependency_options": "peerDependencyOptions",
@@ -6102,6 +6165,7 @@ class ConstructLibraryOptions(JsiiProjectOptions):
6102
6165
  npm_registry: typing.Optional[builtins.str] = None,
6103
6166
  npm_registry_url: typing.Optional[builtins.str] = None,
6104
6167
  npm_token_secret: typing.Optional[builtins.str] = None,
6168
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
6105
6169
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
6106
6170
  package_name: typing.Optional[builtins.str] = None,
6107
6171
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -6272,6 +6336,7 @@ class ConstructLibraryOptions(JsiiProjectOptions):
6272
6336
  :param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
6273
6337
  :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"
6274
6338
  :param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
6339
+ :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
6275
6340
  :param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
6276
6341
  :param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
6277
6342
  :param peer_dependency_options: (experimental) Options for ``peerDeps``.
@@ -6523,6 +6588,7 @@ class ConstructLibraryOptions(JsiiProjectOptions):
6523
6588
  check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
6524
6589
  check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
6525
6590
  check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
6591
+ check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
6526
6592
  check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
6527
6593
  check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
6528
6594
  check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
@@ -6752,6 +6818,8 @@ class ConstructLibraryOptions(JsiiProjectOptions):
6752
6818
  self._values["npm_registry_url"] = npm_registry_url
6753
6819
  if npm_token_secret is not None:
6754
6820
  self._values["npm_token_secret"] = npm_token_secret
6821
+ if npm_trusted_publishing is not None:
6822
+ self._values["npm_trusted_publishing"] = npm_trusted_publishing
6755
6823
  if package_manager is not None:
6756
6824
  self._values["package_manager"] = package_manager
6757
6825
  if package_name is not None:
@@ -7684,6 +7752,17 @@ class ConstructLibraryOptions(JsiiProjectOptions):
7684
7752
  result = self._values.get("npm_token_secret")
7685
7753
  return typing.cast(typing.Optional[builtins.str], result)
7686
7754
 
7755
+ @builtins.property
7756
+ def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
7757
+ '''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
7758
+
7759
+ :default: - false
7760
+
7761
+ :stability: experimental
7762
+ '''
7763
+ result = self._values.get("npm_trusted_publishing")
7764
+ return typing.cast(typing.Optional[builtins.bool], result)
7765
+
7687
7766
  @builtins.property
7688
7767
  def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
7689
7768
  '''(experimental) The Node Package Manager used to execute scripts.
@@ -9281,6 +9360,7 @@ def _typecheckingstub__c8323b2edac3105e05d346954d0050d635763ca6b27825b5452fa3d2b
9281
9360
  npm_registry: typing.Optional[builtins.str] = None,
9282
9361
  npm_registry_url: typing.Optional[builtins.str] = None,
9283
9362
  npm_token_secret: typing.Optional[builtins.str] = None,
9363
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
9284
9364
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
9285
9365
  package_name: typing.Optional[builtins.str] = None,
9286
9366
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -9402,7 +9482,9 @@ def _typecheckingstub__b9ccf41e184eae5eabcd38be0ea0cb88c9d6eb3d4f60d6bb85e4a7376
9402
9482
  post_publish_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
9403
9483
  pre_publish_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
9404
9484
  publish_tools: typing.Optional[typing.Union[_Tools_75b93a2a, typing.Dict[builtins.str, typing.Any]]] = None,
9485
+ attestations: typing.Optional[builtins.bool] = None,
9405
9486
  code_artifact_options: typing.Optional[typing.Union[_CodeArtifactOptions_7236977a, typing.Dict[builtins.str, typing.Any]]] = None,
9487
+ trusted_publishing: typing.Optional[builtins.bool] = None,
9406
9488
  twine_password_secret: typing.Optional[builtins.str] = None,
9407
9489
  twine_registry_url: typing.Optional[builtins.str] = None,
9408
9490
  twine_username_secret: typing.Optional[builtins.str] = None,
@@ -9470,6 +9552,7 @@ def _typecheckingstub__0faec4221ab7163e96a5287d81c7e28c1c8f831e5f79f595bd4a88cdd
9470
9552
  npm_registry: typing.Optional[builtins.str] = None,
9471
9553
  npm_registry_url: typing.Optional[builtins.str] = None,
9472
9554
  npm_token_secret: typing.Optional[builtins.str] = None,
9555
+ npm_trusted_publishing: typing.Optional[builtins.bool] = None,
9473
9556
  package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
9474
9557
  package_name: typing.Optional[builtins.str] = None,
9475
9558
  peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,