projen 0.95.2__py3-none-any.whl → 0.95.3__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/_jsii/__init__.py +1 -1
- projen/_jsii/projen@0.95.3.jsii.tgz +0 -0
- projen/awscdk/__init__.py +63 -0
- projen/cdk/__init__.py +83 -0
- projen/cdk8s/__init__.py +42 -0
- projen/cdktf/__init__.py +21 -0
- projen/javascript/__init__.py +43 -0
- projen/javascript/biome_config/__init__.py +98 -4
- projen/release/__init__.py +154 -15
- projen/typescript/__init__.py +45 -0
- projen/web/__init__.py +84 -0
- {projen-0.95.2.data → projen-0.95.3.data}/scripts/projen +1 -1
- {projen-0.95.2.dist-info → projen-0.95.3.dist-info}/METADATA +1 -1
- projen-0.95.3.dist-info/RECORD +27 -0
- projen/_jsii/projen@0.95.2.jsii.tgz +0 -0
- projen-0.95.2.dist-info/RECORD +0 -27
- {projen-0.95.2.dist-info → projen-0.95.3.dist-info}/LICENSE +0 -0
- {projen-0.95.2.dist-info → projen-0.95.3.dist-info}/WHEEL +0 -0
- {projen-0.95.2.dist-info → projen-0.95.3.dist-info}/top_level.txt +0 -0
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,
|
projen/javascript/__init__.py
CHANGED
|
@@ -4273,6 +4273,7 @@ class NodePackage(
|
|
|
4273
4273
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
4274
4274
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
4275
4275
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
4276
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
4276
4277
|
package_manager: typing.Optional["NodePackageManager"] = None,
|
|
4277
4278
|
package_name: typing.Optional[builtins.str] = None,
|
|
4278
4279
|
peer_dependency_options: typing.Optional[typing.Union["PeerDependencyOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -4314,6 +4315,7 @@ class NodePackage(
|
|
|
4314
4315
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
4315
4316
|
: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
4317
|
:param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
|
|
4318
|
+
: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
4319
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
4318
4320
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
4319
4321
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -4359,6 +4361,7 @@ class NodePackage(
|
|
|
4359
4361
|
npm_registry=npm_registry,
|
|
4360
4362
|
npm_registry_url=npm_registry_url,
|
|
4361
4363
|
npm_token_secret=npm_token_secret,
|
|
4364
|
+
npm_trusted_publishing=npm_trusted_publishing,
|
|
4362
4365
|
package_manager=package_manager,
|
|
4363
4366
|
package_name=package_name,
|
|
4364
4367
|
peer_dependency_options=peer_dependency_options,
|
|
@@ -4927,6 +4930,7 @@ class NodePackageManager(enum.Enum):
|
|
|
4927
4930
|
"npm_registry": "npmRegistry",
|
|
4928
4931
|
"npm_registry_url": "npmRegistryUrl",
|
|
4929
4932
|
"npm_token_secret": "npmTokenSecret",
|
|
4933
|
+
"npm_trusted_publishing": "npmTrustedPublishing",
|
|
4930
4934
|
"package_manager": "packageManager",
|
|
4931
4935
|
"package_name": "packageName",
|
|
4932
4936
|
"peer_dependency_options": "peerDependencyOptions",
|
|
@@ -4971,6 +4975,7 @@ class NodePackageOptions:
|
|
|
4971
4975
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
4972
4976
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
4973
4977
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
4978
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
4974
4979
|
package_manager: typing.Optional[NodePackageManager] = None,
|
|
4975
4980
|
package_name: typing.Optional[builtins.str] = None,
|
|
4976
4981
|
peer_dependency_options: typing.Optional[typing.Union["PeerDependencyOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -5011,6 +5016,7 @@ class NodePackageOptions:
|
|
|
5011
5016
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
5012
5017
|
: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
5018
|
:param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
|
|
5019
|
+
: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
5020
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
5015
5021
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
5016
5022
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -5060,6 +5066,7 @@ class NodePackageOptions:
|
|
|
5060
5066
|
check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
|
|
5061
5067
|
check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
|
|
5062
5068
|
check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
|
|
5069
|
+
check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
|
|
5063
5070
|
check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
|
|
5064
5071
|
check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
|
|
5065
5072
|
check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
|
|
@@ -5126,6 +5133,8 @@ class NodePackageOptions:
|
|
|
5126
5133
|
self._values["npm_registry_url"] = npm_registry_url
|
|
5127
5134
|
if npm_token_secret is not None:
|
|
5128
5135
|
self._values["npm_token_secret"] = npm_token_secret
|
|
5136
|
+
if npm_trusted_publishing is not None:
|
|
5137
|
+
self._values["npm_trusted_publishing"] = npm_trusted_publishing
|
|
5129
5138
|
if package_manager is not None:
|
|
5130
5139
|
self._values["package_manager"] = package_manager
|
|
5131
5140
|
if package_name is not None:
|
|
@@ -5512,6 +5521,17 @@ class NodePackageOptions:
|
|
|
5512
5521
|
result = self._values.get("npm_token_secret")
|
|
5513
5522
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5514
5523
|
|
|
5524
|
+
@builtins.property
|
|
5525
|
+
def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
|
|
5526
|
+
'''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
|
|
5527
|
+
|
|
5528
|
+
:default: - false
|
|
5529
|
+
|
|
5530
|
+
:stability: experimental
|
|
5531
|
+
'''
|
|
5532
|
+
result = self._values.get("npm_trusted_publishing")
|
|
5533
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
5534
|
+
|
|
5515
5535
|
@builtins.property
|
|
5516
5536
|
def package_manager(self) -> typing.Optional[NodePackageManager]:
|
|
5517
5537
|
'''(experimental) The Node Package Manager used to execute scripts.
|
|
@@ -5761,6 +5781,7 @@ class NodeProject(
|
|
|
5761
5781
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
5762
5782
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
5763
5783
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
5784
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
5764
5785
|
package_manager: typing.Optional[NodePackageManager] = None,
|
|
5765
5786
|
package_name: typing.Optional[builtins.str] = None,
|
|
5766
5787
|
peer_dependency_options: typing.Optional[typing.Union["PeerDependencyOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -5896,6 +5917,7 @@ class NodeProject(
|
|
|
5896
5917
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
5897
5918
|
: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
5919
|
:param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
|
|
5920
|
+
: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
5921
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
5900
5922
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
5901
5923
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -6033,6 +6055,7 @@ class NodeProject(
|
|
|
6033
6055
|
npm_registry=npm_registry,
|
|
6034
6056
|
npm_registry_url=npm_registry_url,
|
|
6035
6057
|
npm_token_secret=npm_token_secret,
|
|
6058
|
+
npm_trusted_publishing=npm_trusted_publishing,
|
|
6036
6059
|
package_manager=package_manager,
|
|
6037
6060
|
package_name=package_name,
|
|
6038
6061
|
peer_dependency_options=peer_dependency_options,
|
|
@@ -6624,6 +6647,7 @@ class NodeProject(
|
|
|
6624
6647
|
"npm_registry": "npmRegistry",
|
|
6625
6648
|
"npm_registry_url": "npmRegistryUrl",
|
|
6626
6649
|
"npm_token_secret": "npmTokenSecret",
|
|
6650
|
+
"npm_trusted_publishing": "npmTrustedPublishing",
|
|
6627
6651
|
"package_manager": "packageManager",
|
|
6628
6652
|
"package_name": "packageName",
|
|
6629
6653
|
"peer_dependency_options": "peerDependencyOptions",
|
|
@@ -6767,6 +6791,7 @@ class NodeProjectOptions(
|
|
|
6767
6791
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
6768
6792
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
6769
6793
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
6794
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
6770
6795
|
package_manager: typing.Optional[NodePackageManager] = None,
|
|
6771
6796
|
package_name: typing.Optional[builtins.str] = None,
|
|
6772
6797
|
peer_dependency_options: typing.Optional[typing.Union["PeerDependencyOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -6902,6 +6927,7 @@ class NodeProjectOptions(
|
|
|
6902
6927
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
6903
6928
|
: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
6929
|
:param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
|
|
6930
|
+
: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
6931
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
6906
6932
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
6907
6933
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -7094,6 +7120,7 @@ class NodeProjectOptions(
|
|
|
7094
7120
|
check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
|
|
7095
7121
|
check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
|
|
7096
7122
|
check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
|
|
7123
|
+
check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
|
|
7097
7124
|
check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
|
|
7098
7125
|
check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
|
|
7099
7126
|
check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
|
|
@@ -7285,6 +7312,8 @@ class NodeProjectOptions(
|
|
|
7285
7312
|
self._values["npm_registry_url"] = npm_registry_url
|
|
7286
7313
|
if npm_token_secret is not None:
|
|
7287
7314
|
self._values["npm_token_secret"] = npm_token_secret
|
|
7315
|
+
if npm_trusted_publishing is not None:
|
|
7316
|
+
self._values["npm_trusted_publishing"] = npm_trusted_publishing
|
|
7288
7317
|
if package_manager is not None:
|
|
7289
7318
|
self._values["package_manager"] = package_manager
|
|
7290
7319
|
if package_name is not None:
|
|
@@ -8153,6 +8182,17 @@ class NodeProjectOptions(
|
|
|
8153
8182
|
result = self._values.get("npm_token_secret")
|
|
8154
8183
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
8155
8184
|
|
|
8185
|
+
@builtins.property
|
|
8186
|
+
def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
|
|
8187
|
+
'''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
|
|
8188
|
+
|
|
8189
|
+
:default: - false
|
|
8190
|
+
|
|
8191
|
+
:stability: experimental
|
|
8192
|
+
'''
|
|
8193
|
+
result = self._values.get("npm_trusted_publishing")
|
|
8194
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8195
|
+
|
|
8156
8196
|
@builtins.property
|
|
8157
8197
|
def package_manager(self) -> typing.Optional[NodePackageManager]:
|
|
8158
8198
|
'''(experimental) The Node Package Manager used to execute scripts.
|
|
@@ -16690,6 +16730,7 @@ def _typecheckingstub__d10cd20471c8ed8e2de153476379f00bfa1b587c92e8982006812a0e3
|
|
|
16690
16730
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
16691
16731
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
16692
16732
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
16733
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
16693
16734
|
package_manager: typing.Optional[NodePackageManager] = None,
|
|
16694
16735
|
package_name: typing.Optional[builtins.str] = None,
|
|
16695
16736
|
peer_dependency_options: typing.Optional[typing.Union[PeerDependencyOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16827,6 +16868,7 @@ def _typecheckingstub__32555a77b63910142de45100c4a6d74880ddece00a3cbae9c27803467
|
|
|
16827
16868
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
16828
16869
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
16829
16870
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
16871
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
16830
16872
|
package_manager: typing.Optional[NodePackageManager] = None,
|
|
16831
16873
|
package_name: typing.Optional[builtins.str] = None,
|
|
16832
16874
|
peer_dependency_options: typing.Optional[typing.Union[PeerDependencyOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16991,6 +17033,7 @@ def _typecheckingstub__05c2eb8aa04095bbe6af788737363089516ccd341e3a6624f153e8ff7
|
|
|
16991
17033
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
16992
17034
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
16993
17035
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
17036
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
16994
17037
|
package_manager: typing.Optional[NodePackageManager] = None,
|
|
16995
17038
|
package_name: typing.Optional[builtins.str] = None,
|
|
16996
17039
|
peer_dependency_options: typing.Optional[typing.Union[PeerDependencyOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|