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/_jsii/__init__.py
CHANGED
|
@@ -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.92.
|
|
34
|
+
"projen", "0.92.12", __name__[0:-6], "projen@0.92.12.jsii.tgz"
|
|
35
35
|
)
|
|
36
36
|
|
|
37
37
|
__all__ = [
|
|
Binary file
|
projen/awscdk/__init__.py
CHANGED
|
@@ -83,6 +83,7 @@ from ..java import (
|
|
|
83
83
|
ProjenrcOptions as _ProjenrcOptions_65cd3dd8,
|
|
84
84
|
)
|
|
85
85
|
from ..javascript import (
|
|
86
|
+
BiomeOptions as _BiomeOptions_452ab984,
|
|
86
87
|
BuildWorkflowOptions as _BuildWorkflowOptions_b756f97f,
|
|
87
88
|
BundlerOptions as _BundlerOptions_d60b85ed,
|
|
88
89
|
BundlingOptions as _BundlingOptions_fc10f395,
|
|
@@ -335,6 +336,8 @@ class AwsCdkConstructLibrary(
|
|
|
335
336
|
default_release_branch: builtins.str,
|
|
336
337
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
337
338
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
339
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
340
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
338
341
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
339
342
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
340
343
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -517,6 +520,8 @@ class AwsCdkConstructLibrary(
|
|
|
517
520
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
518
521
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
519
522
|
: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
|
|
523
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
524
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
520
525
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
521
526
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
522
527
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -701,6 +706,8 @@ class AwsCdkConstructLibrary(
|
|
|
701
706
|
default_release_branch=default_release_branch,
|
|
702
707
|
artifacts_directory=artifacts_directory,
|
|
703
708
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
709
|
+
biome=biome,
|
|
710
|
+
biome_options=biome_options,
|
|
704
711
|
build_workflow=build_workflow,
|
|
705
712
|
build_workflow_options=build_workflow_options,
|
|
706
713
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -2475,6 +2482,8 @@ class AwsCdkTypeScriptApp(
|
|
|
2475
2482
|
default_release_branch: builtins.str,
|
|
2476
2483
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
2477
2484
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
2485
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
2486
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2478
2487
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
2479
2488
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2480
2489
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2649,6 +2658,8 @@ class AwsCdkTypeScriptApp(
|
|
|
2649
2658
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
2650
2659
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
2651
2660
|
: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
|
|
2661
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
2662
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
2652
2663
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
2653
2664
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
2654
2665
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -2825,6 +2836,8 @@ class AwsCdkTypeScriptApp(
|
|
|
2825
2836
|
default_release_branch=default_release_branch,
|
|
2826
2837
|
artifacts_directory=artifacts_directory,
|
|
2827
2838
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
2839
|
+
biome=biome,
|
|
2840
|
+
biome_options=biome_options,
|
|
2828
2841
|
build_workflow=build_workflow,
|
|
2829
2842
|
build_workflow_options=build_workflow_options,
|
|
2830
2843
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -3598,6 +3611,8 @@ class ConstructLibraryAws(
|
|
|
3598
3611
|
default_release_branch: builtins.str,
|
|
3599
3612
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
3600
3613
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
3614
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
3615
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3601
3616
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
3602
3617
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3603
3618
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3780,6 +3795,8 @@ class ConstructLibraryAws(
|
|
|
3780
3795
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
3781
3796
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
3782
3797
|
: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
|
|
3798
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
3799
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
3783
3800
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
3784
3801
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
3785
3802
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -3964,6 +3981,8 @@ class ConstructLibraryAws(
|
|
|
3964
3981
|
default_release_branch=default_release_branch,
|
|
3965
3982
|
artifacts_directory=artifacts_directory,
|
|
3966
3983
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
3984
|
+
biome=biome,
|
|
3985
|
+
biome_options=biome_options,
|
|
3967
3986
|
build_workflow=build_workflow,
|
|
3968
3987
|
build_workflow_options=build_workflow_options,
|
|
3969
3988
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -6109,6 +6128,8 @@ class AutoDiscoverOptions(
|
|
|
6109
6128
|
"default_release_branch": "defaultReleaseBranch",
|
|
6110
6129
|
"artifacts_directory": "artifactsDirectory",
|
|
6111
6130
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
6131
|
+
"biome": "biome",
|
|
6132
|
+
"biome_options": "biomeOptions",
|
|
6112
6133
|
"build_workflow": "buildWorkflow",
|
|
6113
6134
|
"build_workflow_options": "buildWorkflowOptions",
|
|
6114
6135
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -6298,6 +6319,8 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6298
6319
|
default_release_branch: builtins.str,
|
|
6299
6320
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
6300
6321
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
6322
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
6323
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6301
6324
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
6302
6325
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6303
6326
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -6481,6 +6504,8 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6481
6504
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
6482
6505
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
6483
6506
|
: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
|
|
6507
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
6508
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
6484
6509
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
6485
6510
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
6486
6511
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -6600,6 +6625,8 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6600
6625
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
6601
6626
|
if isinstance(workflow_runs_on_group, dict):
|
|
6602
6627
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
6628
|
+
if isinstance(biome_options, dict):
|
|
6629
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
6603
6630
|
if isinstance(build_workflow_options, dict):
|
|
6604
6631
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
6605
6632
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -6744,6 +6771,8 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6744
6771
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
6745
6772
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
6746
6773
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
6774
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
6775
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
6747
6776
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
6748
6777
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
6749
6778
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -7022,6 +7051,10 @@ class AwsCdkConstructLibraryOptions(
|
|
|
7022
7051
|
self._values["artifacts_directory"] = artifacts_directory
|
|
7023
7052
|
if auto_approve_upgrades is not None:
|
|
7024
7053
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
7054
|
+
if biome is not None:
|
|
7055
|
+
self._values["biome"] = biome
|
|
7056
|
+
if biome_options is not None:
|
|
7057
|
+
self._values["biome_options"] = biome_options
|
|
7025
7058
|
if build_workflow is not None:
|
|
7026
7059
|
self._values["build_workflow"] = build_workflow
|
|
7027
7060
|
if build_workflow_options is not None:
|
|
@@ -8406,6 +8439,28 @@ class AwsCdkConstructLibraryOptions(
|
|
|
8406
8439
|
result = self._values.get("auto_approve_upgrades")
|
|
8407
8440
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8408
8441
|
|
|
8442
|
+
@builtins.property
|
|
8443
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
8444
|
+
'''(experimental) Setup Biome.
|
|
8445
|
+
|
|
8446
|
+
:default: false
|
|
8447
|
+
|
|
8448
|
+
:stability: experimental
|
|
8449
|
+
'''
|
|
8450
|
+
result = self._values.get("biome")
|
|
8451
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8452
|
+
|
|
8453
|
+
@builtins.property
|
|
8454
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
8455
|
+
'''(experimental) Biome options.
|
|
8456
|
+
|
|
8457
|
+
:default: - default options
|
|
8458
|
+
|
|
8459
|
+
:stability: experimental
|
|
8460
|
+
'''
|
|
8461
|
+
result = self._values.get("biome_options")
|
|
8462
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
8463
|
+
|
|
8409
8464
|
@builtins.property
|
|
8410
8465
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
8411
8466
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -12272,6 +12327,8 @@ class AwsCdkPythonAppOptions(
|
|
|
12272
12327
|
"default_release_branch": "defaultReleaseBranch",
|
|
12273
12328
|
"artifacts_directory": "artifactsDirectory",
|
|
12274
12329
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
12330
|
+
"biome": "biome",
|
|
12331
|
+
"biome_options": "biomeOptions",
|
|
12275
12332
|
"build_workflow": "buildWorkflow",
|
|
12276
12333
|
"build_workflow_options": "buildWorkflowOptions",
|
|
12277
12334
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -12454,6 +12511,8 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12454
12511
|
default_release_branch: builtins.str,
|
|
12455
12512
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
12456
12513
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
12514
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
12515
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
12457
12516
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
12458
12517
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
12459
12518
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -12628,6 +12687,8 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12628
12687
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
12629
12688
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
12630
12689
|
: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
|
|
12690
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
12691
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
12631
12692
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
12632
12693
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
12633
12694
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -12739,6 +12800,8 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12739
12800
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
12740
12801
|
if isinstance(workflow_runs_on_group, dict):
|
|
12741
12802
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
12803
|
+
if isinstance(biome_options, dict):
|
|
12804
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
12742
12805
|
if isinstance(build_workflow_options, dict):
|
|
12743
12806
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
12744
12807
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -12869,6 +12932,8 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12869
12932
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
12870
12933
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
12871
12934
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
12935
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
12936
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
12872
12937
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
12873
12938
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
12874
12939
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -13136,6 +13201,10 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
13136
13201
|
self._values["artifacts_directory"] = artifacts_directory
|
|
13137
13202
|
if auto_approve_upgrades is not None:
|
|
13138
13203
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
13204
|
+
if biome is not None:
|
|
13205
|
+
self._values["biome"] = biome
|
|
13206
|
+
if biome_options is not None:
|
|
13207
|
+
self._values["biome_options"] = biome_options
|
|
13139
13208
|
if build_workflow is not None:
|
|
13140
13209
|
self._values["build_workflow"] = build_workflow
|
|
13141
13210
|
if build_workflow_options is not None:
|
|
@@ -14510,6 +14579,28 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
14510
14579
|
result = self._values.get("auto_approve_upgrades")
|
|
14511
14580
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
14512
14581
|
|
|
14582
|
+
@builtins.property
|
|
14583
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
14584
|
+
'''(experimental) Setup Biome.
|
|
14585
|
+
|
|
14586
|
+
:default: false
|
|
14587
|
+
|
|
14588
|
+
:stability: experimental
|
|
14589
|
+
'''
|
|
14590
|
+
result = self._values.get("biome")
|
|
14591
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
14592
|
+
|
|
14593
|
+
@builtins.property
|
|
14594
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
14595
|
+
'''(experimental) Biome options.
|
|
14596
|
+
|
|
14597
|
+
:default: - default options
|
|
14598
|
+
|
|
14599
|
+
:stability: experimental
|
|
14600
|
+
'''
|
|
14601
|
+
result = self._values.get("biome_options")
|
|
14602
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
14603
|
+
|
|
14513
14604
|
@builtins.property
|
|
14514
14605
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
14515
14606
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -15530,6 +15621,8 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
15530
15621
|
"default_release_branch": "defaultReleaseBranch",
|
|
15531
15622
|
"artifacts_directory": "artifactsDirectory",
|
|
15532
15623
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
15624
|
+
"biome": "biome",
|
|
15625
|
+
"biome_options": "biomeOptions",
|
|
15533
15626
|
"build_workflow": "buildWorkflow",
|
|
15534
15627
|
"build_workflow_options": "buildWorkflowOptions",
|
|
15535
15628
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -15716,6 +15809,8 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
15716
15809
|
default_release_branch: builtins.str,
|
|
15717
15810
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
15718
15811
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
15812
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
15813
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
15719
15814
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
15720
15815
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
15721
15816
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -15898,6 +15993,8 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
15898
15993
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
15899
15994
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
15900
15995
|
: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
|
|
15996
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
15997
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
15901
15998
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
15902
15999
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
15903
16000
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -16019,6 +16116,8 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16019
16116
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
16020
16117
|
if isinstance(workflow_runs_on_group, dict):
|
|
16021
16118
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
16119
|
+
if isinstance(biome_options, dict):
|
|
16120
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
16022
16121
|
if isinstance(build_workflow_options, dict):
|
|
16023
16122
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
16024
16123
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -16163,6 +16262,8 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16163
16262
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
16164
16263
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
16165
16264
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
16265
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
16266
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
16166
16267
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
16167
16268
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
16168
16269
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -16441,6 +16542,10 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16441
16542
|
self._values["artifacts_directory"] = artifacts_directory
|
|
16442
16543
|
if auto_approve_upgrades is not None:
|
|
16443
16544
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
16545
|
+
if biome is not None:
|
|
16546
|
+
self._values["biome"] = biome
|
|
16547
|
+
if biome_options is not None:
|
|
16548
|
+
self._values["biome_options"] = biome_options
|
|
16444
16549
|
if build_workflow is not None:
|
|
16445
16550
|
self._values["build_workflow"] = build_workflow
|
|
16446
16551
|
if build_workflow_options is not None:
|
|
@@ -17825,6 +17930,28 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
17825
17930
|
result = self._values.get("auto_approve_upgrades")
|
|
17826
17931
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
17827
17932
|
|
|
17933
|
+
@builtins.property
|
|
17934
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
17935
|
+
'''(experimental) Setup Biome.
|
|
17936
|
+
|
|
17937
|
+
:default: false
|
|
17938
|
+
|
|
17939
|
+
:stability: experimental
|
|
17940
|
+
'''
|
|
17941
|
+
result = self._values.get("biome")
|
|
17942
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
17943
|
+
|
|
17944
|
+
@builtins.property
|
|
17945
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
17946
|
+
'''(experimental) Biome options.
|
|
17947
|
+
|
|
17948
|
+
:default: - default options
|
|
17949
|
+
|
|
17950
|
+
:stability: experimental
|
|
17951
|
+
'''
|
|
17952
|
+
result = self._values.get("biome_options")
|
|
17953
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
17954
|
+
|
|
17828
17955
|
@builtins.property
|
|
17829
17956
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
17830
17957
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -19461,6 +19588,8 @@ def _typecheckingstub__afd0fb486a35fef51bf540cdcd69366795c03710cee73c0b5a81431a8
|
|
|
19461
19588
|
default_release_branch: builtins.str,
|
|
19462
19589
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
19463
19590
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
19591
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
19592
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19464
19593
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
19465
19594
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19466
19595
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -19799,6 +19928,8 @@ def _typecheckingstub__d4516e51d77bf8bd5807e45e842cd19fa87c9a6d72e4f7d0caead33d3
|
|
|
19799
19928
|
default_release_branch: builtins.str,
|
|
19800
19929
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
19801
19930
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
19931
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
19932
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19802
19933
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
19803
19934
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19804
19935
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -19977,6 +20108,8 @@ def _typecheckingstub__53f11e06b68a1910463459774b89205819af9292d548e5215ddd85989
|
|
|
19977
20108
|
default_release_branch: builtins.str,
|
|
19978
20109
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
19979
20110
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
20111
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
20112
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19980
20113
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
19981
20114
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
19982
20115
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
projen/cdk/__init__.py
CHANGED
|
@@ -61,6 +61,7 @@ from ..github.workflows import (
|
|
|
61
61
|
Triggers as _Triggers_e9ae7617,
|
|
62
62
|
)
|
|
63
63
|
from ..javascript import (
|
|
64
|
+
BiomeOptions as _BiomeOptions_452ab984,
|
|
64
65
|
BuildWorkflowOptions as _BuildWorkflowOptions_b756f97f,
|
|
65
66
|
BundlerOptions as _BundlerOptions_d60b85ed,
|
|
66
67
|
CodeArtifactOptions as _CodeArtifactOptions_e4782b3e,
|
|
@@ -1389,6 +1390,8 @@ class JsiiProject(
|
|
|
1389
1390
|
default_release_branch: builtins.str,
|
|
1390
1391
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
1391
1392
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
1393
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
1394
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1392
1395
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
1393
1396
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1394
1397
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1555,6 +1558,8 @@ class JsiiProject(
|
|
|
1555
1558
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
1556
1559
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
1557
1560
|
: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
|
|
1561
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
1562
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
1558
1563
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
1559
1564
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
1560
1565
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -1723,6 +1728,8 @@ class JsiiProject(
|
|
|
1723
1728
|
default_release_branch=default_release_branch,
|
|
1724
1729
|
artifacts_directory=artifacts_directory,
|
|
1725
1730
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
1731
|
+
biome=biome,
|
|
1732
|
+
biome_options=biome_options,
|
|
1726
1733
|
build_workflow=build_workflow,
|
|
1727
1734
|
build_workflow_options=build_workflow_options,
|
|
1728
1735
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -1953,6 +1960,8 @@ class JsiiProject(
|
|
|
1953
1960
|
"default_release_branch": "defaultReleaseBranch",
|
|
1954
1961
|
"artifacts_directory": "artifactsDirectory",
|
|
1955
1962
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
1963
|
+
"biome": "biome",
|
|
1964
|
+
"biome_options": "biomeOptions",
|
|
1956
1965
|
"build_workflow": "buildWorkflow",
|
|
1957
1966
|
"build_workflow_options": "buildWorkflowOptions",
|
|
1958
1967
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -2123,6 +2132,8 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
|
|
|
2123
2132
|
default_release_branch: builtins.str,
|
|
2124
2133
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
2125
2134
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
2135
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
2136
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2126
2137
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
2127
2138
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2128
2139
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2289,6 +2300,8 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
|
|
|
2289
2300
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
2290
2301
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
2291
2302
|
: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
|
|
2303
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
2304
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
2292
2305
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
2293
2306
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
2294
2307
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -2392,6 +2405,8 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
|
|
|
2392
2405
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
2393
2406
|
if isinstance(workflow_runs_on_group, dict):
|
|
2394
2407
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
2408
|
+
if isinstance(biome_options, dict):
|
|
2409
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
2395
2410
|
if isinstance(build_workflow_options, dict):
|
|
2396
2411
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
2397
2412
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -2532,6 +2547,8 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
|
|
|
2532
2547
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
2533
2548
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
2534
2549
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
2550
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
2551
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
2535
2552
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
2536
2553
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
2537
2554
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -2793,6 +2810,10 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
|
|
|
2793
2810
|
self._values["artifacts_directory"] = artifacts_directory
|
|
2794
2811
|
if auto_approve_upgrades is not None:
|
|
2795
2812
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
2813
|
+
if biome is not None:
|
|
2814
|
+
self._values["biome"] = biome
|
|
2815
|
+
if biome_options is not None:
|
|
2816
|
+
self._values["biome_options"] = biome_options
|
|
2796
2817
|
if build_workflow is not None:
|
|
2797
2818
|
self._values["build_workflow"] = build_workflow
|
|
2798
2819
|
if build_workflow_options is not None:
|
|
@@ -4147,6 +4168,28 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
|
|
|
4147
4168
|
result = self._values.get("auto_approve_upgrades")
|
|
4148
4169
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
4149
4170
|
|
|
4171
|
+
@builtins.property
|
|
4172
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
4173
|
+
'''(experimental) Setup Biome.
|
|
4174
|
+
|
|
4175
|
+
:default: false
|
|
4176
|
+
|
|
4177
|
+
:stability: experimental
|
|
4178
|
+
'''
|
|
4179
|
+
result = self._values.get("biome")
|
|
4180
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
4181
|
+
|
|
4182
|
+
@builtins.property
|
|
4183
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
4184
|
+
'''(experimental) Biome options.
|
|
4185
|
+
|
|
4186
|
+
:default: - default options
|
|
4187
|
+
|
|
4188
|
+
:stability: experimental
|
|
4189
|
+
'''
|
|
4190
|
+
result = self._values.get("biome_options")
|
|
4191
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
4192
|
+
|
|
4150
4193
|
@builtins.property
|
|
4151
4194
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
4152
4195
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -5227,6 +5270,8 @@ class ConstructLibrary(
|
|
|
5227
5270
|
default_release_branch: builtins.str,
|
|
5228
5271
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
5229
5272
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
5273
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
5274
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5230
5275
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
5231
5276
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5232
5277
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -5394,6 +5439,8 @@ class ConstructLibrary(
|
|
|
5394
5439
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
5395
5440
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
5396
5441
|
: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
|
|
5442
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
5443
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
5397
5444
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
5398
5445
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
5399
5446
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -5563,6 +5610,8 @@ class ConstructLibrary(
|
|
|
5563
5610
|
default_release_branch=default_release_branch,
|
|
5564
5611
|
artifacts_directory=artifacts_directory,
|
|
5565
5612
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
5613
|
+
biome=biome,
|
|
5614
|
+
biome_options=biome_options,
|
|
5566
5615
|
build_workflow=build_workflow,
|
|
5567
5616
|
build_workflow_options=build_workflow_options,
|
|
5568
5617
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -5800,6 +5849,8 @@ typing.cast(typing.Any, ConstructLibrary).__jsii_proxy_class__ = lambda : _Const
|
|
|
5800
5849
|
"default_release_branch": "defaultReleaseBranch",
|
|
5801
5850
|
"artifacts_directory": "artifactsDirectory",
|
|
5802
5851
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
5852
|
+
"biome": "biome",
|
|
5853
|
+
"biome_options": "biomeOptions",
|
|
5803
5854
|
"build_workflow": "buildWorkflow",
|
|
5804
5855
|
"build_workflow_options": "buildWorkflowOptions",
|
|
5805
5856
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -5971,6 +6022,8 @@ class ConstructLibraryOptions(JsiiProjectOptions):
|
|
|
5971
6022
|
default_release_branch: builtins.str,
|
|
5972
6023
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
5973
6024
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
6025
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
6026
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5974
6027
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
5975
6028
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5976
6029
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -6138,6 +6191,8 @@ class ConstructLibraryOptions(JsiiProjectOptions):
|
|
|
6138
6191
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
6139
6192
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
6140
6193
|
: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
|
|
6194
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
6195
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
6141
6196
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
6142
6197
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
6143
6198
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
@@ -6242,6 +6297,8 @@ class ConstructLibraryOptions(JsiiProjectOptions):
|
|
|
6242
6297
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
6243
6298
|
if isinstance(workflow_runs_on_group, dict):
|
|
6244
6299
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
6300
|
+
if isinstance(biome_options, dict):
|
|
6301
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
6245
6302
|
if isinstance(build_workflow_options, dict):
|
|
6246
6303
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
6247
6304
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -6384,6 +6441,8 @@ class ConstructLibraryOptions(JsiiProjectOptions):
|
|
|
6384
6441
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
6385
6442
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
6386
6443
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
6444
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
6445
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
6387
6446
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
6388
6447
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
6389
6448
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -6646,6 +6705,10 @@ class ConstructLibraryOptions(JsiiProjectOptions):
|
|
|
6646
6705
|
self._values["artifacts_directory"] = artifacts_directory
|
|
6647
6706
|
if auto_approve_upgrades is not None:
|
|
6648
6707
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
6708
|
+
if biome is not None:
|
|
6709
|
+
self._values["biome"] = biome
|
|
6710
|
+
if biome_options is not None:
|
|
6711
|
+
self._values["biome_options"] = biome_options
|
|
6649
6712
|
if build_workflow is not None:
|
|
6650
6713
|
self._values["build_workflow"] = build_workflow
|
|
6651
6714
|
if build_workflow_options is not None:
|
|
@@ -8002,6 +8065,28 @@ class ConstructLibraryOptions(JsiiProjectOptions):
|
|
|
8002
8065
|
result = self._values.get("auto_approve_upgrades")
|
|
8003
8066
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8004
8067
|
|
|
8068
|
+
@builtins.property
|
|
8069
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
8070
|
+
'''(experimental) Setup Biome.
|
|
8071
|
+
|
|
8072
|
+
:default: false
|
|
8073
|
+
|
|
8074
|
+
:stability: experimental
|
|
8075
|
+
'''
|
|
8076
|
+
result = self._values.get("biome")
|
|
8077
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8078
|
+
|
|
8079
|
+
@builtins.property
|
|
8080
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
8081
|
+
'''(experimental) Biome options.
|
|
8082
|
+
|
|
8083
|
+
:default: - default options
|
|
8084
|
+
|
|
8085
|
+
:stability: experimental
|
|
8086
|
+
'''
|
|
8087
|
+
result = self._values.get("biome_options")
|
|
8088
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
8089
|
+
|
|
8005
8090
|
@builtins.property
|
|
8006
8091
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
8007
8092
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -9091,6 +9176,8 @@ def _typecheckingstub__c8323b2edac3105e05d346954d0050d635763ca6b27825b5452fa3d2b
|
|
|
9091
9176
|
default_release_branch: builtins.str,
|
|
9092
9177
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
9093
9178
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
9179
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
9180
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9094
9181
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
9095
9182
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9096
9183
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -9276,6 +9363,8 @@ def _typecheckingstub__0faec4221ab7163e96a5287d81c7e28c1c8f831e5f79f595bd4a88cdd
|
|
|
9276
9363
|
default_release_branch: builtins.str,
|
|
9277
9364
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
9278
9365
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
9366
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
9367
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9279
9368
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
9280
9369
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9281
9370
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|