projen 0.96.3__tar.gz → 0.96.5__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.
- {projen-0.96.3/src/projen.egg-info → projen-0.96.5}/PKG-INFO +2 -2
- {projen-0.96.3 → projen-0.96.5}/setup.py +3 -3
- {projen-0.96.3 → projen-0.96.5}/src/projen/__init__.py +3 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/_jsii/__init__.py +1 -1
- {projen-0.96.3 → projen-0.96.5}/src/projen/_jsii/bin/projen +1 -1
- projen-0.96.5/src/projen/_jsii/projen@0.96.5.jsii.tgz +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/cdk/__init__.py +39 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/github/__init__.py +3 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/gitlab/__init__.py +3 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/python/__init__.py +3 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/release/__init__.py +84 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/vscode/__init__.py +3 -0
- {projen-0.96.3 → projen-0.96.5/src/projen.egg-info}/PKG-INFO +2 -2
- {projen-0.96.3 → projen-0.96.5}/src/projen.egg-info/SOURCES.txt +1 -1
- {projen-0.96.3 → projen-0.96.5}/src/projen.egg-info/requires.txt +1 -1
- projen-0.96.3/src/projen/_jsii/projen@0.96.3.jsii.tgz +0 -0
- {projen-0.96.3 → projen-0.96.5}/LICENSE +0 -0
- {projen-0.96.3 → projen-0.96.5}/MANIFEST.in +0 -0
- {projen-0.96.3 → projen-0.96.5}/README.md +0 -0
- {projen-0.96.3 → projen-0.96.5}/pyproject.toml +0 -0
- {projen-0.96.3 → projen-0.96.5}/setup.cfg +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/awscdk/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/build/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/cdk8s/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/cdktf/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/circleci/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/github/workflows/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/java/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/javascript/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/javascript/biome_config/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/py.typed +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/typescript/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen/web/__init__.py +0 -0
- {projen-0.96.3 → projen-0.96.5}/src/projen.egg-info/dependency_links.txt +0 -0
- {projen-0.96.3 → projen-0.96.5}/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.96.
|
|
3
|
+
Version: 0.96.5
|
|
4
4
|
Summary: CDK for software projects
|
|
5
5
|
Home-page: https://github.com/projen/projen.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -20,7 +20,7 @@ Requires-Python: ~=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
23
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
23
|
+
Requires-Dist: jsii<2.0.0,>=1.115.0
|
|
24
24
|
Requires-Dist: publication>=0.0.3
|
|
25
25
|
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
26
26
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "projen",
|
|
8
|
-
"version": "0.96.
|
|
8
|
+
"version": "0.96.5",
|
|
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.96.
|
|
46
|
+
"projen@0.96.5.jsii.tgz"
|
|
47
47
|
],
|
|
48
48
|
"projen": [
|
|
49
49
|
"py.typed"
|
|
@@ -52,7 +52,7 @@ kwargs = json.loads(
|
|
|
52
52
|
"python_requires": "~=3.9",
|
|
53
53
|
"install_requires": [
|
|
54
54
|
"constructs>=10.0.0, <11.0.0",
|
|
55
|
-
"jsii>=1.
|
|
55
|
+
"jsii>=1.115.0, <2.0.0",
|
|
56
56
|
"publication>=0.0.3",
|
|
57
57
|
"typeguard>=2.13.3,<4.3.0"
|
|
58
58
|
],
|
|
@@ -14607,3 +14607,6 @@ def _typecheckingstub__6e32d65dbc737f8fd131c5593ecf206bcf2a76757ddb7c5f42945d730
|
|
|
14607
14607
|
) -> None:
|
|
14608
14608
|
"""Type checking stubs"""
|
|
14609
14609
|
pass
|
|
14610
|
+
|
|
14611
|
+
for cls in [ICompareString, IDevEnvironment, IDockerComposeNetworkBinding, IDockerComposeNetworkConfig, IDockerComposeServiceName, IDockerComposeVolumeBinding, IDockerComposeVolumeConfig, IResolvable, IResolver]:
|
|
14612
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -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.96.
|
|
34
|
+
"projen", "0.96.5", __name__[0:-6], "projen@0.96.5.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.96.
|
|
11
|
+
"projen", "0.96.5", "projen", "projen@0.96.5.jsii.tgz"
|
|
12
12
|
)
|
|
13
13
|
|
|
14
14
|
exit_code = __jsii_assembly__.invokeBinScript("projen", "projen", sys.argv[1:])
|
|
Binary file
|
|
@@ -621,6 +621,8 @@ class JsiiDocgenOptions:
|
|
|
621
621
|
"publish_tools": "publishTools",
|
|
622
622
|
"nuget_api_key_secret": "nugetApiKeySecret",
|
|
623
623
|
"nuget_server": "nugetServer",
|
|
624
|
+
"nuget_username_secret": "nugetUsernameSecret",
|
|
625
|
+
"trusted_publishing": "trustedPublishing",
|
|
624
626
|
"dot_net_namespace": "dotNetNamespace",
|
|
625
627
|
"package_id": "packageId",
|
|
626
628
|
"icon_url": "iconUrl",
|
|
@@ -636,6 +638,8 @@ class JsiiDotNetTarget(_NugetPublishOptions_32e8bf09):
|
|
|
636
638
|
publish_tools: typing.Optional[typing.Union[_Tools_75b93a2a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
637
639
|
nuget_api_key_secret: typing.Optional[builtins.str] = None,
|
|
638
640
|
nuget_server: typing.Optional[builtins.str] = None,
|
|
641
|
+
nuget_username_secret: typing.Optional[builtins.str] = None,
|
|
642
|
+
trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
639
643
|
dot_net_namespace: builtins.str,
|
|
640
644
|
package_id: builtins.str,
|
|
641
645
|
icon_url: typing.Optional[builtins.str] = None,
|
|
@@ -647,6 +651,8 @@ class JsiiDotNetTarget(_NugetPublishOptions_32e8bf09):
|
|
|
647
651
|
:param publish_tools: (experimental) Additional tools to install in the publishing job. Default: - no additional tools are installed
|
|
648
652
|
:param nuget_api_key_secret: (experimental) GitHub secret which contains the API key for NuGet. Default: "NUGET_API_KEY"
|
|
649
653
|
:param nuget_server: (experimental) NuGet Server URL (defaults to nuget.org).
|
|
654
|
+
:param nuget_username_secret: (experimental) The NuGet.org username (profile name, not email address) for trusted publisher authentication. Required when using trusted publishing. Default: "NUGET_USERNAME"
|
|
655
|
+
:param trusted_publishing: (experimental) Use NuGet trusted publishing instead of API keys. Needs to be setup in NuGet.org.
|
|
650
656
|
:param dot_net_namespace:
|
|
651
657
|
:param package_id:
|
|
652
658
|
:param icon_url:
|
|
@@ -663,6 +669,8 @@ class JsiiDotNetTarget(_NugetPublishOptions_32e8bf09):
|
|
|
663
669
|
check_type(argname="argument publish_tools", value=publish_tools, expected_type=type_hints["publish_tools"])
|
|
664
670
|
check_type(argname="argument nuget_api_key_secret", value=nuget_api_key_secret, expected_type=type_hints["nuget_api_key_secret"])
|
|
665
671
|
check_type(argname="argument nuget_server", value=nuget_server, expected_type=type_hints["nuget_server"])
|
|
672
|
+
check_type(argname="argument nuget_username_secret", value=nuget_username_secret, expected_type=type_hints["nuget_username_secret"])
|
|
673
|
+
check_type(argname="argument trusted_publishing", value=trusted_publishing, expected_type=type_hints["trusted_publishing"])
|
|
666
674
|
check_type(argname="argument dot_net_namespace", value=dot_net_namespace, expected_type=type_hints["dot_net_namespace"])
|
|
667
675
|
check_type(argname="argument package_id", value=package_id, expected_type=type_hints["package_id"])
|
|
668
676
|
check_type(argname="argument icon_url", value=icon_url, expected_type=type_hints["icon_url"])
|
|
@@ -682,6 +690,10 @@ class JsiiDotNetTarget(_NugetPublishOptions_32e8bf09):
|
|
|
682
690
|
self._values["nuget_api_key_secret"] = nuget_api_key_secret
|
|
683
691
|
if nuget_server is not None:
|
|
684
692
|
self._values["nuget_server"] = nuget_server
|
|
693
|
+
if nuget_username_secret is not None:
|
|
694
|
+
self._values["nuget_username_secret"] = nuget_username_secret
|
|
695
|
+
if trusted_publishing is not None:
|
|
696
|
+
self._values["trusted_publishing"] = trusted_publishing
|
|
685
697
|
if icon_url is not None:
|
|
686
698
|
self._values["icon_url"] = icon_url
|
|
687
699
|
|
|
@@ -760,6 +772,31 @@ class JsiiDotNetTarget(_NugetPublishOptions_32e8bf09):
|
|
|
760
772
|
result = self._values.get("nuget_server")
|
|
761
773
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
762
774
|
|
|
775
|
+
@builtins.property
|
|
776
|
+
def nuget_username_secret(self) -> typing.Optional[builtins.str]:
|
|
777
|
+
'''(experimental) The NuGet.org username (profile name, not email address) for trusted publisher authentication.
|
|
778
|
+
|
|
779
|
+
Required when using trusted publishing.
|
|
780
|
+
|
|
781
|
+
:default: "NUGET_USERNAME"
|
|
782
|
+
|
|
783
|
+
:stability: experimental
|
|
784
|
+
'''
|
|
785
|
+
result = self._values.get("nuget_username_secret")
|
|
786
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
787
|
+
|
|
788
|
+
@builtins.property
|
|
789
|
+
def trusted_publishing(self) -> typing.Optional[builtins.bool]:
|
|
790
|
+
'''(experimental) Use NuGet trusted publishing instead of API keys.
|
|
791
|
+
|
|
792
|
+
Needs to be setup in NuGet.org.
|
|
793
|
+
|
|
794
|
+
:see: https://learn.microsoft.com/en-us/nuget/nuget-org/trusted-publishing
|
|
795
|
+
:stability: experimental
|
|
796
|
+
'''
|
|
797
|
+
result = self._values.get("trusted_publishing")
|
|
798
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
799
|
+
|
|
763
800
|
@builtins.property
|
|
764
801
|
def dot_net_namespace(self) -> builtins.str:
|
|
765
802
|
'''
|
|
@@ -9298,6 +9335,8 @@ def _typecheckingstub__e809c6916d6d93bf1e91d05e4a79f49eb72f74bccaceeb6a508a3005b
|
|
|
9298
9335
|
publish_tools: typing.Optional[typing.Union[_Tools_75b93a2a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9299
9336
|
nuget_api_key_secret: typing.Optional[builtins.str] = None,
|
|
9300
9337
|
nuget_server: typing.Optional[builtins.str] = None,
|
|
9338
|
+
nuget_username_secret: typing.Optional[builtins.str] = None,
|
|
9339
|
+
trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
9301
9340
|
dot_net_namespace: builtins.str,
|
|
9302
9341
|
package_id: builtins.str,
|
|
9303
9342
|
icon_url: typing.Optional[builtins.str] = None,
|
|
@@ -10149,3 +10149,6 @@ def _typecheckingstub__696566a4c593a7173649d5eeaadb52edb8460487e95d469374dc3c01f
|
|
|
10149
10149
|
) -> None:
|
|
10150
10150
|
"""Type checking stubs"""
|
|
10151
10151
|
pass
|
|
10152
|
+
|
|
10153
|
+
for cls in [IAddConditionsLater]:
|
|
10154
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -4952,3 +4952,6 @@ def _typecheckingstub__01a2cf4c2a982a749d12511d9e43468f3b4a9cca16d6c56d9a2cfd115
|
|
|
4952
4952
|
) -> None:
|
|
4953
4953
|
"""Type checking stubs"""
|
|
4954
4954
|
pass
|
|
4955
|
+
|
|
4956
|
+
for cls in [IDToken]:
|
|
4957
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -4978,3 +4978,6 @@ def _typecheckingstub__58d69e7441cb3bc0f904d3072147d8851b799f65424aafad7c14abead
|
|
|
4978
4978
|
) -> None:
|
|
4979
4979
|
"""Type checking stubs"""
|
|
4980
4980
|
pass
|
|
4981
|
+
|
|
4982
|
+
for cls in [IPackageProvider, IPythonDeps, IPythonEnv, IPythonPackaging]:
|
|
4983
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -1911,6 +1911,8 @@ class NpmPublishOptions(CommonPublishOptions):
|
|
|
1911
1911
|
"publish_tools": "publishTools",
|
|
1912
1912
|
"nuget_api_key_secret": "nugetApiKeySecret",
|
|
1913
1913
|
"nuget_server": "nugetServer",
|
|
1914
|
+
"nuget_username_secret": "nugetUsernameSecret",
|
|
1915
|
+
"trusted_publishing": "trustedPublishing",
|
|
1914
1916
|
},
|
|
1915
1917
|
)
|
|
1916
1918
|
class NugetPublishOptions(CommonPublishOptions):
|
|
@@ -1923,6 +1925,8 @@ class NugetPublishOptions(CommonPublishOptions):
|
|
|
1923
1925
|
publish_tools: typing.Optional[typing.Union[_Tools_75b93a2a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1924
1926
|
nuget_api_key_secret: typing.Optional[builtins.str] = None,
|
|
1925
1927
|
nuget_server: typing.Optional[builtins.str] = None,
|
|
1928
|
+
nuget_username_secret: typing.Optional[builtins.str] = None,
|
|
1929
|
+
trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
1926
1930
|
) -> None:
|
|
1927
1931
|
'''(experimental) Options for NuGet releases.
|
|
1928
1932
|
|
|
@@ -1932,6 +1936,8 @@ class NugetPublishOptions(CommonPublishOptions):
|
|
|
1932
1936
|
:param publish_tools: (experimental) Additional tools to install in the publishing job. Default: - no additional tools are installed
|
|
1933
1937
|
:param nuget_api_key_secret: (experimental) GitHub secret which contains the API key for NuGet. Default: "NUGET_API_KEY"
|
|
1934
1938
|
:param nuget_server: (experimental) NuGet Server URL (defaults to nuget.org).
|
|
1939
|
+
:param nuget_username_secret: (experimental) The NuGet.org username (profile name, not email address) for trusted publisher authentication. Required when using trusted publishing. Default: "NUGET_USERNAME"
|
|
1940
|
+
:param trusted_publishing: (experimental) Use NuGet trusted publishing instead of API keys. Needs to be setup in NuGet.org.
|
|
1935
1941
|
|
|
1936
1942
|
:stability: experimental
|
|
1937
1943
|
'''
|
|
@@ -1945,6 +1951,8 @@ class NugetPublishOptions(CommonPublishOptions):
|
|
|
1945
1951
|
check_type(argname="argument publish_tools", value=publish_tools, expected_type=type_hints["publish_tools"])
|
|
1946
1952
|
check_type(argname="argument nuget_api_key_secret", value=nuget_api_key_secret, expected_type=type_hints["nuget_api_key_secret"])
|
|
1947
1953
|
check_type(argname="argument nuget_server", value=nuget_server, expected_type=type_hints["nuget_server"])
|
|
1954
|
+
check_type(argname="argument nuget_username_secret", value=nuget_username_secret, expected_type=type_hints["nuget_username_secret"])
|
|
1955
|
+
check_type(argname="argument trusted_publishing", value=trusted_publishing, expected_type=type_hints["trusted_publishing"])
|
|
1948
1956
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1949
1957
|
if github_environment is not None:
|
|
1950
1958
|
self._values["github_environment"] = github_environment
|
|
@@ -1958,6 +1966,10 @@ class NugetPublishOptions(CommonPublishOptions):
|
|
|
1958
1966
|
self._values["nuget_api_key_secret"] = nuget_api_key_secret
|
|
1959
1967
|
if nuget_server is not None:
|
|
1960
1968
|
self._values["nuget_server"] = nuget_server
|
|
1969
|
+
if nuget_username_secret is not None:
|
|
1970
|
+
self._values["nuget_username_secret"] = nuget_username_secret
|
|
1971
|
+
if trusted_publishing is not None:
|
|
1972
|
+
self._values["trusted_publishing"] = trusted_publishing
|
|
1961
1973
|
|
|
1962
1974
|
@builtins.property
|
|
1963
1975
|
def github_environment(self) -> typing.Optional[builtins.str]:
|
|
@@ -2034,6 +2046,31 @@ class NugetPublishOptions(CommonPublishOptions):
|
|
|
2034
2046
|
result = self._values.get("nuget_server")
|
|
2035
2047
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2036
2048
|
|
|
2049
|
+
@builtins.property
|
|
2050
|
+
def nuget_username_secret(self) -> typing.Optional[builtins.str]:
|
|
2051
|
+
'''(experimental) The NuGet.org username (profile name, not email address) for trusted publisher authentication.
|
|
2052
|
+
|
|
2053
|
+
Required when using trusted publishing.
|
|
2054
|
+
|
|
2055
|
+
:default: "NUGET_USERNAME"
|
|
2056
|
+
|
|
2057
|
+
:stability: experimental
|
|
2058
|
+
'''
|
|
2059
|
+
result = self._values.get("nuget_username_secret")
|
|
2060
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2061
|
+
|
|
2062
|
+
@builtins.property
|
|
2063
|
+
def trusted_publishing(self) -> typing.Optional[builtins.bool]:
|
|
2064
|
+
'''(experimental) Use NuGet trusted publishing instead of API keys.
|
|
2065
|
+
|
|
2066
|
+
Needs to be setup in NuGet.org.
|
|
2067
|
+
|
|
2068
|
+
:see: https://learn.microsoft.com/en-us/nuget/nuget-org/trusted-publishing
|
|
2069
|
+
:stability: experimental
|
|
2070
|
+
'''
|
|
2071
|
+
result = self._values.get("trusted_publishing")
|
|
2072
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2073
|
+
|
|
2037
2074
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2038
2075
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2039
2076
|
|
|
@@ -2362,6 +2399,8 @@ class Publisher(
|
|
|
2362
2399
|
*,
|
|
2363
2400
|
nuget_api_key_secret: typing.Optional[builtins.str] = None,
|
|
2364
2401
|
nuget_server: typing.Optional[builtins.str] = None,
|
|
2402
|
+
nuget_username_secret: typing.Optional[builtins.str] = None,
|
|
2403
|
+
trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
2365
2404
|
github_environment: typing.Optional[builtins.str] = None,
|
|
2366
2405
|
post_publish_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2367
2406
|
pre_publish_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -2371,6 +2410,8 @@ class Publisher(
|
|
|
2371
2410
|
|
|
2372
2411
|
:param nuget_api_key_secret: (experimental) GitHub secret which contains the API key for NuGet. Default: "NUGET_API_KEY"
|
|
2373
2412
|
:param nuget_server: (experimental) NuGet Server URL (defaults to nuget.org).
|
|
2413
|
+
:param nuget_username_secret: (experimental) The NuGet.org username (profile name, not email address) for trusted publisher authentication. Required when using trusted publishing. Default: "NUGET_USERNAME"
|
|
2414
|
+
:param trusted_publishing: (experimental) Use NuGet trusted publishing instead of API keys. Needs to be setup in NuGet.org.
|
|
2374
2415
|
:param github_environment: (experimental) The GitHub Actions environment used for publishing. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. Set this to overwrite a package level publishing environment just for this artifact. Default: - no environment used, unless set at the package level
|
|
2375
2416
|
: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``.
|
|
2376
2417
|
: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``.
|
|
@@ -2381,6 +2422,8 @@ class Publisher(
|
|
|
2381
2422
|
options = NugetPublishOptions(
|
|
2382
2423
|
nuget_api_key_secret=nuget_api_key_secret,
|
|
2383
2424
|
nuget_server=nuget_server,
|
|
2425
|
+
nuget_username_secret=nuget_username_secret,
|
|
2426
|
+
trusted_publishing=trusted_publishing,
|
|
2384
2427
|
github_environment=github_environment,
|
|
2385
2428
|
post_publish_steps=post_publish_steps,
|
|
2386
2429
|
pre_publish_steps=pre_publish_steps,
|
|
@@ -4508,6 +4551,8 @@ class JsiiReleaseNpm(NpmPublishOptions):
|
|
|
4508
4551
|
"publish_tools": "publishTools",
|
|
4509
4552
|
"nuget_api_key_secret": "nugetApiKeySecret",
|
|
4510
4553
|
"nuget_server": "nugetServer",
|
|
4554
|
+
"nuget_username_secret": "nugetUsernameSecret",
|
|
4555
|
+
"trusted_publishing": "trustedPublishing",
|
|
4511
4556
|
},
|
|
4512
4557
|
)
|
|
4513
4558
|
class JsiiReleaseNuget(NugetPublishOptions):
|
|
@@ -4520,6 +4565,8 @@ class JsiiReleaseNuget(NugetPublishOptions):
|
|
|
4520
4565
|
publish_tools: typing.Optional[typing.Union[_Tools_75b93a2a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4521
4566
|
nuget_api_key_secret: typing.Optional[builtins.str] = None,
|
|
4522
4567
|
nuget_server: typing.Optional[builtins.str] = None,
|
|
4568
|
+
nuget_username_secret: typing.Optional[builtins.str] = None,
|
|
4569
|
+
trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
4523
4570
|
) -> None:
|
|
4524
4571
|
'''
|
|
4525
4572
|
:param github_environment: (experimental) The GitHub Actions environment used for publishing. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. Set this to overwrite a package level publishing environment just for this artifact. Default: - no environment used, unless set at the package level
|
|
@@ -4528,6 +4575,8 @@ class JsiiReleaseNuget(NugetPublishOptions):
|
|
|
4528
4575
|
:param publish_tools: (experimental) Additional tools to install in the publishing job. Default: - no additional tools are installed
|
|
4529
4576
|
:param nuget_api_key_secret: (experimental) GitHub secret which contains the API key for NuGet. Default: "NUGET_API_KEY"
|
|
4530
4577
|
:param nuget_server: (experimental) NuGet Server URL (defaults to nuget.org).
|
|
4578
|
+
:param nuget_username_secret: (experimental) The NuGet.org username (profile name, not email address) for trusted publisher authentication. Required when using trusted publishing. Default: "NUGET_USERNAME"
|
|
4579
|
+
:param trusted_publishing: (experimental) Use NuGet trusted publishing instead of API keys. Needs to be setup in NuGet.org.
|
|
4531
4580
|
|
|
4532
4581
|
:deprecated: Use ``NugetPublishOptions`` instead.
|
|
4533
4582
|
|
|
@@ -4543,6 +4592,8 @@ class JsiiReleaseNuget(NugetPublishOptions):
|
|
|
4543
4592
|
check_type(argname="argument publish_tools", value=publish_tools, expected_type=type_hints["publish_tools"])
|
|
4544
4593
|
check_type(argname="argument nuget_api_key_secret", value=nuget_api_key_secret, expected_type=type_hints["nuget_api_key_secret"])
|
|
4545
4594
|
check_type(argname="argument nuget_server", value=nuget_server, expected_type=type_hints["nuget_server"])
|
|
4595
|
+
check_type(argname="argument nuget_username_secret", value=nuget_username_secret, expected_type=type_hints["nuget_username_secret"])
|
|
4596
|
+
check_type(argname="argument trusted_publishing", value=trusted_publishing, expected_type=type_hints["trusted_publishing"])
|
|
4546
4597
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4547
4598
|
if github_environment is not None:
|
|
4548
4599
|
self._values["github_environment"] = github_environment
|
|
@@ -4556,6 +4607,10 @@ class JsiiReleaseNuget(NugetPublishOptions):
|
|
|
4556
4607
|
self._values["nuget_api_key_secret"] = nuget_api_key_secret
|
|
4557
4608
|
if nuget_server is not None:
|
|
4558
4609
|
self._values["nuget_server"] = nuget_server
|
|
4610
|
+
if nuget_username_secret is not None:
|
|
4611
|
+
self._values["nuget_username_secret"] = nuget_username_secret
|
|
4612
|
+
if trusted_publishing is not None:
|
|
4613
|
+
self._values["trusted_publishing"] = trusted_publishing
|
|
4559
4614
|
|
|
4560
4615
|
@builtins.property
|
|
4561
4616
|
def github_environment(self) -> typing.Optional[builtins.str]:
|
|
@@ -4632,6 +4687,31 @@ class JsiiReleaseNuget(NugetPublishOptions):
|
|
|
4632
4687
|
result = self._values.get("nuget_server")
|
|
4633
4688
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
4634
4689
|
|
|
4690
|
+
@builtins.property
|
|
4691
|
+
def nuget_username_secret(self) -> typing.Optional[builtins.str]:
|
|
4692
|
+
'''(experimental) The NuGet.org username (profile name, not email address) for trusted publisher authentication.
|
|
4693
|
+
|
|
4694
|
+
Required when using trusted publishing.
|
|
4695
|
+
|
|
4696
|
+
:default: "NUGET_USERNAME"
|
|
4697
|
+
|
|
4698
|
+
:stability: experimental
|
|
4699
|
+
'''
|
|
4700
|
+
result = self._values.get("nuget_username_secret")
|
|
4701
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4702
|
+
|
|
4703
|
+
@builtins.property
|
|
4704
|
+
def trusted_publishing(self) -> typing.Optional[builtins.bool]:
|
|
4705
|
+
'''(experimental) Use NuGet trusted publishing instead of API keys.
|
|
4706
|
+
|
|
4707
|
+
Needs to be setup in NuGet.org.
|
|
4708
|
+
|
|
4709
|
+
:see: https://learn.microsoft.com/en-us/nuget/nuget-org/trusted-publishing
|
|
4710
|
+
:stability: experimental
|
|
4711
|
+
'''
|
|
4712
|
+
result = self._values.get("trusted_publishing")
|
|
4713
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
4714
|
+
|
|
4635
4715
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4636
4716
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4637
4717
|
|
|
@@ -5728,6 +5808,8 @@ def _typecheckingstub__584d4125e43e970396e9062b357de30ef32a6d1b30bd3a0f00fc7db04
|
|
|
5728
5808
|
publish_tools: typing.Optional[typing.Union[_Tools_75b93a2a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5729
5809
|
nuget_api_key_secret: typing.Optional[builtins.str] = None,
|
|
5730
5810
|
nuget_server: typing.Optional[builtins.str] = None,
|
|
5811
|
+
nuget_username_secret: typing.Optional[builtins.str] = None,
|
|
5812
|
+
trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
5731
5813
|
) -> None:
|
|
5732
5814
|
"""Type checking stubs"""
|
|
5733
5815
|
pass
|
|
@@ -5947,6 +6029,8 @@ def _typecheckingstub__14abe6d299c2354a8f22a08788f088aafaa8acf2b85b20f2974163462
|
|
|
5947
6029
|
publish_tools: typing.Optional[typing.Union[_Tools_75b93a2a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5948
6030
|
nuget_api_key_secret: typing.Optional[builtins.str] = None,
|
|
5949
6031
|
nuget_server: typing.Optional[builtins.str] = None,
|
|
6032
|
+
nuget_username_secret: typing.Optional[builtins.str] = None,
|
|
6033
|
+
trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
5950
6034
|
) -> None:
|
|
5951
6035
|
"""Type checking stubs"""
|
|
5952
6036
|
pass
|
|
@@ -1801,3 +1801,6 @@ def _typecheckingstub__3572ac292b4bd9b3dc808ba9caa4797adcb64703144da90f4ad010fde
|
|
|
1801
1801
|
) -> None:
|
|
1802
1802
|
"""Type checking stubs"""
|
|
1803
1803
|
pass
|
|
1804
|
+
|
|
1805
|
+
for cls in [IDevContainerEnvironment]:
|
|
1806
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: projen
|
|
3
|
-
Version: 0.96.
|
|
3
|
+
Version: 0.96.5
|
|
4
4
|
Summary: CDK for software projects
|
|
5
5
|
Home-page: https://github.com/projen/projen.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -20,7 +20,7 @@ Requires-Python: ~=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
23
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
23
|
+
Requires-Dist: jsii<2.0.0,>=1.115.0
|
|
24
24
|
Requires-Dist: publication>=0.0.3
|
|
25
25
|
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
26
26
|
|
|
@@ -11,7 +11,7 @@ src/projen.egg-info/dependency_links.txt
|
|
|
11
11
|
src/projen.egg-info/requires.txt
|
|
12
12
|
src/projen.egg-info/top_level.txt
|
|
13
13
|
src/projen/_jsii/__init__.py
|
|
14
|
-
src/projen/_jsii/projen@0.96.
|
|
14
|
+
src/projen/_jsii/projen@0.96.5.jsii.tgz
|
|
15
15
|
src/projen/_jsii/bin/projen
|
|
16
16
|
src/projen/awscdk/__init__.py
|
|
17
17
|
src/projen/build/__init__.py
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|