projen 0.71.13 → 0.71.15
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.
- package/.jsii +3 -3
- package/lib/awscdk/auto-discover.js +5 -5
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-py.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +2 -2
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps-py.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +1 -1
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/auto-discover-base.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/integration-test-base.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-py.js +1 -1
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdk8s/cdk8s-deps-py.js +1 -1
- package/lib/cdk8s/cdk8s-deps.js +1 -1
- package/lib/cdk8s/integration-test.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/component.js +1 -1
- package/lib/dependencies.js +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose/docker-compose-service.js +1 -1
- package/lib/docker-compose/docker-compose.js +1 -1
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/actions-provider.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/github-credentials.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +1 -1
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflow-actions.js +1 -1
- package/lib/github/workflow-jobs.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +1 -1
- package/lib/java/projenrc.js +1 -1
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +4 -4
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +1 -1
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/json-patch.js +1 -1
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +2 -2
- package/lib/projenrc.js +1 -1
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +1 -1
- package/lib/python/pytest-sample.js +1 -1
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/renovatebot.js +1 -1
- package/lib/sample-file.js +2 -2
- package/lib/semver.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-runtime.js +1 -1
- package/lib/task.js +1 -1
- package/lib/tasks.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc-ts.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +3 -3
- package/lib/version.js +1 -1
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/extensions.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/settings.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +4 -4
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/package.json +3 -11
- package/lib/.types-compat/ts3.9/lib/_resolve.d.ts +0 -2
- package/lib/.types-compat/ts3.9/lib/awscdk/auto-discover.d.ts +0 -129
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-java.d.ts +0 -53
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-py.d.ts +0 -49
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-app-ts.d.ts +0 -81
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-construct.d.ts +0 -89
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-java.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-js.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps-py.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-deps.d.ts +0 -168
- package/lib/.types-compat/ts3.9/lib/awscdk/awscdk-pytest-sample.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/awscdk/cdk-config.d.ts +0 -122
- package/lib/.types-compat/ts3.9/lib/awscdk/cdk-tasks.d.ts +0 -33
- package/lib/.types-compat/ts3.9/lib/awscdk/index.d.ts +0 -14
- package/lib/.types-compat/ts3.9/lib/awscdk/integration-test.d.ts +0 -46
- package/lib/.types-compat/ts3.9/lib/awscdk/internal.d.ts +0 -20
- package/lib/.types-compat/ts3.9/lib/awscdk/lambda-extension.d.ts +0 -68
- package/lib/.types-compat/ts3.9/lib/awscdk/lambda-function.d.ts +0 -171
- package/lib/.types-compat/ts3.9/lib/build/build-workflow.d.ts +0 -180
- package/lib/.types-compat/ts3.9/lib/build/index.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/builtin-example.task.d.ts +0 -0
- package/lib/.types-compat/ts3.9/lib/cdk/auto-discover-base.d.ts +0 -45
- package/lib/.types-compat/ts3.9/lib/cdk/construct-lib.d.ts +0 -38
- package/lib/.types-compat/ts3.9/lib/cdk/consts.d.ts +0 -6
- package/lib/.types-compat/ts3.9/lib/cdk/index.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/cdk/integration-test-base.d.ts +0 -53
- package/lib/.types-compat/ts3.9/lib/cdk/internal.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/cdk/jsii-docgen.d.ts +0 -20
- package/lib/.types-compat/ts3.9/lib/cdk/jsii-project.d.ts +0 -154
- package/lib/.types-compat/ts3.9/lib/cdk8s/auto-discover.d.ts +0 -33
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-app-py.d.ts +0 -39
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-app-ts.d.ts +0 -45
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-construct.d.ts +0 -71
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps-js.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps-py.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/cdk8s/cdk8s-deps.d.ts +0 -144
- package/lib/.types-compat/ts3.9/lib/cdk8s/index.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/cdk8s/integration-test.d.ts +0 -13
- package/lib/.types-compat/ts3.9/lib/cdktf/cdktf-construct.d.ts +0 -26
- package/lib/.types-compat/ts3.9/lib/cdktf/index.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/circleci/circleci.d.ts +0 -132
- package/lib/.types-compat/ts3.9/lib/circleci/constant.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/circleci/index.d.ts +0 -3
- package/lib/.types-compat/ts3.9/lib/circleci/model.d.ts +0 -260
- package/lib/.types-compat/ts3.9/lib/cleanup.d.ts +0 -2
- package/lib/.types-compat/ts3.9/lib/cli/cmds/new.d.ts +0 -9
- package/lib/.types-compat/ts3.9/lib/cli/index.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/cli/macros.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/cli/synth.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/cli/tasks.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/cli/util.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/clobber.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/common.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/component.d.ts +0 -20
- package/lib/.types-compat/ts3.9/lib/dependencies.d.ts +0 -160
- package/lib/.types-compat/ts3.9/lib/dev-env.d.ts +0 -80
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-network.d.ts +0 -103
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-port.d.ts +0 -44
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-render.d.ts +0 -2
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-service.d.ts +0 -155
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose-volume.d.ts +0 -64
- package/lib/.types-compat/ts3.9/lib/docker-compose/docker-compose.d.ts +0 -99
- package/lib/.types-compat/ts3.9/lib/docker-compose/index.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/file.d.ts +0 -120
- package/lib/.types-compat/ts3.9/lib/gitattributes.d.ts +0 -26
- package/lib/.types-compat/ts3.9/lib/github/actions-provider.d.ts +0 -28
- package/lib/.types-compat/ts3.9/lib/github/auto-approve.d.ts +0 -44
- package/lib/.types-compat/ts3.9/lib/github/auto-merge.d.ts +0 -41
- package/lib/.types-compat/ts3.9/lib/github/constants.d.ts +0 -20
- package/lib/.types-compat/ts3.9/lib/github/dependabot.d.ts +0 -247
- package/lib/.types-compat/ts3.9/lib/github/github-credentials.d.ts +0 -58
- package/lib/.types-compat/ts3.9/lib/github/github-project.d.ts +0 -177
- package/lib/.types-compat/ts3.9/lib/github/github.d.ts +0 -110
- package/lib/.types-compat/ts3.9/lib/github/index.d.ts +0 -17
- package/lib/.types-compat/ts3.9/lib/github/mergify.d.ts +0 -81
- package/lib/.types-compat/ts3.9/lib/github/pr-template.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/github/pull-request-lint.d.ts +0 -48
- package/lib/.types-compat/ts3.9/lib/github/stale-util.d.ts +0 -8
- package/lib/.types-compat/ts3.9/lib/github/stale.d.ts +0 -85
- package/lib/.types-compat/ts3.9/lib/github/task-workflow.d.ts +0 -119
- package/lib/.types-compat/ts3.9/lib/github/util.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/github/workflow-actions.d.ts +0 -169
- package/lib/.types-compat/ts3.9/lib/github/workflow-jobs.d.ts +0 -39
- package/lib/.types-compat/ts3.9/lib/github/workflows-model.d.ts +0 -1031
- package/lib/.types-compat/ts3.9/lib/github/workflows.d.ts +0 -108
- package/lib/.types-compat/ts3.9/lib/gitlab/configuration-model.d.ts +0 -536
- package/lib/.types-compat/ts3.9/lib/gitlab/configuration.d.ts +0 -170
- package/lib/.types-compat/ts3.9/lib/gitlab/gitlab-configuration.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/gitlab/index.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/gitlab/nested-configuration.d.ts +0 -11
- package/lib/.types-compat/ts3.9/lib/gitpod.d.ts +0 -301
- package/lib/.types-compat/ts3.9/lib/ignore-file.d.ts +0 -59
- package/lib/.types-compat/ts3.9/lib/index.d.ts +0 -51
- package/lib/.types-compat/ts3.9/lib/ini.d.ts +0 -15
- package/lib/.types-compat/ts3.9/lib/inventory.d.ts +0 -94
- package/lib/.types-compat/ts3.9/lib/java/index.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/java/java-project.d.ts +0 -141
- package/lib/.types-compat/ts3.9/lib/java/junit.d.ts +0 -29
- package/lib/.types-compat/ts3.9/lib/java/maven-compile.d.ts +0 -26
- package/lib/.types-compat/ts3.9/lib/java/maven-packaging.d.ts +0 -34
- package/lib/.types-compat/ts3.9/lib/java/maven-sample.d.ts +0 -14
- package/lib/.types-compat/ts3.9/lib/java/pom.d.ts +0 -214
- package/lib/.types-compat/ts3.9/lib/java/projenrc.d.ts +0 -59
- package/lib/.types-compat/ts3.9/lib/javascript/bundler.d.ts +0 -174
- package/lib/.types-compat/ts3.9/lib/javascript/eslint.d.ts +0 -175
- package/lib/.types-compat/ts3.9/lib/javascript/index.d.ts +0 -10
- package/lib/.types-compat/ts3.9/lib/javascript/jest.d.ts +0 -599
- package/lib/.types-compat/ts3.9/lib/javascript/node-package.d.ts +0 -616
- package/lib/.types-compat/ts3.9/lib/javascript/node-project.d.ts +0 -465
- package/lib/.types-compat/ts3.9/lib/javascript/npm-config.d.ts +0 -40
- package/lib/.types-compat/ts3.9/lib/javascript/prettier.d.ts +0 -358
- package/lib/.types-compat/ts3.9/lib/javascript/projenrc.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/javascript/render-options.d.ts +0 -88
- package/lib/.types-compat/ts3.9/lib/javascript/typescript-config.d.ts +0 -403
- package/lib/.types-compat/ts3.9/lib/javascript/upgrade-dependencies.d.ts +0 -188
- package/lib/.types-compat/ts3.9/lib/javascript/util.d.ts +0 -19
- package/lib/.types-compat/ts3.9/lib/json-patch.d.ts +0 -75
- package/lib/.types-compat/ts3.9/lib/json.d.ts +0 -27
- package/lib/.types-compat/ts3.9/lib/license.d.ts +0 -31
- package/lib/.types-compat/ts3.9/lib/logger.d.ts +0 -73
- package/lib/.types-compat/ts3.9/lib/logging.d.ts +0 -9
- package/lib/.types-compat/ts3.9/lib/makefile.d.ts +0 -77
- package/lib/.types-compat/ts3.9/lib/object-file.d.ts +0 -155
- package/lib/.types-compat/ts3.9/lib/option-hints.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/project-build.d.ts +0 -41
- package/lib/.types-compat/ts3.9/lib/project.d.ts +0 -374
- package/lib/.types-compat/ts3.9/lib/projects.d.ts +0 -63
- package/lib/.types-compat/ts3.9/lib/projenrc-json.d.ts +0 -27
- package/lib/.types-compat/ts3.9/lib/projenrc.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/python/index.d.ts +0 -14
- package/lib/.types-compat/ts3.9/lib/python/pip.d.ts +0 -32
- package/lib/.types-compat/ts3.9/lib/python/poetry.d.ts +0 -183
- package/lib/.types-compat/ts3.9/lib/python/projenrc.d.ts +0 -32
- package/lib/.types-compat/ts3.9/lib/python/pytest-sample.d.ts +0 -21
- package/lib/.types-compat/ts3.9/lib/python/pytest.d.ts +0 -24
- package/lib/.types-compat/ts3.9/lib/python/python-deps.d.ts +0 -30
- package/lib/.types-compat/ts3.9/lib/python/python-env.d.ts +0 -6
- package/lib/.types-compat/ts3.9/lib/python/python-packaging.d.ts +0 -62
- package/lib/.types-compat/ts3.9/lib/python/python-project.d.ts +0 -190
- package/lib/.types-compat/ts3.9/lib/python/python-sample.d.ts +0 -17
- package/lib/.types-compat/ts3.9/lib/python/requirements-file.d.ts +0 -29
- package/lib/.types-compat/ts3.9/lib/python/setuppy.d.ts +0 -70
- package/lib/.types-compat/ts3.9/lib/python/setuptools.d.ts +0 -15
- package/lib/.types-compat/ts3.9/lib/python/venv.d.ts +0 -28
- package/lib/.types-compat/ts3.9/lib/readme.d.ts +0 -28
- package/lib/.types-compat/ts3.9/lib/release/bump-version.d.ts +0 -72
- package/lib/.types-compat/ts3.9/lib/release/bump-version.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/release/index.d.ts +0 -3
- package/lib/.types-compat/ts3.9/lib/release/publisher.d.ts +0 -533
- package/lib/.types-compat/ts3.9/lib/release/release-trigger.d.ts +0 -97
- package/lib/.types-compat/ts3.9/lib/release/release.d.ts +0 -338
- package/lib/.types-compat/ts3.9/lib/release/reset-version.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/release/tag-version.d.ts +0 -31
- package/lib/.types-compat/ts3.9/lib/release/tag-version.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/release/update-changelog.d.ts +0 -36
- package/lib/.types-compat/ts3.9/lib/release/update-changelog.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/renovatebot.d.ts +0 -99
- package/lib/.types-compat/ts3.9/lib/run-projenrc-json.task.d.ts +0 -1
- package/lib/.types-compat/ts3.9/lib/sample-file.d.ts +0 -88
- package/lib/.types-compat/ts3.9/lib/semver.d.ts +0 -34
- package/lib/.types-compat/ts3.9/lib/smithy/smithy-build.d.ts +0 -156
- package/lib/.types-compat/ts3.9/lib/source-code.d.ts +0 -46
- package/lib/.types-compat/ts3.9/lib/task-model.d.ts +0 -151
- package/lib/.types-compat/ts3.9/lib/task-runtime.d.ts +0 -32
- package/lib/.types-compat/ts3.9/lib/task.d.ts +0 -136
- package/lib/.types-compat/ts3.9/lib/tasks.d.ts +0 -51
- package/lib/.types-compat/ts3.9/lib/testing.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/textfile.d.ts +0 -33
- package/lib/.types-compat/ts3.9/lib/toml.d.ts +0 -15
- package/lib/.types-compat/ts3.9/lib/typescript/index.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/typescript/projenrc-ts.d.ts +0 -43
- package/lib/.types-compat/ts3.9/lib/typescript/projenrc.d.ts +0 -27
- package/lib/.types-compat/ts3.9/lib/typescript/typescript-typedoc.d.ts +0 -7
- package/lib/.types-compat/ts3.9/lib/typescript/typescript.d.ts +0 -170
- package/lib/.types-compat/ts3.9/lib/util/semver.d.ts +0 -43
- package/lib/.types-compat/ts3.9/lib/util/synth.d.ts +0 -42
- package/lib/.types-compat/ts3.9/lib/util.d.ts +0 -131
- package/lib/.types-compat/ts3.9/lib/version.d.ts +0 -45
- package/lib/.types-compat/ts3.9/lib/vscode/devcontainer.d.ts +0 -86
- package/lib/.types-compat/ts3.9/lib/vscode/extensions.d.ts +0 -36
- package/lib/.types-compat/ts3.9/lib/vscode/index.d.ts +0 -5
- package/lib/.types-compat/ts3.9/lib/vscode/launch-config.d.ts +0 -90
- package/lib/.types-compat/ts3.9/lib/vscode/settings.d.ts +0 -24
- package/lib/.types-compat/ts3.9/lib/vscode/vscode.d.ts +0 -14
- package/lib/.types-compat/ts3.9/lib/web/index.d.ts +0 -4
- package/lib/.types-compat/ts3.9/lib/web/next.d.ts +0 -100
- package/lib/.types-compat/ts3.9/lib/web/postcss.d.ts +0 -28
- package/lib/.types-compat/ts3.9/lib/web/react.d.ts +0 -105
- package/lib/.types-compat/ts3.9/lib/web/tailwind.d.ts +0 -21
- package/lib/.types-compat/ts3.9/lib/xmlfile.d.ts +0 -18
- package/lib/.types-compat/ts3.9/lib/yaml.d.ts +0 -25
|
@@ -1,465 +0,0 @@
|
|
|
1
|
-
import { Bundler, BundlerOptions } from "./bundler";
|
|
2
|
-
import { Jest, JestOptions } from "./jest";
|
|
3
|
-
import { NodePackage, NodePackageManager, NodePackageOptions } from "./node-package";
|
|
4
|
-
import { ProjenrcOptions } from "./projenrc";
|
|
5
|
-
import { BuildWorkflow } from "../build";
|
|
6
|
-
import { AutoMerge, DependabotOptions, GitHubProject, GitHubProjectOptions, GitIdentity } from "../github";
|
|
7
|
-
import { JobStep, Triggers } from "../github/workflows-model";
|
|
8
|
-
import { IgnoreFile, IgnoreFileOptions } from "../ignore-file";
|
|
9
|
-
import { Prettier, PrettierOptions, UpgradeDependencies, UpgradeDependenciesOptions } from "../javascript";
|
|
10
|
-
import { Publisher, Release, ReleaseProjectOptions } from "../release";
|
|
11
|
-
import { Task } from "../task";
|
|
12
|
-
export interface NodeProjectOptions extends GitHubProjectOptions, NodePackageOptions, ReleaseProjectOptions {
|
|
13
|
-
/**
|
|
14
|
-
* License copyright owner.
|
|
15
|
-
*
|
|
16
|
-
* @default - defaults to the value of authorName or "" if `authorName` is undefined.
|
|
17
|
-
*/
|
|
18
|
-
readonly copyrightOwner?: string;
|
|
19
|
-
/**
|
|
20
|
-
* The copyright years to put in the LICENSE file.
|
|
21
|
-
*
|
|
22
|
-
* @default - current year
|
|
23
|
-
*/
|
|
24
|
-
readonly copyrightPeriod?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Version of projen to install.
|
|
27
|
-
*
|
|
28
|
-
* @default - Defaults to the latest version.
|
|
29
|
-
*/
|
|
30
|
-
readonly projenVersion?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Indicates of "projen" should be installed as a devDependency.
|
|
33
|
-
*
|
|
34
|
-
* @default true
|
|
35
|
-
*/
|
|
36
|
-
readonly projenDevDependency?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Define a GitHub workflow for building PRs.
|
|
39
|
-
* @default - true if not a subproject
|
|
40
|
-
*/
|
|
41
|
-
readonly buildWorkflow?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Automatically update files modified during builds to pull-request branches. This means
|
|
44
|
-
* that any files synthesized by projen or e.g. test snapshots will always be up-to-date
|
|
45
|
-
* before a PR is merged.
|
|
46
|
-
*
|
|
47
|
-
* Implies that PR builds do not have anti-tamper checks.
|
|
48
|
-
*
|
|
49
|
-
* @default true
|
|
50
|
-
*/
|
|
51
|
-
readonly mutableBuild?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/
|
|
54
|
-
* Uses codecov/codecov-action@v3
|
|
55
|
-
* A secret is required for private repos. Configured with @codeCovTokenSecret
|
|
56
|
-
* @default false
|
|
57
|
-
*/
|
|
58
|
-
readonly codeCov?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Define the secret name for a specified https://codecov.io/ token
|
|
61
|
-
* A secret is required to send coverage for private repositories
|
|
62
|
-
* @default - if this option is not specified, only public repositories are supported
|
|
63
|
-
*/
|
|
64
|
-
readonly codeCovTokenSecret?: string;
|
|
65
|
-
/**
|
|
66
|
-
* DEPRECATED: renamed to `release`.
|
|
67
|
-
*
|
|
68
|
-
* @default - true if not a subproject
|
|
69
|
-
* @deprecated see `release`.
|
|
70
|
-
*/
|
|
71
|
-
readonly releaseWorkflow?: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* Add release management to this project.
|
|
74
|
-
*
|
|
75
|
-
* @default - true (false for subprojects)
|
|
76
|
-
*/
|
|
77
|
-
readonly release?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* The name of the main release branch.
|
|
80
|
-
*
|
|
81
|
-
* @default "main"
|
|
82
|
-
*/
|
|
83
|
-
readonly defaultReleaseBranch: string;
|
|
84
|
-
/**
|
|
85
|
-
* Workflow steps to use in order to bootstrap this repo.
|
|
86
|
-
*
|
|
87
|
-
* @default "yarn install --frozen-lockfile && yarn projen"
|
|
88
|
-
*/
|
|
89
|
-
readonly workflowBootstrapSteps?: JobStep[];
|
|
90
|
-
/**
|
|
91
|
-
* The git identity to use in workflows.
|
|
92
|
-
*
|
|
93
|
-
* @default - GitHub Actions
|
|
94
|
-
*/
|
|
95
|
-
readonly workflowGitIdentity?: GitIdentity;
|
|
96
|
-
/**
|
|
97
|
-
* Automatically release to npm when new versions are introduced.
|
|
98
|
-
* @default false
|
|
99
|
-
*/
|
|
100
|
-
readonly releaseToNpm?: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* The node version to use in GitHub workflows.
|
|
103
|
-
*
|
|
104
|
-
* @default - same as `minNodeVersion`
|
|
105
|
-
*/
|
|
106
|
-
readonly workflowNodeVersion?: string;
|
|
107
|
-
/**
|
|
108
|
-
* Use dependabot to handle dependency upgrades.
|
|
109
|
-
* Cannot be used in conjunction with `depsUpgrade`.
|
|
110
|
-
*
|
|
111
|
-
* @default false
|
|
112
|
-
*/
|
|
113
|
-
readonly dependabot?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Options for dependabot.
|
|
116
|
-
*
|
|
117
|
-
* @default - default options
|
|
118
|
-
*/
|
|
119
|
-
readonly dependabotOptions?: DependabotOptions;
|
|
120
|
-
/**
|
|
121
|
-
* Use github workflows to handle dependency upgrades.
|
|
122
|
-
* Cannot be used in conjunction with `dependabot`.
|
|
123
|
-
*
|
|
124
|
-
* @default true
|
|
125
|
-
*/
|
|
126
|
-
readonly depsUpgrade?: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* Options for `UpgradeDependencies`.
|
|
129
|
-
*
|
|
130
|
-
* @default - default options
|
|
131
|
-
*/
|
|
132
|
-
readonly depsUpgradeOptions?: UpgradeDependenciesOptions;
|
|
133
|
-
/**
|
|
134
|
-
* Automatically approve deps upgrade PRs, allowing them to be
|
|
135
|
-
* merged by mergify (if configued).
|
|
136
|
-
*
|
|
137
|
-
* Throw if set to true but `autoApproveOptions` are not defined.
|
|
138
|
-
*
|
|
139
|
-
* @default - true
|
|
140
|
-
*/
|
|
141
|
-
readonly autoApproveUpgrades?: boolean;
|
|
142
|
-
/**
|
|
143
|
-
* Defines an .npmignore file. Normally this is only needed for libraries that
|
|
144
|
-
* are packaged as tarballs.
|
|
145
|
-
*
|
|
146
|
-
* @default true
|
|
147
|
-
*/
|
|
148
|
-
readonly npmignoreEnabled?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Configuration options for .npmignore file
|
|
151
|
-
*/
|
|
152
|
-
readonly npmIgnoreOptions?: IgnoreFileOptions;
|
|
153
|
-
/**
|
|
154
|
-
* Additional entries to .npmignore.
|
|
155
|
-
* @deprecated - use `project.addPackageIgnore`
|
|
156
|
-
*/
|
|
157
|
-
readonly npmignore?: string[];
|
|
158
|
-
/**
|
|
159
|
-
* Include a GitHub pull request template.
|
|
160
|
-
*
|
|
161
|
-
* @default true
|
|
162
|
-
*/
|
|
163
|
-
readonly pullRequestTemplate?: boolean;
|
|
164
|
-
/**
|
|
165
|
-
* The contents of the pull request template.
|
|
166
|
-
*
|
|
167
|
-
* @default - default content
|
|
168
|
-
*/
|
|
169
|
-
readonly pullRequestTemplateContents?: string[];
|
|
170
|
-
/**
|
|
171
|
-
* Setup prettier.
|
|
172
|
-
*
|
|
173
|
-
* @default false
|
|
174
|
-
*/
|
|
175
|
-
readonly prettier?: boolean;
|
|
176
|
-
/**
|
|
177
|
-
* Prettier options
|
|
178
|
-
* @default - default options
|
|
179
|
-
*/
|
|
180
|
-
readonly prettierOptions?: PrettierOptions;
|
|
181
|
-
/**
|
|
182
|
-
* Additional entries to .gitignore
|
|
183
|
-
*/
|
|
184
|
-
readonly gitignore?: string[];
|
|
185
|
-
/**
|
|
186
|
-
* Setup jest unit tests
|
|
187
|
-
* @default true
|
|
188
|
-
*/
|
|
189
|
-
readonly jest?: boolean;
|
|
190
|
-
/**
|
|
191
|
-
* Jest options
|
|
192
|
-
* @default - default options
|
|
193
|
-
*/
|
|
194
|
-
readonly jestOptions?: JestOptions;
|
|
195
|
-
/**
|
|
196
|
-
* Generate (once) .projenrc.js (in JavaScript). Set to `false` in order to disable
|
|
197
|
-
* .projenrc.js generation.
|
|
198
|
-
*
|
|
199
|
-
* @default - true if projenrcJson is false
|
|
200
|
-
*/
|
|
201
|
-
readonly projenrcJs?: boolean;
|
|
202
|
-
/**
|
|
203
|
-
* Options for .projenrc.js
|
|
204
|
-
* @default - default options
|
|
205
|
-
*/
|
|
206
|
-
readonly projenrcJsOptions?: ProjenrcOptions;
|
|
207
|
-
/**
|
|
208
|
-
* Options for `Bundler`.
|
|
209
|
-
*/
|
|
210
|
-
readonly bundlerOptions?: BundlerOptions;
|
|
211
|
-
/**
|
|
212
|
-
* A directory which will contain build artifacts.
|
|
213
|
-
*
|
|
214
|
-
* @default "dist"
|
|
215
|
-
*/
|
|
216
|
-
readonly artifactsDirectory?: string;
|
|
217
|
-
/**
|
|
218
|
-
* Defines a `package` task that will produce an npm tarball under the
|
|
219
|
-
* artifacts directory (e.g. `dist`).
|
|
220
|
-
*
|
|
221
|
-
* @default true
|
|
222
|
-
*/
|
|
223
|
-
readonly package?: boolean;
|
|
224
|
-
/**
|
|
225
|
-
* Build workflow triggers
|
|
226
|
-
* @default "{ pullRequest: {}, workflowDispatch: {} }"
|
|
227
|
-
*/
|
|
228
|
-
readonly buildWorkflowTriggers?: Triggers;
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* Automatic bump modes
|
|
232
|
-
*/
|
|
233
|
-
export declare enum AutoRelease {
|
|
234
|
-
/**
|
|
235
|
-
* Automatically bump & release a new version for every commit to "main"
|
|
236
|
-
*/
|
|
237
|
-
EVERY_COMMIT = 0,
|
|
238
|
-
/**
|
|
239
|
-
* Automatically bump & release a new version on a daily basis.
|
|
240
|
-
*/
|
|
241
|
-
DAILY = 1
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Node.js project
|
|
245
|
-
*
|
|
246
|
-
* @pjid node
|
|
247
|
-
*/
|
|
248
|
-
export declare class NodeProject extends GitHubProject {
|
|
249
|
-
/**
|
|
250
|
-
* API for managing the node package.
|
|
251
|
-
*/
|
|
252
|
-
readonly package: NodePackage;
|
|
253
|
-
/**
|
|
254
|
-
* The .npmignore file.
|
|
255
|
-
*/
|
|
256
|
-
readonly npmignore?: IgnoreFile;
|
|
257
|
-
/**
|
|
258
|
-
* @deprecated use `package.allowLibraryDependencies`
|
|
259
|
-
*/
|
|
260
|
-
get allowLibraryDependencies(): boolean;
|
|
261
|
-
/**
|
|
262
|
-
* @deprecated use `package.entrypoint`
|
|
263
|
-
*/
|
|
264
|
-
get entrypoint(): string;
|
|
265
|
-
/**
|
|
266
|
-
* Component that sets up mergify for merging approved pull requests.
|
|
267
|
-
*/
|
|
268
|
-
readonly autoMerge?: AutoMerge;
|
|
269
|
-
/**
|
|
270
|
-
* The PR build GitHub workflow. `undefined` if `buildWorkflow` is disabled.
|
|
271
|
-
*/
|
|
272
|
-
readonly buildWorkflow?: BuildWorkflow;
|
|
273
|
-
/**
|
|
274
|
-
* Package publisher. This will be `undefined` if the project does not have a
|
|
275
|
-
* release workflow.
|
|
276
|
-
*
|
|
277
|
-
* @deprecated use `release.publisher`.
|
|
278
|
-
*/
|
|
279
|
-
readonly publisher?: Publisher;
|
|
280
|
-
/**
|
|
281
|
-
* Release management.
|
|
282
|
-
*/
|
|
283
|
-
readonly release?: Release;
|
|
284
|
-
/**
|
|
285
|
-
* Minimum node.js version required by this package.
|
|
286
|
-
*/
|
|
287
|
-
get minNodeVersion(): string | undefined;
|
|
288
|
-
/**
|
|
289
|
-
* Maximum node version required by this package.
|
|
290
|
-
*/
|
|
291
|
-
get maxNodeVersion(): string | undefined;
|
|
292
|
-
protected readonly nodeVersion?: string;
|
|
293
|
-
/**
|
|
294
|
-
* The package manager to use.
|
|
295
|
-
*
|
|
296
|
-
* @deprecated use `package.packageManager`
|
|
297
|
-
*/
|
|
298
|
-
get packageManager(): NodePackageManager;
|
|
299
|
-
/**
|
|
300
|
-
* The command to use to run scripts (e.g. `yarn run` or `npm run` depends on the package manager).
|
|
301
|
-
*/
|
|
302
|
-
readonly runScriptCommand: string;
|
|
303
|
-
/**
|
|
304
|
-
* The Jest configuration (if enabled)
|
|
305
|
-
*/
|
|
306
|
-
readonly jest?: Jest;
|
|
307
|
-
/**
|
|
308
|
-
* @deprecated use `package.addField(x, y)`
|
|
309
|
-
*/
|
|
310
|
-
get manifest(): any;
|
|
311
|
-
readonly bundler: Bundler;
|
|
312
|
-
/**
|
|
313
|
-
* The build output directory. An npm tarball will be created under the `js`
|
|
314
|
-
* subdirectory. For example, if this is set to `dist` (the default), the npm
|
|
315
|
-
* tarball will be placed under `dist/js/boom-boom-1.2.3.tg`.
|
|
316
|
-
*/
|
|
317
|
-
readonly artifactsDirectory: string;
|
|
318
|
-
/**
|
|
319
|
-
* The location of the npm tarball after build (`${artifactsDirectory}/js`).
|
|
320
|
-
*/
|
|
321
|
-
readonly artifactsJavascriptDirectory: string;
|
|
322
|
-
/**
|
|
323
|
-
* The upgrade workflow.
|
|
324
|
-
*/
|
|
325
|
-
readonly upgradeWorkflow?: UpgradeDependencies;
|
|
326
|
-
protected readonly workflowBootstrapSteps: JobStep[];
|
|
327
|
-
private readonly workflowGitIdentity;
|
|
328
|
-
readonly prettier?: Prettier;
|
|
329
|
-
constructor(options: NodeProjectOptions);
|
|
330
|
-
private renderUploadCoverageJobStep;
|
|
331
|
-
addBins(bins: Record<string, string>): void;
|
|
332
|
-
/**
|
|
333
|
-
* Replaces the contents of an npm package.json script.
|
|
334
|
-
*
|
|
335
|
-
* @param name The script name
|
|
336
|
-
* @param command The command to execute
|
|
337
|
-
*/
|
|
338
|
-
setScript(name: string, command: string): void;
|
|
339
|
-
/**
|
|
340
|
-
* Replaces the contents of multiple npm package.json scripts.
|
|
341
|
-
* @param scripts The scripts to set
|
|
342
|
-
*/
|
|
343
|
-
addScripts(scripts: {
|
|
344
|
-
[name: string]: string;
|
|
345
|
-
}): void;
|
|
346
|
-
/**
|
|
347
|
-
* Removes the npm script (always successful).
|
|
348
|
-
* @param name The name of the script.
|
|
349
|
-
*/
|
|
350
|
-
removeScript(name: string): void;
|
|
351
|
-
/**
|
|
352
|
-
* Indicates if a script by the name name is defined.
|
|
353
|
-
* @param name The name of the script
|
|
354
|
-
* @deprecated Use `project.tasks.tryFind(name)`
|
|
355
|
-
*/
|
|
356
|
-
hasScript(name: string): boolean;
|
|
357
|
-
/**
|
|
358
|
-
* DEPRECATED
|
|
359
|
-
* @deprecated use `project.compileTask.exec()`
|
|
360
|
-
*/
|
|
361
|
-
addCompileCommand(...commands: string[]): void;
|
|
362
|
-
/**
|
|
363
|
-
* DEPRECATED
|
|
364
|
-
* @deprecated use `project.testTask.exec()`
|
|
365
|
-
*/
|
|
366
|
-
addTestCommand(...commands: string[]): void;
|
|
367
|
-
/**
|
|
368
|
-
* Directly set fields in `package.json`.
|
|
369
|
-
* @param fields The fields to set
|
|
370
|
-
*/
|
|
371
|
-
addFields(fields: {
|
|
372
|
-
[name: string]: any;
|
|
373
|
-
}): void;
|
|
374
|
-
/**
|
|
375
|
-
* Adds keywords to package.json (deduplicated)
|
|
376
|
-
* @param keywords The keywords to add
|
|
377
|
-
*/
|
|
378
|
-
addKeywords(...keywords: string[]): void;
|
|
379
|
-
/**
|
|
380
|
-
* Get steps for scoped package access
|
|
381
|
-
*
|
|
382
|
-
* @param codeArtifactOptions Details of logging in to AWS
|
|
383
|
-
* @returns array of job steps required for each private scoped packages
|
|
384
|
-
*/
|
|
385
|
-
private getScopedPackageSteps;
|
|
386
|
-
/**
|
|
387
|
-
* Returns the set of workflow steps which should be executed to bootstrap a
|
|
388
|
-
* workflow.
|
|
389
|
-
*
|
|
390
|
-
* @param options Options.
|
|
391
|
-
* @returns Job steps
|
|
392
|
-
*/
|
|
393
|
-
renderWorkflowSetup(options?: RenderWorkflowSetupOptions): JobStep[];
|
|
394
|
-
/**
|
|
395
|
-
* Defines normal dependencies.
|
|
396
|
-
*
|
|
397
|
-
* @param deps Names modules to install. By default, the the dependency will
|
|
398
|
-
* be installed in the next `npx projen` run and the version will be recorded
|
|
399
|
-
* in your `package.json` file. You can upgrade manually or using `yarn
|
|
400
|
-
* add/upgrade`. If you wish to specify a version range use this syntax:
|
|
401
|
-
* `module@^7`.
|
|
402
|
-
*/
|
|
403
|
-
addDeps(...deps: string[]): void;
|
|
404
|
-
/**
|
|
405
|
-
* Defines development/test dependencies.
|
|
406
|
-
*
|
|
407
|
-
* @param deps Names modules to install. By default, the the dependency will
|
|
408
|
-
* be installed in the next `npx projen` run and the version will be recorded
|
|
409
|
-
* in your `package.json` file. You can upgrade manually or using `yarn
|
|
410
|
-
* add/upgrade`. If you wish to specify a version range use this syntax:
|
|
411
|
-
* `module@^7`.
|
|
412
|
-
*/
|
|
413
|
-
addDevDeps(...deps: string[]): void;
|
|
414
|
-
/**
|
|
415
|
-
* Defines peer dependencies.
|
|
416
|
-
*
|
|
417
|
-
* When adding peer dependencies, a devDependency will also be added on the
|
|
418
|
-
* pinned version of the declared peer. This will ensure that you are testing
|
|
419
|
-
* your code against the minimum version required from your consumers.
|
|
420
|
-
*
|
|
421
|
-
* @param deps Names modules to install. By default, the the dependency will
|
|
422
|
-
* be installed in the next `npx projen` run and the version will be recorded
|
|
423
|
-
* in your `package.json` file. You can upgrade manually or using `yarn
|
|
424
|
-
* add/upgrade`. If you wish to specify a version range use this syntax:
|
|
425
|
-
* `module@^7`.
|
|
426
|
-
*/
|
|
427
|
-
addPeerDeps(...deps: string[]): void;
|
|
428
|
-
/**
|
|
429
|
-
* Defines bundled dependencies.
|
|
430
|
-
*
|
|
431
|
-
* Bundled dependencies will be added as normal dependencies as well as to the
|
|
432
|
-
* `bundledDependencies` section of your `package.json`.
|
|
433
|
-
*
|
|
434
|
-
* @param deps Names modules to install. By default, the the dependency will
|
|
435
|
-
* be installed in the next `npx projen` run and the version will be recorded
|
|
436
|
-
* in your `package.json` file. You can upgrade manually or using `yarn
|
|
437
|
-
* add/upgrade`. If you wish to specify a version range use this syntax:
|
|
438
|
-
* `module@^7`.
|
|
439
|
-
*/
|
|
440
|
-
addBundledDeps(...deps: string[]): void;
|
|
441
|
-
addPackageIgnore(pattern: string): void;
|
|
442
|
-
private addLicense;
|
|
443
|
-
private addDefaultGitIgnore;
|
|
444
|
-
/**
|
|
445
|
-
* Returns the shell command to execute in order to run a task. This will
|
|
446
|
-
* typically be `npx projen TASK`.
|
|
447
|
-
*
|
|
448
|
-
* @param task The task for which the command is required
|
|
449
|
-
*/
|
|
450
|
-
runTaskCommand(task: Task): string;
|
|
451
|
-
/**
|
|
452
|
-
* The job ID of the build workflow.
|
|
453
|
-
*/
|
|
454
|
-
get buildWorkflowJobId(): string | undefined;
|
|
455
|
-
}
|
|
456
|
-
/**
|
|
457
|
-
* Options for `renderInstallSteps()`.
|
|
458
|
-
*/
|
|
459
|
-
export interface RenderWorkflowSetupOptions {
|
|
460
|
-
/**
|
|
461
|
-
* Should the pacakge lockfile be updated?
|
|
462
|
-
* @default false
|
|
463
|
-
*/
|
|
464
|
-
readonly mutable?: boolean;
|
|
465
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Component } from "../component";
|
|
2
|
-
import { NodeProject } from "../javascript";
|
|
3
|
-
/**
|
|
4
|
-
* Options to configure the local NPM config
|
|
5
|
-
*/
|
|
6
|
-
export interface NpmConfigOptions {
|
|
7
|
-
/**
|
|
8
|
-
* URL of the registry mirror to use
|
|
9
|
-
*
|
|
10
|
-
* You can change this or add scoped registries using the addRegistry method
|
|
11
|
-
*
|
|
12
|
-
* @default - use npmjs default registry
|
|
13
|
-
*/
|
|
14
|
-
readonly registry?: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* File representing the local NPM config in .npmrc
|
|
18
|
-
*/
|
|
19
|
-
export declare class NpmConfig extends Component {
|
|
20
|
-
/**
|
|
21
|
-
* The config object. This object can be mutated until the project is
|
|
22
|
-
* synthesized.
|
|
23
|
-
*/
|
|
24
|
-
private readonly config;
|
|
25
|
-
constructor(project: NodeProject, options?: NpmConfigOptions);
|
|
26
|
-
/**
|
|
27
|
-
* configure a scoped registry
|
|
28
|
-
*
|
|
29
|
-
* @param url the URL of the registry to use
|
|
30
|
-
* @param scope the scope the registry is used for; leave empty for the default registry
|
|
31
|
-
*/
|
|
32
|
-
addRegistry(url: string, scope?: string): void;
|
|
33
|
-
/**
|
|
34
|
-
* configure a generic property
|
|
35
|
-
*
|
|
36
|
-
* @param name the name of the property
|
|
37
|
-
* @param value the value of the property
|
|
38
|
-
*/
|
|
39
|
-
addConfig(name: string, value: string): void;
|
|
40
|
-
}
|