projen-modules 0.0.8__py3-none-any.whl → 0.0.10__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.
@@ -1,5 +1,12 @@
1
1
  r'''
2
- # replace this
2
+ # Projen Modules
3
+
4
+ ## Getting started
5
+
6
+ ```
7
+ yarn install
8
+ npx projen build
9
+ ```
3
10
  '''
4
11
  from pkgutil import extend_path
5
12
  __path__ = extend_path(__path__, __name__)
@@ -36,6 +43,7 @@ class JsiiProject(
36
43
  def __init__(
37
44
  self,
38
45
  *,
46
+ code_owners: typing.Sequence[builtins.str],
39
47
  author: builtins.str,
40
48
  author_address: builtins.str,
41
49
  repository_url: builtins.str,
@@ -199,6 +207,7 @@ class JsiiProject(
199
207
  renovatebot_options: typing.Optional[typing.Union[_projen_04054675.RenovatebotOptions, typing.Dict[builtins.str, typing.Any]]] = None,
200
208
  ) -> None:
201
209
  '''
210
+ :param code_owners: List of teams used to generate the CODEOWNERS file. Default: []
202
211
  :param author: (experimental) The name of the library author. Default: $GIT_USER_NAME
203
212
  :param author_address: (experimental) Email or URL of the library author. Default: $GIT_USER_EMAIL
204
213
  :param repository_url: (experimental) Git repository URL. Default: $GIT_REMOTE
@@ -362,6 +371,7 @@ class JsiiProject(
362
371
  :param renovatebot_options: (experimental) Options for renovatebot. Default: - default options
363
372
  '''
364
373
  options = JsiiProjectOptions(
374
+ code_owners=code_owners,
365
375
  author=author,
366
376
  author_address=author_address,
367
377
  repository_url=repository_url,
@@ -693,6 +703,7 @@ class JsiiProject(
693
703
  "publish_to_pypi": "publishToPypi",
694
704
  "python": "python",
695
705
  "rootdir": "rootdir",
706
+ "code_owners": "codeOwners",
696
707
  },
697
708
  )
698
709
  class JsiiProjectOptions(_projen_cdk_04054675.JsiiProjectOptions):
@@ -860,6 +871,7 @@ class JsiiProjectOptions(_projen_cdk_04054675.JsiiProjectOptions):
860
871
  publish_to_pypi: typing.Optional[typing.Union[_projen_cdk_04054675.JsiiPythonTarget, typing.Dict[builtins.str, typing.Any]]] = None,
861
872
  python: typing.Optional[typing.Union[_projen_cdk_04054675.JsiiPythonTarget, typing.Dict[builtins.str, typing.Any]]] = None,
862
873
  rootdir: typing.Optional[builtins.str] = None,
874
+ code_owners: typing.Sequence[builtins.str],
863
875
  ) -> None:
864
876
  '''
865
877
  :param name: (experimental) This is the name of your project. Default: $BASEDIR
@@ -1023,6 +1035,7 @@ class JsiiProjectOptions(_projen_cdk_04054675.JsiiProjectOptions):
1023
1035
  :param publish_to_pypi: (experimental) Publish to pypi. Default: - no publishing
1024
1036
  :param python:
1025
1037
  :param rootdir: Default: "."
1038
+ :param code_owners: List of teams used to generate the CODEOWNERS file. Default: []
1026
1039
  '''
1027
1040
  if isinstance(git_ignore_options, dict):
1028
1041
  git_ignore_options = _projen_04054675.IgnoreFileOptions(**git_ignore_options)
@@ -1261,12 +1274,14 @@ class JsiiProjectOptions(_projen_cdk_04054675.JsiiProjectOptions):
1261
1274
  check_type(argname="argument publish_to_pypi", value=publish_to_pypi, expected_type=type_hints["publish_to_pypi"])
1262
1275
  check_type(argname="argument python", value=python, expected_type=type_hints["python"])
1263
1276
  check_type(argname="argument rootdir", value=rootdir, expected_type=type_hints["rootdir"])
1277
+ check_type(argname="argument code_owners", value=code_owners, expected_type=type_hints["code_owners"])
1264
1278
  self._values: typing.Dict[builtins.str, typing.Any] = {
1265
1279
  "name": name,
1266
1280
  "default_release_branch": default_release_branch,
1267
1281
  "author": author,
1268
1282
  "author_address": author_address,
1269
1283
  "repository_url": repository_url,
1284
+ "code_owners": code_owners,
1270
1285
  }
1271
1286
  if commit_generated is not None:
1272
1287
  self._values["commit_generated"] = commit_generated
@@ -3588,6 +3603,16 @@ class JsiiProjectOptions(_projen_cdk_04054675.JsiiProjectOptions):
3588
3603
  result = self._values.get("rootdir")
3589
3604
  return typing.cast(typing.Optional[builtins.str], result)
3590
3605
 
3606
+ @builtins.property
3607
+ def code_owners(self) -> typing.List[builtins.str]:
3608
+ '''List of teams used to generate the CODEOWNERS file.
3609
+
3610
+ :default: []
3611
+ '''
3612
+ result = self._values.get("code_owners")
3613
+ assert result is not None, "Required property 'code_owners' is missing"
3614
+ return typing.cast(typing.List[builtins.str], result)
3615
+
3591
3616
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3592
3617
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3593
3618
 
@@ -3608,6 +3633,7 @@ class NpmPackage(
3608
3633
  def __init__(
3609
3634
  self,
3610
3635
  *,
3636
+ code_owners: typing.Sequence[builtins.str],
3611
3637
  disable_tsconfig: typing.Optional[builtins.bool] = None,
3612
3638
  disable_tsconfig_dev: typing.Optional[builtins.bool] = None,
3613
3639
  docgen: typing.Optional[builtins.bool] = None,
@@ -3755,6 +3781,7 @@ class NpmPackage(
3755
3781
  renovatebot_options: typing.Optional[typing.Union[_projen_04054675.RenovatebotOptions, typing.Dict[builtins.str, typing.Any]]] = None,
3756
3782
  ) -> None:
3757
3783
  '''
3784
+ :param code_owners: List of teams used to generate the CODEOWNERS file. Default: []
3758
3785
  :param disable_tsconfig: (experimental) Do not generate a ``tsconfig.json`` file (used by jsii projects since tsconfig.json is generated by the jsii compiler). Default: false
3759
3786
  :param disable_tsconfig_dev: (experimental) Do not generate a ``tsconfig.dev.json`` file. Default: false
3760
3787
  :param docgen: (experimental) Docgen by Typedoc. Default: false
@@ -3902,6 +3929,7 @@ class NpmPackage(
3902
3929
  :param renovatebot_options: (experimental) Options for renovatebot. Default: - default options
3903
3930
  '''
3904
3931
  options = NpmPackageOptions(
3932
+ code_owners=code_owners,
3905
3933
  disable_tsconfig=disable_tsconfig,
3906
3934
  disable_tsconfig_dev=disable_tsconfig_dev,
3907
3935
  docgen=docgen,
@@ -4201,6 +4229,7 @@ class NpmPackage(
4201
4229
  "tsconfig_dev_file": "tsconfigDevFile",
4202
4230
  "ts_jest_options": "tsJestOptions",
4203
4231
  "typescript_version": "typescriptVersion",
4232
+ "code_owners": "codeOwners",
4204
4233
  },
4205
4234
  )
4206
4235
  class NpmPackageOptions(_projen_typescript_04054675.TypeScriptProjectOptions):
@@ -4352,6 +4381,7 @@ class NpmPackageOptions(_projen_typescript_04054675.TypeScriptProjectOptions):
4352
4381
  tsconfig_dev_file: typing.Optional[builtins.str] = None,
4353
4382
  ts_jest_options: typing.Optional[typing.Union[_projen_typescript_04054675.TsJestOptions, typing.Dict[builtins.str, typing.Any]]] = None,
4354
4383
  typescript_version: typing.Optional[builtins.str] = None,
4384
+ code_owners: typing.Sequence[builtins.str],
4355
4385
  ) -> None:
4356
4386
  '''
4357
4387
  :param name: (experimental) This is the name of your project. Default: $BASEDIR
@@ -4499,6 +4529,7 @@ class NpmPackageOptions(_projen_typescript_04054675.TypeScriptProjectOptions):
4499
4529
  :param tsconfig_dev_file: (experimental) The name of the development tsconfig.json file. Default: "tsconfig.dev.json"
4500
4530
  :param ts_jest_options: (experimental) Options for ts-jest.
4501
4531
  :param typescript_version: (experimental) TypeScript version to use. NOTE: Typescript is not semantically versioned and should remain on the same minor, so we recommend using a ``~`` dependency (e.g. ``~1.2.3``). Default: "latest"
4532
+ :param code_owners: List of teams used to generate the CODEOWNERS file. Default: []
4502
4533
  '''
4503
4534
  if isinstance(git_ignore_options, dict):
4504
4535
  git_ignore_options = _projen_04054675.IgnoreFileOptions(**git_ignore_options)
@@ -4709,9 +4740,11 @@ class NpmPackageOptions(_projen_typescript_04054675.TypeScriptProjectOptions):
4709
4740
  check_type(argname="argument tsconfig_dev_file", value=tsconfig_dev_file, expected_type=type_hints["tsconfig_dev_file"])
4710
4741
  check_type(argname="argument ts_jest_options", value=ts_jest_options, expected_type=type_hints["ts_jest_options"])
4711
4742
  check_type(argname="argument typescript_version", value=typescript_version, expected_type=type_hints["typescript_version"])
4743
+ check_type(argname="argument code_owners", value=code_owners, expected_type=type_hints["code_owners"])
4712
4744
  self._values: typing.Dict[builtins.str, typing.Any] = {
4713
4745
  "name": name,
4714
4746
  "default_release_branch": default_release_branch,
4747
+ "code_owners": code_owners,
4715
4748
  }
4716
4749
  if commit_generated is not None:
4717
4750
  self._values["commit_generated"] = commit_generated
@@ -6814,6 +6847,16 @@ class NpmPackageOptions(_projen_typescript_04054675.TypeScriptProjectOptions):
6814
6847
  result = self._values.get("typescript_version")
6815
6848
  return typing.cast(typing.Optional[builtins.str], result)
6816
6849
 
6850
+ @builtins.property
6851
+ def code_owners(self) -> typing.List[builtins.str]:
6852
+ '''List of teams used to generate the CODEOWNERS file.
6853
+
6854
+ :default: []
6855
+ '''
6856
+ result = self._values.get("code_owners")
6857
+ assert result is not None, "Required property 'code_owners' is missing"
6858
+ return typing.cast(typing.List[builtins.str], result)
6859
+
6817
6860
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
6818
6861
  return isinstance(rhs, self.__class__) and rhs._values == self._values
6819
6862
 
@@ -6834,6 +6877,7 @@ class PythonPackage(
6834
6877
  def __init__(
6835
6878
  self,
6836
6879
  *,
6880
+ code_owners: typing.Sequence[builtins.str],
6837
6881
  pull_request_template: typing.Optional[builtins.bool] = None,
6838
6882
  pull_request_template_contents: typing.Optional[typing.Sequence[builtins.str]] = None,
6839
6883
  module_name: builtins.str,
@@ -6895,6 +6939,7 @@ class PythonPackage(
6895
6939
  renovatebot_options: typing.Optional[typing.Union[_projen_04054675.RenovatebotOptions, typing.Dict[builtins.str, typing.Any]]] = None,
6896
6940
  ) -> None:
6897
6941
  '''
6942
+ :param code_owners: List of teams used to generate the CODEOWNERS file. Default: []
6898
6943
  :param pull_request_template: Include a GitHub pull request template. Default: true
6899
6944
  :param pull_request_template_contents: The contents of the pull request template. Default: - default content
6900
6945
  :param module_name: (experimental) Name of the python package as used in imports and filenames. Must only consist of alphanumeric characters and underscores. Default: $PYTHON_MODULE_NAME
@@ -6956,6 +7001,7 @@ class PythonPackage(
6956
7001
  :param renovatebot_options: (experimental) Options for renovatebot. Default: - default options
6957
7002
  '''
6958
7003
  options = PythonPackageOptions(
7004
+ code_owners=code_owners,
6959
7005
  pull_request_template=pull_request_template,
6960
7006
  pull_request_template_contents=pull_request_template_contents,
6961
7007
  module_name=module_name,
@@ -7081,6 +7127,7 @@ class PythonPackage(
7081
7127
  "setuptools": "setuptools",
7082
7128
  "venv": "venv",
7083
7129
  "venv_options": "venvOptions",
7130
+ "code_owners": "codeOwners",
7084
7131
  "pull_request_template": "pullRequestTemplate",
7085
7132
  "pull_request_template_contents": "pullRequestTemplateContents",
7086
7133
  },
@@ -7146,6 +7193,7 @@ class PythonPackageOptions(_projen_python_04054675.PythonProjectOptions):
7146
7193
  setuptools: typing.Optional[builtins.bool] = None,
7147
7194
  venv: typing.Optional[builtins.bool] = None,
7148
7195
  venv_options: typing.Optional[typing.Union[_projen_python_04054675.VenvOptions, typing.Dict[builtins.str, typing.Any]]] = None,
7196
+ code_owners: typing.Sequence[builtins.str],
7149
7197
  pull_request_template: typing.Optional[builtins.bool] = None,
7150
7198
  pull_request_template_contents: typing.Optional[typing.Sequence[builtins.str]] = None,
7151
7199
  ) -> None:
@@ -7207,6 +7255,7 @@ class PythonPackageOptions(_projen_python_04054675.PythonProjectOptions):
7207
7255
  :param setuptools: (experimental) Use setuptools with a setup.py script for packaging and publishing. Default: - true, unless poetry is true, then false
7208
7256
  :param venv: (experimental) Use venv to manage a virtual environment for installing dependencies inside. Default: - true, unless poetry is true, then false
7209
7257
  :param venv_options: (experimental) Venv options. Default: - defaults
7258
+ :param code_owners: List of teams used to generate the CODEOWNERS file. Default: []
7210
7259
  :param pull_request_template: Include a GitHub pull request template. Default: true
7211
7260
  :param pull_request_template_contents: The contents of the pull request template. Default: - default content
7212
7261
  '''
@@ -7303,6 +7352,7 @@ class PythonPackageOptions(_projen_python_04054675.PythonProjectOptions):
7303
7352
  check_type(argname="argument setuptools", value=setuptools, expected_type=type_hints["setuptools"])
7304
7353
  check_type(argname="argument venv", value=venv, expected_type=type_hints["venv"])
7305
7354
  check_type(argname="argument venv_options", value=venv_options, expected_type=type_hints["venv_options"])
7355
+ check_type(argname="argument code_owners", value=code_owners, expected_type=type_hints["code_owners"])
7306
7356
  check_type(argname="argument pull_request_template", value=pull_request_template, expected_type=type_hints["pull_request_template"])
7307
7357
  check_type(argname="argument pull_request_template_contents", value=pull_request_template_contents, expected_type=type_hints["pull_request_template_contents"])
7308
7358
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -7311,6 +7361,7 @@ class PythonPackageOptions(_projen_python_04054675.PythonProjectOptions):
7311
7361
  "author_name": author_name,
7312
7362
  "version": version,
7313
7363
  "module_name": module_name,
7364
+ "code_owners": code_owners,
7314
7365
  }
7315
7366
  if commit_generated is not None:
7316
7367
  self._values["commit_generated"] = commit_generated
@@ -8123,6 +8174,16 @@ class PythonPackageOptions(_projen_python_04054675.PythonProjectOptions):
8123
8174
  result = self._values.get("venv_options")
8124
8175
  return typing.cast(typing.Optional[_projen_python_04054675.VenvOptions], result)
8125
8176
 
8177
+ @builtins.property
8178
+ def code_owners(self) -> typing.List[builtins.str]:
8179
+ '''List of teams used to generate the CODEOWNERS file.
8180
+
8181
+ :default: []
8182
+ '''
8183
+ result = self._values.get("code_owners")
8184
+ assert result is not None, "Required property 'code_owners' is missing"
8185
+ return typing.cast(typing.List[builtins.str], result)
8186
+
8126
8187
  @builtins.property
8127
8188
  def pull_request_template(self) -> typing.Optional[builtins.bool]:
8128
8189
  '''Include a GitHub pull request template.
@@ -8329,6 +8390,7 @@ def _typecheckingstub__bcc0f0f3d874afabc142961b7ca192083fcad906385166f2e47f7e739
8329
8390
  publish_to_pypi: typing.Optional[typing.Union[_projen_cdk_04054675.JsiiPythonTarget, typing.Dict[builtins.str, typing.Any]]] = None,
8330
8391
  python: typing.Optional[typing.Union[_projen_cdk_04054675.JsiiPythonTarget, typing.Dict[builtins.str, typing.Any]]] = None,
8331
8392
  rootdir: typing.Optional[builtins.str] = None,
8393
+ code_owners: typing.Sequence[builtins.str],
8332
8394
  ) -> None:
8333
8395
  """Type checking stubs"""
8334
8396
  pass
@@ -8480,6 +8542,7 @@ def _typecheckingstub__b17dce6f2f04ceb519c781a818d66bcf4fef528d5b613028b126fd373
8480
8542
  tsconfig_dev_file: typing.Optional[builtins.str] = None,
8481
8543
  ts_jest_options: typing.Optional[typing.Union[_projen_typescript_04054675.TsJestOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8482
8544
  typescript_version: typing.Optional[builtins.str] = None,
8545
+ code_owners: typing.Sequence[builtins.str],
8483
8546
  ) -> None:
8484
8547
  """Type checking stubs"""
8485
8548
  pass
@@ -8543,6 +8606,7 @@ def _typecheckingstub__882525f8fb69251a060fbbe97c2383313ea4b9c0269874cb1d13172a5
8543
8606
  setuptools: typing.Optional[builtins.bool] = None,
8544
8607
  venv: typing.Optional[builtins.bool] = None,
8545
8608
  venv_options: typing.Optional[typing.Union[_projen_python_04054675.VenvOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8609
+ code_owners: typing.Sequence[builtins.str],
8546
8610
  pull_request_template: typing.Optional[builtins.bool] = None,
8547
8611
  pull_request_template_contents: typing.Optional[typing.Sequence[builtins.str]] = None,
8548
8612
  ) -> None:
@@ -17,7 +17,7 @@ import constructs._jsii
17
17
  import projen._jsii
18
18
 
19
19
  __jsii_assembly__ = jsii.JSIIAssembly.load(
20
- "projen-modules", "0.0.8", __name__[0:-6], "projen-modules@0.0.8.jsii.tgz"
20
+ "projen-modules", "0.0.10", __name__[0:-6], "projen-modules@0.0.10.jsii.tgz"
21
21
  )
22
22
 
23
23
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: projen-modules
3
- Version: 0.0.8
3
+ Version: 0.0.10
4
4
  Summary: projen-modules
5
5
  Home-page: https://github.com/daveshepherd/projen-modules.git
6
6
  Author: Dave Shepherd<dave.shepherd@endor.me.uk>
@@ -26,4 +26,11 @@ Requires-Dist: projen ==0.83.1
26
26
  Requires-Dist: publication >=0.0.3
27
27
  Requires-Dist: typeguard ~=2.13.3
28
28
 
29
- # replace this
29
+ # Projen Modules
30
+
31
+ ## Getting started
32
+
33
+ ```
34
+ yarn install
35
+ npx projen build
36
+ ```
@@ -0,0 +1,9 @@
1
+ projen_modules/__init__.py,sha256=FKa0PuK8CwBLMMtmPZUmk25_sZiBdlLgjhZBfsVx3Q0,499867
2
+ projen_modules/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ projen_modules/_jsii/__init__.py,sha256=95refXdTkU-qBBqKg1h72AWP_rbNA0p-DPht9Ezf4rA,472
4
+ projen_modules/_jsii/projen-modules@0.0.10.jsii.tgz,sha256=Bct90Y2Y2-Fxg-rYfYN4lVt205WPRVMagqmSWDUpL3c,67092
5
+ projen_modules-0.0.10.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ projen_modules-0.0.10.dist-info/METADATA,sha256=Y6_yL-6rQDX8yq-p4bBA9a9EM_oKZ_f8xzsRImmccuo,1136
7
+ projen_modules-0.0.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
8
+ projen_modules-0.0.10.dist-info/top_level.txt,sha256=YhmVEeu2LoZS5cqGRszYa1QjC4sk2iA12CJBzxieX8I,15
9
+ projen_modules-0.0.10.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- projen_modules/__init__.py,sha256=yDAjjqthhPDFXQwJ0Vdj_iSfw1TR3mO8BEI18WpOlkk,497007
2
- projen_modules/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- projen_modules/_jsii/__init__.py,sha256=GpN7JwGn5GBkPnNqsux4yjCuf2A6zhxM0w_Z2rVEu3w,470
4
- projen_modules/_jsii/projen-modules@0.0.8.jsii.tgz,sha256=zhl1_7qhY3HdQ0v_ZPhc9szCh9EfLkdGmszHfq2bgdw,65744
5
- projen_modules-0.0.8.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- projen_modules-0.0.8.dist-info/METADATA,sha256=WnXHLKaZzrd-muWSpVk9ls0hLD0YE78trylzzVSS75I,1074
7
- projen_modules-0.0.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
8
- projen_modules-0.0.8.dist-info/top_level.txt,sha256=YhmVEeu2LoZS5cqGRszYa1QjC4sk2iA12CJBzxieX8I,15
9
- projen_modules-0.0.8.dist-info/RECORD,,