projen 0.94.1__tar.gz → 0.94.2__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.

Files changed (35) hide show
  1. {projen-0.94.1/src/projen.egg-info → projen-0.94.2}/PKG-INFO +1 -1
  2. {projen-0.94.1 → projen-0.94.2}/setup.py +2 -2
  3. {projen-0.94.1 → projen-0.94.2}/src/projen/_jsii/__init__.py +1 -1
  4. {projen-0.94.1 → projen-0.94.2}/src/projen/_jsii/bin/projen +1 -1
  5. projen-0.94.2/src/projen/_jsii/projen@0.94.2.jsii.tgz +0 -0
  6. {projen-0.94.1 → projen-0.94.2}/src/projen/github/__init__.py +82 -27
  7. {projen-0.94.1 → projen-0.94.2/src/projen.egg-info}/PKG-INFO +1 -1
  8. {projen-0.94.1 → projen-0.94.2}/src/projen.egg-info/SOURCES.txt +1 -1
  9. projen-0.94.1/src/projen/_jsii/projen@0.94.1.jsii.tgz +0 -0
  10. {projen-0.94.1 → projen-0.94.2}/LICENSE +0 -0
  11. {projen-0.94.1 → projen-0.94.2}/MANIFEST.in +0 -0
  12. {projen-0.94.1 → projen-0.94.2}/README.md +0 -0
  13. {projen-0.94.1 → projen-0.94.2}/pyproject.toml +0 -0
  14. {projen-0.94.1 → projen-0.94.2}/setup.cfg +0 -0
  15. {projen-0.94.1 → projen-0.94.2}/src/projen/__init__.py +0 -0
  16. {projen-0.94.1 → projen-0.94.2}/src/projen/awscdk/__init__.py +0 -0
  17. {projen-0.94.1 → projen-0.94.2}/src/projen/build/__init__.py +0 -0
  18. {projen-0.94.1 → projen-0.94.2}/src/projen/cdk/__init__.py +0 -0
  19. {projen-0.94.1 → projen-0.94.2}/src/projen/cdk8s/__init__.py +0 -0
  20. {projen-0.94.1 → projen-0.94.2}/src/projen/cdktf/__init__.py +0 -0
  21. {projen-0.94.1 → projen-0.94.2}/src/projen/circleci/__init__.py +0 -0
  22. {projen-0.94.1 → projen-0.94.2}/src/projen/github/workflows/__init__.py +0 -0
  23. {projen-0.94.1 → projen-0.94.2}/src/projen/gitlab/__init__.py +0 -0
  24. {projen-0.94.1 → projen-0.94.2}/src/projen/java/__init__.py +0 -0
  25. {projen-0.94.1 → projen-0.94.2}/src/projen/javascript/__init__.py +0 -0
  26. {projen-0.94.1 → projen-0.94.2}/src/projen/javascript/biome_config/__init__.py +0 -0
  27. {projen-0.94.1 → projen-0.94.2}/src/projen/py.typed +0 -0
  28. {projen-0.94.1 → projen-0.94.2}/src/projen/python/__init__.py +0 -0
  29. {projen-0.94.1 → projen-0.94.2}/src/projen/release/__init__.py +0 -0
  30. {projen-0.94.1 → projen-0.94.2}/src/projen/typescript/__init__.py +0 -0
  31. {projen-0.94.1 → projen-0.94.2}/src/projen/vscode/__init__.py +0 -0
  32. {projen-0.94.1 → projen-0.94.2}/src/projen/web/__init__.py +0 -0
  33. {projen-0.94.1 → projen-0.94.2}/src/projen.egg-info/dependency_links.txt +0 -0
  34. {projen-0.94.1 → projen-0.94.2}/src/projen.egg-info/requires.txt +0 -0
  35. {projen-0.94.1 → projen-0.94.2}/src/projen.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: projen
3
- Version: 0.94.1
3
+ Version: 0.94.2
4
4
  Summary: CDK for software projects
5
5
  Home-page: https://github.com/projen/projen.git
6
6
  Author: Amazon Web Services
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "projen",
8
- "version": "0.94.1",
8
+ "version": "0.94.2",
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.94.1.jsii.tgz"
46
+ "projen@0.94.2.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.94.1", __name__[0:-6], "projen@0.94.1.jsii.tgz"
34
+ "projen", "0.94.2", __name__[0:-6], "projen@0.94.2.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.94.1", "projen", "projen@0.94.1.jsii.tgz"
11
+ "projen", "0.94.2", "projen", "projen@0.94.2.jsii.tgz"
12
12
  )
13
13
 
14
14
  exit_code = __jsii_assembly__.invokeBinScript("projen", "projen", sys.argv[1:])
@@ -4999,8 +4999,8 @@ class Mergify(
4999
4999
  ) -> None:
5000
5000
  '''
5001
5001
  :param github: -
5002
- :param queues:
5003
- :param rules:
5002
+ :param queues: (experimental) The available merge queues.
5003
+ :param rules: (experimental) Pull request automation rules.
5004
5004
 
5005
5005
  :stability: experimental
5006
5006
  '''
@@ -5016,25 +5016,31 @@ class Mergify(
5016
5016
  self,
5017
5017
  *,
5018
5018
  commit_message_template: builtins.str,
5019
- conditions: typing.Sequence[typing.Union[builtins.str, typing.Union["MergifyConditionalOperator", typing.Dict[builtins.str, typing.Any]]]],
5020
5019
  name: builtins.str,
5020
+ conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union["MergifyConditionalOperator", typing.Dict[builtins.str, typing.Any]]]]] = None,
5021
+ merge_conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union["MergifyConditionalOperator", typing.Dict[builtins.str, typing.Any]]]]] = None,
5021
5022
  merge_method: typing.Optional[builtins.str] = None,
5023
+ queue_conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union["MergifyConditionalOperator", typing.Dict[builtins.str, typing.Any]]]]] = None,
5022
5024
  update_method: typing.Optional[builtins.str] = None,
5023
5025
  ) -> None:
5024
5026
  '''
5025
5027
  :param commit_message_template: (experimental) Template to use as the commit message when using the merge or squash merge method.
5026
- :param conditions: (experimental) A list of Conditions string that must match against the pull request for the pull request to be added to the queue.
5027
5028
  :param name: (experimental) The name of the queue.
5029
+ :param conditions: (deprecated) The list of conditions that needs to match to queue the pull request.
5030
+ :param merge_conditions: (experimental) The list of conditions to match to get the queued pull request merged. This automatically includes the queueConditions. In case of speculative merge pull request, the merge conditions are evaluated against the temporary pull request instead of the original one.
5028
5031
  :param merge_method: (experimental) Merge method to use. Possible values are ``merge``, ``squash``, ``rebase`` or ``fast-forward``. ``fast-forward`` is not supported on queues with ``speculative_checks`` > 1, ``batch_size`` > 1, or with ``allow_inplace_checks`` set to false. Default: "merge"
5032
+ :param queue_conditions: (experimental) The list of conditions that needs to match to queue the pull request.
5029
5033
  :param update_method: (experimental) Method to use to update the pull request with its base branch when the speculative check is done in-place. Possible values: - ``merge`` to merge the base branch into the pull request. - ``rebase`` to rebase the pull request against its base branch. Note that the ``rebase`` method has some drawbacks, see Mergify docs for details. Default: - ``merge`` for all merge methods except ``fast-forward`` where ``rebase`` is used
5030
5034
 
5031
5035
  :stability: experimental
5032
5036
  '''
5033
5037
  queue = MergifyQueue(
5034
5038
  commit_message_template=commit_message_template,
5035
- conditions=conditions,
5036
5039
  name=name,
5040
+ conditions=conditions,
5041
+ merge_conditions=merge_conditions,
5037
5042
  merge_method=merge_method,
5043
+ queue_conditions=queue_conditions,
5038
5044
  update_method=update_method,
5039
5045
  )
5040
5046
 
@@ -5136,10 +5142,14 @@ class MergifyOptions:
5136
5142
  queues: typing.Optional[typing.Sequence[typing.Union["MergifyQueue", typing.Dict[builtins.str, typing.Any]]]] = None,
5137
5143
  rules: typing.Optional[typing.Sequence[typing.Union["MergifyRule", typing.Dict[builtins.str, typing.Any]]]] = None,
5138
5144
  ) -> None:
5139
- '''
5140
- :param queues:
5141
- :param rules:
5145
+ '''(experimental) Configure Mergify.
5142
5146
 
5147
+ This currently only offers a subset of options available.
5148
+
5149
+ :param queues: (experimental) The available merge queues.
5150
+ :param rules: (experimental) Pull request automation rules.
5151
+
5152
+ :see: https://docs.mergify.com/configuration/file-format/
5143
5153
  :stability: experimental
5144
5154
  '''
5145
5155
  if __debug__:
@@ -5154,7 +5164,8 @@ class MergifyOptions:
5154
5164
 
5155
5165
  @builtins.property
5156
5166
  def queues(self) -> typing.Optional[typing.List["MergifyQueue"]]:
5157
- '''
5167
+ '''(experimental) The available merge queues.
5168
+
5158
5169
  :stability: experimental
5159
5170
  '''
5160
5171
  result = self._values.get("queues")
@@ -5162,7 +5173,8 @@ class MergifyOptions:
5162
5173
 
5163
5174
  @builtins.property
5164
5175
  def rules(self) -> typing.Optional[typing.List["MergifyRule"]]:
5165
- '''
5176
+ '''(experimental) Pull request automation rules.
5177
+
5166
5178
  :stability: experimental
5167
5179
  '''
5168
5180
  result = self._values.get("rules")
@@ -5185,9 +5197,11 @@ class MergifyOptions:
5185
5197
  jsii_struct_bases=[],
5186
5198
  name_mapping={
5187
5199
  "commit_message_template": "commitMessageTemplate",
5188
- "conditions": "conditions",
5189
5200
  "name": "name",
5201
+ "conditions": "conditions",
5202
+ "merge_conditions": "mergeConditions",
5190
5203
  "merge_method": "mergeMethod",
5204
+ "queue_conditions": "queueConditions",
5191
5205
  "update_method": "updateMethod",
5192
5206
  },
5193
5207
  )
@@ -5196,16 +5210,20 @@ class MergifyQueue:
5196
5210
  self,
5197
5211
  *,
5198
5212
  commit_message_template: builtins.str,
5199
- conditions: typing.Sequence[typing.Union[builtins.str, typing.Union[MergifyConditionalOperator, typing.Dict[builtins.str, typing.Any]]]],
5200
5213
  name: builtins.str,
5214
+ conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union[MergifyConditionalOperator, typing.Dict[builtins.str, typing.Any]]]]] = None,
5215
+ merge_conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union[MergifyConditionalOperator, typing.Dict[builtins.str, typing.Any]]]]] = None,
5201
5216
  merge_method: typing.Optional[builtins.str] = None,
5217
+ queue_conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union[MergifyConditionalOperator, typing.Dict[builtins.str, typing.Any]]]]] = None,
5202
5218
  update_method: typing.Optional[builtins.str] = None,
5203
5219
  ) -> None:
5204
5220
  '''
5205
5221
  :param commit_message_template: (experimental) Template to use as the commit message when using the merge or squash merge method.
5206
- :param conditions: (experimental) A list of Conditions string that must match against the pull request for the pull request to be added to the queue.
5207
5222
  :param name: (experimental) The name of the queue.
5223
+ :param conditions: (deprecated) The list of conditions that needs to match to queue the pull request.
5224
+ :param merge_conditions: (experimental) The list of conditions to match to get the queued pull request merged. This automatically includes the queueConditions. In case of speculative merge pull request, the merge conditions are evaluated against the temporary pull request instead of the original one.
5208
5225
  :param merge_method: (experimental) Merge method to use. Possible values are ``merge``, ``squash``, ``rebase`` or ``fast-forward``. ``fast-forward`` is not supported on queues with ``speculative_checks`` > 1, ``batch_size`` > 1, or with ``allow_inplace_checks`` set to false. Default: "merge"
5226
+ :param queue_conditions: (experimental) The list of conditions that needs to match to queue the pull request.
5209
5227
  :param update_method: (experimental) Method to use to update the pull request with its base branch when the speculative check is done in-place. Possible values: - ``merge`` to merge the base branch into the pull request. - ``rebase`` to rebase the pull request against its base branch. Note that the ``rebase`` method has some drawbacks, see Mergify docs for details. Default: - ``merge`` for all merge methods except ``fast-forward`` where ``rebase`` is used
5210
5228
 
5211
5229
  :stability: experimental
@@ -5213,17 +5231,24 @@ class MergifyQueue:
5213
5231
  if __debug__:
5214
5232
  type_hints = typing.get_type_hints(_typecheckingstub__0471efd0a49bc64e556512e765a1df23d4a975f26cb6de765579b4173907f467)
5215
5233
  check_type(argname="argument commit_message_template", value=commit_message_template, expected_type=type_hints["commit_message_template"])
5216
- check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
5217
5234
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
5235
+ check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
5236
+ check_type(argname="argument merge_conditions", value=merge_conditions, expected_type=type_hints["merge_conditions"])
5218
5237
  check_type(argname="argument merge_method", value=merge_method, expected_type=type_hints["merge_method"])
5238
+ check_type(argname="argument queue_conditions", value=queue_conditions, expected_type=type_hints["queue_conditions"])
5219
5239
  check_type(argname="argument update_method", value=update_method, expected_type=type_hints["update_method"])
5220
5240
  self._values: typing.Dict[builtins.str, typing.Any] = {
5221
5241
  "commit_message_template": commit_message_template,
5222
- "conditions": conditions,
5223
5242
  "name": name,
5224
5243
  }
5244
+ if conditions is not None:
5245
+ self._values["conditions"] = conditions
5246
+ if merge_conditions is not None:
5247
+ self._values["merge_conditions"] = merge_conditions
5225
5248
  if merge_method is not None:
5226
5249
  self._values["merge_method"] = merge_method
5250
+ if queue_conditions is not None:
5251
+ self._values["queue_conditions"] = queue_conditions
5227
5252
  if update_method is not None:
5228
5253
  self._values["update_method"] = update_method
5229
5254
 
@@ -5237,28 +5262,44 @@ class MergifyQueue:
5237
5262
  assert result is not None, "Required property 'commit_message_template' is missing"
5238
5263
  return typing.cast(builtins.str, result)
5239
5264
 
5265
+ @builtins.property
5266
+ def name(self) -> builtins.str:
5267
+ '''(experimental) The name of the queue.
5268
+
5269
+ :stability: experimental
5270
+ '''
5271
+ result = self._values.get("name")
5272
+ assert result is not None, "Required property 'name' is missing"
5273
+ return typing.cast(builtins.str, result)
5274
+
5240
5275
  @builtins.property
5241
5276
  def conditions(
5242
5277
  self,
5243
- ) -> typing.List[typing.Union[builtins.str, MergifyConditionalOperator]]:
5244
- '''(experimental) A list of Conditions string that must match against the pull request for the pull request to be added to the queue.
5278
+ ) -> typing.Optional[typing.List[typing.Union[builtins.str, MergifyConditionalOperator]]]:
5279
+ '''(deprecated) The list of conditions that needs to match to queue the pull request.
5245
5280
 
5246
- :see: https://docs.mergify.com/conditions/#conditions
5247
- :stability: experimental
5281
+ :deprecated: use ``queueConditions`` instead
5282
+
5283
+ :see: https://docs.mergify.com/configuration/file-format/#queue-rules
5284
+ :stability: deprecated
5248
5285
  '''
5249
5286
  result = self._values.get("conditions")
5250
- assert result is not None, "Required property 'conditions' is missing"
5251
- return typing.cast(typing.List[typing.Union[builtins.str, MergifyConditionalOperator]], result)
5287
+ return typing.cast(typing.Optional[typing.List[typing.Union[builtins.str, MergifyConditionalOperator]]], result)
5252
5288
 
5253
5289
  @builtins.property
5254
- def name(self) -> builtins.str:
5255
- '''(experimental) The name of the queue.
5290
+ def merge_conditions(
5291
+ self,
5292
+ ) -> typing.Optional[typing.List[typing.Union[builtins.str, MergifyConditionalOperator]]]:
5293
+ '''(experimental) The list of conditions to match to get the queued pull request merged.
5294
+
5295
+ This automatically includes the queueConditions.
5296
+ In case of speculative merge pull request, the merge conditions are evaluated against the temporary pull request instead of the original one.
5256
5297
 
5298
+ :see: https://docs.mergify.com/conditions/#conditions
5257
5299
  :stability: experimental
5258
5300
  '''
5259
- result = self._values.get("name")
5260
- assert result is not None, "Required property 'name' is missing"
5261
- return typing.cast(builtins.str, result)
5301
+ result = self._values.get("merge_conditions")
5302
+ return typing.cast(typing.Optional[typing.List[typing.Union[builtins.str, MergifyConditionalOperator]]], result)
5262
5303
 
5263
5304
  @builtins.property
5264
5305
  def merge_method(self) -> typing.Optional[builtins.str]:
@@ -5274,6 +5315,18 @@ class MergifyQueue:
5274
5315
  result = self._values.get("merge_method")
5275
5316
  return typing.cast(typing.Optional[builtins.str], result)
5276
5317
 
5318
+ @builtins.property
5319
+ def queue_conditions(
5320
+ self,
5321
+ ) -> typing.Optional[typing.List[typing.Union[builtins.str, MergifyConditionalOperator]]]:
5322
+ '''(experimental) The list of conditions that needs to match to queue the pull request.
5323
+
5324
+ :see: https://docs.mergify.com/conditions/#conditions
5325
+ :stability: experimental
5326
+ '''
5327
+ result = self._values.get("queue_conditions")
5328
+ return typing.cast(typing.Optional[typing.List[typing.Union[builtins.str, MergifyConditionalOperator]]], result)
5329
+
5277
5330
  @builtins.property
5278
5331
  def update_method(self) -> typing.Optional[builtins.str]:
5279
5332
  '''(experimental) Method to use to update the pull request with its base branch when the speculative check is done in-place.
@@ -9577,9 +9630,11 @@ def _typecheckingstub__527734fcd5357c536553ff5f47fe5062b93958305a451f587c870879e
9577
9630
  def _typecheckingstub__0471efd0a49bc64e556512e765a1df23d4a975f26cb6de765579b4173907f467(
9578
9631
  *,
9579
9632
  commit_message_template: builtins.str,
9580
- conditions: typing.Sequence[typing.Union[builtins.str, typing.Union[MergifyConditionalOperator, typing.Dict[builtins.str, typing.Any]]]],
9581
9633
  name: builtins.str,
9634
+ conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union[MergifyConditionalOperator, typing.Dict[builtins.str, typing.Any]]]]] = None,
9635
+ merge_conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union[MergifyConditionalOperator, typing.Dict[builtins.str, typing.Any]]]]] = None,
9582
9636
  merge_method: typing.Optional[builtins.str] = None,
9637
+ queue_conditions: typing.Optional[typing.Sequence[typing.Union[builtins.str, typing.Union[MergifyConditionalOperator, typing.Dict[builtins.str, typing.Any]]]]] = None,
9583
9638
  update_method: typing.Optional[builtins.str] = None,
9584
9639
  ) -> None:
9585
9640
  """Type checking stubs"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: projen
3
- Version: 0.94.1
3
+ Version: 0.94.2
4
4
  Summary: CDK for software projects
5
5
  Home-page: https://github.com/projen/projen.git
6
6
  Author: Amazon Web Services
@@ -11,7 +11,7 @@ src/projen.egg-info/dependency_links.txt
11
11
  src/projen.egg-info/requires.txt
12
12
  src/projen.egg-info/top_level.txt
13
13
  src/projen/_jsii/__init__.py
14
- src/projen/_jsii/projen@0.94.1.jsii.tgz
14
+ src/projen/_jsii/projen@0.94.2.jsii.tgz
15
15
  src/projen/_jsii/bin/projen
16
16
  src/projen/awscdk/__init__.py
17
17
  src/projen/build/__init__.py
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes