projen 0.95.1__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.
- {projen-0.95.1/src/projen.egg-info → projen-0.95.3}/PKG-INFO +1 -1
- {projen-0.95.1 → projen-0.95.3}/setup.py +2 -2
- {projen-0.95.1 → projen-0.95.3}/src/projen/_jsii/__init__.py +1 -1
- {projen-0.95.1 → projen-0.95.3}/src/projen/_jsii/bin/projen +1 -1
- projen-0.95.3/src/projen/_jsii/projen@0.95.3.jsii.tgz +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/awscdk/__init__.py +144 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/cdk/__init__.py +229 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/cdk8s/__init__.py +96 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/cdktf/__init__.py +48 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/github/__init__.py +46 -2
- {projen-0.95.1 → projen-0.95.3}/src/projen/javascript/__init__.py +95 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/javascript/biome_config/__init__.py +98 -4
- {projen-0.95.1 → projen-0.95.3}/src/projen/release/__init__.py +528 -15
- {projen-0.95.1 → projen-0.95.3}/src/projen/typescript/__init__.py +102 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/web/__init__.py +192 -0
- {projen-0.95.1 → projen-0.95.3/src/projen.egg-info}/PKG-INFO +1 -1
- {projen-0.95.1 → projen-0.95.3}/src/projen.egg-info/SOURCES.txt +1 -1
- projen-0.95.1/src/projen/_jsii/projen@0.95.1.jsii.tgz +0 -0
- {projen-0.95.1 → projen-0.95.3}/LICENSE +0 -0
- {projen-0.95.1 → projen-0.95.3}/MANIFEST.in +0 -0
- {projen-0.95.1 → projen-0.95.3}/README.md +0 -0
- {projen-0.95.1 → projen-0.95.3}/pyproject.toml +0 -0
- {projen-0.95.1 → projen-0.95.3}/setup.cfg +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/build/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/circleci/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/github/workflows/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/gitlab/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/java/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/py.typed +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/python/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen/vscode/__init__.py +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen.egg-info/dependency_links.txt +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen.egg-info/requires.txt +0 -0
- {projen-0.95.1 → projen-0.95.3}/src/projen.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "projen",
|
|
8
|
-
"version": "0.95.
|
|
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.
|
|
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.
|
|
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.
|
|
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:])
|
|
Binary file
|
|
@@ -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,
|
|
@@ -441,6 +442,7 @@ class AwsCdkConstructLibrary(
|
|
|
441
442
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
442
443
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
443
444
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
445
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
444
446
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
445
447
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
446
448
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -602,6 +604,7 @@ class AwsCdkConstructLibrary(
|
|
|
602
604
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
603
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"
|
|
604
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
|
|
605
608
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
606
609
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
607
610
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -625,6 +628,7 @@ class AwsCdkConstructLibrary(
|
|
|
625
628
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
626
629
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
627
630
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
631
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
628
632
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
629
633
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
630
634
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -788,6 +792,7 @@ class AwsCdkConstructLibrary(
|
|
|
788
792
|
npm_registry=npm_registry,
|
|
789
793
|
npm_registry_url=npm_registry_url,
|
|
790
794
|
npm_token_secret=npm_token_secret,
|
|
795
|
+
npm_trusted_publishing=npm_trusted_publishing,
|
|
791
796
|
package_manager=package_manager,
|
|
792
797
|
package_name=package_name,
|
|
793
798
|
peer_dependency_options=peer_dependency_options,
|
|
@@ -811,6 +816,7 @@ class AwsCdkConstructLibrary(
|
|
|
811
816
|
publish_tasks=publish_tasks,
|
|
812
817
|
releasable_commits=releasable_commits,
|
|
813
818
|
release_branches=release_branches,
|
|
819
|
+
release_environment=release_environment,
|
|
814
820
|
release_every_commit=release_every_commit,
|
|
815
821
|
release_failure_issue=release_failure_issue,
|
|
816
822
|
release_failure_issue_label=release_failure_issue_label,
|
|
@@ -2564,6 +2570,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2564
2570
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
2565
2571
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
2566
2572
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
2573
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
2567
2574
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
2568
2575
|
package_name: typing.Optional[builtins.str] = None,
|
|
2569
2576
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2587,6 +2594,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2587
2594
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
2588
2595
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
2589
2596
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2597
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
2590
2598
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
2591
2599
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
2592
2600
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -2740,6 +2748,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2740
2748
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
2741
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"
|
|
2742
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
|
|
2743
2752
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
2744
2753
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
2745
2754
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -2763,6 +2772,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2763
2772
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
2764
2773
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
2765
2774
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
2775
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
2766
2776
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
2767
2777
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
2768
2778
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -2918,6 +2928,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2918
2928
|
npm_registry=npm_registry,
|
|
2919
2929
|
npm_registry_url=npm_registry_url,
|
|
2920
2930
|
npm_token_secret=npm_token_secret,
|
|
2931
|
+
npm_trusted_publishing=npm_trusted_publishing,
|
|
2921
2932
|
package_manager=package_manager,
|
|
2922
2933
|
package_name=package_name,
|
|
2923
2934
|
peer_dependency_options=peer_dependency_options,
|
|
@@ -2941,6 +2952,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2941
2952
|
publish_tasks=publish_tasks,
|
|
2942
2953
|
releasable_commits=releasable_commits,
|
|
2943
2954
|
release_branches=release_branches,
|
|
2955
|
+
release_environment=release_environment,
|
|
2944
2956
|
release_every_commit=release_every_commit,
|
|
2945
2957
|
release_failure_issue=release_failure_issue,
|
|
2946
2958
|
release_failure_issue_label=release_failure_issue_label,
|
|
@@ -3693,6 +3705,7 @@ class ConstructLibraryAws(
|
|
|
3693
3705
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
3694
3706
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
3695
3707
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
3708
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
3696
3709
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
3697
3710
|
package_name: typing.Optional[builtins.str] = None,
|
|
3698
3711
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3716,6 +3729,7 @@ class ConstructLibraryAws(
|
|
|
3716
3729
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
3717
3730
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
3718
3731
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3732
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
3719
3733
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
3720
3734
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
3721
3735
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -3877,6 +3891,7 @@ class ConstructLibraryAws(
|
|
|
3877
3891
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
3878
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"
|
|
3879
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
|
|
3880
3895
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
3881
3896
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
3882
3897
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -3900,6 +3915,7 @@ class ConstructLibraryAws(
|
|
|
3900
3915
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
3901
3916
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
3902
3917
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
3918
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
3903
3919
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
3904
3920
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
3905
3921
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -4063,6 +4079,7 @@ class ConstructLibraryAws(
|
|
|
4063
4079
|
npm_registry=npm_registry,
|
|
4064
4080
|
npm_registry_url=npm_registry_url,
|
|
4065
4081
|
npm_token_secret=npm_token_secret,
|
|
4082
|
+
npm_trusted_publishing=npm_trusted_publishing,
|
|
4066
4083
|
package_manager=package_manager,
|
|
4067
4084
|
package_name=package_name,
|
|
4068
4085
|
peer_dependency_options=peer_dependency_options,
|
|
@@ -4086,6 +4103,7 @@ class ConstructLibraryAws(
|
|
|
4086
4103
|
publish_tasks=publish_tasks,
|
|
4087
4104
|
releasable_commits=releasable_commits,
|
|
4088
4105
|
release_branches=release_branches,
|
|
4106
|
+
release_environment=release_environment,
|
|
4089
4107
|
release_every_commit=release_every_commit,
|
|
4090
4108
|
release_failure_issue=release_failure_issue,
|
|
4091
4109
|
release_failure_issue_label=release_failure_issue_label,
|
|
@@ -6090,6 +6108,7 @@ class AutoDiscoverOptions(
|
|
|
6090
6108
|
"npm_registry": "npmRegistry",
|
|
6091
6109
|
"npm_registry_url": "npmRegistryUrl",
|
|
6092
6110
|
"npm_token_secret": "npmTokenSecret",
|
|
6111
|
+
"npm_trusted_publishing": "npmTrustedPublishing",
|
|
6093
6112
|
"package_manager": "packageManager",
|
|
6094
6113
|
"package_name": "packageName",
|
|
6095
6114
|
"peer_dependency_options": "peerDependencyOptions",
|
|
@@ -6113,6 +6132,7 @@ class AutoDiscoverOptions(
|
|
|
6113
6132
|
"publish_tasks": "publishTasks",
|
|
6114
6133
|
"releasable_commits": "releasableCommits",
|
|
6115
6134
|
"release_branches": "releaseBranches",
|
|
6135
|
+
"release_environment": "releaseEnvironment",
|
|
6116
6136
|
"release_every_commit": "releaseEveryCommit",
|
|
6117
6137
|
"release_failure_issue": "releaseFailureIssue",
|
|
6118
6138
|
"release_failure_issue_label": "releaseFailureIssueLabel",
|
|
@@ -6281,6 +6301,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6281
6301
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
6282
6302
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
6283
6303
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
6304
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
6284
6305
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
6285
6306
|
package_name: typing.Optional[builtins.str] = None,
|
|
6286
6307
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -6304,6 +6325,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6304
6325
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
6305
6326
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
6306
6327
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6328
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
6307
6329
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
6308
6330
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
6309
6331
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -6466,6 +6488,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6466
6488
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
6467
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"
|
|
6468
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
|
|
6469
6492
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
6470
6493
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
6471
6494
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -6489,6 +6512,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6489
6512
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
6490
6513
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
6491
6514
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
6515
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
6492
6516
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
6493
6517
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
6494
6518
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -6733,6 +6757,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6733
6757
|
check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
|
|
6734
6758
|
check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
|
|
6735
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"])
|
|
6736
6761
|
check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
|
|
6737
6762
|
check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
|
|
6738
6763
|
check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
|
|
@@ -6756,6 +6781,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6756
6781
|
check_type(argname="argument publish_tasks", value=publish_tasks, expected_type=type_hints["publish_tasks"])
|
|
6757
6782
|
check_type(argname="argument releasable_commits", value=releasable_commits, expected_type=type_hints["releasable_commits"])
|
|
6758
6783
|
check_type(argname="argument release_branches", value=release_branches, expected_type=type_hints["release_branches"])
|
|
6784
|
+
check_type(argname="argument release_environment", value=release_environment, expected_type=type_hints["release_environment"])
|
|
6759
6785
|
check_type(argname="argument release_every_commit", value=release_every_commit, expected_type=type_hints["release_every_commit"])
|
|
6760
6786
|
check_type(argname="argument release_failure_issue", value=release_failure_issue, expected_type=type_hints["release_failure_issue"])
|
|
6761
6787
|
check_type(argname="argument release_failure_issue_label", value=release_failure_issue_label, expected_type=type_hints["release_failure_issue_label"])
|
|
@@ -6977,6 +7003,8 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6977
7003
|
self._values["npm_registry_url"] = npm_registry_url
|
|
6978
7004
|
if npm_token_secret is not None:
|
|
6979
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
|
|
6980
7008
|
if package_manager is not None:
|
|
6981
7009
|
self._values["package_manager"] = package_manager
|
|
6982
7010
|
if package_name is not None:
|
|
@@ -7023,6 +7051,8 @@ class AwsCdkConstructLibraryOptions(
|
|
|
7023
7051
|
self._values["releasable_commits"] = releasable_commits
|
|
7024
7052
|
if release_branches is not None:
|
|
7025
7053
|
self._values["release_branches"] = release_branches
|
|
7054
|
+
if release_environment is not None:
|
|
7055
|
+
self._values["release_environment"] = release_environment
|
|
7026
7056
|
if release_every_commit is not None:
|
|
7027
7057
|
self._values["release_every_commit"] = release_every_commit
|
|
7028
7058
|
if release_failure_issue is not None:
|
|
@@ -7935,6 +7965,17 @@ class AwsCdkConstructLibraryOptions(
|
|
|
7935
7965
|
result = self._values.get("npm_token_secret")
|
|
7936
7966
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
7937
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
|
+
|
|
7938
7979
|
@builtins.property
|
|
7939
7980
|
def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
|
|
7940
7981
|
'''(experimental) The Node Package Manager used to execute scripts.
|
|
@@ -8254,6 +8295,23 @@ class AwsCdkConstructLibraryOptions(
|
|
|
8254
8295
|
result = self._values.get("release_branches")
|
|
8255
8296
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, _BranchOptions_13663d08]], result)
|
|
8256
8297
|
|
|
8298
|
+
@builtins.property
|
|
8299
|
+
def release_environment(self) -> typing.Optional[builtins.str]:
|
|
8300
|
+
'''(experimental) The GitHub Actions environment used for the release.
|
|
8301
|
+
|
|
8302
|
+
This can be used to add an explicit approval step to the release
|
|
8303
|
+
or limit who can initiate a release through environment protection rules.
|
|
8304
|
+
|
|
8305
|
+
When multiple artifacts are released, the environment can be overwritten
|
|
8306
|
+
on a per artifact basis.
|
|
8307
|
+
|
|
8308
|
+
:default: - no environment used, unless set at the artifact level
|
|
8309
|
+
|
|
8310
|
+
:stability: experimental
|
|
8311
|
+
'''
|
|
8312
|
+
result = self._values.get("release_environment")
|
|
8313
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8314
|
+
|
|
8257
8315
|
@builtins.property
|
|
8258
8316
|
def release_every_commit(self) -> typing.Optional[builtins.bool]:
|
|
8259
8317
|
'''(deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``.
|
|
@@ -12289,6 +12347,7 @@ class AwsCdkPythonAppOptions(
|
|
|
12289
12347
|
"npm_registry": "npmRegistry",
|
|
12290
12348
|
"npm_registry_url": "npmRegistryUrl",
|
|
12291
12349
|
"npm_token_secret": "npmTokenSecret",
|
|
12350
|
+
"npm_trusted_publishing": "npmTrustedPublishing",
|
|
12292
12351
|
"package_manager": "packageManager",
|
|
12293
12352
|
"package_name": "packageName",
|
|
12294
12353
|
"peer_dependency_options": "peerDependencyOptions",
|
|
@@ -12312,6 +12371,7 @@ class AwsCdkPythonAppOptions(
|
|
|
12312
12371
|
"publish_tasks": "publishTasks",
|
|
12313
12372
|
"releasable_commits": "releasableCommits",
|
|
12314
12373
|
"release_branches": "releaseBranches",
|
|
12374
|
+
"release_environment": "releaseEnvironment",
|
|
12315
12375
|
"release_every_commit": "releaseEveryCommit",
|
|
12316
12376
|
"release_failure_issue": "releaseFailureIssue",
|
|
12317
12377
|
"release_failure_issue_label": "releaseFailureIssueLabel",
|
|
@@ -12473,6 +12533,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12473
12533
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
12474
12534
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
12475
12535
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
12536
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
12476
12537
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
12477
12538
|
package_name: typing.Optional[builtins.str] = None,
|
|
12478
12539
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -12496,6 +12557,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12496
12557
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
12497
12558
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
12498
12559
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12560
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
12499
12561
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
12500
12562
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
12501
12563
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -12649,6 +12711,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12649
12711
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
12650
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"
|
|
12651
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
|
|
12652
12715
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
12653
12716
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
12654
12717
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -12672,6 +12735,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12672
12735
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
12673
12736
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
12674
12737
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
12738
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
12675
12739
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
12676
12740
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
12677
12741
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -12894,6 +12958,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12894
12958
|
check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
|
|
12895
12959
|
check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
|
|
12896
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"])
|
|
12897
12962
|
check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
|
|
12898
12963
|
check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
|
|
12899
12964
|
check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
|
|
@@ -12917,6 +12982,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12917
12982
|
check_type(argname="argument publish_tasks", value=publish_tasks, expected_type=type_hints["publish_tasks"])
|
|
12918
12983
|
check_type(argname="argument releasable_commits", value=releasable_commits, expected_type=type_hints["releasable_commits"])
|
|
12919
12984
|
check_type(argname="argument release_branches", value=release_branches, expected_type=type_hints["release_branches"])
|
|
12985
|
+
check_type(argname="argument release_environment", value=release_environment, expected_type=type_hints["release_environment"])
|
|
12920
12986
|
check_type(argname="argument release_every_commit", value=release_every_commit, expected_type=type_hints["release_every_commit"])
|
|
12921
12987
|
check_type(argname="argument release_failure_issue", value=release_failure_issue, expected_type=type_hints["release_failure_issue"])
|
|
12922
12988
|
check_type(argname="argument release_failure_issue_label", value=release_failure_issue_label, expected_type=type_hints["release_failure_issue_label"])
|
|
@@ -13127,6 +13193,8 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
13127
13193
|
self._values["npm_registry_url"] = npm_registry_url
|
|
13128
13194
|
if npm_token_secret is not None:
|
|
13129
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
|
|
13130
13198
|
if package_manager is not None:
|
|
13131
13199
|
self._values["package_manager"] = package_manager
|
|
13132
13200
|
if package_name is not None:
|
|
@@ -13173,6 +13241,8 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
13173
13241
|
self._values["releasable_commits"] = releasable_commits
|
|
13174
13242
|
if release_branches is not None:
|
|
13175
13243
|
self._values["release_branches"] = release_branches
|
|
13244
|
+
if release_environment is not None:
|
|
13245
|
+
self._values["release_environment"] = release_environment
|
|
13176
13246
|
if release_every_commit is not None:
|
|
13177
13247
|
self._values["release_every_commit"] = release_every_commit
|
|
13178
13248
|
if release_failure_issue is not None:
|
|
@@ -14075,6 +14145,17 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
14075
14145
|
result = self._values.get("npm_token_secret")
|
|
14076
14146
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
14077
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
|
+
|
|
14078
14159
|
@builtins.property
|
|
14079
14160
|
def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
|
|
14080
14161
|
'''(experimental) The Node Package Manager used to execute scripts.
|
|
@@ -14394,6 +14475,23 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
14394
14475
|
result = self._values.get("release_branches")
|
|
14395
14476
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, _BranchOptions_13663d08]], result)
|
|
14396
14477
|
|
|
14478
|
+
@builtins.property
|
|
14479
|
+
def release_environment(self) -> typing.Optional[builtins.str]:
|
|
14480
|
+
'''(experimental) The GitHub Actions environment used for the release.
|
|
14481
|
+
|
|
14482
|
+
This can be used to add an explicit approval step to the release
|
|
14483
|
+
or limit who can initiate a release through environment protection rules.
|
|
14484
|
+
|
|
14485
|
+
When multiple artifacts are released, the environment can be overwritten
|
|
14486
|
+
on a per artifact basis.
|
|
14487
|
+
|
|
14488
|
+
:default: - no environment used, unless set at the artifact level
|
|
14489
|
+
|
|
14490
|
+
:stability: experimental
|
|
14491
|
+
'''
|
|
14492
|
+
result = self._values.get("release_environment")
|
|
14493
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
14494
|
+
|
|
14397
14495
|
@builtins.property
|
|
14398
14496
|
def release_every_commit(self) -> typing.Optional[builtins.bool]:
|
|
14399
14497
|
'''(deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``.
|
|
@@ -15583,6 +15681,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
15583
15681
|
"npm_registry": "npmRegistry",
|
|
15584
15682
|
"npm_registry_url": "npmRegistryUrl",
|
|
15585
15683
|
"npm_token_secret": "npmTokenSecret",
|
|
15684
|
+
"npm_trusted_publishing": "npmTrustedPublishing",
|
|
15586
15685
|
"package_manager": "packageManager",
|
|
15587
15686
|
"package_name": "packageName",
|
|
15588
15687
|
"peer_dependency_options": "peerDependencyOptions",
|
|
@@ -15606,6 +15705,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
15606
15705
|
"publish_tasks": "publishTasks",
|
|
15607
15706
|
"releasable_commits": "releasableCommits",
|
|
15608
15707
|
"release_branches": "releaseBranches",
|
|
15708
|
+
"release_environment": "releaseEnvironment",
|
|
15609
15709
|
"release_every_commit": "releaseEveryCommit",
|
|
15610
15710
|
"release_failure_issue": "releaseFailureIssue",
|
|
15611
15711
|
"release_failure_issue_label": "releaseFailureIssueLabel",
|
|
@@ -15771,6 +15871,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
15771
15871
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
15772
15872
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
15773
15873
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
15874
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
15774
15875
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
15775
15876
|
package_name: typing.Optional[builtins.str] = None,
|
|
15776
15877
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -15794,6 +15895,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
15794
15895
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
15795
15896
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
15796
15897
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15898
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
15797
15899
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
15798
15900
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
15799
15901
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -15955,6 +16057,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
15955
16057
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
15956
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"
|
|
15957
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
|
|
15958
16061
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
15959
16062
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
15960
16063
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
@@ -15978,6 +16081,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
15978
16081
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
15979
16082
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
15980
16083
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
16084
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
15981
16085
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
15982
16086
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
15983
16087
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -16224,6 +16328,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16224
16328
|
check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
|
|
16225
16329
|
check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
|
|
16226
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"])
|
|
16227
16332
|
check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
|
|
16228
16333
|
check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
|
|
16229
16334
|
check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
|
|
@@ -16247,6 +16352,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16247
16352
|
check_type(argname="argument publish_tasks", value=publish_tasks, expected_type=type_hints["publish_tasks"])
|
|
16248
16353
|
check_type(argname="argument releasable_commits", value=releasable_commits, expected_type=type_hints["releasable_commits"])
|
|
16249
16354
|
check_type(argname="argument release_branches", value=release_branches, expected_type=type_hints["release_branches"])
|
|
16355
|
+
check_type(argname="argument release_environment", value=release_environment, expected_type=type_hints["release_environment"])
|
|
16250
16356
|
check_type(argname="argument release_every_commit", value=release_every_commit, expected_type=type_hints["release_every_commit"])
|
|
16251
16357
|
check_type(argname="argument release_failure_issue", value=release_failure_issue, expected_type=type_hints["release_failure_issue"])
|
|
16252
16358
|
check_type(argname="argument release_failure_issue_label", value=release_failure_issue_label, expected_type=type_hints["release_failure_issue_label"])
|
|
@@ -16468,6 +16574,8 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16468
16574
|
self._values["npm_registry_url"] = npm_registry_url
|
|
16469
16575
|
if npm_token_secret is not None:
|
|
16470
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
|
|
16471
16579
|
if package_manager is not None:
|
|
16472
16580
|
self._values["package_manager"] = package_manager
|
|
16473
16581
|
if package_name is not None:
|
|
@@ -16514,6 +16622,8 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16514
16622
|
self._values["releasable_commits"] = releasable_commits
|
|
16515
16623
|
if release_branches is not None:
|
|
16516
16624
|
self._values["release_branches"] = release_branches
|
|
16625
|
+
if release_environment is not None:
|
|
16626
|
+
self._values["release_environment"] = release_environment
|
|
16517
16627
|
if release_every_commit is not None:
|
|
16518
16628
|
self._values["release_every_commit"] = release_every_commit
|
|
16519
16629
|
if release_failure_issue is not None:
|
|
@@ -17426,6 +17536,17 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
17426
17536
|
result = self._values.get("npm_token_secret")
|
|
17427
17537
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
17428
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
|
+
|
|
17429
17550
|
@builtins.property
|
|
17430
17551
|
def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
|
|
17431
17552
|
'''(experimental) The Node Package Manager used to execute scripts.
|
|
@@ -17745,6 +17866,23 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
17745
17866
|
result = self._values.get("release_branches")
|
|
17746
17867
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, _BranchOptions_13663d08]], result)
|
|
17747
17868
|
|
|
17869
|
+
@builtins.property
|
|
17870
|
+
def release_environment(self) -> typing.Optional[builtins.str]:
|
|
17871
|
+
'''(experimental) The GitHub Actions environment used for the release.
|
|
17872
|
+
|
|
17873
|
+
This can be used to add an explicit approval step to the release
|
|
17874
|
+
or limit who can initiate a release through environment protection rules.
|
|
17875
|
+
|
|
17876
|
+
When multiple artifacts are released, the environment can be overwritten
|
|
17877
|
+
on a per artifact basis.
|
|
17878
|
+
|
|
17879
|
+
:default: - no environment used, unless set at the artifact level
|
|
17880
|
+
|
|
17881
|
+
:stability: experimental
|
|
17882
|
+
'''
|
|
17883
|
+
result = self._values.get("release_environment")
|
|
17884
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
17885
|
+
|
|
17748
17886
|
@builtins.property
|
|
17749
17887
|
def release_every_commit(self) -> typing.Optional[builtins.bool]:
|
|
17750
17888
|
'''(deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``.
|
|
@@ -19550,6 +19688,7 @@ def _typecheckingstub__afd0fb486a35fef51bf540cdcd69366795c03710cee73c0b5a81431a8
|
|
|
19550
19688
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
19551
19689
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
19552
19690
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
19691
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
19553
19692
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
19554
19693
|
package_name: typing.Optional[builtins.str] = None,
|
|
19555
19694
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -19573,6 +19712,7 @@ def _typecheckingstub__afd0fb486a35fef51bf540cdcd69366795c03710cee73c0b5a81431a8
|
|
|
19573
19712
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
19574
19713
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
19575
19714
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19715
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
19576
19716
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
19577
19717
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
19578
19718
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -19890,6 +20030,7 @@ def _typecheckingstub__d4516e51d77bf8bd5807e45e842cd19fa87c9a6d72e4f7d0caead33d3
|
|
|
19890
20030
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
19891
20031
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
19892
20032
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
20033
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
19893
20034
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
19894
20035
|
package_name: typing.Optional[builtins.str] = None,
|
|
19895
20036
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -19913,6 +20054,7 @@ def _typecheckingstub__d4516e51d77bf8bd5807e45e842cd19fa87c9a6d72e4f7d0caead33d3
|
|
|
19913
20054
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
19914
20055
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
19915
20056
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20057
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
19916
20058
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
19917
20059
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
19918
20060
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -20070,6 +20212,7 @@ def _typecheckingstub__53f11e06b68a1910463459774b89205819af9292d548e5215ddd85989
|
|
|
20070
20212
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
20071
20213
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
20072
20214
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
20215
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
20073
20216
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
20074
20217
|
package_name: typing.Optional[builtins.str] = None,
|
|
20075
20218
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -20093,6 +20236,7 @@ def _typecheckingstub__53f11e06b68a1910463459774b89205819af9292d548e5215ddd85989
|
|
|
20093
20236
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
20094
20237
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
20095
20238
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
20239
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
20096
20240
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
20097
20241
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
20098
20242
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|