projen 0.79.4__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 +1234 -86
- projen/_jsii/__init__.py +20 -2
- projen/_jsii/projen@0.98.25.jsii.tgz +0 -0
- projen/awscdk/__init__.py +1758 -230
- projen/build/__init__.py +290 -129
- projen/cdk/__init__.py +1030 -151
- projen/cdk8s/__init__.py +833 -109
- projen/cdktf/__init__.py +389 -50
- projen/circleci/__init__.py +35 -1
- projen/github/__init__.py +2224 -312
- projen/github/workflows/__init__.py +403 -17
- projen/gitlab/__init__.py +241 -8
- projen/java/__init__.py +471 -4
- projen/javascript/__init__.py +2276 -143
- projen/javascript/biome_config/__init__.py +5461 -0
- projen/python/__init__.py +3390 -1037
- projen/python/uv_config/__init__.py +3933 -0
- projen/release/__init__.py +1080 -138
- projen/typescript/__init__.py +992 -118
- projen/vscode/__init__.py +22 -1
- projen/web/__init__.py +1456 -163
- {projen-0.79.4.data → projen-0.98.25.data}/scripts/projen +1 -1
- {projen-0.79.4.dist-info → projen-0.98.25.dist-info}/METADATA +42 -41
- projen-0.98.25.dist-info/RECORD +28 -0
- {projen-0.79.4.dist-info → projen-0.98.25.dist-info}/WHEEL +1 -1
- projen/_jsii/projen@0.79.4.jsii.tgz +0 -0
- projen-0.79.4.dist-info/RECORD +0 -26
- {projen-0.79.4.dist-info → projen-0.98.25.dist-info}/LICENSE +0 -0
- {projen-0.79.4.dist-info → projen-0.98.25.dist-info}/top_level.txt +0 -0
projen/circleci/__init__.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
from pkgutil import extend_path
|
|
2
|
+
__path__ = extend_path(__path__, __name__)
|
|
3
|
+
|
|
1
4
|
import abc
|
|
2
5
|
import builtins
|
|
3
6
|
import datetime
|
|
@@ -8,7 +11,22 @@ import jsii
|
|
|
8
11
|
import publication
|
|
9
12
|
import typing_extensions
|
|
10
13
|
|
|
11
|
-
|
|
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
|
|
12
30
|
|
|
13
31
|
from .._jsii import *
|
|
14
32
|
|
|
@@ -518,6 +536,7 @@ class FilterConfig:
|
|
|
518
536
|
jsii_struct_bases=[],
|
|
519
537
|
name_mapping={
|
|
520
538
|
"identifier": "identifier",
|
|
539
|
+
"circleci_ip_ranges": "circleciIpRanges",
|
|
521
540
|
"docker": "docker",
|
|
522
541
|
"environment": "environment",
|
|
523
542
|
"machine": "machine",
|
|
@@ -535,6 +554,7 @@ class Job:
|
|
|
535
554
|
self,
|
|
536
555
|
*,
|
|
537
556
|
identifier: builtins.str,
|
|
557
|
+
circleci_ip_ranges: typing.Optional[builtins.bool] = None,
|
|
538
558
|
docker: typing.Optional[typing.Sequence[typing.Union[Docker, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
539
559
|
environment: typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, jsii.Number, builtins.bool]]] = None,
|
|
540
560
|
machine: typing.Optional[typing.Union["Machine", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -554,6 +574,7 @@ class Job:
|
|
|
554
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.
|
|
555
575
|
|
|
556
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.
|
|
557
578
|
:param docker:
|
|
558
579
|
:param environment: (experimental) A map of environment variable names and values.
|
|
559
580
|
:param machine:
|
|
@@ -575,6 +596,7 @@ class Job:
|
|
|
575
596
|
if __debug__:
|
|
576
597
|
type_hints = typing.get_type_hints(_typecheckingstub__97531d78e2f2b3c8448832e412f0f67b6d3bebdd7fffb6c833ae2f02941f25ce)
|
|
577
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"])
|
|
578
600
|
check_type(argname="argument docker", value=docker, expected_type=type_hints["docker"])
|
|
579
601
|
check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
|
|
580
602
|
check_type(argname="argument machine", value=machine, expected_type=type_hints["machine"])
|
|
@@ -588,6 +610,8 @@ class Job:
|
|
|
588
610
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
589
611
|
"identifier": identifier,
|
|
590
612
|
}
|
|
613
|
+
if circleci_ip_ranges is not None:
|
|
614
|
+
self._values["circleci_ip_ranges"] = circleci_ip_ranges
|
|
591
615
|
if docker is not None:
|
|
592
616
|
self._values["docker"] = docker
|
|
593
617
|
if environment is not None:
|
|
@@ -619,6 +643,15 @@ class Job:
|
|
|
619
643
|
assert result is not None, "Required property 'identifier' is missing"
|
|
620
644
|
return typing.cast(builtins.str, result)
|
|
621
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
|
+
|
|
622
655
|
@builtins.property
|
|
623
656
|
def docker(self) -> typing.Optional[typing.List[Docker]]:
|
|
624
657
|
'''
|
|
@@ -1746,6 +1779,7 @@ def _typecheckingstub__81f19b9f6bd71e5aa29ece449d79c7c236857bb54e3c624432e34d8cb
|
|
|
1746
1779
|
def _typecheckingstub__97531d78e2f2b3c8448832e412f0f67b6d3bebdd7fffb6c833ae2f02941f25ce(
|
|
1747
1780
|
*,
|
|
1748
1781
|
identifier: builtins.str,
|
|
1782
|
+
circleci_ip_ranges: typing.Optional[builtins.bool] = None,
|
|
1749
1783
|
docker: typing.Optional[typing.Sequence[typing.Union[Docker, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1750
1784
|
environment: typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, jsii.Number, builtins.bool]]] = None,
|
|
1751
1785
|
machine: typing.Optional[typing.Union[Machine, typing.Dict[builtins.str, typing.Any]]] = None,
|