projen 0.92.10__py3-none-any.whl → 0.92.12__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.92.12.jsii.tgz +0 -0
- projen/awscdk/__init__.py +133 -0
- projen/cdk/__init__.py +89 -0
- projen/cdk8s/__init__.py +89 -0
- projen/cdktf/__init__.py +45 -0
- projen/javascript/__init__.py +330 -0
- projen/javascript/biome_config/__init__.py +24256 -0
- projen/typescript/__init__.py +95 -0
- projen/web/__init__.py +177 -0
- {projen-0.92.10.data → projen-0.92.12.data}/scripts/projen +1 -1
- {projen-0.92.10.dist-info → projen-0.92.12.dist-info}/METADATA +1 -1
- projen-0.92.12.dist-info/RECORD +27 -0
- projen/_jsii/projen@0.92.10.jsii.tgz +0 -0
- projen-0.92.10.dist-info/RECORD +0 -26
- {projen-0.92.10.dist-info → projen-0.92.12.dist-info}/LICENSE +0 -0
- {projen-0.92.10.dist-info → projen-0.92.12.dist-info}/WHEEL +0 -0
- {projen-0.92.10.dist-info → projen-0.92.12.dist-info}/top_level.txt +0 -0
projen/cdk8s/__init__.py
CHANGED
|
@@ -71,6 +71,7 @@ from ..github.workflows import (
|
|
|
71
71
|
JobStep as _JobStep_c3287c05, Triggers as _Triggers_e9ae7617
|
|
72
72
|
)
|
|
73
73
|
from ..javascript import (
|
|
74
|
+
BiomeOptions as _BiomeOptions_452ab984,
|
|
74
75
|
BuildWorkflowOptions as _BuildWorkflowOptions_b756f97f,
|
|
75
76
|
BundlerOptions as _BundlerOptions_d60b85ed,
|
|
76
77
|
CodeArtifactOptions as _CodeArtifactOptions_e4782b3e,
|
|
@@ -2533,6 +2534,8 @@ class Cdk8sTypeScriptApp(
|
|
|
2533
2534
|
default_release_branch: builtins.str,
|
|
2534
2535
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
2535
2536
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
2537
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
2538
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2536
2539
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
2537
2540
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2538
2541
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2697,6 +2700,8 @@ class Cdk8sTypeScriptApp(
|
|
|
2697
2700
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
2698
2701
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
2699
2702
|
:param auto_approve_upgrades: (experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). Throw if set to true but ``autoApproveOptions`` are not defined. Default: - true
|
|
2703
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
2704
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
2700
2705
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
2701
2706
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
2702
2707
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -2863,6 +2868,8 @@ class Cdk8sTypeScriptApp(
|
|
|
2863
2868
|
default_release_branch=default_release_branch,
|
|
2864
2869
|
artifacts_directory=artifacts_directory,
|
|
2865
2870
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
2871
|
+
biome=biome,
|
|
2872
|
+
biome_options=biome_options,
|
|
2866
2873
|
build_workflow=build_workflow,
|
|
2867
2874
|
build_workflow_options=build_workflow_options,
|
|
2868
2875
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -3110,6 +3117,8 @@ class Cdk8sTypeScriptApp(
|
|
|
3110
3117
|
"default_release_branch": "defaultReleaseBranch",
|
|
3111
3118
|
"artifacts_directory": "artifactsDirectory",
|
|
3112
3119
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
3120
|
+
"biome": "biome",
|
|
3121
|
+
"biome_options": "biomeOptions",
|
|
3113
3122
|
"build_workflow": "buildWorkflow",
|
|
3114
3123
|
"build_workflow_options": "buildWorkflowOptions",
|
|
3115
3124
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -3281,6 +3290,8 @@ class Cdk8sTypeScriptAppOptions(
|
|
|
3281
3290
|
default_release_branch: builtins.str,
|
|
3282
3291
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
3283
3292
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
3293
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
3294
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3284
3295
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
3285
3296
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3286
3297
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3445,6 +3456,8 @@ class Cdk8sTypeScriptAppOptions(
|
|
|
3445
3456
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
3446
3457
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
3447
3458
|
:param auto_approve_upgrades: (experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). Throw if set to true but ``autoApproveOptions`` are not defined. Default: - true
|
|
3459
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
3460
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
3448
3461
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
3449
3462
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
3450
3463
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -3546,6 +3559,8 @@ class Cdk8sTypeScriptAppOptions(
|
|
|
3546
3559
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
3547
3560
|
if isinstance(workflow_runs_on_group, dict):
|
|
3548
3561
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
3562
|
+
if isinstance(biome_options, dict):
|
|
3563
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
3549
3564
|
if isinstance(build_workflow_options, dict):
|
|
3550
3565
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
3551
3566
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -3674,6 +3689,8 @@ class Cdk8sTypeScriptAppOptions(
|
|
|
3674
3689
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
3675
3690
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
3676
3691
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
3692
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
3693
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
3677
3694
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
3678
3695
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
3679
3696
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -3931,6 +3948,10 @@ class Cdk8sTypeScriptAppOptions(
|
|
|
3931
3948
|
self._values["artifacts_directory"] = artifacts_directory
|
|
3932
3949
|
if auto_approve_upgrades is not None:
|
|
3933
3950
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
3951
|
+
if biome is not None:
|
|
3952
|
+
self._values["biome"] = biome
|
|
3953
|
+
if biome_options is not None:
|
|
3954
|
+
self._values["biome_options"] = biome_options
|
|
3934
3955
|
if build_workflow is not None:
|
|
3935
3956
|
self._values["build_workflow"] = build_workflow
|
|
3936
3957
|
if build_workflow_options is not None:
|
|
@@ -5285,6 +5306,28 @@ class Cdk8sTypeScriptAppOptions(
|
|
|
5285
5306
|
result = self._values.get("auto_approve_upgrades")
|
|
5286
5307
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
5287
5308
|
|
|
5309
|
+
@builtins.property
|
|
5310
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
5311
|
+
'''(experimental) Setup Biome.
|
|
5312
|
+
|
|
5313
|
+
:default: false
|
|
5314
|
+
|
|
5315
|
+
:stability: experimental
|
|
5316
|
+
'''
|
|
5317
|
+
result = self._values.get("biome")
|
|
5318
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
5319
|
+
|
|
5320
|
+
@builtins.property
|
|
5321
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
5322
|
+
'''(experimental) Biome options.
|
|
5323
|
+
|
|
5324
|
+
:default: - default options
|
|
5325
|
+
|
|
5326
|
+
:stability: experimental
|
|
5327
|
+
'''
|
|
5328
|
+
result = self._values.get("biome_options")
|
|
5329
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
5330
|
+
|
|
5288
5331
|
@builtins.property
|
|
5289
5332
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
5290
5333
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -6143,6 +6186,8 @@ class ConstructLibraryCdk8s(
|
|
|
6143
6186
|
default_release_branch: builtins.str,
|
|
6144
6187
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
6145
6188
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
6189
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
6190
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6146
6191
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
6147
6192
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6148
6193
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -6316,6 +6361,8 @@ class ConstructLibraryCdk8s(
|
|
|
6316
6361
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
6317
6362
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
6318
6363
|
:param auto_approve_upgrades: (experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). Throw if set to true but ``autoApproveOptions`` are not defined. Default: - true
|
|
6364
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
6365
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
6319
6366
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
6320
6367
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
6321
6368
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -6491,6 +6538,8 @@ class ConstructLibraryCdk8s(
|
|
|
6491
6538
|
default_release_branch=default_release_branch,
|
|
6492
6539
|
artifacts_directory=artifacts_directory,
|
|
6493
6540
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
6541
|
+
biome=biome,
|
|
6542
|
+
biome_options=biome_options,
|
|
6494
6543
|
build_workflow=build_workflow,
|
|
6495
6544
|
build_workflow_options=build_workflow_options,
|
|
6496
6545
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -6739,6 +6788,8 @@ class ConstructLibraryCdk8s(
|
|
|
6739
6788
|
"default_release_branch": "defaultReleaseBranch",
|
|
6740
6789
|
"artifacts_directory": "artifactsDirectory",
|
|
6741
6790
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
6791
|
+
"biome": "biome",
|
|
6792
|
+
"biome_options": "biomeOptions",
|
|
6742
6793
|
"build_workflow": "buildWorkflow",
|
|
6743
6794
|
"build_workflow_options": "buildWorkflowOptions",
|
|
6744
6795
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -6916,6 +6967,8 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
6916
6967
|
default_release_branch: builtins.str,
|
|
6917
6968
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
6918
6969
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
6970
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
6971
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6919
6972
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
6920
6973
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6921
6974
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -7089,6 +7142,8 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
7089
7142
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
7090
7143
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
7091
7144
|
:param auto_approve_upgrades: (experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). Throw if set to true but ``autoApproveOptions`` are not defined. Default: - true
|
|
7145
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
7146
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
7092
7147
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
7093
7148
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
7094
7149
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -7199,6 +7254,8 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
7199
7254
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
7200
7255
|
if isinstance(workflow_runs_on_group, dict):
|
|
7201
7256
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
7257
|
+
if isinstance(biome_options, dict):
|
|
7258
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
7202
7259
|
if isinstance(build_workflow_options, dict):
|
|
7203
7260
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
7204
7261
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -7341,6 +7398,8 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
7341
7398
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
7342
7399
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
7343
7400
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
7401
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
7402
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
7344
7403
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
7345
7404
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
7346
7405
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -7610,6 +7669,10 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
7610
7669
|
self._values["artifacts_directory"] = artifacts_directory
|
|
7611
7670
|
if auto_approve_upgrades is not None:
|
|
7612
7671
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
7672
|
+
if biome is not None:
|
|
7673
|
+
self._values["biome"] = biome
|
|
7674
|
+
if biome_options is not None:
|
|
7675
|
+
self._values["biome_options"] = biome_options
|
|
7613
7676
|
if build_workflow is not None:
|
|
7614
7677
|
self._values["build_workflow"] = build_workflow
|
|
7615
7678
|
if build_workflow_options is not None:
|
|
@@ -8976,6 +9039,28 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
8976
9039
|
result = self._values.get("auto_approve_upgrades")
|
|
8977
9040
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8978
9041
|
|
|
9042
|
+
@builtins.property
|
|
9043
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
9044
|
+
'''(experimental) Setup Biome.
|
|
9045
|
+
|
|
9046
|
+
:default: false
|
|
9047
|
+
|
|
9048
|
+
:stability: experimental
|
|
9049
|
+
'''
|
|
9050
|
+
result = self._values.get("biome")
|
|
9051
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
9052
|
+
|
|
9053
|
+
@builtins.property
|
|
9054
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
9055
|
+
'''(experimental) Biome options.
|
|
9056
|
+
|
|
9057
|
+
:default: - default options
|
|
9058
|
+
|
|
9059
|
+
:stability: experimental
|
|
9060
|
+
'''
|
|
9061
|
+
result = self._values.get("biome_options")
|
|
9062
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
9063
|
+
|
|
8979
9064
|
@builtins.property
|
|
8980
9065
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
8981
9066
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -10473,6 +10558,8 @@ def _typecheckingstub__38d5838b3dba3e0494a1842bc0bf0513fd0a9baecf03b52c6bb2ef53e
|
|
|
10473
10558
|
default_release_branch: builtins.str,
|
|
10474
10559
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
10475
10560
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
10561
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
10562
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10476
10563
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
10477
10564
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10478
10565
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -10641,6 +10728,8 @@ def _typecheckingstub__af97c045aa0635813d6575f726d794c22aabe3eb1e51bf1ae61d8f28b
|
|
|
10641
10728
|
default_release_branch: builtins.str,
|
|
10642
10729
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
10643
10730
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
10731
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
10732
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10644
10733
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
10645
10734
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10646
10735
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
projen/cdktf/__init__.py
CHANGED
|
@@ -65,6 +65,7 @@ from ..github.workflows import (
|
|
|
65
65
|
JobStep as _JobStep_c3287c05, Triggers as _Triggers_e9ae7617
|
|
66
66
|
)
|
|
67
67
|
from ..javascript import (
|
|
68
|
+
BiomeOptions as _BiomeOptions_452ab984,
|
|
68
69
|
BuildWorkflowOptions as _BuildWorkflowOptions_b756f97f,
|
|
69
70
|
BundlerOptions as _BundlerOptions_d60b85ed,
|
|
70
71
|
CodeArtifactOptions as _CodeArtifactOptions_e4782b3e,
|
|
@@ -149,6 +150,8 @@ class ConstructLibraryCdktf(
|
|
|
149
150
|
default_release_branch: builtins.str,
|
|
150
151
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
151
152
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
153
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
154
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
152
155
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
153
156
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
154
157
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -318,6 +321,8 @@ class ConstructLibraryCdktf(
|
|
|
318
321
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
319
322
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
320
323
|
:param auto_approve_upgrades: (experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). Throw if set to true but ``autoApproveOptions`` are not defined. Default: - true
|
|
324
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
325
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
321
326
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
322
327
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
323
328
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -489,6 +494,8 @@ class ConstructLibraryCdktf(
|
|
|
489
494
|
default_release_branch=default_release_branch,
|
|
490
495
|
artifacts_directory=artifacts_directory,
|
|
491
496
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
497
|
+
biome=biome,
|
|
498
|
+
biome_options=biome_options,
|
|
492
499
|
build_workflow=build_workflow,
|
|
493
500
|
build_workflow_options=build_workflow_options,
|
|
494
501
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -719,6 +726,8 @@ class ConstructLibraryCdktf(
|
|
|
719
726
|
"default_release_branch": "defaultReleaseBranch",
|
|
720
727
|
"artifacts_directory": "artifactsDirectory",
|
|
721
728
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
729
|
+
"biome": "biome",
|
|
730
|
+
"biome_options": "biomeOptions",
|
|
722
731
|
"build_workflow": "buildWorkflow",
|
|
723
732
|
"build_workflow_options": "buildWorkflowOptions",
|
|
724
733
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -892,6 +901,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
892
901
|
default_release_branch: builtins.str,
|
|
893
902
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
894
903
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
904
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
905
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
895
906
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
896
907
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
897
908
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1061,6 +1072,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1061
1072
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
1062
1073
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
1063
1074
|
:param auto_approve_upgrades: (experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). Throw if set to true but ``autoApproveOptions`` are not defined. Default: - true
|
|
1075
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
1076
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
1064
1077
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
1065
1078
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
1066
1079
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -1167,6 +1180,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1167
1180
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
1168
1181
|
if isinstance(workflow_runs_on_group, dict):
|
|
1169
1182
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
1183
|
+
if isinstance(biome_options, dict):
|
|
1184
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
1170
1185
|
if isinstance(build_workflow_options, dict):
|
|
1171
1186
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
1172
1187
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -1309,6 +1324,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1309
1324
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
1310
1325
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
1311
1326
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
1327
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
1328
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
1312
1329
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
1313
1330
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
1314
1331
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -1574,6 +1591,10 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1574
1591
|
self._values["artifacts_directory"] = artifacts_directory
|
|
1575
1592
|
if auto_approve_upgrades is not None:
|
|
1576
1593
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
1594
|
+
if biome is not None:
|
|
1595
|
+
self._values["biome"] = biome
|
|
1596
|
+
if biome_options is not None:
|
|
1597
|
+
self._values["biome_options"] = biome_options
|
|
1577
1598
|
if build_workflow is not None:
|
|
1578
1599
|
self._values["build_workflow"] = build_workflow
|
|
1579
1600
|
if build_workflow_options is not None:
|
|
@@ -2932,6 +2953,28 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2932
2953
|
result = self._values.get("auto_approve_upgrades")
|
|
2933
2954
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2934
2955
|
|
|
2956
|
+
@builtins.property
|
|
2957
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
2958
|
+
'''(experimental) Setup Biome.
|
|
2959
|
+
|
|
2960
|
+
:default: false
|
|
2961
|
+
|
|
2962
|
+
:stability: experimental
|
|
2963
|
+
'''
|
|
2964
|
+
result = self._values.get("biome")
|
|
2965
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2966
|
+
|
|
2967
|
+
@builtins.property
|
|
2968
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
2969
|
+
'''(experimental) Biome options.
|
|
2970
|
+
|
|
2971
|
+
:default: - default options
|
|
2972
|
+
|
|
2973
|
+
:stability: experimental
|
|
2974
|
+
'''
|
|
2975
|
+
result = self._values.get("biome_options")
|
|
2976
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
2977
|
+
|
|
2935
2978
|
@builtins.property
|
|
2936
2979
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
2937
2980
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -3900,6 +3943,8 @@ def _typecheckingstub__bbf02af18148d47e66a6d0672a809602f782953da7a849545a808c276
|
|
|
3900
3943
|
default_release_branch: builtins.str,
|
|
3901
3944
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
3902
3945
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
3946
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
3947
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3903
3948
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
3904
3949
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3905
3950
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|