projen 0.81.17__py3-none-any.whl → 0.98.25__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- projen/__init__.py +1020 -55
- projen/_jsii/__init__.py +17 -2
- projen/_jsii/projen@0.98.25.jsii.tgz +0 -0
- projen/awscdk/__init__.py +1503 -163
- projen/build/__init__.py +79 -44
- projen/cdk/__init__.py +877 -129
- projen/cdk8s/__init__.py +681 -67
- projen/cdktf/__init__.py +318 -36
- projen/circleci/__init__.py +32 -1
- projen/github/__init__.py +1250 -76
- projen/github/workflows/__init__.py +400 -17
- projen/gitlab/__init__.py +234 -4
- projen/java/__init__.py +296 -4
- projen/javascript/__init__.py +1294 -81
- projen/javascript/biome_config/__init__.py +5461 -0
- projen/python/__init__.py +2010 -189
- projen/python/uv_config/__init__.py +3933 -0
- projen/release/__init__.py +921 -141
- projen/typescript/__init__.py +851 -93
- projen/vscode/__init__.py +19 -1
- projen/web/__init__.py +1196 -119
- {projen-0.81.17.data → projen-0.98.25.data}/scripts/projen +1 -1
- {projen-0.81.17.dist-info → projen-0.98.25.dist-info}/METADATA +6 -15
- projen-0.98.25.dist-info/RECORD +28 -0
- {projen-0.81.17.dist-info → projen-0.98.25.dist-info}/WHEEL +1 -1
- projen/_jsii/projen@0.81.17.jsii.tgz +0 -0
- projen-0.81.17.dist-info/RECORD +0 -26
- {projen-0.81.17.dist-info → projen-0.98.25.dist-info}/LICENSE +0 -0
- {projen-0.81.17.dist-info → projen-0.98.25.dist-info}/top_level.txt +0 -0
projen/cdktf/__init__.py
CHANGED
|
@@ -11,7 +11,22 @@ import jsii
|
|
|
11
11
|
import publication
|
|
12
12
|
import typing_extensions
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
import typeguard
|
|
15
|
+
from importlib.metadata import version as _metadata_package_version
|
|
16
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
17
|
+
|
|
18
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
19
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
20
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
21
|
+
else:
|
|
22
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
23
|
+
pass
|
|
24
|
+
else:
|
|
25
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
26
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
27
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
28
|
+
else:
|
|
29
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
15
30
|
|
|
16
31
|
from .._jsii import *
|
|
17
32
|
|
|
@@ -50,6 +65,8 @@ from ..github.workflows import (
|
|
|
50
65
|
JobStep as _JobStep_c3287c05, Triggers as _Triggers_e9ae7617
|
|
51
66
|
)
|
|
52
67
|
from ..javascript import (
|
|
68
|
+
AuditOptions as _AuditOptions_429c62df,
|
|
69
|
+
BiomeOptions as _BiomeOptions_452ab984,
|
|
53
70
|
BuildWorkflowOptions as _BuildWorkflowOptions_b756f97f,
|
|
54
71
|
BundlerOptions as _BundlerOptions_d60b85ed,
|
|
55
72
|
CodeArtifactOptions as _CodeArtifactOptions_e4782b3e,
|
|
@@ -133,7 +150,11 @@ class ConstructLibraryCdktf(
|
|
|
133
150
|
typescript_version: typing.Optional[builtins.str] = None,
|
|
134
151
|
default_release_branch: builtins.str,
|
|
135
152
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
153
|
+
audit_deps: typing.Optional[builtins.bool] = None,
|
|
154
|
+
audit_deps_options: typing.Optional[typing.Union[_AuditOptions_429c62df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
136
155
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
156
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
157
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
137
158
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
138
159
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
139
160
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -197,6 +218,7 @@ class ConstructLibraryCdktf(
|
|
|
197
218
|
bugs_email: typing.Optional[builtins.str] = None,
|
|
198
219
|
bugs_url: typing.Optional[builtins.str] = None,
|
|
199
220
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
221
|
+
bun_version: typing.Optional[builtins.str] = None,
|
|
200
222
|
code_artifact_options: typing.Optional[typing.Union[_CodeArtifactOptions_e4782b3e, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
201
223
|
deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
202
224
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -213,6 +235,7 @@ class ConstructLibraryCdktf(
|
|
|
213
235
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
214
236
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
215
237
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
238
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
216
239
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
217
240
|
package_name: typing.Optional[builtins.str] = None,
|
|
218
241
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -224,9 +247,11 @@ class ConstructLibraryCdktf(
|
|
|
224
247
|
scripts: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
225
248
|
stability: typing.Optional[builtins.str] = None,
|
|
226
249
|
yarn_berry_options: typing.Optional[typing.Union[_YarnBerryOptions_b6942539, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
250
|
+
bump_package: typing.Optional[builtins.str] = None,
|
|
227
251
|
jsii_release_version: typing.Optional[builtins.str] = None,
|
|
228
252
|
major_version: typing.Optional[jsii.Number] = None,
|
|
229
253
|
min_major_version: typing.Optional[jsii.Number] = None,
|
|
254
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
|
230
255
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
|
231
256
|
post_build_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
232
257
|
prerelease: typing.Optional[builtins.str] = None,
|
|
@@ -234,12 +259,14 @@ class ConstructLibraryCdktf(
|
|
|
234
259
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
235
260
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
236
261
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
262
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
237
263
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
238
264
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
239
265
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
240
266
|
release_schedule: typing.Optional[builtins.str] = None,
|
|
241
267
|
release_tag_prefix: typing.Optional[builtins.str] = None,
|
|
242
268
|
release_trigger: typing.Optional[_ReleaseTrigger_e4dc221f] = None,
|
|
269
|
+
release_workflow_env: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
243
270
|
release_workflow_name: typing.Optional[builtins.str] = None,
|
|
244
271
|
release_workflow_setup_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
245
272
|
versionrc_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -272,7 +299,7 @@ class ConstructLibraryCdktf(
|
|
|
272
299
|
:param docgen_file_path: (experimental) File path for generated docs. Default: "API.md"
|
|
273
300
|
:param dotnet:
|
|
274
301
|
:param exclude_typescript: (experimental) Accepts a list of glob patterns. Files matching any of those patterns will be excluded from the TypeScript compiler input. By default, jsii will include all *.ts files (except .d.ts files) in the TypeScript compiler input. This can be problematic for example when the package's build or test procedure generates .ts files that cannot be compiled with jsii's compiler settings.
|
|
275
|
-
:param jsii_version: (experimental) Version of the jsii compiler to use. Set to "*" if you want to manually manage the version of jsii in your project by managing updates to ``package.json`` on your own. NOTE: The jsii compiler releases since 5.0.0 are not semantically versioned and should remain on the same minor, so we recommend using a ``~`` dependency (e.g. ``~5.0.0``). Default: "
|
|
302
|
+
:param jsii_version: (experimental) Version of the jsii compiler to use. Set to "*" if you want to manually manage the version of jsii in your project by managing updates to ``package.json`` on your own. NOTE: The jsii compiler releases since 5.0.0 are not semantically versioned and should remain on the same minor, so we recommend using a ``~`` dependency (e.g. ``~5.0.0``). Default: "~5.8.0"
|
|
276
303
|
:param publish_to_go: (experimental) Publish Go bindings to a git repository. Default: - no publishing
|
|
277
304
|
:param publish_to_maven: (experimental) Publish to maven. Default: - no publishing
|
|
278
305
|
:param publish_to_nuget: (experimental) Publish to NuGet. Default: - no publishing
|
|
@@ -284,7 +311,7 @@ class ConstructLibraryCdktf(
|
|
|
284
311
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
285
312
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
286
313
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
287
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
314
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
288
315
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
289
316
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
290
317
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -299,14 +326,18 @@ class ConstructLibraryCdktf(
|
|
|
299
326
|
: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"
|
|
300
327
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
301
328
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
329
|
+
:param audit_deps: (experimental) Run security audit on dependencies. When enabled, creates an "audit" task that checks for known security vulnerabilities in dependencies. By default, runs during every build and checks for "high" severity vulnerabilities or above in all dependencies (including dev dependencies). Default: false
|
|
330
|
+
:param audit_deps_options: (experimental) Security audit options. Default: - default options
|
|
302
331
|
:param auto_approve_upgrades: (experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). Throw if set to true but ``autoApproveOptions`` are not defined. Default: - true
|
|
332
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
333
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
303
334
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
304
335
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
305
336
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
306
337
|
:param bundler_options: (experimental) Options for ``Bundler``.
|
|
307
338
|
: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
|
|
308
|
-
:param code_cov: (experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@
|
|
309
|
-
:param code_cov_token_secret: (experimental) Define the secret name for a specified https://codecov.io/ token
|
|
339
|
+
:param code_cov: (experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v5 By default, OIDC auth is used. Alternatively a token can be provided via ``codeCovTokenSecret``. Default: false
|
|
340
|
+
:param code_cov_token_secret: (experimental) Define the secret name for a specified https://codecov.io/ token. Default: - OIDC auth is used
|
|
310
341
|
:param copyright_owner: (experimental) License copyright owner. Default: - defaults to the value of authorName or "" if ``authorName`` is undefined.
|
|
311
342
|
:param copyright_period: (experimental) The copyright years to put in the LICENSE file. Default: - current year
|
|
312
343
|
:param dependabot: (experimental) Use dependabot to handle dependency upgrades. Cannot be used in conjunction with ``depsUpgrade``. Default: false
|
|
@@ -333,8 +364,8 @@ class ConstructLibraryCdktf(
|
|
|
333
364
|
:param release_to_npm: (experimental) Automatically release to npm when new versions are introduced. Default: false
|
|
334
365
|
:param release_workflow: (deprecated) DEPRECATED: renamed to ``release``. Default: - true if not a subproject
|
|
335
366
|
:param workflow_bootstrap_steps: (experimental) Workflow steps to use in order to bootstrap this repo. Default: "yarn install --frozen-lockfile && yarn projen"
|
|
336
|
-
:param workflow_git_identity: (experimental) The git identity to use in workflows. Default: - GitHub Actions
|
|
337
|
-
:param workflow_node_version: (experimental) The node version
|
|
367
|
+
:param workflow_git_identity: (experimental) The git identity to use in workflows. Default: - default GitHub Actions user
|
|
368
|
+
:param workflow_node_version: (experimental) The node version used in GitHub Actions workflows. Always use this option if your GitHub Actions workflows require a specific to run. Default: - ``minNodeVersion`` if set, otherwise ``lts/*``.
|
|
338
369
|
:param workflow_package_cache: (experimental) Enable Node.js package cache in GitHub workflows. Default: false
|
|
339
370
|
:param auto_approve_options: (experimental) Enable and configure the 'auto approve' workflow. Default: - auto approve is disabled
|
|
340
371
|
:param auto_merge: (experimental) Enable automatic merging on GitHub. Has no effect if ``github.mergify`` is set to false. Default: true
|
|
@@ -363,6 +394,7 @@ class ConstructLibraryCdktf(
|
|
|
363
394
|
:param bugs_email: (experimental) The email address to which issues should be reported.
|
|
364
395
|
:param bugs_url: (experimental) The url to your project's issue tracker.
|
|
365
396
|
: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.
|
|
397
|
+
:param bun_version: (experimental) The version of Bun to use if using Bun as a package manager. Default: "latest"
|
|
366
398
|
:param code_artifact_options: (experimental) Options for npm packages using AWS CodeArtifact. This is required if publishing packages to, or installing scoped packages from AWS CodeArtifact Default: - undefined
|
|
367
399
|
:param deps: (experimental) Runtime dependencies of this module. 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. Default: []
|
|
368
400
|
:param description: (experimental) The description is just a string that helps people understand the purpose of the package. It can be used when searching for packages in a package manager as well. See https://classic.yarnpkg.com/en/docs/package-json/#toc-description
|
|
@@ -372,27 +404,30 @@ class ConstructLibraryCdktf(
|
|
|
372
404
|
:param keywords: (experimental) Keywords to include in ``package.json``.
|
|
373
405
|
:param license: (experimental) License's SPDX identifier. See https://github.com/projen/projen/tree/main/license-text for a list of supported licenses. Use the ``licensed`` option if you want to no license to be specified. Default: "Apache-2.0"
|
|
374
406
|
:param licensed: (experimental) Indicates if a license should be added. Default: true
|
|
375
|
-
:param max_node_version: (experimental)
|
|
376
|
-
:param min_node_version: (experimental)
|
|
407
|
+
:param max_node_version: (experimental) The maximum node version supported by this package. Most projects should not use this option. The value indicates that the package is incompatible with any newer versions of node. This requirement is enforced via the engines field. You will normally not need to set this option. Consider this option only if your package is known to not function with newer versions of node. Default: - no maximum version is enforced
|
|
408
|
+
: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
|
|
377
409
|
: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``.
|
|
378
410
|
:param npm_provenance: (experimental) Should provenance statements be generated when the package is published. A supported package manager is required to publish a package with npm provenance statements and you will need to use a supported CI/CD provider. Note that the projen ``Release`` and ``Publisher`` components are using ``publib`` to publish packages, which is using npm internally and supports provenance statements independently of the package manager used. Default: - true for public packages, false otherwise
|
|
379
411
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
380
412
|
:param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
|
|
381
413
|
:param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
|
|
414
|
+
:param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
|
|
382
415
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
383
416
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
384
417
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
385
418
|
:param peer_deps: (experimental) Peer dependencies for this module. Dependencies listed here are required to be installed (and satisfied) by the *consumer* of this library. Using peer dependencies allows you to ensure that only a single module of a certain library exists in the ``node_modules`` tree of your consumers. Note that prior to npm@7, peer dependencies are *not* automatically installed, which means that adding peer dependencies to a library will be a breaking change for your customers. Unless ``peerDependencyOptions.pinnedDevDependency`` is disabled (it is enabled by default), projen will automatically add a dev dependency with a pinned version for each peer dependency. This will ensure that you build & test your module against the lowest peer version required. Default: []
|
|
386
|
-
:param pnpm_version: (experimental) The version of PNPM to use if using PNPM as a package manager. Default: "
|
|
419
|
+
:param pnpm_version: (experimental) The version of PNPM to use if using PNPM as a package manager. Default: "9"
|
|
387
420
|
:param repository: (experimental) The repository is the location where the actual code for your package lives. See https://classic.yarnpkg.com/en/docs/package-json/#toc-repository
|
|
388
421
|
:param repository_directory: (experimental) If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives.
|
|
389
422
|
:param scoped_packages_options: (experimental) Options for privately hosted scoped packages. Default: - fetch all scoped packages from the public npm registry
|
|
390
423
|
:param scripts: (deprecated) npm scripts to include. If a script has the same name as a standard script, the standard script will be overwritten. Also adds the script as a task. Default: {}
|
|
391
424
|
:param stability: (experimental) Package's Stability.
|
|
392
425
|
:param yarn_berry_options: (experimental) Options for Yarn Berry. Default: - Yarn Berry v4 with all default options
|
|
426
|
+
: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"
|
|
393
427
|
:param jsii_release_version: (experimental) Version requirement of ``publib`` which is used to publish modules to npm. Default: "latest"
|
|
394
428
|
:param major_version: (experimental) Major version to release from the default branch. If this is specified, we bump the latest version of this major version line. If not specified, we bump the global latest version. Default: - Major version is not enforced.
|
|
395
429
|
: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
|
|
430
|
+
: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. - ``$SUGGESTED_BUMP``: the suggested bump action based on commits. One of ``major|minor|patch|none``. 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.
|
|
396
431
|
: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"
|
|
397
432
|
:param post_build_steps: (experimental) Steps to execute after build as part of the release workflow. Default: []
|
|
398
433
|
:param prerelease: (experimental) Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre"). Default: - normal semantic versions
|
|
@@ -400,15 +435,17 @@ class ConstructLibraryCdktf(
|
|
|
400
435
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
401
436
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
402
437
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
438
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
403
439
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
404
440
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
405
441
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
406
442
|
:param release_schedule: (deprecated) CRON schedule to trigger new releases. Default: - no scheduled releases
|
|
407
443
|
:param release_tag_prefix: (experimental) Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers. Note: this prefix is used to detect the latest tagged version when bumping, so if you change this on a project with an existing version history, you may need to manually tag your latest release with the new prefix. Default: "v"
|
|
408
444
|
:param release_trigger: (experimental) The release trigger to use. Default: - Continuous releases (``ReleaseTrigger.continuous()``)
|
|
445
|
+
:param release_workflow_env: (experimental) Build environment variables for release workflows. Default: {}
|
|
409
446
|
:param release_workflow_name: (experimental) The name of the default release workflow. Default: "release"
|
|
410
447
|
:param release_workflow_setup_steps: (experimental) A set of workflow steps to execute in order to setup the workflow container.
|
|
411
|
-
:param versionrc_options: (experimental) Custom configuration used when creating changelog with
|
|
448
|
+
:param versionrc_options: (experimental) Custom configuration used when creating changelog with commit-and-tag-version package. Given values either append to default configuration or overwrite values in it. Default: - standard configuration applicable for GitHub repositories
|
|
412
449
|
:param workflow_container_image: (experimental) Container image to use for GitHub workflows. Default: - default image
|
|
413
450
|
:param workflow_runs_on: (experimental) Github Runner selection labels. Default: ["ubuntu-latest"]
|
|
414
451
|
:param workflow_runs_on_group: (experimental) Github Runner Group selection options.
|
|
@@ -467,7 +504,11 @@ class ConstructLibraryCdktf(
|
|
|
467
504
|
typescript_version=typescript_version,
|
|
468
505
|
default_release_branch=default_release_branch,
|
|
469
506
|
artifacts_directory=artifacts_directory,
|
|
507
|
+
audit_deps=audit_deps,
|
|
508
|
+
audit_deps_options=audit_deps_options,
|
|
470
509
|
auto_approve_upgrades=auto_approve_upgrades,
|
|
510
|
+
biome=biome,
|
|
511
|
+
biome_options=biome_options,
|
|
471
512
|
build_workflow=build_workflow,
|
|
472
513
|
build_workflow_options=build_workflow_options,
|
|
473
514
|
build_workflow_triggers=build_workflow_triggers,
|
|
@@ -531,6 +572,7 @@ class ConstructLibraryCdktf(
|
|
|
531
572
|
bugs_email=bugs_email,
|
|
532
573
|
bugs_url=bugs_url,
|
|
533
574
|
bundled_deps=bundled_deps,
|
|
575
|
+
bun_version=bun_version,
|
|
534
576
|
code_artifact_options=code_artifact_options,
|
|
535
577
|
deps=deps,
|
|
536
578
|
description=description,
|
|
@@ -547,6 +589,7 @@ class ConstructLibraryCdktf(
|
|
|
547
589
|
npm_registry=npm_registry,
|
|
548
590
|
npm_registry_url=npm_registry_url,
|
|
549
591
|
npm_token_secret=npm_token_secret,
|
|
592
|
+
npm_trusted_publishing=npm_trusted_publishing,
|
|
550
593
|
package_manager=package_manager,
|
|
551
594
|
package_name=package_name,
|
|
552
595
|
peer_dependency_options=peer_dependency_options,
|
|
@@ -558,9 +601,11 @@ class ConstructLibraryCdktf(
|
|
|
558
601
|
scripts=scripts,
|
|
559
602
|
stability=stability,
|
|
560
603
|
yarn_berry_options=yarn_berry_options,
|
|
604
|
+
bump_package=bump_package,
|
|
561
605
|
jsii_release_version=jsii_release_version,
|
|
562
606
|
major_version=major_version,
|
|
563
607
|
min_major_version=min_major_version,
|
|
608
|
+
next_version_command=next_version_command,
|
|
564
609
|
npm_dist_tag=npm_dist_tag,
|
|
565
610
|
post_build_steps=post_build_steps,
|
|
566
611
|
prerelease=prerelease,
|
|
@@ -568,12 +613,14 @@ class ConstructLibraryCdktf(
|
|
|
568
613
|
publish_tasks=publish_tasks,
|
|
569
614
|
releasable_commits=releasable_commits,
|
|
570
615
|
release_branches=release_branches,
|
|
616
|
+
release_environment=release_environment,
|
|
571
617
|
release_every_commit=release_every_commit,
|
|
572
618
|
release_failure_issue=release_failure_issue,
|
|
573
619
|
release_failure_issue_label=release_failure_issue_label,
|
|
574
620
|
release_schedule=release_schedule,
|
|
575
621
|
release_tag_prefix=release_tag_prefix,
|
|
576
622
|
release_trigger=release_trigger,
|
|
623
|
+
release_workflow_env=release_workflow_env,
|
|
577
624
|
release_workflow_name=release_workflow_name,
|
|
578
625
|
release_workflow_setup_steps=release_workflow_setup_steps,
|
|
579
626
|
versionrc_options=versionrc_options,
|
|
@@ -640,6 +687,7 @@ class ConstructLibraryCdktf(
|
|
|
640
687
|
"bugs_email": "bugsEmail",
|
|
641
688
|
"bugs_url": "bugsUrl",
|
|
642
689
|
"bundled_deps": "bundledDeps",
|
|
690
|
+
"bun_version": "bunVersion",
|
|
643
691
|
"code_artifact_options": "codeArtifactOptions",
|
|
644
692
|
"deps": "deps",
|
|
645
693
|
"description": "description",
|
|
@@ -656,6 +704,7 @@ class ConstructLibraryCdktf(
|
|
|
656
704
|
"npm_registry": "npmRegistry",
|
|
657
705
|
"npm_registry_url": "npmRegistryUrl",
|
|
658
706
|
"npm_token_secret": "npmTokenSecret",
|
|
707
|
+
"npm_trusted_publishing": "npmTrustedPublishing",
|
|
659
708
|
"package_manager": "packageManager",
|
|
660
709
|
"package_name": "packageName",
|
|
661
710
|
"peer_dependency_options": "peerDependencyOptions",
|
|
@@ -667,9 +716,11 @@ class ConstructLibraryCdktf(
|
|
|
667
716
|
"scripts": "scripts",
|
|
668
717
|
"stability": "stability",
|
|
669
718
|
"yarn_berry_options": "yarnBerryOptions",
|
|
719
|
+
"bump_package": "bumpPackage",
|
|
670
720
|
"jsii_release_version": "jsiiReleaseVersion",
|
|
671
721
|
"major_version": "majorVersion",
|
|
672
722
|
"min_major_version": "minMajorVersion",
|
|
723
|
+
"next_version_command": "nextVersionCommand",
|
|
673
724
|
"npm_dist_tag": "npmDistTag",
|
|
674
725
|
"post_build_steps": "postBuildSteps",
|
|
675
726
|
"prerelease": "prerelease",
|
|
@@ -677,12 +728,14 @@ class ConstructLibraryCdktf(
|
|
|
677
728
|
"publish_tasks": "publishTasks",
|
|
678
729
|
"releasable_commits": "releasableCommits",
|
|
679
730
|
"release_branches": "releaseBranches",
|
|
731
|
+
"release_environment": "releaseEnvironment",
|
|
680
732
|
"release_every_commit": "releaseEveryCommit",
|
|
681
733
|
"release_failure_issue": "releaseFailureIssue",
|
|
682
734
|
"release_failure_issue_label": "releaseFailureIssueLabel",
|
|
683
735
|
"release_schedule": "releaseSchedule",
|
|
684
736
|
"release_tag_prefix": "releaseTagPrefix",
|
|
685
737
|
"release_trigger": "releaseTrigger",
|
|
738
|
+
"release_workflow_env": "releaseWorkflowEnv",
|
|
686
739
|
"release_workflow_name": "releaseWorkflowName",
|
|
687
740
|
"release_workflow_setup_steps": "releaseWorkflowSetupSteps",
|
|
688
741
|
"versionrc_options": "versionrcOptions",
|
|
@@ -691,7 +744,11 @@ class ConstructLibraryCdktf(
|
|
|
691
744
|
"workflow_runs_on_group": "workflowRunsOnGroup",
|
|
692
745
|
"default_release_branch": "defaultReleaseBranch",
|
|
693
746
|
"artifacts_directory": "artifactsDirectory",
|
|
747
|
+
"audit_deps": "auditDeps",
|
|
748
|
+
"audit_deps_options": "auditDepsOptions",
|
|
694
749
|
"auto_approve_upgrades": "autoApproveUpgrades",
|
|
750
|
+
"biome": "biome",
|
|
751
|
+
"biome_options": "biomeOptions",
|
|
695
752
|
"build_workflow": "buildWorkflow",
|
|
696
753
|
"build_workflow_options": "buildWorkflowOptions",
|
|
697
754
|
"build_workflow_triggers": "buildWorkflowTriggers",
|
|
@@ -810,6 +867,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
810
867
|
bugs_email: typing.Optional[builtins.str] = None,
|
|
811
868
|
bugs_url: typing.Optional[builtins.str] = None,
|
|
812
869
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
870
|
+
bun_version: typing.Optional[builtins.str] = None,
|
|
813
871
|
code_artifact_options: typing.Optional[typing.Union[_CodeArtifactOptions_e4782b3e, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
814
872
|
deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
815
873
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -826,6 +884,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
826
884
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
827
885
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
828
886
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
887
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
829
888
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
830
889
|
package_name: typing.Optional[builtins.str] = None,
|
|
831
890
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -837,9 +896,11 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
837
896
|
scripts: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
838
897
|
stability: typing.Optional[builtins.str] = None,
|
|
839
898
|
yarn_berry_options: typing.Optional[typing.Union[_YarnBerryOptions_b6942539, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
899
|
+
bump_package: typing.Optional[builtins.str] = None,
|
|
840
900
|
jsii_release_version: typing.Optional[builtins.str] = None,
|
|
841
901
|
major_version: typing.Optional[jsii.Number] = None,
|
|
842
902
|
min_major_version: typing.Optional[jsii.Number] = None,
|
|
903
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
|
843
904
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
|
844
905
|
post_build_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
845
906
|
prerelease: typing.Optional[builtins.str] = None,
|
|
@@ -847,12 +908,14 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
847
908
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
848
909
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
849
910
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
911
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
850
912
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
851
913
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
852
914
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
853
915
|
release_schedule: typing.Optional[builtins.str] = None,
|
|
854
916
|
release_tag_prefix: typing.Optional[builtins.str] = None,
|
|
855
917
|
release_trigger: typing.Optional[_ReleaseTrigger_e4dc221f] = None,
|
|
918
|
+
release_workflow_env: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
856
919
|
release_workflow_name: typing.Optional[builtins.str] = None,
|
|
857
920
|
release_workflow_setup_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
858
921
|
versionrc_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -861,7 +924,11 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
861
924
|
workflow_runs_on_group: typing.Optional[typing.Union[_GroupRunnerOptions_148c59c1, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
862
925
|
default_release_branch: builtins.str,
|
|
863
926
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
927
|
+
audit_deps: typing.Optional[builtins.bool] = None,
|
|
928
|
+
audit_deps_options: typing.Optional[typing.Union[_AuditOptions_429c62df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
864
929
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
930
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
931
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
865
932
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
866
933
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
867
934
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -976,6 +1043,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
976
1043
|
:param bugs_email: (experimental) The email address to which issues should be reported.
|
|
977
1044
|
:param bugs_url: (experimental) The url to your project's issue tracker.
|
|
978
1045
|
: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.
|
|
1046
|
+
:param bun_version: (experimental) The version of Bun to use if using Bun as a package manager. Default: "latest"
|
|
979
1047
|
:param code_artifact_options: (experimental) Options for npm packages using AWS CodeArtifact. This is required if publishing packages to, or installing scoped packages from AWS CodeArtifact Default: - undefined
|
|
980
1048
|
:param deps: (experimental) Runtime dependencies of this module. 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. Default: []
|
|
981
1049
|
:param description: (experimental) The description is just a string that helps people understand the purpose of the package. It can be used when searching for packages in a package manager as well. See https://classic.yarnpkg.com/en/docs/package-json/#toc-description
|
|
@@ -985,27 +1053,30 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
985
1053
|
:param keywords: (experimental) Keywords to include in ``package.json``.
|
|
986
1054
|
:param license: (experimental) License's SPDX identifier. See https://github.com/projen/projen/tree/main/license-text for a list of supported licenses. Use the ``licensed`` option if you want to no license to be specified. Default: "Apache-2.0"
|
|
987
1055
|
:param licensed: (experimental) Indicates if a license should be added. Default: true
|
|
988
|
-
:param max_node_version: (experimental)
|
|
989
|
-
:param min_node_version: (experimental)
|
|
1056
|
+
:param max_node_version: (experimental) The maximum node version supported by this package. Most projects should not use this option. The value indicates that the package is incompatible with any newer versions of node. This requirement is enforced via the engines field. You will normally not need to set this option. Consider this option only if your package is known to not function with newer versions of node. Default: - no maximum version is enforced
|
|
1057
|
+
: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
|
|
990
1058
|
: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``.
|
|
991
1059
|
:param npm_provenance: (experimental) Should provenance statements be generated when the package is published. A supported package manager is required to publish a package with npm provenance statements and you will need to use a supported CI/CD provider. Note that the projen ``Release`` and ``Publisher`` components are using ``publib`` to publish packages, which is using npm internally and supports provenance statements independently of the package manager used. Default: - true for public packages, false otherwise
|
|
992
1060
|
:param npm_registry: (deprecated) The host name of the npm registry to publish to. Cannot be set together with ``npmRegistryUrl``.
|
|
993
1061
|
:param npm_registry_url: (experimental) The base URL of the npm package registry. Must be a URL (e.g. start with "https://" or "http://") Default: "https://registry.npmjs.org"
|
|
994
1062
|
:param npm_token_secret: (experimental) GitHub secret which contains the NPM token to use when publishing packages. Default: "NPM_TOKEN"
|
|
1063
|
+
:param npm_trusted_publishing: (experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. Default: - false
|
|
995
1064
|
:param package_manager: (experimental) The Node Package Manager used to execute scripts. Default: NodePackageManager.YARN_CLASSIC
|
|
996
1065
|
:param package_name: (experimental) The "name" in package.json. Default: - defaults to project name
|
|
997
1066
|
:param peer_dependency_options: (experimental) Options for ``peerDeps``.
|
|
998
1067
|
:param peer_deps: (experimental) Peer dependencies for this module. Dependencies listed here are required to be installed (and satisfied) by the *consumer* of this library. Using peer dependencies allows you to ensure that only a single module of a certain library exists in the ``node_modules`` tree of your consumers. Note that prior to npm@7, peer dependencies are *not* automatically installed, which means that adding peer dependencies to a library will be a breaking change for your customers. Unless ``peerDependencyOptions.pinnedDevDependency`` is disabled (it is enabled by default), projen will automatically add a dev dependency with a pinned version for each peer dependency. This will ensure that you build & test your module against the lowest peer version required. Default: []
|
|
999
|
-
:param pnpm_version: (experimental) The version of PNPM to use if using PNPM as a package manager. Default: "
|
|
1068
|
+
:param pnpm_version: (experimental) The version of PNPM to use if using PNPM as a package manager. Default: "9"
|
|
1000
1069
|
:param repository: (experimental) The repository is the location where the actual code for your package lives. See https://classic.yarnpkg.com/en/docs/package-json/#toc-repository
|
|
1001
1070
|
:param repository_directory: (experimental) If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives.
|
|
1002
1071
|
:param scoped_packages_options: (experimental) Options for privately hosted scoped packages. Default: - fetch all scoped packages from the public npm registry
|
|
1003
1072
|
:param scripts: (deprecated) npm scripts to include. If a script has the same name as a standard script, the standard script will be overwritten. Also adds the script as a task. Default: {}
|
|
1004
1073
|
:param stability: (experimental) Package's Stability.
|
|
1005
1074
|
:param yarn_berry_options: (experimental) Options for Yarn Berry. Default: - Yarn Berry v4 with all default options
|
|
1075
|
+
: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"
|
|
1006
1076
|
:param jsii_release_version: (experimental) Version requirement of ``publib`` which is used to publish modules to npm. Default: "latest"
|
|
1007
1077
|
:param major_version: (experimental) Major version to release from the default branch. If this is specified, we bump the latest version of this major version line. If not specified, we bump the global latest version. Default: - Major version is not enforced.
|
|
1008
1078
|
: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
|
|
1079
|
+
: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. - ``$SUGGESTED_BUMP``: the suggested bump action based on commits. One of ``major|minor|patch|none``. 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.
|
|
1009
1080
|
: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"
|
|
1010
1081
|
:param post_build_steps: (experimental) Steps to execute after build as part of the release workflow. Default: []
|
|
1011
1082
|
:param prerelease: (experimental) Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre"). Default: - normal semantic versions
|
|
@@ -1013,28 +1084,34 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1013
1084
|
:param publish_tasks: (experimental) Define publishing tasks that can be executed manually as well as workflows. Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity. Default: false
|
|
1014
1085
|
:param releasable_commits: (experimental) Find commits that should be considered releasable Used to decide if a release is required. Default: ReleasableCommits.everyCommit()
|
|
1015
1086
|
:param release_branches: (experimental) Defines additional release branches. A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch *must* be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the ``majorVersion`` field must also be provided for the default branch. Default: - no additional branches are used for release. you can use ``addBranch()`` to add additional branches.
|
|
1087
|
+
:param release_environment: (experimental) The GitHub Actions environment used for the release. This can be used to add an explicit approval step to the release or limit who can initiate a release through environment protection rules. When multiple artifacts are released, the environment can be overwritten on a per artifact basis. Default: - no environment used, unless set at the artifact level
|
|
1016
1088
|
:param release_every_commit: (deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``. Default: true
|
|
1017
1089
|
:param release_failure_issue: (experimental) Create a github issue on every failed publishing task. Default: false
|
|
1018
1090
|
:param release_failure_issue_label: (experimental) The label to apply to issues indicating publish failures. Only applies if ``releaseFailureIssue`` is true. Default: "failed-release"
|
|
1019
1091
|
:param release_schedule: (deprecated) CRON schedule to trigger new releases. Default: - no scheduled releases
|
|
1020
1092
|
:param release_tag_prefix: (experimental) Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers. Note: this prefix is used to detect the latest tagged version when bumping, so if you change this on a project with an existing version history, you may need to manually tag your latest release with the new prefix. Default: "v"
|
|
1021
1093
|
:param release_trigger: (experimental) The release trigger to use. Default: - Continuous releases (``ReleaseTrigger.continuous()``)
|
|
1094
|
+
:param release_workflow_env: (experimental) Build environment variables for release workflows. Default: {}
|
|
1022
1095
|
:param release_workflow_name: (experimental) The name of the default release workflow. Default: "release"
|
|
1023
1096
|
:param release_workflow_setup_steps: (experimental) A set of workflow steps to execute in order to setup the workflow container.
|
|
1024
|
-
:param versionrc_options: (experimental) Custom configuration used when creating changelog with
|
|
1097
|
+
:param versionrc_options: (experimental) Custom configuration used when creating changelog with commit-and-tag-version package. Given values either append to default configuration or overwrite values in it. Default: - standard configuration applicable for GitHub repositories
|
|
1025
1098
|
:param workflow_container_image: (experimental) Container image to use for GitHub workflows. Default: - default image
|
|
1026
1099
|
:param workflow_runs_on: (experimental) Github Runner selection labels. Default: ["ubuntu-latest"]
|
|
1027
1100
|
:param workflow_runs_on_group: (experimental) Github Runner Group selection options.
|
|
1028
1101
|
:param default_release_branch: (experimental) The name of the main release branch. Default: "main"
|
|
1029
1102
|
:param artifacts_directory: (experimental) A directory which will contain build artifacts. Default: "dist"
|
|
1103
|
+
:param audit_deps: (experimental) Run security audit on dependencies. When enabled, creates an "audit" task that checks for known security vulnerabilities in dependencies. By default, runs during every build and checks for "high" severity vulnerabilities or above in all dependencies (including dev dependencies). Default: false
|
|
1104
|
+
:param audit_deps_options: (experimental) Security audit options. Default: - default options
|
|
1030
1105
|
:param auto_approve_upgrades: (experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). Throw if set to true but ``autoApproveOptions`` are not defined. Default: - true
|
|
1106
|
+
:param biome: (experimental) Setup Biome. Default: false
|
|
1107
|
+
:param biome_options: (experimental) Biome options. Default: - default options
|
|
1031
1108
|
:param build_workflow: (experimental) Define a GitHub workflow for building PRs. Default: - true if not a subproject
|
|
1032
1109
|
:param build_workflow_options: (experimental) Options for PR build workflow.
|
|
1033
1110
|
:param build_workflow_triggers: (deprecated) Build workflow triggers. Default: "{ pullRequest: {}, workflowDispatch: {} }"
|
|
1034
1111
|
:param bundler_options: (experimental) Options for ``Bundler``.
|
|
1035
1112
|
: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
|
|
1036
|
-
:param code_cov: (experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@
|
|
1037
|
-
:param code_cov_token_secret: (experimental) Define the secret name for a specified https://codecov.io/ token
|
|
1113
|
+
:param code_cov: (experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v5 By default, OIDC auth is used. Alternatively a token can be provided via ``codeCovTokenSecret``. Default: false
|
|
1114
|
+
:param code_cov_token_secret: (experimental) Define the secret name for a specified https://codecov.io/ token. Default: - OIDC auth is used
|
|
1038
1115
|
:param copyright_owner: (experimental) License copyright owner. Default: - defaults to the value of authorName or "" if ``authorName`` is undefined.
|
|
1039
1116
|
:param copyright_period: (experimental) The copyright years to put in the LICENSE file. Default: - current year
|
|
1040
1117
|
:param dependabot: (experimental) Use dependabot to handle dependency upgrades. Cannot be used in conjunction with ``depsUpgrade``. Default: false
|
|
@@ -1061,15 +1138,15 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1061
1138
|
:param release_to_npm: (experimental) Automatically release to npm when new versions are introduced. Default: false
|
|
1062
1139
|
:param release_workflow: (deprecated) DEPRECATED: renamed to ``release``. Default: - true if not a subproject
|
|
1063
1140
|
:param workflow_bootstrap_steps: (experimental) Workflow steps to use in order to bootstrap this repo. Default: "yarn install --frozen-lockfile && yarn projen"
|
|
1064
|
-
:param workflow_git_identity: (experimental) The git identity to use in workflows. Default: - GitHub Actions
|
|
1065
|
-
:param workflow_node_version: (experimental) The node version
|
|
1141
|
+
:param workflow_git_identity: (experimental) The git identity to use in workflows. Default: - default GitHub Actions user
|
|
1142
|
+
:param workflow_node_version: (experimental) The node version used in GitHub Actions workflows. Always use this option if your GitHub Actions workflows require a specific to run. Default: - ``minNodeVersion`` if set, otherwise ``lts/*``.
|
|
1066
1143
|
:param workflow_package_cache: (experimental) Enable Node.js package cache in GitHub workflows. Default: false
|
|
1067
1144
|
: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
|
|
1068
1145
|
:param disable_tsconfig_dev: (experimental) Do not generate a ``tsconfig.dev.json`` file. Default: false
|
|
1069
1146
|
:param docgen: (experimental) Docgen by Typedoc. Default: false
|
|
1070
1147
|
:param docs_directory: (experimental) Docs directory. Default: "docs"
|
|
1071
1148
|
:param entrypoint_types: (experimental) The .d.ts file that includes the type declarations for this module. Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
1072
|
-
:param eslint: (experimental) Setup eslint. Default: true
|
|
1149
|
+
:param eslint: (experimental) Setup eslint. Default: - true, unless biome is enabled
|
|
1073
1150
|
:param eslint_options: (experimental) Eslint options. Default: - opinionated default options
|
|
1074
1151
|
:param libdir: (experimental) Typescript artifacts output directory. Default: "lib"
|
|
1075
1152
|
:param projenrc_ts: (experimental) Use TypeScript for your projenrc file (``.projenrc.ts``). Default: false
|
|
@@ -1091,7 +1168,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1091
1168
|
:param docgen_file_path: (experimental) File path for generated docs. Default: "API.md"
|
|
1092
1169
|
:param dotnet:
|
|
1093
1170
|
:param exclude_typescript: (experimental) Accepts a list of glob patterns. Files matching any of those patterns will be excluded from the TypeScript compiler input. By default, jsii will include all *.ts files (except .d.ts files) in the TypeScript compiler input. This can be problematic for example when the package's build or test procedure generates .ts files that cannot be compiled with jsii's compiler settings.
|
|
1094
|
-
:param jsii_version: (experimental) Version of the jsii compiler to use. Set to "*" if you want to manually manage the version of jsii in your project by managing updates to ``package.json`` on your own. NOTE: The jsii compiler releases since 5.0.0 are not semantically versioned and should remain on the same minor, so we recommend using a ``~`` dependency (e.g. ``~5.0.0``). Default: "
|
|
1171
|
+
:param jsii_version: (experimental) Version of the jsii compiler to use. Set to "*" if you want to manually manage the version of jsii in your project by managing updates to ``package.json`` on your own. NOTE: The jsii compiler releases since 5.0.0 are not semantically versioned and should remain on the same minor, so we recommend using a ``~`` dependency (e.g. ``~5.0.0``). Default: "~5.8.0"
|
|
1095
1172
|
:param publish_to_go: (experimental) Publish Go bindings to a git repository. Default: - no publishing
|
|
1096
1173
|
:param publish_to_maven: (experimental) Publish to maven. Default: - no publishing
|
|
1097
1174
|
:param publish_to_nuget: (experimental) Publish to NuGet. Default: - no publishing
|
|
@@ -1134,6 +1211,10 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1134
1211
|
yarn_berry_options = _YarnBerryOptions_b6942539(**yarn_berry_options)
|
|
1135
1212
|
if isinstance(workflow_runs_on_group, dict):
|
|
1136
1213
|
workflow_runs_on_group = _GroupRunnerOptions_148c59c1(**workflow_runs_on_group)
|
|
1214
|
+
if isinstance(audit_deps_options, dict):
|
|
1215
|
+
audit_deps_options = _AuditOptions_429c62df(**audit_deps_options)
|
|
1216
|
+
if isinstance(biome_options, dict):
|
|
1217
|
+
biome_options = _BiomeOptions_452ab984(**biome_options)
|
|
1137
1218
|
if isinstance(build_workflow_options, dict):
|
|
1138
1219
|
build_workflow_options = _BuildWorkflowOptions_b756f97f(**build_workflow_options)
|
|
1139
1220
|
if isinstance(build_workflow_triggers, dict):
|
|
@@ -1221,6 +1302,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1221
1302
|
check_type(argname="argument bugs_email", value=bugs_email, expected_type=type_hints["bugs_email"])
|
|
1222
1303
|
check_type(argname="argument bugs_url", value=bugs_url, expected_type=type_hints["bugs_url"])
|
|
1223
1304
|
check_type(argname="argument bundled_deps", value=bundled_deps, expected_type=type_hints["bundled_deps"])
|
|
1305
|
+
check_type(argname="argument bun_version", value=bun_version, expected_type=type_hints["bun_version"])
|
|
1224
1306
|
check_type(argname="argument code_artifact_options", value=code_artifact_options, expected_type=type_hints["code_artifact_options"])
|
|
1225
1307
|
check_type(argname="argument deps", value=deps, expected_type=type_hints["deps"])
|
|
1226
1308
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
@@ -1237,6 +1319,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1237
1319
|
check_type(argname="argument npm_registry", value=npm_registry, expected_type=type_hints["npm_registry"])
|
|
1238
1320
|
check_type(argname="argument npm_registry_url", value=npm_registry_url, expected_type=type_hints["npm_registry_url"])
|
|
1239
1321
|
check_type(argname="argument npm_token_secret", value=npm_token_secret, expected_type=type_hints["npm_token_secret"])
|
|
1322
|
+
check_type(argname="argument npm_trusted_publishing", value=npm_trusted_publishing, expected_type=type_hints["npm_trusted_publishing"])
|
|
1240
1323
|
check_type(argname="argument package_manager", value=package_manager, expected_type=type_hints["package_manager"])
|
|
1241
1324
|
check_type(argname="argument package_name", value=package_name, expected_type=type_hints["package_name"])
|
|
1242
1325
|
check_type(argname="argument peer_dependency_options", value=peer_dependency_options, expected_type=type_hints["peer_dependency_options"])
|
|
@@ -1248,9 +1331,11 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1248
1331
|
check_type(argname="argument scripts", value=scripts, expected_type=type_hints["scripts"])
|
|
1249
1332
|
check_type(argname="argument stability", value=stability, expected_type=type_hints["stability"])
|
|
1250
1333
|
check_type(argname="argument yarn_berry_options", value=yarn_berry_options, expected_type=type_hints["yarn_berry_options"])
|
|
1334
|
+
check_type(argname="argument bump_package", value=bump_package, expected_type=type_hints["bump_package"])
|
|
1251
1335
|
check_type(argname="argument jsii_release_version", value=jsii_release_version, expected_type=type_hints["jsii_release_version"])
|
|
1252
1336
|
check_type(argname="argument major_version", value=major_version, expected_type=type_hints["major_version"])
|
|
1253
1337
|
check_type(argname="argument min_major_version", value=min_major_version, expected_type=type_hints["min_major_version"])
|
|
1338
|
+
check_type(argname="argument next_version_command", value=next_version_command, expected_type=type_hints["next_version_command"])
|
|
1254
1339
|
check_type(argname="argument npm_dist_tag", value=npm_dist_tag, expected_type=type_hints["npm_dist_tag"])
|
|
1255
1340
|
check_type(argname="argument post_build_steps", value=post_build_steps, expected_type=type_hints["post_build_steps"])
|
|
1256
1341
|
check_type(argname="argument prerelease", value=prerelease, expected_type=type_hints["prerelease"])
|
|
@@ -1258,12 +1343,14 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1258
1343
|
check_type(argname="argument publish_tasks", value=publish_tasks, expected_type=type_hints["publish_tasks"])
|
|
1259
1344
|
check_type(argname="argument releasable_commits", value=releasable_commits, expected_type=type_hints["releasable_commits"])
|
|
1260
1345
|
check_type(argname="argument release_branches", value=release_branches, expected_type=type_hints["release_branches"])
|
|
1346
|
+
check_type(argname="argument release_environment", value=release_environment, expected_type=type_hints["release_environment"])
|
|
1261
1347
|
check_type(argname="argument release_every_commit", value=release_every_commit, expected_type=type_hints["release_every_commit"])
|
|
1262
1348
|
check_type(argname="argument release_failure_issue", value=release_failure_issue, expected_type=type_hints["release_failure_issue"])
|
|
1263
1349
|
check_type(argname="argument release_failure_issue_label", value=release_failure_issue_label, expected_type=type_hints["release_failure_issue_label"])
|
|
1264
1350
|
check_type(argname="argument release_schedule", value=release_schedule, expected_type=type_hints["release_schedule"])
|
|
1265
1351
|
check_type(argname="argument release_tag_prefix", value=release_tag_prefix, expected_type=type_hints["release_tag_prefix"])
|
|
1266
1352
|
check_type(argname="argument release_trigger", value=release_trigger, expected_type=type_hints["release_trigger"])
|
|
1353
|
+
check_type(argname="argument release_workflow_env", value=release_workflow_env, expected_type=type_hints["release_workflow_env"])
|
|
1267
1354
|
check_type(argname="argument release_workflow_name", value=release_workflow_name, expected_type=type_hints["release_workflow_name"])
|
|
1268
1355
|
check_type(argname="argument release_workflow_setup_steps", value=release_workflow_setup_steps, expected_type=type_hints["release_workflow_setup_steps"])
|
|
1269
1356
|
check_type(argname="argument versionrc_options", value=versionrc_options, expected_type=type_hints["versionrc_options"])
|
|
@@ -1272,7 +1359,11 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1272
1359
|
check_type(argname="argument workflow_runs_on_group", value=workflow_runs_on_group, expected_type=type_hints["workflow_runs_on_group"])
|
|
1273
1360
|
check_type(argname="argument default_release_branch", value=default_release_branch, expected_type=type_hints["default_release_branch"])
|
|
1274
1361
|
check_type(argname="argument artifacts_directory", value=artifacts_directory, expected_type=type_hints["artifacts_directory"])
|
|
1362
|
+
check_type(argname="argument audit_deps", value=audit_deps, expected_type=type_hints["audit_deps"])
|
|
1363
|
+
check_type(argname="argument audit_deps_options", value=audit_deps_options, expected_type=type_hints["audit_deps_options"])
|
|
1275
1364
|
check_type(argname="argument auto_approve_upgrades", value=auto_approve_upgrades, expected_type=type_hints["auto_approve_upgrades"])
|
|
1365
|
+
check_type(argname="argument biome", value=biome, expected_type=type_hints["biome"])
|
|
1366
|
+
check_type(argname="argument biome_options", value=biome_options, expected_type=type_hints["biome_options"])
|
|
1276
1367
|
check_type(argname="argument build_workflow", value=build_workflow, expected_type=type_hints["build_workflow"])
|
|
1277
1368
|
check_type(argname="argument build_workflow_options", value=build_workflow_options, expected_type=type_hints["build_workflow_options"])
|
|
1278
1369
|
check_type(argname="argument build_workflow_triggers", value=build_workflow_triggers, expected_type=type_hints["build_workflow_triggers"])
|
|
@@ -1430,6 +1521,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1430
1521
|
self._values["bugs_url"] = bugs_url
|
|
1431
1522
|
if bundled_deps is not None:
|
|
1432
1523
|
self._values["bundled_deps"] = bundled_deps
|
|
1524
|
+
if bun_version is not None:
|
|
1525
|
+
self._values["bun_version"] = bun_version
|
|
1433
1526
|
if code_artifact_options is not None:
|
|
1434
1527
|
self._values["code_artifact_options"] = code_artifact_options
|
|
1435
1528
|
if deps is not None:
|
|
@@ -1462,6 +1555,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1462
1555
|
self._values["npm_registry_url"] = npm_registry_url
|
|
1463
1556
|
if npm_token_secret is not None:
|
|
1464
1557
|
self._values["npm_token_secret"] = npm_token_secret
|
|
1558
|
+
if npm_trusted_publishing is not None:
|
|
1559
|
+
self._values["npm_trusted_publishing"] = npm_trusted_publishing
|
|
1465
1560
|
if package_manager is not None:
|
|
1466
1561
|
self._values["package_manager"] = package_manager
|
|
1467
1562
|
if package_name is not None:
|
|
@@ -1484,12 +1579,16 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1484
1579
|
self._values["stability"] = stability
|
|
1485
1580
|
if yarn_berry_options is not None:
|
|
1486
1581
|
self._values["yarn_berry_options"] = yarn_berry_options
|
|
1582
|
+
if bump_package is not None:
|
|
1583
|
+
self._values["bump_package"] = bump_package
|
|
1487
1584
|
if jsii_release_version is not None:
|
|
1488
1585
|
self._values["jsii_release_version"] = jsii_release_version
|
|
1489
1586
|
if major_version is not None:
|
|
1490
1587
|
self._values["major_version"] = major_version
|
|
1491
1588
|
if min_major_version is not None:
|
|
1492
1589
|
self._values["min_major_version"] = min_major_version
|
|
1590
|
+
if next_version_command is not None:
|
|
1591
|
+
self._values["next_version_command"] = next_version_command
|
|
1493
1592
|
if npm_dist_tag is not None:
|
|
1494
1593
|
self._values["npm_dist_tag"] = npm_dist_tag
|
|
1495
1594
|
if post_build_steps is not None:
|
|
@@ -1504,6 +1603,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1504
1603
|
self._values["releasable_commits"] = releasable_commits
|
|
1505
1604
|
if release_branches is not None:
|
|
1506
1605
|
self._values["release_branches"] = release_branches
|
|
1606
|
+
if release_environment is not None:
|
|
1607
|
+
self._values["release_environment"] = release_environment
|
|
1507
1608
|
if release_every_commit is not None:
|
|
1508
1609
|
self._values["release_every_commit"] = release_every_commit
|
|
1509
1610
|
if release_failure_issue is not None:
|
|
@@ -1516,6 +1617,8 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1516
1617
|
self._values["release_tag_prefix"] = release_tag_prefix
|
|
1517
1618
|
if release_trigger is not None:
|
|
1518
1619
|
self._values["release_trigger"] = release_trigger
|
|
1620
|
+
if release_workflow_env is not None:
|
|
1621
|
+
self._values["release_workflow_env"] = release_workflow_env
|
|
1519
1622
|
if release_workflow_name is not None:
|
|
1520
1623
|
self._values["release_workflow_name"] = release_workflow_name
|
|
1521
1624
|
if release_workflow_setup_steps is not None:
|
|
@@ -1530,8 +1633,16 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
1530
1633
|
self._values["workflow_runs_on_group"] = workflow_runs_on_group
|
|
1531
1634
|
if artifacts_directory is not None:
|
|
1532
1635
|
self._values["artifacts_directory"] = artifacts_directory
|
|
1636
|
+
if audit_deps is not None:
|
|
1637
|
+
self._values["audit_deps"] = audit_deps
|
|
1638
|
+
if audit_deps_options is not None:
|
|
1639
|
+
self._values["audit_deps_options"] = audit_deps_options
|
|
1533
1640
|
if auto_approve_upgrades is not None:
|
|
1534
1641
|
self._values["auto_approve_upgrades"] = auto_approve_upgrades
|
|
1642
|
+
if biome is not None:
|
|
1643
|
+
self._values["biome"] = biome
|
|
1644
|
+
if biome_options is not None:
|
|
1645
|
+
self._values["biome_options"] = biome_options
|
|
1535
1646
|
if build_workflow is not None:
|
|
1536
1647
|
self._values["build_workflow"] = build_workflow
|
|
1537
1648
|
if build_workflow_options is not None:
|
|
@@ -2135,6 +2246,17 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2135
2246
|
result = self._values.get("bundled_deps")
|
|
2136
2247
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2137
2248
|
|
|
2249
|
+
@builtins.property
|
|
2250
|
+
def bun_version(self) -> typing.Optional[builtins.str]:
|
|
2251
|
+
'''(experimental) The version of Bun to use if using Bun as a package manager.
|
|
2252
|
+
|
|
2253
|
+
:default: "latest"
|
|
2254
|
+
|
|
2255
|
+
:stability: experimental
|
|
2256
|
+
'''
|
|
2257
|
+
result = self._values.get("bun_version")
|
|
2258
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2259
|
+
|
|
2138
2260
|
@builtins.property
|
|
2139
2261
|
def code_artifact_options(self) -> typing.Optional[_CodeArtifactOptions_e4782b3e]:
|
|
2140
2262
|
'''(experimental) Options for npm packages using AWS CodeArtifact.
|
|
@@ -2269,9 +2391,15 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2269
2391
|
|
|
2270
2392
|
@builtins.property
|
|
2271
2393
|
def max_node_version(self) -> typing.Optional[builtins.str]:
|
|
2272
|
-
'''(experimental)
|
|
2394
|
+
'''(experimental) The maximum node version supported by this package. Most projects should not use this option.
|
|
2395
|
+
|
|
2396
|
+
The value indicates that the package is incompatible with any newer versions of node.
|
|
2397
|
+
This requirement is enforced via the engines field.
|
|
2273
2398
|
|
|
2274
|
-
|
|
2399
|
+
You will normally not need to set this option.
|
|
2400
|
+
Consider this option only if your package is known to not function with newer versions of node.
|
|
2401
|
+
|
|
2402
|
+
:default: - no maximum version is enforced
|
|
2275
2403
|
|
|
2276
2404
|
:stability: experimental
|
|
2277
2405
|
'''
|
|
@@ -2280,9 +2408,19 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2280
2408
|
|
|
2281
2409
|
@builtins.property
|
|
2282
2410
|
def min_node_version(self) -> typing.Optional[builtins.str]:
|
|
2283
|
-
'''(experimental)
|
|
2411
|
+
'''(experimental) The minimum node version required by this package to function. Most projects should not use this option.
|
|
2412
|
+
|
|
2413
|
+
The value indicates that the package is incompatible with any older versions of node.
|
|
2414
|
+
This requirement is enforced via the engines field.
|
|
2415
|
+
|
|
2416
|
+
You will normally not need to set this option, even if your package is incompatible with EOL versions of node.
|
|
2417
|
+
Consider this option only if your package depends on a specific feature, that is not available in other LTS versions.
|
|
2418
|
+
Setting this option has very high impact on the consumers of your package,
|
|
2419
|
+
as package managers will actively prevent usage with node versions you have marked as incompatible.
|
|
2284
2420
|
|
|
2285
|
-
|
|
2421
|
+
To change the node version of your CI/CD workflows, use ``workflowNodeVersion``.
|
|
2422
|
+
|
|
2423
|
+
:default: - no minimum version is enforced
|
|
2286
2424
|
|
|
2287
2425
|
:stability: experimental
|
|
2288
2426
|
'''
|
|
@@ -2359,6 +2497,17 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2359
2497
|
result = self._values.get("npm_token_secret")
|
|
2360
2498
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2361
2499
|
|
|
2500
|
+
@builtins.property
|
|
2501
|
+
def npm_trusted_publishing(self) -> typing.Optional[builtins.bool]:
|
|
2502
|
+
'''(experimental) Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work.
|
|
2503
|
+
|
|
2504
|
+
:default: - false
|
|
2505
|
+
|
|
2506
|
+
:stability: experimental
|
|
2507
|
+
'''
|
|
2508
|
+
result = self._values.get("npm_trusted_publishing")
|
|
2509
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2510
|
+
|
|
2362
2511
|
@builtins.property
|
|
2363
2512
|
def package_manager(self) -> typing.Optional[_NodePackageManager_3eb53bf6]:
|
|
2364
2513
|
'''(experimental) The Node Package Manager used to execute scripts.
|
|
@@ -2422,7 +2571,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2422
2571
|
def pnpm_version(self) -> typing.Optional[builtins.str]:
|
|
2423
2572
|
'''(experimental) The version of PNPM to use if using PNPM as a package manager.
|
|
2424
2573
|
|
|
2425
|
-
:default: "
|
|
2574
|
+
:default: "9"
|
|
2426
2575
|
|
|
2427
2576
|
:stability: experimental
|
|
2428
2577
|
'''
|
|
@@ -2499,6 +2648,19 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2499
2648
|
result = self._values.get("yarn_berry_options")
|
|
2500
2649
|
return typing.cast(typing.Optional[_YarnBerryOptions_b6942539], result)
|
|
2501
2650
|
|
|
2651
|
+
@builtins.property
|
|
2652
|
+
def bump_package(self) -> typing.Optional[builtins.str]:
|
|
2653
|
+
'''(experimental) The ``commit-and-tag-version`` compatible package used to bump the package version, as a dependency string.
|
|
2654
|
+
|
|
2655
|
+
This can be any compatible package version, including the deprecated ``standard-version@9``.
|
|
2656
|
+
|
|
2657
|
+
:default: - A recent version of "commit-and-tag-version"
|
|
2658
|
+
|
|
2659
|
+
:stability: experimental
|
|
2660
|
+
'''
|
|
2661
|
+
result = self._values.get("bump_package")
|
|
2662
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2663
|
+
|
|
2502
2664
|
@builtins.property
|
|
2503
2665
|
def jsii_release_version(self) -> typing.Optional[builtins.str]:
|
|
2504
2666
|
'''(experimental) Version requirement of ``publib`` which is used to publish modules to npm.
|
|
@@ -2540,6 +2702,36 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2540
2702
|
result = self._values.get("min_major_version")
|
|
2541
2703
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2542
2704
|
|
|
2705
|
+
@builtins.property
|
|
2706
|
+
def next_version_command(self) -> typing.Optional[builtins.str]:
|
|
2707
|
+
'''(experimental) A shell command to control the next version to release.
|
|
2708
|
+
|
|
2709
|
+
If present, this shell command will be run before the bump is executed, and
|
|
2710
|
+
it determines what version to release. It will be executed in the following
|
|
2711
|
+
environment:
|
|
2712
|
+
|
|
2713
|
+
- Working directory: the project directory.
|
|
2714
|
+
- ``$VERSION``: the current version. Looks like ``1.2.3``.
|
|
2715
|
+
- ``$LATEST_TAG``: the most recent tag. Looks like ``prefix-v1.2.3``, or may be unset.
|
|
2716
|
+
- ``$SUGGESTED_BUMP``: the suggested bump action based on commits. One of ``major|minor|patch|none``.
|
|
2717
|
+
|
|
2718
|
+
The command should print one of the following to ``stdout``:
|
|
2719
|
+
|
|
2720
|
+
- Nothing: the next version number will be determined based on commit history.
|
|
2721
|
+
- ``x.y.z``: the next version number will be ``x.y.z``.
|
|
2722
|
+
- ``major|minor|patch``: the next version number will be the current version number
|
|
2723
|
+
with the indicated component bumped.
|
|
2724
|
+
|
|
2725
|
+
This setting cannot be specified together with ``minMajorVersion``; the invoked
|
|
2726
|
+
script can be used to achieve the effects of ``minMajorVersion``.
|
|
2727
|
+
|
|
2728
|
+
:default: - The next version will be determined based on the commit history and project settings.
|
|
2729
|
+
|
|
2730
|
+
:stability: experimental
|
|
2731
|
+
'''
|
|
2732
|
+
result = self._values.get("next_version_command")
|
|
2733
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2734
|
+
|
|
2543
2735
|
@builtins.property
|
|
2544
2736
|
def npm_dist_tag(self) -> typing.Optional[builtins.str]:
|
|
2545
2737
|
'''(experimental) The npmDistTag to use when publishing from the default branch.
|
|
@@ -2635,6 +2827,23 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2635
2827
|
result = self._values.get("release_branches")
|
|
2636
2828
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, _BranchOptions_13663d08]], result)
|
|
2637
2829
|
|
|
2830
|
+
@builtins.property
|
|
2831
|
+
def release_environment(self) -> typing.Optional[builtins.str]:
|
|
2832
|
+
'''(experimental) The GitHub Actions environment used for the release.
|
|
2833
|
+
|
|
2834
|
+
This can be used to add an explicit approval step to the release
|
|
2835
|
+
or limit who can initiate a release through environment protection rules.
|
|
2836
|
+
|
|
2837
|
+
When multiple artifacts are released, the environment can be overwritten
|
|
2838
|
+
on a per artifact basis.
|
|
2839
|
+
|
|
2840
|
+
:default: - no environment used, unless set at the artifact level
|
|
2841
|
+
|
|
2842
|
+
:stability: experimental
|
|
2843
|
+
'''
|
|
2844
|
+
result = self._values.get("release_environment")
|
|
2845
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2846
|
+
|
|
2638
2847
|
@builtins.property
|
|
2639
2848
|
def release_every_commit(self) -> typing.Optional[builtins.bool]:
|
|
2640
2849
|
'''(deprecated) Automatically release new versions every commit to one of branches in ``releaseBranches``.
|
|
@@ -2712,6 +2921,19 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2712
2921
|
result = self._values.get("release_trigger")
|
|
2713
2922
|
return typing.cast(typing.Optional[_ReleaseTrigger_e4dc221f], result)
|
|
2714
2923
|
|
|
2924
|
+
@builtins.property
|
|
2925
|
+
def release_workflow_env(
|
|
2926
|
+
self,
|
|
2927
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
2928
|
+
'''(experimental) Build environment variables for release workflows.
|
|
2929
|
+
|
|
2930
|
+
:default: {}
|
|
2931
|
+
|
|
2932
|
+
:stability: experimental
|
|
2933
|
+
'''
|
|
2934
|
+
result = self._values.get("release_workflow_env")
|
|
2935
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
2936
|
+
|
|
2715
2937
|
@builtins.property
|
|
2716
2938
|
def release_workflow_name(self) -> typing.Optional[builtins.str]:
|
|
2717
2939
|
'''(experimental) The name of the default release workflow.
|
|
@@ -2738,7 +2960,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2738
2960
|
def versionrc_options(
|
|
2739
2961
|
self,
|
|
2740
2962
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
2741
|
-
'''(experimental) Custom configuration used when creating changelog with
|
|
2963
|
+
'''(experimental) Custom configuration used when creating changelog with commit-and-tag-version package.
|
|
2742
2964
|
|
|
2743
2965
|
Given values either append to default configuration or overwrite values in it.
|
|
2744
2966
|
|
|
@@ -2807,6 +3029,32 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2807
3029
|
result = self._values.get("artifacts_directory")
|
|
2808
3030
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2809
3031
|
|
|
3032
|
+
@builtins.property
|
|
3033
|
+
def audit_deps(self) -> typing.Optional[builtins.bool]:
|
|
3034
|
+
'''(experimental) Run security audit on dependencies.
|
|
3035
|
+
|
|
3036
|
+
When enabled, creates an "audit" task that checks for known security vulnerabilities
|
|
3037
|
+
in dependencies. By default, runs during every build and checks for "high" severity
|
|
3038
|
+
vulnerabilities or above in all dependencies (including dev dependencies).
|
|
3039
|
+
|
|
3040
|
+
:default: false
|
|
3041
|
+
|
|
3042
|
+
:stability: experimental
|
|
3043
|
+
'''
|
|
3044
|
+
result = self._values.get("audit_deps")
|
|
3045
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
3046
|
+
|
|
3047
|
+
@builtins.property
|
|
3048
|
+
def audit_deps_options(self) -> typing.Optional[_AuditOptions_429c62df]:
|
|
3049
|
+
'''(experimental) Security audit options.
|
|
3050
|
+
|
|
3051
|
+
:default: - default options
|
|
3052
|
+
|
|
3053
|
+
:stability: experimental
|
|
3054
|
+
'''
|
|
3055
|
+
result = self._values.get("audit_deps_options")
|
|
3056
|
+
return typing.cast(typing.Optional[_AuditOptions_429c62df], result)
|
|
3057
|
+
|
|
2810
3058
|
@builtins.property
|
|
2811
3059
|
def auto_approve_upgrades(self) -> typing.Optional[builtins.bool]:
|
|
2812
3060
|
'''(experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued).
|
|
@@ -2820,6 +3068,28 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2820
3068
|
result = self._values.get("auto_approve_upgrades")
|
|
2821
3069
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2822
3070
|
|
|
3071
|
+
@builtins.property
|
|
3072
|
+
def biome(self) -> typing.Optional[builtins.bool]:
|
|
3073
|
+
'''(experimental) Setup Biome.
|
|
3074
|
+
|
|
3075
|
+
:default: false
|
|
3076
|
+
|
|
3077
|
+
:stability: experimental
|
|
3078
|
+
'''
|
|
3079
|
+
result = self._values.get("biome")
|
|
3080
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
3081
|
+
|
|
3082
|
+
@builtins.property
|
|
3083
|
+
def biome_options(self) -> typing.Optional[_BiomeOptions_452ab984]:
|
|
3084
|
+
'''(experimental) Biome options.
|
|
3085
|
+
|
|
3086
|
+
:default: - default options
|
|
3087
|
+
|
|
3088
|
+
:stability: experimental
|
|
3089
|
+
'''
|
|
3090
|
+
result = self._values.get("biome_options")
|
|
3091
|
+
return typing.cast(typing.Optional[_BiomeOptions_452ab984], result)
|
|
3092
|
+
|
|
2823
3093
|
@builtins.property
|
|
2824
3094
|
def build_workflow(self) -> typing.Optional[builtins.bool]:
|
|
2825
3095
|
'''(experimental) Define a GitHub workflow for building PRs.
|
|
@@ -2877,7 +3147,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2877
3147
|
|
|
2878
3148
|
@builtins.property
|
|
2879
3149
|
def code_cov(self) -> typing.Optional[builtins.bool]:
|
|
2880
|
-
'''(experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@
|
|
3150
|
+
'''(experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v5 By default, OIDC auth is used. Alternatively a token can be provided via ``codeCovTokenSecret``.
|
|
2881
3151
|
|
|
2882
3152
|
:default: false
|
|
2883
3153
|
|
|
@@ -2888,9 +3158,9 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
2888
3158
|
|
|
2889
3159
|
@builtins.property
|
|
2890
3160
|
def code_cov_token_secret(self) -> typing.Optional[builtins.str]:
|
|
2891
|
-
'''(experimental) Define the secret name for a specified https://codecov.io/ token
|
|
3161
|
+
'''(experimental) Define the secret name for a specified https://codecov.io/ token.
|
|
2892
3162
|
|
|
2893
|
-
:default: -
|
|
3163
|
+
:default: - OIDC auth is used
|
|
2894
3164
|
|
|
2895
3165
|
:stability: experimental
|
|
2896
3166
|
'''
|
|
@@ -3203,7 +3473,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
3203
3473
|
def workflow_git_identity(self) -> typing.Optional[_GitIdentity_6effc3de]:
|
|
3204
3474
|
'''(experimental) The git identity to use in workflows.
|
|
3205
3475
|
|
|
3206
|
-
:default: - GitHub Actions
|
|
3476
|
+
:default: - default GitHub Actions user
|
|
3207
3477
|
|
|
3208
3478
|
:stability: experimental
|
|
3209
3479
|
'''
|
|
@@ -3212,9 +3482,11 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
3212
3482
|
|
|
3213
3483
|
@builtins.property
|
|
3214
3484
|
def workflow_node_version(self) -> typing.Optional[builtins.str]:
|
|
3215
|
-
'''(experimental) The node version
|
|
3485
|
+
'''(experimental) The node version used in GitHub Actions workflows.
|
|
3216
3486
|
|
|
3217
|
-
|
|
3487
|
+
Always use this option if your GitHub Actions workflows require a specific to run.
|
|
3488
|
+
|
|
3489
|
+
:default: - ``minNodeVersion`` if set, otherwise ``lts/*``.
|
|
3218
3490
|
|
|
3219
3491
|
:stability: experimental
|
|
3220
3492
|
'''
|
|
@@ -3291,7 +3563,7 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
3291
3563
|
def eslint(self) -> typing.Optional[builtins.bool]:
|
|
3292
3564
|
'''(experimental) Setup eslint.
|
|
3293
3565
|
|
|
3294
|
-
:default: true
|
|
3566
|
+
:default: - true, unless biome is enabled
|
|
3295
3567
|
|
|
3296
3568
|
:stability: experimental
|
|
3297
3569
|
'''
|
|
@@ -3554,10 +3826,10 @@ class ConstructLibraryCdktfOptions(_ConstructLibraryOptions_dcd2adc0):
|
|
|
3554
3826
|
and should remain on the same minor, so we recommend using a ``~`` dependency
|
|
3555
3827
|
(e.g. ``~5.0.0``).
|
|
3556
3828
|
|
|
3557
|
-
:default: "
|
|
3829
|
+
:default: "~5.8.0"
|
|
3558
3830
|
|
|
3559
3831
|
:stability: experimental
|
|
3560
|
-
:pjnew: "~5.
|
|
3832
|
+
:pjnew: "~5.9.0"
|
|
3561
3833
|
'''
|
|
3562
3834
|
result = self._values.get("jsii_version")
|
|
3563
3835
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -3731,6 +4003,7 @@ def _typecheckingstub__bbf02af18148d47e66a6d0672a809602f782953da7a849545a808c276
|
|
|
3731
4003
|
bugs_email: typing.Optional[builtins.str] = None,
|
|
3732
4004
|
bugs_url: typing.Optional[builtins.str] = None,
|
|
3733
4005
|
bundled_deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4006
|
+
bun_version: typing.Optional[builtins.str] = None,
|
|
3734
4007
|
code_artifact_options: typing.Optional[typing.Union[_CodeArtifactOptions_e4782b3e, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3735
4008
|
deps: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3736
4009
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -3747,6 +4020,7 @@ def _typecheckingstub__bbf02af18148d47e66a6d0672a809602f782953da7a849545a808c276
|
|
|
3747
4020
|
npm_registry: typing.Optional[builtins.str] = None,
|
|
3748
4021
|
npm_registry_url: typing.Optional[builtins.str] = None,
|
|
3749
4022
|
npm_token_secret: typing.Optional[builtins.str] = None,
|
|
4023
|
+
npm_trusted_publishing: typing.Optional[builtins.bool] = None,
|
|
3750
4024
|
package_manager: typing.Optional[_NodePackageManager_3eb53bf6] = None,
|
|
3751
4025
|
package_name: typing.Optional[builtins.str] = None,
|
|
3752
4026
|
peer_dependency_options: typing.Optional[typing.Union[_PeerDependencyOptions_99d7d493, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3758,9 +4032,11 @@ def _typecheckingstub__bbf02af18148d47e66a6d0672a809602f782953da7a849545a808c276
|
|
|
3758
4032
|
scripts: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3759
4033
|
stability: typing.Optional[builtins.str] = None,
|
|
3760
4034
|
yarn_berry_options: typing.Optional[typing.Union[_YarnBerryOptions_b6942539, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4035
|
+
bump_package: typing.Optional[builtins.str] = None,
|
|
3761
4036
|
jsii_release_version: typing.Optional[builtins.str] = None,
|
|
3762
4037
|
major_version: typing.Optional[jsii.Number] = None,
|
|
3763
4038
|
min_major_version: typing.Optional[jsii.Number] = None,
|
|
4039
|
+
next_version_command: typing.Optional[builtins.str] = None,
|
|
3764
4040
|
npm_dist_tag: typing.Optional[builtins.str] = None,
|
|
3765
4041
|
post_build_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3766
4042
|
prerelease: typing.Optional[builtins.str] = None,
|
|
@@ -3768,12 +4044,14 @@ def _typecheckingstub__bbf02af18148d47e66a6d0672a809602f782953da7a849545a808c276
|
|
|
3768
4044
|
publish_tasks: typing.Optional[builtins.bool] = None,
|
|
3769
4045
|
releasable_commits: typing.Optional[_ReleasableCommits_d481ce10] = None,
|
|
3770
4046
|
release_branches: typing.Optional[typing.Mapping[builtins.str, typing.Union[_BranchOptions_13663d08, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4047
|
+
release_environment: typing.Optional[builtins.str] = None,
|
|
3771
4048
|
release_every_commit: typing.Optional[builtins.bool] = None,
|
|
3772
4049
|
release_failure_issue: typing.Optional[builtins.bool] = None,
|
|
3773
4050
|
release_failure_issue_label: typing.Optional[builtins.str] = None,
|
|
3774
4051
|
release_schedule: typing.Optional[builtins.str] = None,
|
|
3775
4052
|
release_tag_prefix: typing.Optional[builtins.str] = None,
|
|
3776
4053
|
release_trigger: typing.Optional[_ReleaseTrigger_e4dc221f] = None,
|
|
4054
|
+
release_workflow_env: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3777
4055
|
release_workflow_name: typing.Optional[builtins.str] = None,
|
|
3778
4056
|
release_workflow_setup_steps: typing.Optional[typing.Sequence[typing.Union[_JobStep_c3287c05, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3779
4057
|
versionrc_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -3782,7 +4060,11 @@ def _typecheckingstub__bbf02af18148d47e66a6d0672a809602f782953da7a849545a808c276
|
|
|
3782
4060
|
workflow_runs_on_group: typing.Optional[typing.Union[_GroupRunnerOptions_148c59c1, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3783
4061
|
default_release_branch: builtins.str,
|
|
3784
4062
|
artifacts_directory: typing.Optional[builtins.str] = None,
|
|
4063
|
+
audit_deps: typing.Optional[builtins.bool] = None,
|
|
4064
|
+
audit_deps_options: typing.Optional[typing.Union[_AuditOptions_429c62df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3785
4065
|
auto_approve_upgrades: typing.Optional[builtins.bool] = None,
|
|
4066
|
+
biome: typing.Optional[builtins.bool] = None,
|
|
4067
|
+
biome_options: typing.Optional[typing.Union[_BiomeOptions_452ab984, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3786
4068
|
build_workflow: typing.Optional[builtins.bool] = None,
|
|
3787
4069
|
build_workflow_options: typing.Optional[typing.Union[_BuildWorkflowOptions_b756f97f, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3788
4070
|
build_workflow_triggers: typing.Optional[typing.Union[_Triggers_e9ae7617, typing.Dict[builtins.str, typing.Any]]] = None,
|