projen 0.93.3__tar.gz → 0.94.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of projen might be problematic. Click here for more details.
- {projen-0.93.3/src/projen.egg-info → projen-0.94.0}/PKG-INFO +1 -1
- {projen-0.93.3 → projen-0.94.0}/setup.py +2 -2
- {projen-0.93.3 → projen-0.94.0}/src/projen/_jsii/__init__.py +1 -1
- {projen-0.93.3 → projen-0.94.0}/src/projen/_jsii/bin/projen +1 -1
- projen-0.94.0/src/projen/_jsii/projen@0.94.0.jsii.tgz +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/awscdk/__init__.py +9 -9
- {projen-0.93.3 → projen-0.94.0}/src/projen/cdk/__init__.py +6 -6
- {projen-0.93.3 → projen-0.94.0}/src/projen/cdk8s/__init__.py +6 -6
- {projen-0.93.3 → projen-0.94.0}/src/projen/cdktf/__init__.py +3 -3
- {projen-0.93.3 → projen-0.94.0}/src/projen/javascript/__init__.py +51 -57
- projen-0.94.0/src/projen/javascript/biome_config/__init__.py +5190 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/typescript/__init__.py +7 -7
- {projen-0.93.3 → projen-0.94.0}/src/projen/web/__init__.py +6 -6
- {projen-0.93.3 → projen-0.94.0/src/projen.egg-info}/PKG-INFO +1 -1
- {projen-0.93.3 → projen-0.94.0}/src/projen.egg-info/SOURCES.txt +1 -1
- projen-0.93.3/src/projen/_jsii/projen@0.93.3.jsii.tgz +0 -0
- projen-0.93.3/src/projen/javascript/biome_config/__init__.py +0 -24256
- {projen-0.93.3 → projen-0.94.0}/LICENSE +0 -0
- {projen-0.93.3 → projen-0.94.0}/MANIFEST.in +0 -0
- {projen-0.93.3 → projen-0.94.0}/README.md +0 -0
- {projen-0.93.3 → projen-0.94.0}/pyproject.toml +0 -0
- {projen-0.93.3 → projen-0.94.0}/setup.cfg +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/build/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/circleci/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/github/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/github/workflows/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/gitlab/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/java/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/py.typed +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/python/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/release/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen/vscode/__init__.py +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen.egg-info/dependency_links.txt +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen.egg-info/requires.txt +0 -0
- {projen-0.93.3 → projen-0.94.0}/src/projen.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "projen",
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.94.0",
|
|
9
9
|
"description": "CDK for software projects",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/projen/projen.git",
|
|
@@ -43,7 +43,7 @@ kwargs = json.loads(
|
|
|
43
43
|
],
|
|
44
44
|
"package_data": {
|
|
45
45
|
"projen._jsii": [
|
|
46
|
-
"projen@0.
|
|
46
|
+
"projen@0.94.0.jsii.tgz"
|
|
47
47
|
],
|
|
48
48
|
"projen": [
|
|
49
49
|
"py.typed"
|
|
@@ -31,7 +31,7 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
31
31
|
import constructs._jsii
|
|
32
32
|
|
|
33
33
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
34
|
-
"projen", "0.
|
|
34
|
+
"projen", "0.94.0", __name__[0:-6], "projen@0.94.0.jsii.tgz"
|
|
35
35
|
)
|
|
36
36
|
|
|
37
37
|
__all__ = [
|
|
@@ -8,7 +8,7 @@ if "JSII_RUNTIME_PACKAGE_CACHE" not in os.environ:
|
|
|
8
8
|
os.environ["JSII_RUNTIME_PACKAGE_CACHE"] = "disabled"
|
|
9
9
|
|
|
10
10
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
11
|
-
"projen", "0.
|
|
11
|
+
"projen", "0.94.0", "projen", "projen@0.94.0.jsii.tgz"
|
|
12
12
|
)
|
|
13
13
|
|
|
14
14
|
exit_code = __jsii_assembly__.invokeBinScript("projen", "projen", sys.argv[1:])
|
|
Binary file
|
|
@@ -504,7 +504,7 @@ class AwsCdkConstructLibrary(
|
|
|
504
504
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
505
505
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
506
506
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
507
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
507
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
508
508
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
509
509
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
510
510
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -2626,7 +2626,7 @@ class AwsCdkTypeScriptApp(
|
|
|
2626
2626
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
2627
2627
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
2628
2628
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
2629
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
2629
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
2630
2630
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
2631
2631
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
2632
2632
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -3779,7 +3779,7 @@ class ConstructLibraryAws(
|
|
|
3779
3779
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
3780
3780
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
3781
3781
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
3782
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
3782
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
3783
3783
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
3784
3784
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
3785
3785
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -6547,7 +6547,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
6547
6547
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
6548
6548
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
6549
6549
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
6550
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
6550
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
6551
6551
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
6552
6552
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
6553
6553
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -8934,7 +8934,7 @@ class AwsCdkConstructLibraryOptions(
|
|
|
8934
8934
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
8935
8935
|
'''(experimental) Setup eslint.
|
|
8936
8936
|
|
|
8937
|
-
:default: true
|
|
8937
|
+
:default: - true, unless biome is enabled
|
|
8938
8938
|
|
|
8939
8939
|
:stability: experimental
|
|
8940
8940
|
'''
|
|
@@ -12730,7 +12730,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
12730
12730
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
12731
12731
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
12732
12732
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
12733
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
12733
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
12734
12734
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
12735
12735
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
12736
12736
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -15074,7 +15074,7 @@ class AwsCdkTypeScriptAppOptions(
|
|
|
15074
15074
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
15075
15075
|
'''(experimental) Setup eslint.
|
|
15076
15076
|
|
|
15077
|
-
:default: true
|
|
15077
|
+
:default: - true, unless biome is enabled
|
|
15078
15078
|
|
|
15079
15079
|
:stability: experimental
|
|
15080
15080
|
'''
|
|
@@ -16036,7 +16036,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
16036
16036
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
16037
16037
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
16038
16038
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
16039
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
16039
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
16040
16040
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
16041
16041
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
16042
16042
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -18425,7 +18425,7 @@ class ConstructLibraryAwsOptions(AwsCdkConstructLibraryOptions):
|
|
|
18425
18425
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
18426
18426
|
'''(experimental) Setup eslint.
|
|
18427
18427
|
|
|
18428
|
-
:default: true
|
|
18428
|
+
:default: - true, unless biome is enabled
|
|
18429
18429
|
|
|
18430
18430
|
:stability: experimental
|
|
18431
18431
|
'''
|
|
@@ -1542,7 +1542,7 @@ class JsiiProject(
|
|
|
1542
1542
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
1543
1543
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
1544
1544
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
1545
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
1545
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
1546
1546
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
1547
1547
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
1548
1548
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -2343,7 +2343,7 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
|
|
|
2343
2343
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
2344
2344
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
2345
2345
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
2346
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
2346
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
2347
2347
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
2348
2348
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
2349
2349
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -4663,7 +4663,7 @@ class JsiiProjectOptions(_TypeScriptProjectOptions_d10c83f7):
|
|
|
4663
4663
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
4664
4664
|
'''(experimental) Setup eslint.
|
|
4665
4665
|
|
|
4666
|
-
:default: true
|
|
4666
|
+
:default: - true, unless biome is enabled
|
|
4667
4667
|
|
|
4668
4668
|
:stability: experimental
|
|
4669
4669
|
'''
|
|
@@ -5423,7 +5423,7 @@ class ConstructLibrary(
|
|
|
5423
5423
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
5424
5424
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
5425
5425
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
5426
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
5426
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
5427
5427
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
5428
5428
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
5429
5429
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -6234,7 +6234,7 @@ class ConstructLibraryOptions(JsiiProjectOptions):
|
|
|
6234
6234
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
6235
6235
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
6236
6236
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
6237
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
6237
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
6238
6238
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
6239
6239
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
6240
6240
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -8560,7 +8560,7 @@ class ConstructLibraryOptions(JsiiProjectOptions):
|
|
|
8560
8560
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
8561
8561
|
'''(experimental) Setup eslint.
|
|
8562
8562
|
|
|
8563
|
-
:default: true
|
|
8563
|
+
:default: - true, unless biome is enabled
|
|
8564
8564
|
|
|
8565
8565
|
:stability: experimental
|
|
8566
8566
|
'''
|
|
@@ -2674,7 +2674,7 @@ class Cdk8sTypeScriptApp(
|
|
|
2674
2674
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
2675
2675
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
2676
2676
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
2677
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
2677
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
2678
2678
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
2679
2679
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
2680
2680
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -3499,7 +3499,7 @@ class Cdk8sTypeScriptAppOptions(
|
|
|
3499
3499
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
3500
3500
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
3501
3501
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
3502
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
3502
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
3503
3503
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
3504
3504
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
3505
3505
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -5801,7 +5801,7 @@ class Cdk8sTypeScriptAppOptions(
|
|
|
5801
5801
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
5802
5802
|
'''(experimental) Setup eslint.
|
|
5803
5803
|
|
|
5804
|
-
:default: true
|
|
5804
|
+
:default: - true, unless biome is enabled
|
|
5805
5805
|
|
|
5806
5806
|
:stability: experimental
|
|
5807
5807
|
'''
|
|
@@ -6345,7 +6345,7 @@ class ConstructLibraryCdk8s(
|
|
|
6345
6345
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
6346
6346
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
6347
6347
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
6348
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
6348
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
6349
6349
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
6350
6350
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
6351
6351
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -7185,7 +7185,7 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
7185
7185
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
7186
7186
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
7187
7187
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
7188
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
7188
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
7189
7189
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
7190
7190
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
7191
7191
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -9534,7 +9534,7 @@ class ConstructLibraryCdk8sOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
9534
9534
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
9535
9535
|
'''(experimental) Setup eslint.
|
|
9536
9536
|
|
|
9537
|
-
:default: true
|
|
9537
|
+
:default: - true, unless biome is enabled
|
|
9538
9538
|
|
|
9539
9539
|
:stability: experimental
|
|
9540
9540
|
'''
|
|
@@ -305,7 +305,7 @@ class ConstructLibraryCdktf(
|
|
|
305
305
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
306
306
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
307
307
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
308
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
308
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
309
309
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
310
310
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
311
311
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -1115,7 +1115,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1115
1115
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
1116
1116
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
1117
1117
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
1118
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
1118
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
1119
1119
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
1120
1120
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
1121
1121
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -3448,7 +3448,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
3448
3448
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
3449
3449
|
'''(experimental) Setup eslint.
|
|
3450
3450
|
|
|
3451
|
-
:default: true
|
|
3451
|
+
:default: - true, unless biome is enabled
|
|
3452
3452
|
|
|
3453
3453
|
:stability: experimental
|
|
3454
3454
|
'''
|
|
@@ -83,7 +83,7 @@ from ..release import (
|
|
|
83
83
|
ReleaseProjectOptions as _ReleaseProjectOptions_929803c8,
|
|
84
84
|
ReleaseTrigger as _ReleaseTrigger_e4dc221f,
|
|
85
85
|
)
|
|
86
|
-
from .biome_config import
|
|
86
|
+
from .biome_config import BiomeConfiguration as _BiomeConfiguration_dd1a6c83
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
@jsii.enum(jsii_type="projen.javascript.ArrowParens")
|
|
@@ -132,7 +132,8 @@ class Biome(
|
|
|
132
132
|
metaclass=jsii.JSIIMeta,
|
|
133
133
|
jsii_type="projen.javascript.Biome",
|
|
134
134
|
):
|
|
135
|
-
'''
|
|
135
|
+
'''(experimental) Biome component.
|
|
136
|
+
|
|
136
137
|
:stability: experimental
|
|
137
138
|
'''
|
|
138
139
|
|
|
@@ -140,21 +141,21 @@ class Biome(
|
|
|
140
141
|
self,
|
|
141
142
|
project: "NodeProject",
|
|
142
143
|
*,
|
|
143
|
-
|
|
144
|
+
assist: typing.Optional[builtins.bool] = None,
|
|
145
|
+
biome_config: typing.Optional[typing.Union[_BiomeConfiguration_dd1a6c83, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
144
146
|
formatter: typing.Optional[builtins.bool] = None,
|
|
145
147
|
linter: typing.Optional[builtins.bool] = None,
|
|
146
148
|
merge_arrays_in_configuration: typing.Optional[builtins.bool] = None,
|
|
147
|
-
organize_imports: typing.Optional[builtins.bool] = None,
|
|
148
149
|
version: typing.Optional[builtins.str] = None,
|
|
149
150
|
) -> None:
|
|
150
151
|
'''
|
|
151
152
|
:param project: -
|
|
152
|
-
:param
|
|
153
|
-
:param
|
|
154
|
-
:param
|
|
153
|
+
:param assist: (experimental) Enable code assist with recommended actions. Default: true
|
|
154
|
+
: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
|
+
:param formatter: (experimental) Enable code formatter with recommended settings. Default: true
|
|
156
|
+
:param linter: (experimental) Enable linting with recommended rules. Default: true
|
|
155
157
|
: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
|
|
156
|
-
:param
|
|
157
|
-
:param version: (experimental) Version of Biome to use. Default: "^1"
|
|
158
|
+
:param version: (experimental) Version of Biome to use. Default: "^2"
|
|
158
159
|
|
|
159
160
|
:stability: experimental
|
|
160
161
|
'''
|
|
@@ -162,11 +163,11 @@ class Biome(
|
|
|
162
163
|
type_hints = typing.get_type_hints(_typecheckingstub__9f2264088409136f62af7e2ac4488206c06c3b9a69056be8b9ead20ab895f1bc)
|
|
163
164
|
check_type(argname="argument project", value=project, expected_type=type_hints["project"])
|
|
164
165
|
options = BiomeOptions(
|
|
166
|
+
assist=assist,
|
|
165
167
|
biome_config=biome_config,
|
|
166
168
|
formatter=formatter,
|
|
167
169
|
linter=linter,
|
|
168
170
|
merge_arrays_in_configuration=merge_arrays_in_configuration,
|
|
169
|
-
organize_imports=organize_imports,
|
|
170
171
|
version=version,
|
|
171
172
|
)
|
|
172
173
|
|
|
@@ -185,17 +186,17 @@ class Biome(
|
|
|
185
186
|
check_type(argname="argument project", value=project, expected_type=type_hints["project"])
|
|
186
187
|
return typing.cast(typing.Optional["Biome"], jsii.sinvoke(cls, "of", [project]))
|
|
187
188
|
|
|
188
|
-
@jsii.member(jsii_name="
|
|
189
|
-
def
|
|
189
|
+
@jsii.member(jsii_name="addFilePattern")
|
|
190
|
+
def add_file_pattern(self, pattern: builtins.str) -> None:
|
|
190
191
|
'''
|
|
191
192
|
:param pattern: -
|
|
192
193
|
|
|
193
194
|
:stability: experimental
|
|
194
195
|
'''
|
|
195
196
|
if __debug__:
|
|
196
|
-
type_hints = typing.get_type_hints(
|
|
197
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5609a4432d207b19ee177e477fdf5e275031b8ec1346b00ac4bbfdf93f688757)
|
|
197
198
|
check_type(argname="argument pattern", value=pattern, expected_type=type_hints["pattern"])
|
|
198
|
-
return typing.cast(None, jsii.invoke(self, "
|
|
199
|
+
return typing.cast(None, jsii.invoke(self, "addFilePattern", [pattern]))
|
|
199
200
|
|
|
200
201
|
@builtins.property
|
|
201
202
|
@jsii.member(jsii_name="file")
|
|
@@ -220,11 +221,11 @@ class Biome(
|
|
|
220
221
|
jsii_type="projen.javascript.BiomeOptions",
|
|
221
222
|
jsii_struct_bases=[],
|
|
222
223
|
name_mapping={
|
|
224
|
+
"assist": "assist",
|
|
223
225
|
"biome_config": "biomeConfig",
|
|
224
226
|
"formatter": "formatter",
|
|
225
227
|
"linter": "linter",
|
|
226
228
|
"merge_arrays_in_configuration": "mergeArraysInConfiguration",
|
|
227
|
-
"organize_imports": "organizeImports",
|
|
228
229
|
"version": "version",
|
|
229
230
|
},
|
|
230
231
|
)
|
|
@@ -232,32 +233,36 @@ class BiomeOptions:
|
|
|
232
233
|
def __init__(
|
|
233
234
|
self,
|
|
234
235
|
*,
|
|
235
|
-
|
|
236
|
+
assist: typing.Optional[builtins.bool] = None,
|
|
237
|
+
biome_config: typing.Optional[typing.Union[_BiomeConfiguration_dd1a6c83, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
236
238
|
formatter: typing.Optional[builtins.bool] = None,
|
|
237
239
|
linter: typing.Optional[builtins.bool] = None,
|
|
238
240
|
merge_arrays_in_configuration: typing.Optional[builtins.bool] = None,
|
|
239
|
-
organize_imports: typing.Optional[builtins.bool] = None,
|
|
240
241
|
version: typing.Optional[builtins.str] = None,
|
|
241
242
|
) -> None:
|
|
242
243
|
'''
|
|
243
|
-
:param
|
|
244
|
-
:param
|
|
245
|
-
:param
|
|
244
|
+
:param assist: (experimental) Enable code assist with recommended actions. Default: true
|
|
245
|
+
: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
|
+
:param formatter: (experimental) Enable code formatter with recommended settings. Default: true
|
|
247
|
+
:param linter: (experimental) Enable linting with recommended rules. Default: true
|
|
246
248
|
: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
|
|
247
|
-
:param
|
|
248
|
-
:param version: (experimental) Version of Biome to use. Default: "^1"
|
|
249
|
+
:param version: (experimental) Version of Biome to use. Default: "^2"
|
|
249
250
|
|
|
250
251
|
:stability: experimental
|
|
251
252
|
'''
|
|
253
|
+
if isinstance(biome_config, dict):
|
|
254
|
+
biome_config = _BiomeConfiguration_dd1a6c83(**biome_config)
|
|
252
255
|
if __debug__:
|
|
253
256
|
type_hints = typing.get_type_hints(_typecheckingstub__b53a2988afa9afc23bda2fe96e2de8ffaff18ab919e00b69a6c8d3d229f3dcc1)
|
|
257
|
+
check_type(argname="argument assist", value=assist, expected_type=type_hints["assist"])
|
|
254
258
|
check_type(argname="argument biome_config", value=biome_config, expected_type=type_hints["biome_config"])
|
|
255
259
|
check_type(argname="argument formatter", value=formatter, expected_type=type_hints["formatter"])
|
|
256
260
|
check_type(argname="argument linter", value=linter, expected_type=type_hints["linter"])
|
|
257
261
|
check_type(argname="argument merge_arrays_in_configuration", value=merge_arrays_in_configuration, expected_type=type_hints["merge_arrays_in_configuration"])
|
|
258
|
-
check_type(argname="argument organize_imports", value=organize_imports, expected_type=type_hints["organize_imports"])
|
|
259
262
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
260
263
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
264
|
+
if assist is not None:
|
|
265
|
+
self._values["assist"] = assist
|
|
261
266
|
if biome_config is not None:
|
|
262
267
|
self._values["biome_config"] = biome_config
|
|
263
268
|
if formatter is not None:
|
|
@@ -266,33 +271,37 @@ class BiomeOptions:
|
|
|
266
271
|
self._values["linter"] = linter
|
|
267
272
|
if merge_arrays_in_configuration is not None:
|
|
268
273
|
self._values["merge_arrays_in_configuration"] = merge_arrays_in_configuration
|
|
269
|
-
if organize_imports is not None:
|
|
270
|
-
self._values["organize_imports"] = organize_imports
|
|
271
274
|
if version is not None:
|
|
272
275
|
self._values["version"] = version
|
|
273
276
|
|
|
274
277
|
@builtins.property
|
|
275
|
-
def
|
|
276
|
-
'''(experimental)
|
|
278
|
+
def assist(self) -> typing.Optional[builtins.bool]:
|
|
279
|
+
'''(experimental) Enable code assist with recommended actions.
|
|
277
280
|
|
|
278
|
-
|
|
281
|
+
:default: true
|
|
279
282
|
|
|
280
283
|
:stability: experimental
|
|
284
|
+
'''
|
|
285
|
+
result = self._values.get("assist")
|
|
286
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
281
287
|
|
|
282
|
-
|
|
288
|
+
@builtins.property
|
|
289
|
+
def biome_config(self) -> typing.Optional[_BiomeConfiguration_dd1a6c83]:
|
|
290
|
+
'''(experimental) Full Biome configuration.
|
|
291
|
+
|
|
292
|
+
This configuration dictates the final outcome if value is set.
|
|
293
|
+
For example, if the linter is disabled at the top-level, it can be enabled with ``biomeConfig.linter.enabled``.
|
|
283
294
|
|
|
284
|
-
|
|
295
|
+
:stability: experimental
|
|
285
296
|
'''
|
|
286
297
|
result = self._values.get("biome_config")
|
|
287
|
-
return typing.cast(typing.Optional[
|
|
298
|
+
return typing.cast(typing.Optional[_BiomeConfiguration_dd1a6c83], result)
|
|
288
299
|
|
|
289
300
|
@builtins.property
|
|
290
301
|
def formatter(self) -> typing.Optional[builtins.bool]:
|
|
291
|
-
'''(experimental) Enable code formatter.
|
|
302
|
+
'''(experimental) Enable code formatter with recommended settings.
|
|
292
303
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
:default: false
|
|
304
|
+
:default: true
|
|
296
305
|
|
|
297
306
|
:stability: experimental
|
|
298
307
|
'''
|
|
@@ -301,9 +310,7 @@ class BiomeOptions:
|
|
|
301
310
|
|
|
302
311
|
@builtins.property
|
|
303
312
|
def linter(self) -> typing.Optional[builtins.bool]:
|
|
304
|
-
'''(experimental) Enable linting.
|
|
305
|
-
|
|
306
|
-
Replaces Eslint.
|
|
313
|
+
'''(experimental) Enable linting with recommended rules.
|
|
307
314
|
|
|
308
315
|
:default: true
|
|
309
316
|
|
|
@@ -325,24 +332,11 @@ class BiomeOptions:
|
|
|
325
332
|
result = self._values.get("merge_arrays_in_configuration")
|
|
326
333
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
327
334
|
|
|
328
|
-
@builtins.property
|
|
329
|
-
def organize_imports(self) -> typing.Optional[builtins.bool]:
|
|
330
|
-
'''(experimental) Enable import sorting/organizing.
|
|
331
|
-
|
|
332
|
-
Replaces mainly Prettier
|
|
333
|
-
|
|
334
|
-
:default: false
|
|
335
|
-
|
|
336
|
-
:stability: experimental
|
|
337
|
-
'''
|
|
338
|
-
result = self._values.get("organize_imports")
|
|
339
|
-
return typing.cast(typing.Optional[builtins.bool], result)
|
|
340
|
-
|
|
341
335
|
@builtins.property
|
|
342
336
|
def version(self) -> typing.Optional[builtins.str]:
|
|
343
337
|
'''(experimental) Version of Biome to use.
|
|
344
338
|
|
|
345
|
-
:default: "^
|
|
339
|
+
:default: "^2"
|
|
346
340
|
|
|
347
341
|
:stability: experimental
|
|
348
342
|
'''
|
|
@@ -16139,11 +16133,11 @@ from . import biome_config
|
|
|
16139
16133
|
def _typecheckingstub__9f2264088409136f62af7e2ac4488206c06c3b9a69056be8b9ead20ab895f1bc(
|
|
16140
16134
|
project: NodeProject,
|
|
16141
16135
|
*,
|
|
16142
|
-
|
|
16136
|
+
assist: typing.Optional[builtins.bool] = None,
|
|
16137
|
+
biome_config: typing.Optional[typing.Union[_BiomeConfiguration_dd1a6c83, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16143
16138
|
formatter: typing.Optional[builtins.bool] = None,
|
|
16144
16139
|
linter: typing.Optional[builtins.bool] = None,
|
|
16145
16140
|
merge_arrays_in_configuration: typing.Optional[builtins.bool] = None,
|
|
16146
|
-
organize_imports: typing.Optional[builtins.bool] = None,
|
|
16147
16141
|
version: typing.Optional[builtins.str] = None,
|
|
16148
16142
|
) -> None:
|
|
16149
16143
|
"""Type checking stubs"""
|
|
@@ -16155,7 +16149,7 @@ def _typecheckingstub__02197aa3a69f17c43ff359679227be724559aba6ef0881da4e04e9a0b
|
|
|
16155
16149
|
"""Type checking stubs"""
|
|
16156
16150
|
pass
|
|
16157
16151
|
|
|
16158
|
-
def
|
|
16152
|
+
def _typecheckingstub__5609a4432d207b19ee177e477fdf5e275031b8ec1346b00ac4bbfdf93f688757(
|
|
16159
16153
|
pattern: builtins.str,
|
|
16160
16154
|
) -> None:
|
|
16161
16155
|
"""Type checking stubs"""
|
|
@@ -16163,11 +16157,11 @@ def _typecheckingstub__2b6d2bb84dd9b7c5eb08b33b88046ee37fd213655ef24dbb058f24785
|
|
|
16163
16157
|
|
|
16164
16158
|
def _typecheckingstub__b53a2988afa9afc23bda2fe96e2de8ffaff18ab919e00b69a6c8d3d229f3dcc1(
|
|
16165
16159
|
*,
|
|
16166
|
-
|
|
16160
|
+
assist: typing.Optional[builtins.bool] = None,
|
|
16161
|
+
biome_config: typing.Optional[typing.Union[_BiomeConfiguration_dd1a6c83, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16167
16162
|
formatter: typing.Optional[builtins.bool] = None,
|
|
16168
16163
|
linter: typing.Optional[builtins.bool] = None,
|
|
16169
16164
|
merge_arrays_in_configuration: typing.Optional[builtins.bool] = None,
|
|
16170
|
-
organize_imports: typing.Optional[builtins.bool] = None,
|
|
16171
16165
|
version: typing.Optional[builtins.str] = None,
|
|
16172
16166
|
) -> None:
|
|
16173
16167
|
"""Type checking stubs"""
|