projen-modules 0.1.9__tar.gz → 0.1.11__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.
- {projen_modules-0.1.9/src/projen_modules.egg-info → projen_modules-0.1.11}/PKG-INFO +3 -3
- {projen_modules-0.1.9 → projen_modules-0.1.11}/setup.py +4 -4
- {projen_modules-0.1.9 → projen_modules-0.1.11}/src/projen_modules/__init__.py +147 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/src/projen_modules/_jsii/__init__.py +1 -1
- projen_modules-0.1.11/src/projen_modules/_jsii/projen-modules@0.1.11.jsii.tgz +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11/src/projen_modules.egg-info}/PKG-INFO +3 -3
- {projen_modules-0.1.9 → projen_modules-0.1.11}/src/projen_modules.egg-info/SOURCES.txt +1 -1
- {projen_modules-0.1.9 → projen_modules-0.1.11}/src/projen_modules.egg-info/requires.txt +2 -2
- projen_modules-0.1.9/src/projen_modules/_jsii/projen-modules@0.1.9.jsii.tgz +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/LICENSE +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/MANIFEST.in +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/README.md +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/pyproject.toml +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/setup.cfg +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/src/projen_modules/py.typed +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/src/projen_modules.egg-info/dependency_links.txt +0 -0
- {projen_modules-0.1.9 → projen_modules-0.1.11}/src/projen_modules.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: projen_modules
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.11
|
4
4
|
Summary: A collection of projen modules
|
5
5
|
Home-page: https://github.com/daveshepherd/projen-modules.git
|
6
6
|
Author: Dave Shepherd<dave.shepherd@endor.me.uk>
|
@@ -21,8 +21,8 @@ Requires-Python: ~=3.8
|
|
21
21
|
Description-Content-Type: text/markdown
|
22
22
|
License-File: LICENSE
|
23
23
|
Requires-Dist: constructs==10.4.2
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
25
|
-
Requires-Dist: projen==0.90.
|
24
|
+
Requires-Dist: jsii<2.0.0,>=1.105.0
|
25
|
+
Requires-Dist: projen==0.90.6
|
26
26
|
Requires-Dist: publication>=0.0.3
|
27
27
|
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
28
28
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
5
5
|
"""
|
6
6
|
{
|
7
7
|
"name": "projen_modules",
|
8
|
-
"version": "0.1.
|
8
|
+
"version": "0.1.11",
|
9
9
|
"description": "A collection of projen modules",
|
10
10
|
"license": "Apache-2.0",
|
11
11
|
"url": "https://github.com/daveshepherd/projen-modules.git",
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
26
26
|
],
|
27
27
|
"package_data": {
|
28
28
|
"projen_modules._jsii": [
|
29
|
-
"projen-modules@0.1.
|
29
|
+
"projen-modules@0.1.11.jsii.tgz"
|
30
30
|
],
|
31
31
|
"projen_modules": [
|
32
32
|
"py.typed"
|
@@ -35,8 +35,8 @@ kwargs = json.loads(
|
|
35
35
|
"python_requires": "~=3.8",
|
36
36
|
"install_requires": [
|
37
37
|
"constructs==10.4.2",
|
38
|
-
"jsii>=1.
|
39
|
-
"projen==0.90.
|
38
|
+
"jsii>=1.105.0, <2.0.0",
|
39
|
+
"projen==0.90.6",
|
40
40
|
"publication>=0.0.3",
|
41
41
|
"typeguard>=2.13.3,<4.3.0"
|
42
42
|
],
|
@@ -183,6 +183,7 @@ class JsiiProject(
|
|
183
183
|
build_workflow: typing.Optional[builtins.bool] = None,
|
184
184
|
build_workflow_options: typing.Optional[typing.Union[_projen_javascript_04054675.BuildWorkflowOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
185
185
|
build_workflow_triggers: typing.Optional[typing.Union[_projen_github_workflows_04054675.Triggers, typing.Dict[builtins.str, typing.Any]]] = None,
|
186
|
+
bump_package: typing.Optional[builtins.str] = None,
|
186
187
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
187
188
|
bundler_options: typing.Optional[typing.Union[_projen_javascript_04054675.BundlerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
188
189
|
check_licenses: typing.Optional[typing.Union[_projen_javascript_04054675.LicenseCheckerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -239,6 +240,7 @@ class JsiiProject(
|
|
239
240
|
min_major_version: typing.Optional[jsii.Number] = None,
|
240
241
|
min_node_version: typing.Optional[builtins.str] = None,
|
241
242
|
mutable_build: typing.Optional[builtins.bool] = None,
|
243
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
242
244
|
npm_access: typing.Optional[_projen_javascript_04054675.NpmAccess] = None,
|
243
245
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
244
246
|
npmignore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
@@ -347,6 +349,7 @@ class JsiiProject(
|
|
347
349
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
348
350
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
349
351
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
352
|
+
:param bump_package: (experimental) The ``commit-and-tag-version`` compatible package used to bump the package version, as a dependency string. This can be any compatible package version, including the deprecated ``standard-version@9``. Default: - A recent version of "commit-and-tag-version"
|
350
353
|
:param bundled_deps: (experimental) List of dependencies to bundle into this module. These modules will be added both to the ``dependencies`` section and ``bundledDependencies`` section of your ``package.json``. The recommendation is to only specify the module name here (e.g. ``express``). This will behave similar to ``yarn add`` or ``npm install`` in the sense that it will add the module as a dependency to your ``package.json`` file with the latest version (``^``). You can specify semver requirements in the same syntax passed to ``npm i`` or ``yarn add`` (e.g. ``express@^2``) and this will be what you ``package.json`` will eventually include.
|
351
354
|
:param bundler_options: (experimental) Options for ``Bundler``.
|
352
355
|
:param check_licenses: (experimental) Configure which licenses should be deemed acceptable for use by dependencies. This setting will cause the build to fail, if any prohibited or not allowed licenses ares encountered. Default: - no license checks are run during the build and all licenses will be accepted
|
@@ -403,6 +406,7 @@ class JsiiProject(
|
|
403
406
|
:param min_major_version: (experimental) Minimal Major version to release. This can be useful to set to 1, as breaking changes before the 1.x major release are not incrementing the major version number. Can not be set together with ``majorVersion``. Default: - No minimum version is being enforced
|
404
407
|
:param min_node_version: (experimental) The minimum node version required by this package to function. Most projects should not use this option. The value indicates that the package is incompatible with any older versions of node. This requirement is enforced via the engines field. You will normally not need to set this option, even if your package is incompatible with EOL versions of node. Consider this option only if your package depends on a specific feature, that is not available in other LTS versions. Setting this option has very high impact on the consumers of your package, as package managers will actively prevent usage with node versions you have marked as incompatible. To change the node version of your CI/CD workflows, use ``workflowNodeVersion``. Default: - no minimum version is enforced
|
405
408
|
:param mutable_build: (deprecated) Automatically update files modified during builds to pull-request branches. This means that any files synthesized by projen or e.g. test snapshots will always be up-to-date before a PR is merged. Implies that PR builds do not have anti-tamper checks. Default: true
|
409
|
+
:param next_version_command: (experimental) A shell command to control the next version to release. If present, this shell command will be run before the bump is executed, and it determines what version to release. It will be executed in the following environment: - Working directory: the project directory. - ``$VERSION``: the current version. Looks like ``1.2.3``. - ``$LATEST_TAG``: the most recent tag. Looks like ``prefix-v1.2.3``, or may be unset. The command should print one of the following to ``stdout``: - Nothing: the next version number will be determined based on commit history. - ``x.y.z``: the next version number will be ``x.y.z``. - ``major|minor|patch``: the next version number will be the current version number with the indicated component bumped. This setting cannot be specified together with ``minMajorVersion``; the invoked script can be used to achieve the effects of ``minMajorVersion``. Default: - The next version will be determined based on the commit history and project settings.
|
406
410
|
:param npm_access: (experimental) Access level of the npm package. Default: - for scoped packages (e.g. ``foo@bar``), the default is ``NpmAccess.RESTRICTED``, for non-scoped packages, the default is ``NpmAccess.PUBLIC``.
|
407
411
|
:param npm_dist_tag: (experimental) The npmDistTag to use when publishing from the default branch. To set the npm dist-tag for release branches, set the ``npmDistTag`` property for each branch. Default: "latest"
|
408
412
|
:param npmignore: (deprecated) Additional entries to .npmignore.
|
@@ -511,6 +515,7 @@ class JsiiProject(
|
|
511
515
|
build_workflow=build_workflow,
|
512
516
|
build_workflow_options=build_workflow_options,
|
513
517
|
build_workflow_triggers=build_workflow_triggers,
|
518
|
+
bump_package=bump_package,
|
514
519
|
bundled_deps=bundled_deps,
|
515
520
|
bundler_options=bundler_options,
|
516
521
|
check_licenses=check_licenses,
|
@@ -567,6 +572,7 @@ class JsiiProject(
|
|
567
572
|
min_major_version=min_major_version,
|
568
573
|
min_node_version=min_node_version,
|
569
574
|
mutable_build=mutable_build,
|
575
|
+
next_version_command=next_version_command,
|
570
576
|
npm_access=npm_access,
|
571
577
|
npm_dist_tag=npm_dist_tag,
|
572
578
|
npmignore=npmignore,
|
@@ -694,6 +700,7 @@ class JsiiProject(
|
|
694
700
|
"build_workflow": "buildWorkflow",
|
695
701
|
"build_workflow_options": "buildWorkflowOptions",
|
696
702
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
703
|
+
"bump_package": "bumpPackage",
|
697
704
|
"bundled_deps": "bundledDeps",
|
698
705
|
"bundler_options": "bundlerOptions",
|
699
706
|
"check_licenses": "checkLicenses",
|
@@ -750,6 +757,7 @@ class JsiiProject(
|
|
750
757
|
"min_major_version": "minMajorVersion",
|
751
758
|
"min_node_version": "minNodeVersion",
|
752
759
|
"mutable_build": "mutableBuild",
|
760
|
+
"next_version_command": "nextVersionCommand",
|
753
761
|
"npm_access": "npmAccess",
|
754
762
|
"npm_dist_tag": "npmDistTag",
|
755
763
|
"npmignore": "npmignore",
|
@@ -862,6 +870,7 @@ class JsiiProjectOptions:
|
|
862
870
|
build_workflow: typing.Optional[builtins.bool] = None,
|
863
871
|
build_workflow_options: typing.Optional[typing.Union[_projen_javascript_04054675.BuildWorkflowOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
864
872
|
build_workflow_triggers: typing.Optional[typing.Union[_projen_github_workflows_04054675.Triggers, typing.Dict[builtins.str, typing.Any]]] = None,
|
873
|
+
bump_package: typing.Optional[builtins.str] = None,
|
865
874
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
866
875
|
bundler_options: typing.Optional[typing.Union[_projen_javascript_04054675.BundlerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
867
876
|
check_licenses: typing.Optional[typing.Union[_projen_javascript_04054675.LicenseCheckerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -918,6 +927,7 @@ class JsiiProjectOptions:
|
|
918
927
|
min_major_version: typing.Optional[jsii.Number] = None,
|
919
928
|
min_node_version: typing.Optional[builtins.str] = None,
|
920
929
|
mutable_build: typing.Optional[builtins.bool] = None,
|
930
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
921
931
|
npm_access: typing.Optional[_projen_javascript_04054675.NpmAccess] = None,
|
922
932
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
923
933
|
npmignore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
@@ -1027,6 +1037,7 @@ class JsiiProjectOptions:
|
|
1027
1037
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
1028
1038
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
1029
1039
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
1040
|
+
:param bump_package: (experimental) The ``commit-and-tag-version`` compatible package used to bump the package version, as a dependency string. This can be any compatible package version, including the deprecated ``standard-version@9``. Default: - A recent version of "commit-and-tag-version"
|
1030
1041
|
:param bundled_deps: (experimental) List of dependencies to bundle into this module. These modules will be added both to the ``dependencies`` section and ``bundledDependencies`` section of your ``package.json``. The recommendation is to only specify the module name here (e.g. ``express``). This will behave similar to ``yarn add`` or ``npm install`` in the sense that it will add the module as a dependency to your ``package.json`` file with the latest version (``^``). You can specify semver requirements in the same syntax passed to ``npm i`` or ``yarn add`` (e.g. ``express@^2``) and this will be what you ``package.json`` will eventually include.
|
1031
1042
|
:param bundler_options: (experimental) Options for ``Bundler``.
|
1032
1043
|
:param check_licenses: (experimental) Configure which licenses should be deemed acceptable for use by dependencies. This setting will cause the build to fail, if any prohibited or not allowed licenses ares encountered. Default: - no license checks are run during the build and all licenses will be accepted
|
@@ -1083,6 +1094,7 @@ class JsiiProjectOptions:
|
|
1083
1094
|
:param min_major_version: (experimental) Minimal Major version to release. This can be useful to set to 1, as breaking changes before the 1.x major release are not incrementing the major version number. Can not be set together with ``majorVersion``. Default: - No minimum version is being enforced
|
1084
1095
|
:param min_node_version: (experimental) The minimum node version required by this package to function. Most projects should not use this option. The value indicates that the package is incompatible with any older versions of node. This requirement is enforced via the engines field. You will normally not need to set this option, even if your package is incompatible with EOL versions of node. Consider this option only if your package depends on a specific feature, that is not available in other LTS versions. Setting this option has very high impact on the consumers of your package, as package managers will actively prevent usage with node versions you have marked as incompatible. To change the node version of your CI/CD workflows, use ``workflowNodeVersion``. Default: - no minimum version is enforced
|
1085
1096
|
:param mutable_build: (deprecated) Automatically update files modified during builds to pull-request branches. This means that any files synthesized by projen or e.g. test snapshots will always be up-to-date before a PR is merged. Implies that PR builds do not have anti-tamper checks. Default: true
|
1097
|
+
:param next_version_command: (experimental) A shell command to control the next version to release. If present, this shell command will be run before the bump is executed, and it determines what version to release. It will be executed in the following environment: - Working directory: the project directory. - ``$VERSION``: the current version. Looks like ``1.2.3``. - ``$LATEST_TAG``: the most recent tag. Looks like ``prefix-v1.2.3``, or may be unset. The command should print one of the following to ``stdout``: - Nothing: the next version number will be determined based on commit history. - ``x.y.z``: the next version number will be ``x.y.z``. - ``major|minor|patch``: the next version number will be the current version number with the indicated component bumped. This setting cannot be specified together with ``minMajorVersion``; the invoked script can be used to achieve the effects of ``minMajorVersion``. Default: - The next version will be determined based on the commit history and project settings.
|
1086
1098
|
:param npm_access: (experimental) Access level of the npm package. Default: - for scoped packages (e.g. ``foo@bar``), the default is ``NpmAccess.RESTRICTED``, for non-scoped packages, the default is ``NpmAccess.PUBLIC``.
|
1087
1099
|
:param npm_dist_tag: (experimental) The npmDistTag to use when publishing from the default branch. To set the npm dist-tag for release branches, set the ``npmDistTag`` property for each branch. Default: "latest"
|
1088
1100
|
:param npmignore: (deprecated) Additional entries to .npmignore.
|
@@ -1266,6 +1278,7 @@ class JsiiProjectOptions:
|
|
1266
1278
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
1267
1279
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
1268
1280
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
1281
|
+
check_type(argname="argument bump_package", value=bump_package, expected_type=type_hints["bump_package"])
|
1269
1282
|
check_type(argname="argument bundled_deps", value=bundled_deps, expected_type=type_hints["bundled_deps"])
|
1270
1283
|
check_type(argname="argument bundler_options", value=bundler_options, expected_type=type_hints["bundler_options"])
|
1271
1284
|
check_type(argname="argument check_licenses", value=check_licenses, expected_type=type_hints["check_licenses"])
|
@@ -1322,6 +1335,7 @@ class JsiiProjectOptions:
|
|
1322
1335
|
check_type(argname="argument min_major_version", value=min_major_version, expected_type=type_hints["min_major_version"])
|
1323
1336
|
check_type(argname="argument min_node_version", value=min_node_version, expected_type=type_hints["min_node_version"])
|
1324
1337
|
check_type(argname="argument mutable_build", value=mutable_build, expected_type=type_hints["mutable_build"])
|
1338
|
+
check_type(argname="argument next_version_command", value=next_version_command, expected_type=type_hints["next_version_command"])
|
1325
1339
|
check_type(argname="argument npm_access", value=npm_access, expected_type=type_hints["npm_access"])
|
1326
1340
|
check_type(argname="argument npm_dist_tag", value=npm_dist_tag, expected_type=type_hints["npm_dist_tag"])
|
1327
1341
|
check_type(argname="argument npmignore", value=npmignore, expected_type=type_hints["npmignore"])
|
@@ -1447,6 +1461,8 @@ class JsiiProjectOptions:
|
|
1447
1461
|
self._values["build_workflow_options"] = build_workflow_options
|
1448
1462
|
if build_workflow_triggers is not None:
|
1449
1463
|
self._values["build_workflow_triggers"] = build_workflow_triggers
|
1464
|
+
if bump_package is not None:
|
1465
|
+
self._values["bump_package"] = bump_package
|
1450
1466
|
if bundled_deps is not None:
|
1451
1467
|
self._values["bundled_deps"] = bundled_deps
|
1452
1468
|
if bundler_options is not None:
|
@@ -1559,6 +1575,8 @@ class JsiiProjectOptions:
|
|
1559
1575
|
self._values["min_node_version"] = min_node_version
|
1560
1576
|
if mutable_build is not None:
|
1561
1577
|
self._values["mutable_build"] = mutable_build
|
1578
|
+
if next_version_command is not None:
|
1579
|
+
self._values["next_version_command"] = next_version_command
|
1562
1580
|
if npm_access is not None:
|
1563
1581
|
self._values["npm_access"] = npm_access
|
1564
1582
|
if npm_dist_tag is not None:
|
@@ -1980,6 +1998,19 @@ class JsiiProjectOptions:
|
|
1980
1998
|
result = self._values.get("build_workflow_triggers")
|
1981
1999
|
return typing.cast(typing.Optional[_projen_github_workflows_04054675.Triggers], result)
|
1982
2000
|
|
2001
|
+
@builtins.property
|
2002
|
+
def bump_package(self) -> typing.Optional[builtins.str]:
|
2003
|
+
'''(experimental) The ``commit-and-tag-version`` compatible package used to bump the package version, as a dependency string.
|
2004
|
+
|
2005
|
+
This can be any compatible package version, including the deprecated ``standard-version@9``.
|
2006
|
+
|
2007
|
+
:default: - A recent version of "commit-and-tag-version"
|
2008
|
+
|
2009
|
+
:stability: experimental
|
2010
|
+
'''
|
2011
|
+
result = self._values.get("bump_package")
|
2012
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
2013
|
+
|
1983
2014
|
@builtins.property
|
1984
2015
|
def bundled_deps(self) -> typing.Optional[typing.List[builtins.str]]:
|
1985
2016
|
'''(experimental) List of dependencies to bundle into this module.
|
@@ -2692,6 +2723,35 @@ class JsiiProjectOptions:
|
|
2692
2723
|
result = self._values.get("mutable_build")
|
2693
2724
|
return typing.cast(typing.Optional[builtins.bool], result)
|
2694
2725
|
|
2726
|
+
@builtins.property
|
2727
|
+
def next_version_command(self) -> typing.Optional[builtins.str]:
|
2728
|
+
'''(experimental) A shell command to control the next version to release.
|
2729
|
+
|
2730
|
+
If present, this shell command will be run before the bump is executed, and
|
2731
|
+
it determines what version to release. It will be executed in the following
|
2732
|
+
environment:
|
2733
|
+
|
2734
|
+
- Working directory: the project directory.
|
2735
|
+
- ``$VERSION``: the current version. Looks like ``1.2.3``.
|
2736
|
+
- ``$LATEST_TAG``: the most recent tag. Looks like ``prefix-v1.2.3``, or may be unset.
|
2737
|
+
|
2738
|
+
The command should print one of the following to ``stdout``:
|
2739
|
+
|
2740
|
+
- Nothing: the next version number will be determined based on commit history.
|
2741
|
+
- ``x.y.z``: the next version number will be ``x.y.z``.
|
2742
|
+
- ``major|minor|patch``: the next version number will be the current version number
|
2743
|
+
with the indicated component bumped.
|
2744
|
+
|
2745
|
+
This setting cannot be specified together with ``minMajorVersion``; the invoked
|
2746
|
+
script can be used to achieve the effects of ``minMajorVersion``.
|
2747
|
+
|
2748
|
+
:default: - The next version will be determined based on the commit history and project settings.
|
2749
|
+
|
2750
|
+
:stability: experimental
|
2751
|
+
'''
|
2752
|
+
result = self._values.get("next_version_command")
|
2753
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
2754
|
+
|
2695
2755
|
@builtins.property
|
2696
2756
|
def npm_access(self) -> typing.Optional[_projen_javascript_04054675.NpmAccess]:
|
2697
2757
|
'''(experimental) Access level of the npm package.
|
@@ -3783,6 +3843,7 @@ class NpmPackage(
|
|
3783
3843
|
build_workflow: typing.Optional[builtins.bool] = None,
|
3784
3844
|
build_workflow_options: typing.Optional[typing.Union[_projen_javascript_04054675.BuildWorkflowOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
3785
3845
|
build_workflow_triggers: typing.Optional[typing.Union[_projen_github_workflows_04054675.Triggers, typing.Dict[builtins.str, typing.Any]]] = None,
|
3846
|
+
bump_package: typing.Optional[builtins.str] = None,
|
3786
3847
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
3787
3848
|
bundler_options: typing.Optional[typing.Union[_projen_javascript_04054675.BundlerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
3788
3849
|
check_licenses: typing.Optional[typing.Union[_projen_javascript_04054675.LicenseCheckerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -3832,6 +3893,7 @@ class NpmPackage(
|
|
3832
3893
|
min_major_version: typing.Optional[jsii.Number] = None,
|
3833
3894
|
min_node_version: typing.Optional[builtins.str] = None,
|
3834
3895
|
mutable_build: typing.Optional[builtins.bool] = None,
|
3896
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
3835
3897
|
npm_access: typing.Optional[_projen_javascript_04054675.NpmAccess] = None,
|
3836
3898
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
3837
3899
|
npmignore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
@@ -3931,6 +3993,7 @@ class NpmPackage(
|
|
3931
3993
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
3932
3994
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
3933
3995
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
3996
|
+
:param bump_package: (experimental) The ``commit-and-tag-version`` compatible package used to bump the package version, as a dependency string. This can be any compatible package version, including the deprecated ``standard-version@9``. Default: - A recent version of "commit-and-tag-version"
|
3934
3997
|
:param bundled_deps: (experimental) List of dependencies to bundle into this module. These modules will be added both to the ``dependencies`` section and ``bundledDependencies`` section of your ``package.json``. The recommendation is to only specify the module name here (e.g. ``express``). This will behave similar to ``yarn add`` or ``npm install`` in the sense that it will add the module as a dependency to your ``package.json`` file with the latest version (``^``). You can specify semver requirements in the same syntax passed to ``npm i`` or ``yarn add`` (e.g. ``express@^2``) and this will be what you ``package.json`` will eventually include.
|
3935
3998
|
:param bundler_options: (experimental) Options for ``Bundler``.
|
3936
3999
|
:param check_licenses: (experimental) Configure which licenses should be deemed acceptable for use by dependencies. This setting will cause the build to fail, if any prohibited or not allowed licenses ares encountered. Default: - no license checks are run during the build and all licenses will be accepted
|
@@ -3980,6 +4043,7 @@ class NpmPackage(
|
|
3980
4043
|
:param min_major_version: (experimental) Minimal Major version to release. This can be useful to set to 1, as breaking changes before the 1.x major release are not incrementing the major version number. Can not be set together with ``majorVersion``. Default: - No minimum version is being enforced
|
3981
4044
|
:param min_node_version: (experimental) The minimum node version required by this package to function. Most projects should not use this option. The value indicates that the package is incompatible with any older versions of node. This requirement is enforced via the engines field. You will normally not need to set this option, even if your package is incompatible with EOL versions of node. Consider this option only if your package depends on a specific feature, that is not available in other LTS versions. Setting this option has very high impact on the consumers of your package, as package managers will actively prevent usage with node versions you have marked as incompatible. To change the node version of your CI/CD workflows, use ``workflowNodeVersion``. Default: - no minimum version is enforced
|
3982
4045
|
:param mutable_build: (deprecated) Automatically update files modified during builds to pull-request branches. This means that any files synthesized by projen or e.g. test snapshots will always be up-to-date before a PR is merged. Implies that PR builds do not have anti-tamper checks. Default: true
|
4046
|
+
:param next_version_command: (experimental) A shell command to control the next version to release. If present, this shell command will be run before the bump is executed, and it determines what version to release. It will be executed in the following environment: - Working directory: the project directory. - ``$VERSION``: the current version. Looks like ``1.2.3``. - ``$LATEST_TAG``: the most recent tag. Looks like ``prefix-v1.2.3``, or may be unset. The command should print one of the following to ``stdout``: - Nothing: the next version number will be determined based on commit history. - ``x.y.z``: the next version number will be ``x.y.z``. - ``major|minor|patch``: the next version number will be the current version number with the indicated component bumped. This setting cannot be specified together with ``minMajorVersion``; the invoked script can be used to achieve the effects of ``minMajorVersion``. Default: - The next version will be determined based on the commit history and project settings.
|
3983
4047
|
:param npm_access: (experimental) Access level of the npm package. Default: - for scoped packages (e.g. ``foo@bar``), the default is ``NpmAccess.RESTRICTED``, for non-scoped packages, the default is ``NpmAccess.PUBLIC``.
|
3984
4048
|
:param npm_dist_tag: (experimental) The npmDistTag to use when publishing from the default branch. To set the npm dist-tag for release branches, set the ``npmDistTag`` property for each branch. Default: "latest"
|
3985
4049
|
:param npmignore: (deprecated) Additional entries to .npmignore.
|
@@ -4079,6 +4143,7 @@ class NpmPackage(
|
|
4079
4143
|
build_workflow=build_workflow,
|
4080
4144
|
build_workflow_options=build_workflow_options,
|
4081
4145
|
build_workflow_triggers=build_workflow_triggers,
|
4146
|
+
bump_package=bump_package,
|
4082
4147
|
bundled_deps=bundled_deps,
|
4083
4148
|
bundler_options=bundler_options,
|
4084
4149
|
check_licenses=check_licenses,
|
@@ -4128,6 +4193,7 @@ class NpmPackage(
|
|
4128
4193
|
min_major_version=min_major_version,
|
4129
4194
|
min_node_version=min_node_version,
|
4130
4195
|
mutable_build=mutable_build,
|
4196
|
+
next_version_command=next_version_command,
|
4131
4197
|
npm_access=npm_access,
|
4132
4198
|
npm_dist_tag=npm_dist_tag,
|
4133
4199
|
npmignore=npmignore,
|
@@ -4246,6 +4312,7 @@ class NpmPackage(
|
|
4246
4312
|
"build_workflow": "buildWorkflow",
|
4247
4313
|
"build_workflow_options": "buildWorkflowOptions",
|
4248
4314
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
4315
|
+
"bump_package": "bumpPackage",
|
4249
4316
|
"bundled_deps": "bundledDeps",
|
4250
4317
|
"bundler_options": "bundlerOptions",
|
4251
4318
|
"check_licenses": "checkLicenses",
|
@@ -4295,6 +4362,7 @@ class NpmPackage(
|
|
4295
4362
|
"min_major_version": "minMajorVersion",
|
4296
4363
|
"min_node_version": "minNodeVersion",
|
4297
4364
|
"mutable_build": "mutableBuild",
|
4365
|
+
"next_version_command": "nextVersionCommand",
|
4298
4366
|
"npm_access": "npmAccess",
|
4299
4367
|
"npm_dist_tag": "npmDistTag",
|
4300
4368
|
"npmignore": "npmignore",
|
@@ -4398,6 +4466,7 @@ class NpmPackageOptions:
|
|
4398
4466
|
build_workflow: typing.Optional[builtins.bool] = None,
|
4399
4467
|
build_workflow_options: typing.Optional[typing.Union[_projen_javascript_04054675.BuildWorkflowOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
4400
4468
|
build_workflow_triggers: typing.Optional[typing.Union[_projen_github_workflows_04054675.Triggers, typing.Dict[builtins.str, typing.Any]]] = None,
|
4469
|
+
bump_package: typing.Optional[builtins.str] = None,
|
4401
4470
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
4402
4471
|
bundler_options: typing.Optional[typing.Union[_projen_javascript_04054675.BundlerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
4403
4472
|
check_licenses: typing.Optional[typing.Union[_projen_javascript_04054675.LicenseCheckerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -4447,6 +4516,7 @@ class NpmPackageOptions:
|
|
4447
4516
|
min_major_version: typing.Optional[jsii.Number] = None,
|
4448
4517
|
min_node_version: typing.Optional[builtins.str] = None,
|
4449
4518
|
mutable_build: typing.Optional[builtins.bool] = None,
|
4519
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
4450
4520
|
npm_access: typing.Optional[_projen_javascript_04054675.NpmAccess] = None,
|
4451
4521
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
4452
4522
|
npmignore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
@@ -4547,6 +4617,7 @@ class NpmPackageOptions:
|
|
4547
4617
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
4548
4618
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
4549
4619
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
4620
|
+
:param bump_package: (experimental) The ``commit-and-tag-version`` compatible package used to bump the package version, as a dependency string. This can be any compatible package version, including the deprecated ``standard-version@9``. Default: - A recent version of "commit-and-tag-version"
|
4550
4621
|
:param bundled_deps: (experimental) List of dependencies to bundle into this module. These modules will be added both to the ``dependencies`` section and ``bundledDependencies`` section of your ``package.json``. The recommendation is to only specify the module name here (e.g. ``express``). This will behave similar to ``yarn add`` or ``npm install`` in the sense that it will add the module as a dependency to your ``package.json`` file with the latest version (``^``). You can specify semver requirements in the same syntax passed to ``npm i`` or ``yarn add`` (e.g. ``express@^2``) and this will be what you ``package.json`` will eventually include.
|
4551
4622
|
:param bundler_options: (experimental) Options for ``Bundler``.
|
4552
4623
|
:param check_licenses: (experimental) Configure which licenses should be deemed acceptable for use by dependencies. This setting will cause the build to fail, if any prohibited or not allowed licenses ares encountered. Default: - no license checks are run during the build and all licenses will be accepted
|
@@ -4596,6 +4667,7 @@ class NpmPackageOptions:
|
|
4596
4667
|
:param min_major_version: (experimental) Minimal Major version to release. This can be useful to set to 1, as breaking changes before the 1.x major release are not incrementing the major version number. Can not be set together with ``majorVersion``. Default: - No minimum version is being enforced
|
4597
4668
|
:param min_node_version: (experimental) The minimum node version required by this package to function. Most projects should not use this option. The value indicates that the package is incompatible with any older versions of node. This requirement is enforced via the engines field. You will normally not need to set this option, even if your package is incompatible with EOL versions of node. Consider this option only if your package depends on a specific feature, that is not available in other LTS versions. Setting this option has very high impact on the consumers of your package, as package managers will actively prevent usage with node versions you have marked as incompatible. To change the node version of your CI/CD workflows, use ``workflowNodeVersion``. Default: - no minimum version is enforced
|
4598
4669
|
:param mutable_build: (deprecated) Automatically update files modified during builds to pull-request branches. This means that any files synthesized by projen or e.g. test snapshots will always be up-to-date before a PR is merged. Implies that PR builds do not have anti-tamper checks. Default: true
|
4670
|
+
:param next_version_command: (experimental) A shell command to control the next version to release. If present, this shell command will be run before the bump is executed, and it determines what version to release. It will be executed in the following environment: - Working directory: the project directory. - ``$VERSION``: the current version. Looks like ``1.2.3``. - ``$LATEST_TAG``: the most recent tag. Looks like ``prefix-v1.2.3``, or may be unset. The command should print one of the following to ``stdout``: - Nothing: the next version number will be determined based on commit history. - ``x.y.z``: the next version number will be ``x.y.z``. - ``major|minor|patch``: the next version number will be the current version number with the indicated component bumped. This setting cannot be specified together with ``minMajorVersion``; the invoked script can be used to achieve the effects of ``minMajorVersion``. Default: - The next version will be determined based on the commit history and project settings.
|
4599
4671
|
:param npm_access: (experimental) Access level of the npm package. Default: - for scoped packages (e.g. ``foo@bar``), the default is ``NpmAccess.RESTRICTED``, for non-scoped packages, the default is ``NpmAccess.PUBLIC``.
|
4600
4672
|
:param npm_dist_tag: (experimental) The npmDistTag to use when publishing from the default branch. To set the npm dist-tag for release branches, set the ``npmDistTag`` property for each branch. Default: "latest"
|
4601
4673
|
:param npmignore: (deprecated) Additional entries to .npmignore.
|
@@ -4758,6 +4830,7 @@ class NpmPackageOptions:
|
|
4758
4830
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
4759
4831
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
4760
4832
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
4833
|
+
check_type(argname="argument bump_package", value=bump_package, expected_type=type_hints["bump_package"])
|
4761
4834
|
check_type(argname="argument bundled_deps", value=bundled_deps, expected_type=type_hints["bundled_deps"])
|
4762
4835
|
check_type(argname="argument bundler_options", value=bundler_options, expected_type=type_hints["bundler_options"])
|
4763
4836
|
check_type(argname="argument check_licenses", value=check_licenses, expected_type=type_hints["check_licenses"])
|
@@ -4807,6 +4880,7 @@ class NpmPackageOptions:
|
|
4807
4880
|
check_type(argname="argument min_major_version", value=min_major_version, expected_type=type_hints["min_major_version"])
|
4808
4881
|
check_type(argname="argument min_node_version", value=min_node_version, expected_type=type_hints["min_node_version"])
|
4809
4882
|
check_type(argname="argument mutable_build", value=mutable_build, expected_type=type_hints["mutable_build"])
|
4883
|
+
check_type(argname="argument next_version_command", value=next_version_command, expected_type=type_hints["next_version_command"])
|
4810
4884
|
check_type(argname="argument npm_access", value=npm_access, expected_type=type_hints["npm_access"])
|
4811
4885
|
check_type(argname="argument npm_dist_tag", value=npm_dist_tag, expected_type=type_hints["npm_dist_tag"])
|
4812
4886
|
check_type(argname="argument npmignore", value=npmignore, expected_type=type_hints["npmignore"])
|
@@ -4923,6 +4997,8 @@ class NpmPackageOptions:
|
|
4923
4997
|
self._values["build_workflow_options"] = build_workflow_options
|
4924
4998
|
if build_workflow_triggers is not None:
|
4925
4999
|
self._values["build_workflow_triggers"] = build_workflow_triggers
|
5000
|
+
if bump_package is not None:
|
5001
|
+
self._values["bump_package"] = bump_package
|
4926
5002
|
if bundled_deps is not None:
|
4927
5003
|
self._values["bundled_deps"] = bundled_deps
|
4928
5004
|
if bundler_options is not None:
|
@@ -5021,6 +5097,8 @@ class NpmPackageOptions:
|
|
5021
5097
|
self._values["min_node_version"] = min_node_version
|
5022
5098
|
if mutable_build is not None:
|
5023
5099
|
self._values["mutable_build"] = mutable_build
|
5100
|
+
if next_version_command is not None:
|
5101
|
+
self._values["next_version_command"] = next_version_command
|
5024
5102
|
if npm_access is not None:
|
5025
5103
|
self._values["npm_access"] = npm_access
|
5026
5104
|
if npm_dist_tag is not None:
|
@@ -5394,6 +5472,19 @@ class NpmPackageOptions:
|
|
5394
5472
|
result = self._values.get("build_workflow_triggers")
|
5395
5473
|
return typing.cast(typing.Optional[_projen_github_workflows_04054675.Triggers], result)
|
5396
5474
|
|
5475
|
+
@builtins.property
|
5476
|
+
def bump_package(self) -> typing.Optional[builtins.str]:
|
5477
|
+
'''(experimental) The ``commit-and-tag-version`` compatible package used to bump the package version, as a dependency string.
|
5478
|
+
|
5479
|
+
This can be any compatible package version, including the deprecated ``standard-version@9``.
|
5480
|
+
|
5481
|
+
:default: - A recent version of "commit-and-tag-version"
|
5482
|
+
|
5483
|
+
:stability: experimental
|
5484
|
+
'''
|
5485
|
+
result = self._values.get("bump_package")
|
5486
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
5487
|
+
|
5397
5488
|
@builtins.property
|
5398
5489
|
def bundled_deps(self) -> typing.Optional[typing.List[builtins.str]]:
|
5399
5490
|
'''(experimental) List of dependencies to bundle into this module.
|
@@ -6017,6 +6108,35 @@ class NpmPackageOptions:
|
|
6017
6108
|
result = self._values.get("mutable_build")
|
6018
6109
|
return typing.cast(typing.Optional[builtins.bool], result)
|
6019
6110
|
|
6111
|
+
@builtins.property
|
6112
|
+
def next_version_command(self) -> typing.Optional[builtins.str]:
|
6113
|
+
'''(experimental) A shell command to control the next version to release.
|
6114
|
+
|
6115
|
+
If present, this shell command will be run before the bump is executed, and
|
6116
|
+
it determines what version to release. It will be executed in the following
|
6117
|
+
environment:
|
6118
|
+
|
6119
|
+
- Working directory: the project directory.
|
6120
|
+
- ``$VERSION``: the current version. Looks like ``1.2.3``.
|
6121
|
+
- ``$LATEST_TAG``: the most recent tag. Looks like ``prefix-v1.2.3``, or may be unset.
|
6122
|
+
|
6123
|
+
The command should print one of the following to ``stdout``:
|
6124
|
+
|
6125
|
+
- Nothing: the next version number will be determined based on commit history.
|
6126
|
+
- ``x.y.z``: the next version number will be ``x.y.z``.
|
6127
|
+
- ``major|minor|patch``: the next version number will be the current version number
|
6128
|
+
with the indicated component bumped.
|
6129
|
+
|
6130
|
+
This setting cannot be specified together with ``minMajorVersion``; the invoked
|
6131
|
+
script can be used to achieve the effects of ``minMajorVersion``.
|
6132
|
+
|
6133
|
+
:default: - The next version will be determined based on the commit history and project settings.
|
6134
|
+
|
6135
|
+
:stability: experimental
|
6136
|
+
'''
|
6137
|
+
result = self._values.get("next_version_command")
|
6138
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
6139
|
+
|
6020
6140
|
@builtins.property
|
6021
6141
|
def npm_access(self) -> typing.Optional[_projen_javascript_04054675.NpmAccess]:
|
6022
6142
|
'''(experimental) Access level of the npm package.
|
@@ -7076,6 +7196,7 @@ class PythonPackage(
|
|
7076
7196
|
renovatebot: typing.Optional[builtins.bool] = None,
|
7077
7197
|
renovatebot_options: typing.Optional[typing.Union[_projen_04054675.RenovatebotOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
7078
7198
|
sample: typing.Optional[builtins.bool] = None,
|
7199
|
+
sample_testdir: typing.Optional[builtins.str] = None,
|
7079
7200
|
setup_config: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
7080
7201
|
setuptools: typing.Optional[builtins.bool] = None,
|
7081
7202
|
stale: typing.Optional[builtins.bool] = None,
|
@@ -7138,6 +7259,7 @@ class PythonPackage(
|
|
7138
7259
|
:param renovatebot: (experimental) Use renovatebot to handle dependency upgrades. Default: false
|
7139
7260
|
:param renovatebot_options: (experimental) Options for renovatebot. Default: - default options
|
7140
7261
|
:param sample: (experimental) Include sample code and test if the relevant directories don't exist. Default: true
|
7262
|
+
:param sample_testdir: (experimental) Location of sample tests. Typically the same directory where project tests will be located. Default: "tests"
|
7141
7263
|
:param setup_config: (experimental) Additional fields to pass in the setup() function if using setuptools.
|
7142
7264
|
:param setuptools: (experimental) Use setuptools with a setup.py script for packaging and publishing. Default: - true, unless poetry is true, then false
|
7143
7265
|
:param stale: (experimental) Auto-close of stale issues and pull request. See ``staleOptions`` for options. Default: false
|
@@ -7200,6 +7322,7 @@ class PythonPackage(
|
|
7200
7322
|
renovatebot=renovatebot,
|
7201
7323
|
renovatebot_options=renovatebot_options,
|
7202
7324
|
sample=sample,
|
7325
|
+
sample_testdir=sample_testdir,
|
7203
7326
|
setup_config=setup_config,
|
7204
7327
|
setuptools=setuptools,
|
7205
7328
|
stale=stale,
|
@@ -7281,6 +7404,7 @@ class PythonPackage(
|
|
7281
7404
|
"renovatebot": "renovatebot",
|
7282
7405
|
"renovatebot_options": "renovatebotOptions",
|
7283
7406
|
"sample": "sample",
|
7407
|
+
"sample_testdir": "sampleTestdir",
|
7284
7408
|
"setup_config": "setupConfig",
|
7285
7409
|
"setuptools": "setuptools",
|
7286
7410
|
"stale": "stale",
|
@@ -7347,6 +7471,7 @@ class PythonPackageOptions:
|
|
7347
7471
|
renovatebot: typing.Optional[builtins.bool] = None,
|
7348
7472
|
renovatebot_options: typing.Optional[typing.Union[_projen_04054675.RenovatebotOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
7349
7473
|
sample: typing.Optional[builtins.bool] = None,
|
7474
|
+
sample_testdir: typing.Optional[builtins.str] = None,
|
7350
7475
|
setup_config: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
7351
7476
|
setuptools: typing.Optional[builtins.bool] = None,
|
7352
7477
|
stale: typing.Optional[builtins.bool] = None,
|
@@ -7410,6 +7535,7 @@ class PythonPackageOptions:
|
|
7410
7535
|
:param renovatebot: (experimental) Use renovatebot to handle dependency upgrades. Default: false
|
7411
7536
|
:param renovatebot_options: (experimental) Options for renovatebot. Default: - default options
|
7412
7537
|
:param sample: (experimental) Include sample code and test if the relevant directories don't exist. Default: true
|
7538
|
+
:param sample_testdir: (experimental) Location of sample tests. Typically the same directory where project tests will be located. Default: "tests"
|
7413
7539
|
:param setup_config: (experimental) Additional fields to pass in the setup() function if using setuptools.
|
7414
7540
|
:param setuptools: (experimental) Use setuptools with a setup.py script for packaging and publishing. Default: - true, unless poetry is true, then false
|
7415
7541
|
:param stale: (experimental) Auto-close of stale issues and pull request. See ``staleOptions`` for options. Default: false
|
@@ -7507,6 +7633,7 @@ class PythonPackageOptions:
|
|
7507
7633
|
check_type(argname="argument renovatebot", value=renovatebot, expected_type=type_hints["renovatebot"])
|
7508
7634
|
check_type(argname="argument renovatebot_options", value=renovatebot_options, expected_type=type_hints["renovatebot_options"])
|
7509
7635
|
check_type(argname="argument sample", value=sample, expected_type=type_hints["sample"])
|
7636
|
+
check_type(argname="argument sample_testdir", value=sample_testdir, expected_type=type_hints["sample_testdir"])
|
7510
7637
|
check_type(argname="argument setup_config", value=setup_config, expected_type=type_hints["setup_config"])
|
7511
7638
|
check_type(argname="argument setuptools", value=setuptools, expected_type=type_hints["setuptools"])
|
7512
7639
|
check_type(argname="argument stale", value=stale, expected_type=type_hints["stale"])
|
@@ -7616,6 +7743,8 @@ class PythonPackageOptions:
|
|
7616
7743
|
self._values["renovatebot_options"] = renovatebot_options
|
7617
7744
|
if sample is not None:
|
7618
7745
|
self._values["sample"] = sample
|
7746
|
+
if sample_testdir is not None:
|
7747
|
+
self._values["sample_testdir"] = sample_testdir
|
7619
7748
|
if setup_config is not None:
|
7620
7749
|
self._values["setup_config"] = setup_config
|
7621
7750
|
if setuptools is not None:
|
@@ -8261,6 +8390,19 @@ class PythonPackageOptions:
|
|
8261
8390
|
result = self._values.get("sample")
|
8262
8391
|
return typing.cast(typing.Optional[builtins.bool], result)
|
8263
8392
|
|
8393
|
+
@builtins.property
|
8394
|
+
def sample_testdir(self) -> typing.Optional[builtins.str]:
|
8395
|
+
'''(experimental) Location of sample tests.
|
8396
|
+
|
8397
|
+
Typically the same directory where project tests will be located.
|
8398
|
+
|
8399
|
+
:default: "tests"
|
8400
|
+
|
8401
|
+
:stability: experimental
|
8402
|
+
'''
|
8403
|
+
result = self._values.get("sample_testdir")
|
8404
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
8405
|
+
|
8264
8406
|
@builtins.property
|
8265
8407
|
def setup_config(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
8266
8408
|
'''(experimental) Additional fields to pass in the setup() function if using setuptools.
|
@@ -8541,6 +8683,7 @@ def _typecheckingstub__bcc0f0f3d874afabc142961b7ca192083fcad906385166f2e47f7e739
|
|
8541
8683
|
build_workflow: typing.Optional[builtins.bool] = None,
|
8542
8684
|
build_workflow_options: typing.Optional[typing.Union[_projen_javascript_04054675.BuildWorkflowOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
8543
8685
|
build_workflow_triggers: typing.Optional[typing.Union[_projen_github_workflows_04054675.Triggers, typing.Dict[builtins.str, typing.Any]]] = None,
|
8686
|
+
bump_package: typing.Optional[builtins.str] = None,
|
8544
8687
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
8545
8688
|
bundler_options: typing.Optional[typing.Union[_projen_javascript_04054675.BundlerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
8546
8689
|
check_licenses: typing.Optional[typing.Union[_projen_javascript_04054675.LicenseCheckerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -8597,6 +8740,7 @@ def _typecheckingstub__bcc0f0f3d874afabc142961b7ca192083fcad906385166f2e47f7e739
|
|
8597
8740
|
min_major_version: typing.Optional[jsii.Number] = None,
|
8598
8741
|
min_node_version: typing.Optional[builtins.str] = None,
|
8599
8742
|
mutable_build: typing.Optional[builtins.bool] = None,
|
8743
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
8600
8744
|
npm_access: typing.Optional[_projen_javascript_04054675.NpmAccess] = None,
|
8601
8745
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
8602
8746
|
npmignore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
@@ -8712,6 +8856,7 @@ def _typecheckingstub__b17dce6f2f04ceb519c781a818d66bcf4fef528d5b613028b126fd373
|
|
8712
8856
|
build_workflow: typing.Optional[builtins.bool] = None,
|
8713
8857
|
build_workflow_options: typing.Optional[typing.Union[_projen_javascript_04054675.BuildWorkflowOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
8714
8858
|
build_workflow_triggers: typing.Optional[typing.Union[_projen_github_workflows_04054675.Triggers, typing.Dict[builtins.str, typing.Any]]] = None,
|
8859
|
+
bump_package: typing.Optional[builtins.str] = None,
|
8715
8860
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
8716
8861
|
bundler_options: typing.Optional[typing.Union[_projen_javascript_04054675.BundlerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
8717
8862
|
check_licenses: typing.Optional[typing.Union[_projen_javascript_04054675.LicenseCheckerOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -8761,6 +8906,7 @@ def _typecheckingstub__b17dce6f2f04ceb519c781a818d66bcf4fef528d5b613028b126fd373
|
|
8761
8906
|
min_major_version: typing.Optional[jsii.Number] = None,
|
8762
8907
|
min_node_version: typing.Optional[builtins.str] = None,
|
8763
8908
|
mutable_build: typing.Optional[builtins.bool] = None,
|
8909
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
8764
8910
|
npm_access: typing.Optional[_projen_javascript_04054675.NpmAccess] = None,
|
8765
8911
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
8766
8912
|
npmignore: typing.Optional[typing.Sequence[builtins.str]] = None,
|
@@ -8904,6 +9050,7 @@ def _typecheckingstub__882525f8fb69251a060fbbe97c2383313ea4b9c0269874cb1d13172a5
|
|
8904
9050
|
renovatebot: typing.Optional[builtins.bool] = None,
|
8905
9051
|
renovatebot_options: typing.Optional[typing.Union[_projen_04054675.RenovatebotOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
8906
9052
|
sample: typing.Optional[builtins.bool] = None,
|
9053
|
+
sample_testdir: typing.Optional[builtins.str] = None,
|
8907
9054
|
setup_config: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
8908
9055
|
setuptools: typing.Optional[builtins.bool] = None,
|
8909
9056
|
stale: typing.Optional[builtins.bool] = None,
|
@@ -32,7 +32,7 @@ import constructs._jsii
|
|
32
32
|
import projen._jsii
|
33
33
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
35
|
-
"projen-modules", "0.1.
|
35
|
+
"projen-modules", "0.1.11", __name__[0:-6], "projen-modules@0.1.11.jsii.tgz"
|
36
36
|
)
|
37
37
|
|
38
38
|
__all__ = [
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: projen_modules
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.11
|
4
4
|
Summary: A collection of projen modules
|
5
5
|
Home-page: https://github.com/daveshepherd/projen-modules.git
|
6
6
|
Author: Dave Shepherd<dave.shepherd@endor.me.uk>
|
@@ -21,8 +21,8 @@ Requires-Python: ~=3.8
|
|
21
21
|
Description-Content-Type: text/markdown
|
22
22
|
License-File: LICENSE
|
23
23
|
Requires-Dist: constructs==10.4.2
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
25
|
-
Requires-Dist: projen==0.90.
|
24
|
+
Requires-Dist: jsii<2.0.0,>=1.105.0
|
25
|
+
Requires-Dist: projen==0.90.6
|
26
26
|
Requires-Dist: publication>=0.0.3
|
27
27
|
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
28
28
|
|
@@ -11,4 +11,4 @@ src/projen_modules.egg-info/dependency_links.txt
|
|
11
11
|
src/projen_modules.egg-info/requires.txt
|
12
12
|
src/projen_modules.egg-info/top_level.txt
|
13
13
|
src/projen_modules/_jsii/__init__.py
|
14
|
-
src/projen_modules/_jsii/projen-modules@0.1.
|
14
|
+
src/projen_modules/_jsii/projen-modules@0.1.11.jsii.tgz
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{projen_modules-0.1.9 → projen_modules-0.1.11}/src/projen_modules.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|