projen 0.81.17__py3-none-any.whl → 0.98.25__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.
- projen/__init__.py +1020 -55
- projen/_jsii/__init__.py +17 -2
- projen/_jsii/projen@0.98.25.jsii.tgz +0 -0
- projen/awscdk/__init__.py +1503 -163
- projen/build/__init__.py +79 -44
- projen/cdk/__init__.py +877 -129
- projen/cdk8s/__init__.py +681 -67
- projen/cdktf/__init__.py +318 -36
- projen/circleci/__init__.py +32 -1
- projen/github/__init__.py +1250 -76
- projen/github/workflows/__init__.py +400 -17
- projen/gitlab/__init__.py +234 -4
- projen/java/__init__.py +296 -4
- projen/javascript/__init__.py +1294 -81
- projen/javascript/biome_config/__init__.py +5461 -0
- projen/python/__init__.py +2010 -189
- projen/python/uv_config/__init__.py +3933 -0
- projen/release/__init__.py +921 -141
- projen/typescript/__init__.py +851 -93
- projen/vscode/__init__.py +19 -1
- projen/web/__init__.py +1196 -119
- {projen-0.81.17.data → projen-0.98.25.data}/scripts/projen +1 -1
- {projen-0.81.17.dist-info → projen-0.98.25.dist-info}/METADATA +6 -15
- projen-0.98.25.dist-info/RECORD +28 -0
- {projen-0.81.17.dist-info → projen-0.98.25.dist-info}/WHEEL +1 -1
- projen/_jsii/projen@0.81.17.jsii.tgz +0 -0
- projen-0.81.17.dist-info/RECORD +0 -26
- {projen-0.81.17.dist-info → projen-0.98.25.dist-info}/LICENSE +0 -0
- {projen-0.81.17.dist-info → projen-0.98.25.dist-info}/top_level.txt +0 -0
projen/circleci/__init__.py
CHANGED
|
@@ -11,7 +11,22 @@ import jsii
|
|
|
11
11
|
import publication
|
|
12
12
|
import typing_extensions
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
import typeguard
|
|
15
|
+
from importlib.metadata import version as _metadata_package_version
|
|
16
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
17
|
+
|
|
18
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
19
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
20
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
21
|
+
else:
|
|
22
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
23
|
+
pass
|
|
24
|
+
else:
|
|
25
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
26
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
27
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
28
|
+
else:
|
|
29
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
15
30
|
|
|
16
31
|
from .._jsii import *
|
|
17
32
|
|
|
@@ -521,6 +536,7 @@ class FilterConfig:
|
|
|
521
536
|
jsii_struct_bases=[],
|
|
522
537
|
name_mapping={
|
|
523
538
|
"identifier": "identifier",
|
|
539
|
+
"circleci_ip_ranges": "circleciIpRanges",
|
|
524
540
|
"docker": "docker",
|
|
525
541
|
"environment": "environment",
|
|
526
542
|
"machine": "machine",
|
|
@@ -538,6 +554,7 @@ class Job:
|
|
|
538
554
|
self,
|
|
539
555
|
*,
|
|
540
556
|
identifier: builtins.str,
|
|
557
|
+
circleci_ip_ranges: typing.Optional[builtins.bool] = None,
|
|
541
558
|
docker: typing.Optional[typing.Sequence[typing.Union[Docker, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
542
559
|
environment: typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, jsii.Number, builtins.bool]]] = None,
|
|
543
560
|
machine: typing.Optional[typing.Union["Machine", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -557,6 +574,7 @@ class Job:
|
|
|
557
574
|
Each job consists of the job’s name as a key and a map as a value. A name should be case insensitive unique within a current jobs list.
|
|
558
575
|
|
|
559
576
|
:param identifier: (experimental) name of dynamic key *.
|
|
577
|
+
:param circleci_ip_ranges: (experimental) Enables jobs to go through a set of well-defined IP address ranges.
|
|
560
578
|
:param docker:
|
|
561
579
|
:param environment: (experimental) A map of environment variable names and values.
|
|
562
580
|
:param machine:
|
|
@@ -578,6 +596,7 @@ class Job:
|
|
|
578
596
|
if __debug__:
|
|
579
597
|
type_hints = typing.get_type_hints(_typecheckingstub__97531d78e2f2b3c8448832e412f0f67b6d3bebdd7fffb6c833ae2f02941f25ce)
|
|
580
598
|
check_type(argname="argument identifier", value=identifier, expected_type=type_hints["identifier"])
|
|
599
|
+
check_type(argname="argument circleci_ip_ranges", value=circleci_ip_ranges, expected_type=type_hints["circleci_ip_ranges"])
|
|
581
600
|
check_type(argname="argument docker", value=docker, expected_type=type_hints["docker"])
|
|
582
601
|
check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
|
|
583
602
|
check_type(argname="argument machine", value=machine, expected_type=type_hints["machine"])
|
|
@@ -591,6 +610,8 @@ class Job:
|
|
|
591
610
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
592
611
|
"identifier": identifier,
|
|
593
612
|
}
|
|
613
|
+
if circleci_ip_ranges is not None:
|
|
614
|
+
self._values["circleci_ip_ranges"] = circleci_ip_ranges
|
|
594
615
|
if docker is not None:
|
|
595
616
|
self._values["docker"] = docker
|
|
596
617
|
if environment is not None:
|
|
@@ -622,6 +643,15 @@ class Job:
|
|
|
622
643
|
assert result is not None, "Required property 'identifier' is missing"
|
|
623
644
|
return typing.cast(builtins.str, result)
|
|
624
645
|
|
|
646
|
+
@builtins.property
|
|
647
|
+
def circleci_ip_ranges(self) -> typing.Optional[builtins.bool]:
|
|
648
|
+
'''(experimental) Enables jobs to go through a set of well-defined IP address ranges.
|
|
649
|
+
|
|
650
|
+
:stability: experimental
|
|
651
|
+
'''
|
|
652
|
+
result = self._values.get("circleci_ip_ranges")
|
|
653
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
654
|
+
|
|
625
655
|
@builtins.property
|
|
626
656
|
def docker(self) -> typing.Optional[typing.List[Docker]]:
|
|
627
657
|
'''
|
|
@@ -1749,6 +1779,7 @@ def _typecheckingstub__81f19b9f6bd71e5aa29ece449d79c7c236857bb54e3c624432e34d8cb
|
|
|
1749
1779
|
def _typecheckingstub__97531d78e2f2b3c8448832e412f0f67b6d3bebdd7fffb6c833ae2f02941f25ce(
|
|
1750
1780
|
*,
|
|
1751
1781
|
identifier: builtins.str,
|
|
1782
|
+
circleci_ip_ranges: typing.Optional[builtins.bool] = None,
|
|
1752
1783
|
docker: typing.Optional[typing.Sequence[typing.Union[Docker, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1753
1784
|
environment: typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, jsii.Number, builtins.bool]]] = None,
|
|
1754
1785
|
machine: typing.Optional[typing.Union[Machine, typing.Dict[builtins.str, typing.Any]]] = None,
|