projen 0.95.1__py3-none-any.whl → 0.95.2__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.2.jsii.tgz +0 -0
- projen/awscdk/__init__.py +81 -0
- projen/cdk/__init__.py +146 -0
- projen/cdk8s/__init__.py +54 -0
- projen/cdktf/__init__.py +27 -0
- projen/github/__init__.py +46 -2
- projen/javascript/__init__.py +52 -0
- projen/release/__init__.py +374 -0
- projen/typescript/__init__.py +57 -0
- projen/web/__init__.py +108 -0
- {projen-0.95.1.data → projen-0.95.2.data}/scripts/projen +1 -1
- {projen-0.95.1.dist-info → projen-0.95.2.dist-info}/METADATA +1 -1
- projen-0.95.2.dist-info/RECORD +27 -0
- projen/_jsii/projen@0.95.1.jsii.tgz +0 -0
- projen-0.95.1.dist-info/RECORD +0 -27
- {projen-0.95.1.dist-info → projen-0.95.2.dist-info}/LICENSE +0 -0
- {projen-0.95.1.dist-info → projen-0.95.2.dist-info}/WHEEL +0 -0
- {projen-0.95.1.dist-info → projen-0.95.2.dist-info}/top_level.txt +0 -0
projen/javascript/__init__.py
CHANGED
|
@@ -144,6 +144,7 @@ class Biome(
|
|
|
144
144
|
assist: typing.Optional[builtins.bool] = None,
|
|
145
145
|
biome_config: typing.Optional[typing.Union[_BiomeConfiguration_dd1a6c83, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
146
146
|
formatter: typing.Optional[builtins.bool] = None,
|
|
147
|
+
ignore_generated_files: typing.Optional[builtins.bool] = None,
|
|
147
148
|
linter: typing.Optional[builtins.bool] = None,
|
|
148
149
|
merge_arrays_in_configuration: typing.Optional[builtins.bool] = None,
|
|
149
150
|
version: typing.Optional[builtins.str] = None,
|
|
@@ -153,6 +154,7 @@ class Biome(
|
|
|
153
154
|
:param assist: (experimental) Enable code assist with recommended actions. Default: true
|
|
154
155
|
:param biome_config: (experimental) Full Biome configuration. This configuration dictates the final outcome if value is set. For example, if the linter is disabled at the top-level, it can be enabled with ``biomeConfig.linter.enabled``.
|
|
155
156
|
:param formatter: (experimental) Enable code formatter with recommended settings. Default: true
|
|
157
|
+
:param ignore_generated_files: (experimental) Automatically ignore all generated files. This prevents Biome from trying to format or lint files that are marked as generated, which would fail since generated files are typically read-only. Default: true
|
|
156
158
|
:param linter: (experimental) Enable linting with recommended rules. Default: true
|
|
157
159
|
:param merge_arrays_in_configuration: (experimental) Should arrays be merged or overwritten when creating Biome configuration. By default arrays are merged and duplicate values are removed Default: true
|
|
158
160
|
:param version: (experimental) Version of Biome to use. Default: "^2"
|
|
@@ -166,6 +168,7 @@ class Biome(
|
|
|
166
168
|
assist=assist,
|
|
167
169
|
biome_config=biome_config,
|
|
168
170
|
formatter=formatter,
|
|
171
|
+
ignore_generated_files=ignore_generated_files,
|
|
169
172
|
linter=linter,
|
|
170
173
|
merge_arrays_in_configuration=merge_arrays_in_configuration,
|
|
171
174
|
version=version,
|
|
@@ -224,6 +227,7 @@ class Biome(
|
|
|
224
227
|
"assist": "assist",
|
|
225
228
|
"biome_config": "biomeConfig",
|
|
226
229
|
"formatter": "formatter",
|
|
230
|
+
"ignore_generated_files": "ignoreGeneratedFiles",
|
|
227
231
|
"linter": "linter",
|
|
228
232
|
"merge_arrays_in_configuration": "mergeArraysInConfiguration",
|
|
229
233
|
"version": "version",
|
|
@@ -236,6 +240,7 @@ class BiomeOptions:
|
|
|
236
240
|
assist: typing.Optional[builtins.bool] = None,
|
|
237
241
|
biome_config: typing.Optional[typing.Union[_BiomeConfiguration_dd1a6c83, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
238
242
|
formatter: typing.Optional[builtins.bool] = None,
|
|
243
|
+
ignore_generated_files: typing.Optional[builtins.bool] = None,
|
|
239
244
|
linter: typing.Optional[builtins.bool] = None,
|
|
240
245
|
merge_arrays_in_configuration: typing.Optional[builtins.bool] = None,
|
|
241
246
|
version: typing.Optional[builtins.str] = None,
|
|
@@ -244,6 +249,7 @@ class BiomeOptions:
|
|
|
244
249
|
:param assist: (experimental) Enable code assist with recommended actions. Default: true
|
|
245
250
|
:param biome_config: (experimental) Full Biome configuration. This configuration dictates the final outcome if value is set. For example, if the linter is disabled at the top-level, it can be enabled with ``biomeConfig.linter.enabled``.
|
|
246
251
|
:param formatter: (experimental) Enable code formatter with recommended settings. Default: true
|
|
252
|
+
:param ignore_generated_files: (experimental) Automatically ignore all generated files. This prevents Biome from trying to format or lint files that are marked as generated, which would fail since generated files are typically read-only. Default: true
|
|
247
253
|
:param linter: (experimental) Enable linting with recommended rules. Default: true
|
|
248
254
|
:param merge_arrays_in_configuration: (experimental) Should arrays be merged or overwritten when creating Biome configuration. By default arrays are merged and duplicate values are removed Default: true
|
|
249
255
|
:param version: (experimental) Version of Biome to use. Default: "^2"
|
|
@@ -257,6 +263,7 @@ class BiomeOptions:
|
|
|
257
263
|
check_type(argname="argument assist", value=assist, expected_type=type_hints["assist"])
|
|
258
264
|
check_type(argname="argument biome_config", value=biome_config, expected_type=type_hints["biome_config"])
|
|
259
265
|
check_type(argname="argument formatter", value=formatter, expected_type=type_hints["formatter"])
|
|
266
|
+
check_type(argname="argument ignore_generated_files", value=ignore_generated_files, expected_type=type_hints["ignore_generated_files"])
|
|
260
267
|
check_type(argname="argument linter", value=linter, expected_type=type_hints["linter"])
|
|
261
268
|
check_type(argname="argument merge_arrays_in_configuration", value=merge_arrays_in_configuration, expected_type=type_hints["merge_arrays_in_configuration"])
|
|
262
269
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
@@ -267,6 +274,8 @@ class BiomeOptions:
|
|
|
267
274
|
self._values["biome_config"] = biome_config
|
|
268
275
|
if formatter is not None:
|
|
269
276
|
self._values["formatter"] = formatter
|
|
277
|
+
if ignore_generated_files is not None:
|
|
278
|
+
self._values["ignore_generated_files"] = ignore_generated_files
|
|
270
279
|
if linter is not None:
|
|
271
280
|
self._values["linter"] = linter
|
|
272
281
|
if merge_arrays_in_configuration is not None:
|
|
@@ -308,6 +317,20 @@ class BiomeOptions:
|
|
|
308
317
|
result = self._values.get("formatter")
|
|
309
318
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
310
319
|
|
|
320
|
+
@builtins.property
|
|
321
|
+
def ignore_generated_files(self) -> typing.Optional[builtins.bool]:
|
|
322
|
+
'''(experimental) Automatically ignore all generated files.
|
|
323
|
+
|
|
324
|
+
This prevents Biome from trying to format or lint files that are marked as generated,
|
|
325
|
+
which would fail since generated files are typically read-only.
|
|
326
|
+
|
|
327
|
+
:default: true
|
|
328
|
+
|
|
329
|
+
:stability: experimental
|
|
330
|
+
'''
|
|
331
|
+
result = self._values.get("ignore_generated_files")
|
|
332
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
333
|
+
|
|
311
334
|
@builtins.property
|
|
312
335
|
def linter(self) -> typing.Optional[builtins.bool]:
|
|
313
336
|
'''(experimental) Enable linting with recommended rules.
|
|
@@ -5761,6 +5784,7 @@ class NodeProject(
|
|
|
5761
5784
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
5762
5785
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
5763
5786
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5787
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
5764
5788
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
5765
5789
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
5766
5790
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -5895,6 +5919,7 @@ class NodeProject(
|
|
|
5895
5919
|
: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
|
|
5896
5920
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
5897
5921
|
: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.
|
|
5922
|
+
: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
|
|
5898
5923
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
5899
5924
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
5900
5925
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -6031,6 +6056,7 @@ class NodeProject(
|
|
|
6031
6056
|
publish_tasks=publish_tasks,
|
|
6032
6057
|
releasable_commits=releasable_commits,
|
|
6033
6058
|
release_branches=release_branches,
|
|
6059
|
+
release_environment=release_environment,
|
|
6034
6060
|
release_every_commit=release_every_commit,
|
|
6035
6061
|
release_failure_issue=release_failure_issue,
|
|
6036
6062
|
release_failure_issue_label=release_failure_issue_label,
|
|
@@ -6621,6 +6647,7 @@ class NodeProject(
|
|
|
6621
6647
|
"publish_tasks": "publishTasks",
|
|
6622
6648
|
"releasable_commits": "releasableCommits",
|
|
6623
6649
|
"release_branches": "releaseBranches",
|
|
6650
|
+
"release_environment": "releaseEnvironment",
|
|
6624
6651
|
"release_every_commit": "releaseEveryCommit",
|
|
6625
6652
|
"release_failure_issue": "releaseFailureIssue",
|
|
6626
6653
|
"release_failure_issue_label": "releaseFailureIssueLabel",
|
|
@@ -6763,6 +6790,7 @@ class NodeProjectOptions(
|
|
|
6763
6790
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
6764
6791
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
6765
6792
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6793
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
6766
6794
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
6767
6795
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
6768
6796
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
@@ -6897,6 +6925,7 @@ class NodeProjectOptions(
|
|
|
6897
6925
|
: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
|
|
6898
6926
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
6899
6927
|
: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.
|
|
6928
|
+
: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
|
|
6900
6929
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
6901
6930
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
6902
6931
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
@@ -7088,6 +7117,7 @@ class NodeProjectOptions(
|
|
|
7088
7117
|
check_type(argname="argument publish_tasks", value=publish_tasks, expected_type=type_hints["publish_tasks"])
|
|
7089
7118
|
check_type(argname="argument releasable_commits", value=releasable_commits, expected_type=type_hints["releasable_commits"])
|
|
7090
7119
|
check_type(argname="argument release_branches", value=release_branches, expected_type=type_hints["release_branches"])
|
|
7120
|
+
check_type(argname="argument release_environment", value=release_environment, expected_type=type_hints["release_environment"])
|
|
7091
7121
|
check_type(argname="argument release_every_commit", value=release_every_commit, expected_type=type_hints["release_every_commit"])
|
|
7092
7122
|
check_type(argname="argument release_failure_issue", value=release_failure_issue, expected_type=type_hints["release_failure_issue"])
|
|
7093
7123
|
check_type(argname="argument release_failure_issue_label", value=release_failure_issue_label, expected_type=type_hints["release_failure_issue_label"])
|
|
@@ -7301,6 +7331,8 @@ class NodeProjectOptions(
|
|
|
7301
7331
|
self._values["releasable_commits"] = releasable_commits
|
|
7302
7332
|
if release_branches is not None:
|
|
7303
7333
|
self._values["release_branches"] = release_branches
|
|
7334
|
+
if release_environment is not None:
|
|
7335
|
+
self._values["release_environment"] = release_environment
|
|
7304
7336
|
if release_every_commit is not None:
|
|
7305
7337
|
self._values["release_every_commit"] = release_every_commit
|
|
7306
7338
|
if release_failure_issue is not None:
|
|
@@ -8438,6 +8470,23 @@ class NodeProjectOptions(
|
|
|
8438
8470
|
result = self._values.get("release_branches")
|
|
8439
8471
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, _BranchOptions_13663d08]], result)
|
|
8440
8472
|
|
|
8473
|
+
@builtins.property
|
|
8474
|
+
def release_environment(self) -> typing.Optional[builtins.str]:
|
|
8475
|
+
'''(experimental) The GitHub Actions environment used for the release.
|
|
8476
|
+
|
|
8477
|
+
This can be used to add an explicit approval step to the release
|
|
8478
|
+
or limit who can initiate a release through environment protection rules.
|
|
8479
|
+
|
|
8480
|
+
When multiple artifacts are released, the environment can be overwritten
|
|
8481
|
+
on a per artifact basis.
|
|
8482
|
+
|
|
8483
|
+
:default: - no environment used, unless set at the artifact level
|
|
8484
|
+
|
|
8485
|
+
:stability: experimental
|
|
8486
|
+
'''
|
|
8487
|
+
result = self._values.get("release_environment")
|
|
8488
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8489
|
+
|
|
8441
8490
|
@builtins.property
|
|
8442
8491
|
def release_every_commit(self) -> typing.Optional[builtins.bool]:
|
|
8443
8492
|
'''(deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``.
|
|
@@ -16136,6 +16185,7 @@ def _typecheckingstub__9f2264088409136f62af7e2ac4488206c06c3b9a69056be8b9ead20ab
|
|
|
16136
16185
|
assist: typing.Optional[builtins.bool] = None,
|
|
16137
16186
|
biome_config: typing.Optional[typing.Union[_BiomeConfiguration_dd1a6c83, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16138
16187
|
formatter: typing.Optional[builtins.bool] = None,
|
|
16188
|
+
ignore_generated_files: typing.Optional[builtins.bool] = None,
|
|
16139
16189
|
linter: typing.Optional[builtins.bool] = None,
|
|
16140
16190
|
merge_arrays_in_configuration: typing.Optional[builtins.bool] = None,
|
|
16141
16191
|
version: typing.Optional[builtins.str] = None,
|
|
@@ -16160,6 +16210,7 @@ def _typecheckingstub__b53a2988afa9afc23bda2fe96e2de8ffaff18ab919e00b69a6c8d3d22
|
|
|
16160
16210
|
assist: typing.Optional[builtins.bool] = None,
|
|
16161
16211
|
biome_config: typing.Optional[typing.Union[_BiomeConfiguration_dd1a6c83, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16162
16212
|
formatter: typing.Optional[builtins.bool] = None,
|
|
16213
|
+
ignore_generated_files: typing.Optional[builtins.bool] = None,
|
|
16163
16214
|
linter: typing.Optional[builtins.bool] = None,
|
|
16164
16215
|
merge_arrays_in_configuration: typing.Optional[builtins.bool] = None,
|
|
16165
16216
|
version: typing.Optional[builtins.str] = None,
|
|
@@ -16963,6 +17014,7 @@ def _typecheckingstub__05c2eb8aa04095bbe6af788737363089516ccd341e3a6624f153e8ff7
|
|
|
16963
17014
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
16964
17015
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
16965
17016
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17017
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
16966
17018
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
16967
17019
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
16968
17020
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|