projen 0.94.0__py3-none-any.whl → 0.94.2__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 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.94.0", __name__[0:-6], "projen@0.94.0.jsii.tgz"
34
+ "projen", "0.94.2", __name__[0:-6], "projen@0.94.2.jsii.tgz"
35
35
  )
36
36
 
37
37
  __all__ = [
Binary file
projen/github/__init__.py CHANGED
@@ -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"""
@@ -75,8 +75,11 @@ from ..javascript import (
75
75
  ProjenrcOptions as _ProjenrcOptions_179dd39f,
76
76
  ScopedPackagesOptions as _ScopedPackagesOptions_52f0a477,
77
77
  TypeScriptCompilerOptions as _TypeScriptCompilerOptions_829fc4b0,
78
+ TypeScriptImportsNotUsedAsValues as _TypeScriptImportsNotUsedAsValues_95cb8527,
79
+ TypeScriptJsxMode as _TypeScriptJsxMode_8489d67f,
80
+ TypeScriptModuleDetection as _TypeScriptModuleDetection_28bd432f,
81
+ TypeScriptModuleResolution as _TypeScriptModuleResolution_56cffb1b,
78
82
  TypescriptConfig as _TypescriptConfig_e4a2920d,
79
- TypescriptConfigExtends as _TypescriptConfigExtends_ba2a99fc,
80
83
  TypescriptConfigOptions as _TypescriptConfigOptions_8c5492cd,
81
84
  UpgradeDependenciesOptions as _UpgradeDependenciesOptions_1d8ce4da,
82
85
  YarnBerryOptions as _YarnBerryOptions_b6942539,
@@ -754,29 +757,197 @@ class TsJestTsconfig(
754
757
  def custom(
755
758
  cls,
756
759
  *,
757
- compiler_options: typing.Optional[typing.Union[_TypeScriptCompilerOptions_829fc4b0, typing.Dict[builtins.str, typing.Any]]] = None,
758
- exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
759
- extends: typing.Optional[_TypescriptConfigExtends_ba2a99fc] = None,
760
- file_name: typing.Optional[builtins.str] = None,
761
- include: typing.Optional[typing.Sequence[builtins.str]] = None,
760
+ allow_arbitrary_extensions: typing.Optional[builtins.bool] = None,
761
+ allow_importing_ts_extensions: typing.Optional[builtins.bool] = None,
762
+ allow_js: typing.Optional[builtins.bool] = None,
763
+ allow_synthetic_default_imports: typing.Optional[builtins.bool] = None,
764
+ allow_unreachable_code: typing.Optional[builtins.bool] = None,
765
+ allow_unused_labels: typing.Optional[builtins.bool] = None,
766
+ always_strict: typing.Optional[builtins.bool] = None,
767
+ base_url: typing.Optional[builtins.str] = None,
768
+ check_js: typing.Optional[builtins.bool] = None,
769
+ custom_conditions: typing.Optional[typing.Sequence[builtins.str]] = None,
770
+ declaration: typing.Optional[builtins.bool] = None,
771
+ declaration_dir: typing.Optional[builtins.str] = None,
772
+ declaration_map: typing.Optional[builtins.bool] = None,
773
+ downlevel_iteration: typing.Optional[builtins.bool] = None,
774
+ emit_declaration_only: typing.Optional[builtins.bool] = None,
775
+ emit_decorator_metadata: typing.Optional[builtins.bool] = None,
776
+ es_module_interop: typing.Optional[builtins.bool] = None,
777
+ exact_optional_property_types: typing.Optional[builtins.bool] = None,
778
+ experimental_decorators: typing.Optional[builtins.bool] = None,
779
+ force_consistent_casing_in_file_names: typing.Optional[builtins.bool] = None,
780
+ imports_not_used_as_values: typing.Optional[_TypeScriptImportsNotUsedAsValues_95cb8527] = None,
781
+ incremental: typing.Optional[builtins.bool] = None,
782
+ inline_source_map: typing.Optional[builtins.bool] = None,
783
+ inline_sources: typing.Optional[builtins.bool] = None,
784
+ isolated_modules: typing.Optional[builtins.bool] = None,
785
+ jsx: typing.Optional[_TypeScriptJsxMode_8489d67f] = None,
786
+ jsx_import_source: typing.Optional[builtins.str] = None,
787
+ lib: typing.Optional[typing.Sequence[builtins.str]] = None,
788
+ module: typing.Optional[builtins.str] = None,
789
+ module_detection: typing.Optional[_TypeScriptModuleDetection_28bd432f] = None,
790
+ module_resolution: typing.Optional[_TypeScriptModuleResolution_56cffb1b] = None,
791
+ no_emit: typing.Optional[builtins.bool] = None,
792
+ no_emit_on_error: typing.Optional[builtins.bool] = None,
793
+ no_fallthrough_cases_in_switch: typing.Optional[builtins.bool] = None,
794
+ no_implicit_any: typing.Optional[builtins.bool] = None,
795
+ no_implicit_override: typing.Optional[builtins.bool] = None,
796
+ no_implicit_returns: typing.Optional[builtins.bool] = None,
797
+ no_implicit_this: typing.Optional[builtins.bool] = None,
798
+ no_property_access_from_index_signature: typing.Optional[builtins.bool] = None,
799
+ no_unchecked_indexed_access: typing.Optional[builtins.bool] = None,
800
+ no_unused_locals: typing.Optional[builtins.bool] = None,
801
+ no_unused_parameters: typing.Optional[builtins.bool] = None,
802
+ out_dir: typing.Optional[builtins.str] = None,
803
+ paths: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[builtins.str]]] = None,
804
+ resolve_json_module: typing.Optional[builtins.bool] = None,
805
+ resolve_package_json_exports: typing.Optional[builtins.bool] = None,
806
+ resolve_package_json_imports: typing.Optional[builtins.bool] = None,
807
+ root_dir: typing.Optional[builtins.str] = None,
808
+ skip_lib_check: typing.Optional[builtins.bool] = None,
809
+ source_map: typing.Optional[builtins.bool] = None,
810
+ source_root: typing.Optional[builtins.str] = None,
811
+ strict: typing.Optional[builtins.bool] = None,
812
+ strict_null_checks: typing.Optional[builtins.bool] = None,
813
+ strict_property_initialization: typing.Optional[builtins.bool] = None,
814
+ strip_internal: typing.Optional[builtins.bool] = None,
815
+ target: typing.Optional[builtins.str] = None,
816
+ ts_build_info_file: typing.Optional[builtins.str] = None,
817
+ type_roots: typing.Optional[typing.Sequence[builtins.str]] = None,
818
+ types: typing.Optional[typing.Sequence[builtins.str]] = None,
819
+ use_unknown_in_catch_variables: typing.Optional[builtins.bool] = None,
820
+ verbatim_module_syntax: typing.Optional[builtins.bool] = None,
762
821
  ) -> "TsJestTsconfig":
763
822
  '''(experimental) Inline compiler options.
764
823
 
765
- :param compiler_options: (experimental) Compiler options to use.
766
- :param exclude: (experimental) Filters results from the "include" option. Default: - node_modules is excluded by default
767
- :param extends: (experimental) Base ``tsconfig.json`` configuration(s) to inherit from.
768
- :param file_name: Default: "tsconfig.json"
769
- :param include: (experimental) Specifies a list of glob patterns that match TypeScript files to be included in compilation. Default: - all .ts files recursively
770
-
771
- :see: TypescriptConfigOptions
772
- :stability: experimental
773
- '''
774
- config = _TypescriptConfigOptions_8c5492cd(
775
- compiler_options=compiler_options,
776
- exclude=exclude,
777
- extends=extends,
778
- file_name=file_name,
779
- include=include,
824
+ :param allow_arbitrary_extensions: (experimental) Suppress arbitrary extension import errors with the assumption that a bundler will be handling it. Default: undefined
825
+ :param allow_importing_ts_extensions: (experimental) Allows TypeScript files to import each other with TypeScript-specific extensions (``.ts``, ``.mts``, ``.tsx``). Requires ``noEmit`` or ``emitDeclarationOnly``. Default: undefined
826
+ :param allow_js: (experimental) Allow JavaScript files to be compiled. Default: false
827
+ :param allow_synthetic_default_imports: (experimental) Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
828
+ :param allow_unreachable_code: (experimental) Allow Unreachable Code. When: - ``undefined`` (default) provide suggestions as warnings to editors - ``true`` unreachable code is ignored - ``false`` raises compiler errors about unreachable code These warnings are only about code which is provably unreachable due to the use of JavaScript syntax.
829
+ :param allow_unused_labels: (experimental) Allow Unused Labels. When: - ``undefined`` (default) provide suggestions as warnings to editors - ``true`` unused labels are ignored - ``false`` raises compiler errors about unused labels Labels are very rare in JavaScript and typically indicate an attempt to write an object literal:: function verifyAge(age: number) { // Forgot 'return' statement if (age > 18) { verified: true; // ^^^^^^^^ Unused label. } }
830
+ :param always_strict: (experimental) Ensures that your files are parsed in the ECMAScript strict mode, and emit “use strict” for each source file. Default: true
831
+ :param base_url: (experimental) Lets you set a base directory to resolve non-absolute module names. You can define a root folder where you can do absolute file resolution.
832
+ :param check_js: (experimental) Check JS. Works in tandem with `allowJs <https://www.typescriptlang.org/tsconfig#allowJs>`_. When checkJs is enabled then errors are reported in JavaScript files. This is the equivalent of including //
833
+ :param custom_conditions: (experimental) List of additional conditions that should succeed when TypeScript resolves from an ``exports`` or ``imports`` field of a ``package.json``. Default: undefined
834
+ :param declaration: (experimental) To be specified along with the above.
835
+ :param declaration_dir: (experimental) Offers a way to configure the root directory for where declaration files are emitted.
836
+ :param declaration_map: (experimental) Generates a source map for .d.ts files which map back to the original .ts source file. This will allow editors such as VS Code to go to the original .ts file when using features like Go to Definition.
837
+ :param downlevel_iteration: (experimental) Downleveling is TypeScript’s term for transpiling to an older version of JavaScript. This flag is to enable support for a more accurate implementation of how modern JavaScript iterates through new concepts in older JavaScript runtimes. ECMAScript 6 added several new iteration primitives: the for / of loop (for (el of arr)), Array spread ([a, ...b]), argument spread (fn(...args)), and Symbol.iterator. downlevelIteration allows for these iteration primitives to be used more accurately in ES5 environments if a Symbol.iterator implementation is present.
838
+ :param emit_declaration_only: (experimental) Only emit .d.ts files; do not emit .js files. Default: false
839
+ :param emit_decorator_metadata: (experimental) Enables experimental support for decorators, which is in stage 2 of the TC39 standardization process. Decorators are a language feature which hasn’t yet been fully ratified into the JavaScript specification. This means that the implementation version in TypeScript may differ from the implementation in JavaScript when it it decided by TC39. You can find out more about decorator support in TypeScript in the handbook. Default: undefined
840
+ :param es_module_interop: (experimental) Emit __importStar and __importDefault helpers for runtime babel ecosystem compatibility and enable --allowSyntheticDefaultImports for typesystem compatibility. Default: false
841
+ :param exact_optional_property_types: (experimental) Specifies that optional property types should be interpreted exactly as written, meaning that ``| undefined`` is not added to the type Available with TypeScript 4.4 and newer. Default: false
842
+ :param experimental_decorators: (experimental) Enables experimental support for decorators, which is in stage 2 of the TC39 standardization process. Default: true
843
+ :param force_consistent_casing_in_file_names: (experimental) Disallow inconsistently-cased references to the same file. Default: false
844
+ :param imports_not_used_as_values: (experimental) This flag works because you can use ``import type`` to explicitly create an ``import`` statement which should never be emitted into JavaScript. Default: "remove"
845
+ :param incremental: (experimental) Tells TypeScript to save information about the project graph from the last compilation to files stored on disk. This creates a series of .tsbuildinfo files in the same folder as your compilation output. They are not used by your JavaScript at runtime and can be safely deleted. You can read more about the flag in the 3.4 release notes.
846
+ :param inline_source_map: (experimental) When set, instead of writing out a .js.map file to provide source maps, TypeScript will embed the source map content in the .js files. Default: true
847
+ :param inline_sources: (experimental) When set, TypeScript will include the original content of the .ts file as an embedded string in the source map. This is often useful in the same cases as inlineSourceMap. Default: true
848
+ :param isolated_modules: (experimental) Perform additional checks to ensure that separate compilation (such as with transpileModule or. Default: false
849
+ :param jsx: (experimental) Support JSX in .tsx files: "react", "preserve", "react-native" etc. Default: undefined
850
+ :param jsx_import_source: (experimental) Declares the module specifier to be used for importing the jsx and jsxs factory functions when using jsx. Default: undefined
851
+ :param lib: (experimental) Reference for type definitions / libraries to use (eg. ES2016, ES5, ES2018). Default: [ "es2018" ]
852
+ :param module: (experimental) Sets the module system for the program. See https://www.typescriptlang.org/docs/handbook/modules.html#ambient-modules. Default: "CommonJS"
853
+ :param module_detection: (experimental) This setting controls how TypeScript determines whether a file is a `script or a module <https://www.typescriptlang.org/docs/handbook/modules/theory.html#scripts-and-modules-in-javascript>`_. Default: "auto"
854
+ :param module_resolution: (experimental) Determine how modules get resolved. Either "Node" for Node.js/io.js style resolution, or "Classic". Default: "node"
855
+ :param no_emit: (experimental) Do not emit outputs. Default: false
856
+ :param no_emit_on_error: (experimental) Do not emit compiler output files like JavaScript source code, source-maps or declarations if any errors were reported. Default: true
857
+ :param no_fallthrough_cases_in_switch: (experimental) Report errors for fallthrough cases in switch statements. Ensures that any non-empty case inside a switch statement includes either break or return. This means you won’t accidentally ship a case fallthrough bug. Default: true
858
+ :param no_implicit_any: (experimental) In some cases where no type annotations are present, TypeScript will fall back to a type of any for a variable when it cannot infer the type. Default: true
859
+ :param no_implicit_override: (experimental) Using ``noImplicitOverride``, you can ensure that sub-classes never go out of sync as they are required to explicitly declare that they are overriding a member using the ``override`` keyword. This also improves readability of the programmer's intent. Available with TypeScript 4.3 and newer. Default: false
860
+ :param no_implicit_returns: (experimental) When enabled, TypeScript will check all code paths in a function to ensure they return a value. Default: true
861
+ :param no_implicit_this: (experimental) Raise error on ‘this’ expressions with an implied ‘any’ type. Default: true
862
+ :param no_property_access_from_index_signature: (experimental) Raise error on use of the dot syntax to access fields which are not defined. Default: true
863
+ :param no_unchecked_indexed_access: (experimental) Raise error when accessing indexes on objects with unknown keys defined in index signatures. Default: true
864
+ :param no_unused_locals: (experimental) Report errors on unused local variables. Default: true
865
+ :param no_unused_parameters: (experimental) Report errors on unused parameters in functions. Default: true
866
+ :param out_dir: (experimental) Output directory for the compiled files.
867
+ :param paths: (experimental) A series of entries which re-map imports to lookup locations relative to the baseUrl, there is a larger coverage of paths in the handbook. paths lets you declare how TypeScript should resolve an import in your require/imports.
868
+ :param resolve_json_module: (experimental) Allows importing modules with a ‘.json’ extension, which is a common practice in node projects. This includes generating a type for the import based on the static JSON shape. Default: true
869
+ :param resolve_package_json_exports: (experimental) Forces TypeScript to consult the ``exports`` field of ``package.json`` files if it ever reads from a package in ``node_modules``. Default: true
870
+ :param resolve_package_json_imports: (experimental) Forces TypeScript to consult the ``imports`` field of ``package.json`` when performing a lookup that begins with ``#`` from a file that has a ``package.json`` as an ancestor. Default: undefined
871
+ :param root_dir: (experimental) Specifies the root directory of input files. Only use to control the output directory structure with ``outDir``.
872
+ :param skip_lib_check: (experimental) Skip type checking of all declaration files (*.d.ts). Default: false
873
+ :param source_map: (experimental) Enables the generation of sourcemap files. Default: undefined
874
+ :param source_root: (experimental) Specify the location where a debugger should locate TypeScript files instead of relative source locations. Default: undefined
875
+ :param strict: (experimental) The strict flag enables a wide range of type checking behavior that results in stronger guarantees of program correctness. Turning this on is equivalent to enabling all of the strict mode family options, which are outlined below. You can then turn off individual strict mode family checks as needed. Default: true
876
+ :param strict_null_checks: (experimental) When strictNullChecks is false, null and undefined are effectively ignored by the language. This can lead to unexpected errors at runtime. When strictNullChecks is true, null and undefined have their own distinct types and you’ll get a type error if you try to use them where a concrete value is expected. Default: true
877
+ :param strict_property_initialization: (experimental) When set to true, TypeScript will raise an error when a class property was declared but not set in the constructor. Default: true
878
+ :param strip_internal: (experimental) Do not emit declarations for code that has an ``@internal`` annotation in it’s JSDoc comment. Default: true
879
+ :param target: (experimental) Modern browsers support all ES6 features, so ES6 is a good choice. You might choose to set a lower target if your code is deployed to older environments, or a higher target if your code is guaranteed to run in newer environments. Default: "ES2018"
880
+ :param ts_build_info_file: (experimental) This setting lets you specify a file for storing incremental compilation information as a part of composite projects which enables faster building of larger TypeScript codebases. You can read more about composite projects in the handbook.
881
+ :param type_roots: (experimental) If typeRoots is specified, only packages under typeRoots will be included.
882
+ :param types: (experimental) If types is specified, only packages listed will be included in the global scope.
883
+ :param use_unknown_in_catch_variables: (experimental) Change the type of the variable in a catch clause from any to unknown Available with TypeScript 4.4 and newer. Default: true
884
+ :param verbatim_module_syntax: (experimental) Simplifies TypeScript's handling of import/export ``type`` modifiers. Default: undefined
885
+
886
+ :see: TypeScriptCompilerOptions
887
+ :stability: experimental
888
+ '''
889
+ config = _TypeScriptCompilerOptions_829fc4b0(
890
+ allow_arbitrary_extensions=allow_arbitrary_extensions,
891
+ allow_importing_ts_extensions=allow_importing_ts_extensions,
892
+ allow_js=allow_js,
893
+ allow_synthetic_default_imports=allow_synthetic_default_imports,
894
+ allow_unreachable_code=allow_unreachable_code,
895
+ allow_unused_labels=allow_unused_labels,
896
+ always_strict=always_strict,
897
+ base_url=base_url,
898
+ check_js=check_js,
899
+ custom_conditions=custom_conditions,
900
+ declaration=declaration,
901
+ declaration_dir=declaration_dir,
902
+ declaration_map=declaration_map,
903
+ downlevel_iteration=downlevel_iteration,
904
+ emit_declaration_only=emit_declaration_only,
905
+ emit_decorator_metadata=emit_decorator_metadata,
906
+ es_module_interop=es_module_interop,
907
+ exact_optional_property_types=exact_optional_property_types,
908
+ experimental_decorators=experimental_decorators,
909
+ force_consistent_casing_in_file_names=force_consistent_casing_in_file_names,
910
+ imports_not_used_as_values=imports_not_used_as_values,
911
+ incremental=incremental,
912
+ inline_source_map=inline_source_map,
913
+ inline_sources=inline_sources,
914
+ isolated_modules=isolated_modules,
915
+ jsx=jsx,
916
+ jsx_import_source=jsx_import_source,
917
+ lib=lib,
918
+ module=module,
919
+ module_detection=module_detection,
920
+ module_resolution=module_resolution,
921
+ no_emit=no_emit,
922
+ no_emit_on_error=no_emit_on_error,
923
+ no_fallthrough_cases_in_switch=no_fallthrough_cases_in_switch,
924
+ no_implicit_any=no_implicit_any,
925
+ no_implicit_override=no_implicit_override,
926
+ no_implicit_returns=no_implicit_returns,
927
+ no_implicit_this=no_implicit_this,
928
+ no_property_access_from_index_signature=no_property_access_from_index_signature,
929
+ no_unchecked_indexed_access=no_unchecked_indexed_access,
930
+ no_unused_locals=no_unused_locals,
931
+ no_unused_parameters=no_unused_parameters,
932
+ out_dir=out_dir,
933
+ paths=paths,
934
+ resolve_json_module=resolve_json_module,
935
+ resolve_package_json_exports=resolve_package_json_exports,
936
+ resolve_package_json_imports=resolve_package_json_imports,
937
+ root_dir=root_dir,
938
+ skip_lib_check=skip_lib_check,
939
+ source_map=source_map,
940
+ source_root=source_root,
941
+ strict=strict,
942
+ strict_null_checks=strict_null_checks,
943
+ strict_property_initialization=strict_property_initialization,
944
+ strip_internal=strip_internal,
945
+ target=target,
946
+ ts_build_info_file=ts_build_info_file,
947
+ type_roots=type_roots,
948
+ types=types,
949
+ use_unknown_in_catch_variables=use_unknown_in_catch_variables,
950
+ verbatim_module_syntax=verbatim_module_syntax,
780
951
  )
781
952
 
782
953
  return typing.cast("TsJestTsconfig", jsii.sinvoke(cls, "custom", [config]))
@@ -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.0", "projen", "projen@0.94.0.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:])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: projen
3
- Version: 0.94.0
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
@@ -1,14 +1,14 @@
1
1
  projen/__init__.py,sha256=enk9OVj1wwybFoSxSFFljuOcgiHWh-_izr2fj57oBdw,682920
2
2
  projen/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- projen/_jsii/__init__.py,sha256=RQJD4r9LupsKaNOnve5pSv4DfElikhM8I-GTKZdFyfA,1404
4
- projen/_jsii/projen@0.94.0.jsii.tgz,sha256=bqTMLqBaH34tRExuT2WNQVGj0Er4Q2Fn4ywFmIoRjeE,2922518
3
+ projen/_jsii/__init__.py,sha256=1GmNEUBvt5Z-BRon6DnAHT6zdTncKRE_EZRUfq6mu7A,1404
4
+ projen/_jsii/projen@0.94.2.jsii.tgz,sha256=YvF-AA5bSBr__3xdKJwDU0sFHrzuokLfBmZyz4OVSGo,2923886
5
5
  projen/awscdk/__init__.py,sha256=rb8Yb-qH9bHRJ-4uobUbtsobw0GlWwYTLy7sqcEP0bI,1134229
6
6
  projen/build/__init__.py,sha256=CW4d2sEJXpP5DAOJKdOt8jaRSfdDjiWdb66k8JBsvRI,54225
7
7
  projen/cdk/__init__.py,sha256=uFE70xdYN4nK_yrCOFW8gkcuHWM4JHaD4pziZIChAJA,538333
8
8
  projen/cdk8s/__init__.py,sha256=nVyeVTm-Rp5qSnpnpsd0F_lH1AgdvTlI7YmwfIhjSEE,624813
9
9
  projen/cdktf/__init__.py,sha256=CMMPuagj_w1y9pNjhiYG5soU4xFrurhL9QOgA_HT0mA,238088
10
10
  projen/circleci/__init__.py,sha256=RvY_jD_QyDzURlD54vqebZrodhRv86Mn-I_YKH9ccw4,77781
11
- projen/github/__init__.py,sha256=3QsckjxLjN3dXgMtcZIstIxBX8YlKDV75rZkydTVUr4,475267
11
+ projen/github/__init__.py,sha256=Pv6ZpSX0SQmz6KqsjBcWojUuUS_ROseSSCntqyuYvKk,479548
12
12
  projen/github/workflows/__init__.py,sha256=FvVHeCQ1lGQaMoXNsAQSOomS80eM5KO53JzEMRRJMtk,270268
13
13
  projen/gitlab/__init__.py,sha256=BiiBQonVYZgdGo3NLXxJ6WcW47UuGQjBkTRLGm09Ozk,207826
14
14
  projen/java/__init__.py,sha256=Y8yfXiL4RNXtxIc0LB7O3K0CKyw9TkQKkVXgJ57A9Fw,195299
@@ -16,12 +16,12 @@ projen/javascript/__init__.py,sha256=OP3nsrUAD1p1r4ouLnZges7MqmoSDuAczJA2qDYKm5k
16
16
  projen/javascript/biome_config/__init__.py,sha256=tO8ofUMIbI5OREKmA-AytyomEGHbaU6bRcvqW55azV8,220208
17
17
  projen/python/__init__.py,sha256=Qir5Sm6lrXrWSveA26s7iDp57DGa4JLde37I2EZMRJU,220487
18
18
  projen/release/__init__.py,sha256=r7qrI9gWkD8MQkBmRIwEiMBqoCQrP8d4v_NPDz15go0,295939
19
- projen/typescript/__init__.py,sha256=Rfx-CAX9fnQET1wR-GHEqFeNFFvMtaVBYYB6VXJYvsU,504529
19
+ projen/typescript/__init__.py,sha256=xH0dR6iCbOqSpml8p797k1-by4dUZJkBSxJewHXDpPs,523624
20
20
  projen/vscode/__init__.py,sha256=eY_k2L0CXCqe1MKhP9syyb1qJyESBFg4ru2KlzuJ2m8,70008
21
21
  projen/web/__init__.py,sha256=yUiT39q3emLQXMLKpRgW2vX9xdBgTOKyVScr29BJHoI,848698
22
- projen-0.94.0.data/scripts/projen,sha256=JhBjDuwmwDftva0EkkJxXO_802xG0imdn742BR9MHzs,356
23
- projen-0.94.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
24
- projen-0.94.0.dist-info/METADATA,sha256=KnKotfu6zlf37aw8b3bf1tmN42Jnl5XQSZyEoFT80EU,79605
25
- projen-0.94.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
26
- projen-0.94.0.dist-info/top_level.txt,sha256=Ul8VGUArFqejE5BMSked3l6NMBO6gjQEWywhM5gw1zw,7
27
- projen-0.94.0.dist-info/RECORD,,
22
+ projen-0.94.2.data/scripts/projen,sha256=VoNEflyD3X69ku9wZpI1D1yc0S-uVzceFpoQItNZRt0,356
23
+ projen-0.94.2.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
24
+ projen-0.94.2.dist-info/METADATA,sha256=OyZXuU7UKHtHRSOoT6eCJnXB64C1KEXqCQclK4iikoM,79605
25
+ projen-0.94.2.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
26
+ projen-0.94.2.dist-info/top_level.txt,sha256=Ul8VGUArFqejE5BMSked3l6NMBO6gjQEWywhM5gw1zw,7
27
+ projen-0.94.2.dist-info/RECORD,,
Binary file