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,43 +0,0 @@
|
|
|
1
|
-
import { TypescriptConfig } from "../javascript";
|
|
2
|
-
import { Project } from "../project";
|
|
3
|
-
import { ProjenrcFile } from "../projenrc";
|
|
4
|
-
export interface ProjenrcTsOptions {
|
|
5
|
-
/**
|
|
6
|
-
* The name of the projenrc file.
|
|
7
|
-
* @default ".projenrc.ts"
|
|
8
|
-
*/
|
|
9
|
-
readonly filename?: string;
|
|
10
|
-
/**
|
|
11
|
-
* A directory tree that may contain *.ts files that can be referenced from
|
|
12
|
-
* your projenrc typescript file.
|
|
13
|
-
*
|
|
14
|
-
* @default "projenrc"
|
|
15
|
-
*/
|
|
16
|
-
readonly projenCodeDir?: string;
|
|
17
|
-
/**
|
|
18
|
-
* The name of the tsconfig file that will be used by ts-node
|
|
19
|
-
* when compiling projen source files.
|
|
20
|
-
*
|
|
21
|
-
* @default "tsconfig.projen.json"
|
|
22
|
-
*/
|
|
23
|
-
readonly tsconfigFileName?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* A projenrc file written in TypeScript
|
|
27
|
-
*
|
|
28
|
-
* This component can be instantiated in any type of project
|
|
29
|
-
* and has no expectations around the project's main language.
|
|
30
|
-
*
|
|
31
|
-
* Requires that `npx` is available.
|
|
32
|
-
*/
|
|
33
|
-
export declare class ProjenrcTs extends ProjenrcFile {
|
|
34
|
-
/**
|
|
35
|
-
* TypeScript configuration file used to compile projen source files
|
|
36
|
-
*/
|
|
37
|
-
readonly tsconfig: TypescriptConfig;
|
|
38
|
-
readonly filePath: string;
|
|
39
|
-
private readonly _projenCodeDir;
|
|
40
|
-
constructor(project: Project, options?: ProjenrcTsOptions);
|
|
41
|
-
preSynthesize(): void;
|
|
42
|
-
private generateProjenrc;
|
|
43
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ProjenrcFile } from "../projenrc";
|
|
2
|
-
import { TypeScriptProject } from "../typescript";
|
|
3
|
-
export interface ProjenrcOptions {
|
|
4
|
-
/**
|
|
5
|
-
* The name of the projenrc file.
|
|
6
|
-
* @default ".projenrc.ts"
|
|
7
|
-
*/
|
|
8
|
-
readonly filename?: string;
|
|
9
|
-
/**
|
|
10
|
-
* A directory tree that may contain *.ts files that can be referenced from
|
|
11
|
-
* your projenrc typescript file.
|
|
12
|
-
*
|
|
13
|
-
* @default "projenrc"
|
|
14
|
-
*/
|
|
15
|
-
readonly projenCodeDir?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Sets up a typescript project to use TypeScript for projenrc.
|
|
19
|
-
*/
|
|
20
|
-
export declare class Projenrc extends ProjenrcFile {
|
|
21
|
-
readonly filePath: string;
|
|
22
|
-
private readonly _projenCodeDir;
|
|
23
|
-
private readonly _tsProject;
|
|
24
|
-
constructor(project: TypeScriptProject, options?: ProjenrcOptions);
|
|
25
|
-
preSynthesize(): void;
|
|
26
|
-
private generateProjenrc;
|
|
27
|
-
}
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import { Eslint, EslintOptions, NodeProject, NodeProjectOptions, TypescriptConfig, TypescriptConfigOptions } from "../javascript";
|
|
2
|
-
import { Task } from "../task";
|
|
3
|
-
import { ProjenrcOptions as ProjenrcTsOptions } from "../typescript";
|
|
4
|
-
export interface TypeScriptProjectOptions extends NodeProjectOptions {
|
|
5
|
-
/**
|
|
6
|
-
* Typescript artifacts output directory
|
|
7
|
-
*
|
|
8
|
-
* @default "lib"
|
|
9
|
-
*/
|
|
10
|
-
readonly libdir?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Typescript sources directory.
|
|
13
|
-
*
|
|
14
|
-
* @default "src"
|
|
15
|
-
*/
|
|
16
|
-
readonly srcdir?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Jest tests directory. Tests files should be named `xxx.test.ts`.
|
|
19
|
-
*
|
|
20
|
-
* If this directory is under `srcdir` (e.g. `src/test`, `src/__tests__`),
|
|
21
|
-
* then tests are going to be compiled into `lib/` and executed as javascript.
|
|
22
|
-
* If the test directory is outside of `src`, then we configure jest to
|
|
23
|
-
* compile the code in-memory.
|
|
24
|
-
*
|
|
25
|
-
* @default "test"
|
|
26
|
-
*/
|
|
27
|
-
readonly testdir?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Setup eslint.
|
|
30
|
-
*
|
|
31
|
-
* @default true
|
|
32
|
-
*/
|
|
33
|
-
readonly eslint?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Eslint options
|
|
36
|
-
* @default - opinionated default options
|
|
37
|
-
*/
|
|
38
|
-
readonly eslintOptions?: EslintOptions;
|
|
39
|
-
/**
|
|
40
|
-
* TypeScript version to use.
|
|
41
|
-
*
|
|
42
|
-
* NOTE: Typescript is not semantically versioned and should remain on the
|
|
43
|
-
* same minor, so we recommend using a `~` dependency (e.g. `~1.2.3`).
|
|
44
|
-
*
|
|
45
|
-
* @default "latest"
|
|
46
|
-
*/
|
|
47
|
-
readonly typescriptVersion?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Docgen by Typedoc
|
|
50
|
-
*
|
|
51
|
-
* @default false
|
|
52
|
-
*/
|
|
53
|
-
readonly docgen?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Docs directory
|
|
56
|
-
*
|
|
57
|
-
* @default "docs"
|
|
58
|
-
*/
|
|
59
|
-
readonly docsDirectory?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Custom TSConfig
|
|
62
|
-
* @default - default options
|
|
63
|
-
*/
|
|
64
|
-
readonly tsconfig?: TypescriptConfigOptions;
|
|
65
|
-
/**
|
|
66
|
-
* Custom tsconfig options for the development tsconfig.json file (used for testing).
|
|
67
|
-
* @default - use the production tsconfig options
|
|
68
|
-
*/
|
|
69
|
-
readonly tsconfigDev?: TypescriptConfigOptions;
|
|
70
|
-
/**
|
|
71
|
-
* The name of the development tsconfig.json file.
|
|
72
|
-
*
|
|
73
|
-
* @default "tsconfig.dev.json"
|
|
74
|
-
*/
|
|
75
|
-
readonly tsconfigDevFile?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Do not generate a `tsconfig.json` file (used by jsii projects since
|
|
78
|
-
* tsconfig.json is generated by the jsii compiler).
|
|
79
|
-
*
|
|
80
|
-
* @default false
|
|
81
|
-
*/
|
|
82
|
-
readonly disableTsconfig?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Do not generate a `tsconfig.dev.json` file.
|
|
85
|
-
*
|
|
86
|
-
* @default false
|
|
87
|
-
*/
|
|
88
|
-
readonly disableTsconfigDev?: boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Generate one-time sample in `src/` and `test/` if there are no files there.
|
|
91
|
-
* @default true
|
|
92
|
-
*/
|
|
93
|
-
readonly sampleCode?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* The .d.ts file that includes the type declarations for this module.
|
|
96
|
-
* @default - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
97
|
-
*/
|
|
98
|
-
readonly entrypointTypes?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Use TypeScript for your projenrc file (`.projenrc.ts`).
|
|
101
|
-
*
|
|
102
|
-
* @default false
|
|
103
|
-
* @pjnew true
|
|
104
|
-
*/
|
|
105
|
-
readonly projenrcTs?: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Options for .projenrc.ts
|
|
108
|
-
*/
|
|
109
|
-
readonly projenrcTsOptions?: ProjenrcTsOptions;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* TypeScript project
|
|
113
|
-
* @pjid typescript
|
|
114
|
-
*/
|
|
115
|
-
export declare class TypeScriptProject extends NodeProject {
|
|
116
|
-
readonly docgen?: boolean;
|
|
117
|
-
readonly docsDirectory: string;
|
|
118
|
-
readonly eslint?: Eslint;
|
|
119
|
-
readonly tsconfigEslint?: TypescriptConfig;
|
|
120
|
-
readonly tsconfig?: TypescriptConfig;
|
|
121
|
-
/**
|
|
122
|
-
* A typescript configuration file which covers all files (sources, tests, projen).
|
|
123
|
-
*/
|
|
124
|
-
readonly tsconfigDev: TypescriptConfig;
|
|
125
|
-
/**
|
|
126
|
-
* The directory in which the .ts sources reside.
|
|
127
|
-
*/
|
|
128
|
-
readonly srcdir: string;
|
|
129
|
-
/**
|
|
130
|
-
* The directory in which compiled .js files reside.
|
|
131
|
-
*/
|
|
132
|
-
readonly libdir: string;
|
|
133
|
-
/**
|
|
134
|
-
* The directory in which tests reside.
|
|
135
|
-
*/
|
|
136
|
-
readonly testdir: string;
|
|
137
|
-
/**
|
|
138
|
-
* The "watch" task.
|
|
139
|
-
*/
|
|
140
|
-
readonly watchTask: Task;
|
|
141
|
-
constructor(options: TypeScriptProjectOptions);
|
|
142
|
-
/**
|
|
143
|
-
* Tests are compiled to `lib/TESTDIR`, so we don't need jest to compile them
|
|
144
|
-
* for us. just run them directly from javascript.
|
|
145
|
-
*/
|
|
146
|
-
private addJestCompiled;
|
|
147
|
-
private addJestNoCompile;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* TypeScript app.
|
|
151
|
-
*
|
|
152
|
-
* @pjid typescript-app
|
|
153
|
-
*/
|
|
154
|
-
export declare class TypeScriptAppProject extends TypeScriptProject {
|
|
155
|
-
constructor(options: TypeScriptProjectOptions);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* @deprecated use `TypeScriptProject`
|
|
159
|
-
*/
|
|
160
|
-
export declare class TypeScriptLibraryProject extends TypeScriptProject {
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* @deprecated use TypeScriptProjectOptions
|
|
164
|
-
*/
|
|
165
|
-
export interface TypeScriptLibraryProjectOptions extends TypeScriptProjectOptions {
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
export declare function mergeTsconfigOptions(...options: (TypescriptConfigOptions | undefined)[]): TypescriptConfigOptions;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare enum TargetName {
|
|
2
|
-
JAVA = 0,
|
|
3
|
-
DOTNET = 1,
|
|
4
|
-
PYTHON = 2,
|
|
5
|
-
GO = 3,
|
|
6
|
-
JAVASCRIPT = 4
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Converts a SemVer range expression to a Maven version range expression.
|
|
10
|
-
*
|
|
11
|
-
* @param semverRange the SemVer range expression to convert.
|
|
12
|
-
* @param suffix the suffix to add to versions in the range.
|
|
13
|
-
*
|
|
14
|
-
* @see https://cwiki.apache.org/confluence/display/MAVENOLD/Dependency+Mediation+and+Conflict+Resolution
|
|
15
|
-
*/
|
|
16
|
-
export declare function toMavenVersionRange(semverRange: string, suffix?: string): string;
|
|
17
|
-
/**
|
|
18
|
-
* Converts a SemVer range expression to a NuGet version range expression.
|
|
19
|
-
*
|
|
20
|
-
* @param semverRange the SemVer range expression to convert.
|
|
21
|
-
*
|
|
22
|
-
* @see https://docs.microsoft.com/en-us/nuget/concepts/package-versioning#version-ranges-and-wildcards
|
|
23
|
-
*/
|
|
24
|
-
export declare function toNuGetVersionRange(semverRange: string): string;
|
|
25
|
-
/**
|
|
26
|
-
* Converts a SemVer range expression to a Python setuptools compatible version
|
|
27
|
-
* constraint expression.
|
|
28
|
-
*
|
|
29
|
-
* @param semverRange the SemVer range expression to convert.
|
|
30
|
-
*/
|
|
31
|
-
export declare function toPythonVersionRange(semverRange: string): string;
|
|
32
|
-
/**
|
|
33
|
-
* Converts an original version number from the NPM convention to the target
|
|
34
|
-
* language's convention for expressing the same. For versions that do not
|
|
35
|
-
* include a prerelease identifier, this always returns the assembly version
|
|
36
|
-
* unmodified.
|
|
37
|
-
*
|
|
38
|
-
* @param assemblyVersion the assembly version being released
|
|
39
|
-
* @param target the target language for which the version is destined
|
|
40
|
-
*
|
|
41
|
-
* @returns the version that should be serialized
|
|
42
|
-
*/
|
|
43
|
-
export declare function toReleaseVersion(assemblyVersion: string, target: TargetName): string;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Project } from "../project";
|
|
2
|
-
/**
|
|
3
|
-
* Options for the Snapshot synthesis
|
|
4
|
-
*/
|
|
5
|
-
export interface SnapshotOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Parse .json files as a JS object for improved inspection.
|
|
8
|
-
* This will fail if the contents are invalid JSON.
|
|
9
|
-
*
|
|
10
|
-
* @default true parse .json files into an object
|
|
11
|
-
*/
|
|
12
|
-
readonly parseJson?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface SynthOutput {
|
|
15
|
-
[filePath: string]: any;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Creates a snapshot of the files generated by a project. Ignores any non-text
|
|
19
|
-
* files so that the snapshots are human readable.
|
|
20
|
-
*/
|
|
21
|
-
export declare function synthSnapshot(project: Project, options?: SnapshotOptions): SynthOutput;
|
|
22
|
-
export interface DirectorySnapshotOptions extends SnapshotOptions {
|
|
23
|
-
/**
|
|
24
|
-
* Globs of files to exclude.
|
|
25
|
-
* @default [] include all files
|
|
26
|
-
*/
|
|
27
|
-
readonly excludeGlobs?: string[];
|
|
28
|
-
/**
|
|
29
|
-
* Only snapshot the names of files and not their contents.
|
|
30
|
-
* The value for a path will be `true` if it exists.
|
|
31
|
-
*
|
|
32
|
-
* @default false include file content
|
|
33
|
-
*/
|
|
34
|
-
readonly onlyFileNames?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Parses files with different parser, supporting comments
|
|
37
|
-
* inside .json files.
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
readonly supportJsonComments?: boolean;
|
|
41
|
-
}
|
|
42
|
-
export declare function directorySnapshot(root: string, options?: DirectorySnapshotOptions): SynthOutput;
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import * as path from "path";
|
|
3
|
-
/**
|
|
4
|
-
* Executes a command with STDOUT > STDERR.
|
|
5
|
-
*/
|
|
6
|
-
export declare function exec(command: string, options: {
|
|
7
|
-
cwd: string;
|
|
8
|
-
}): void;
|
|
9
|
-
/**
|
|
10
|
-
* Executes command and returns STDOUT. If the command fails (non-zero), throws an error.
|
|
11
|
-
*/
|
|
12
|
-
export declare function execCapture(command: string, options: {
|
|
13
|
-
cwd: string;
|
|
14
|
-
}): Buffer;
|
|
15
|
-
/**
|
|
16
|
-
* Executes `command` and returns its value or undefined if the command failed.
|
|
17
|
-
*/
|
|
18
|
-
export declare function execOrUndefined(command: string, options: {
|
|
19
|
-
cwd: string;
|
|
20
|
-
}): string | undefined;
|
|
21
|
-
export interface WriteFileOptions {
|
|
22
|
-
/**
|
|
23
|
-
* Whether the generated file should be marked as executable.
|
|
24
|
-
*
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
executable?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Whether the generated file should be readonly.
|
|
30
|
-
*
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
readonly?: boolean;
|
|
34
|
-
}
|
|
35
|
-
export declare function getFilePermissions(options: WriteFileOptions): string;
|
|
36
|
-
export declare function writeFile(filePath: string, data: any, options?: WriteFileOptions): void;
|
|
37
|
-
/**
|
|
38
|
-
* Decamelizes the keys of an object structure, recursing through child objects and arrays.
|
|
39
|
-
* @experimental
|
|
40
|
-
*/
|
|
41
|
-
export interface DecamelizeRecursivelyOptions {
|
|
42
|
-
/**
|
|
43
|
-
* Max depth to recurse before erroring.
|
|
44
|
-
* @default 10
|
|
45
|
-
*/
|
|
46
|
-
maxDepth?: number;
|
|
47
|
-
/**
|
|
48
|
-
* Returns true when a key should be decamelized
|
|
49
|
-
* @default - all keys are decamelized
|
|
50
|
-
*/
|
|
51
|
-
shouldDecamelize?: (path: string[], value: any) => boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Separator for decamelizing.
|
|
54
|
-
* @default "_"
|
|
55
|
-
*/
|
|
56
|
-
separator?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Current path.
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
path?: string[];
|
|
62
|
-
}
|
|
63
|
-
export declare function decamelizeKeysRecursively(input: any, opt?: DecamelizeRecursivelyOptions): any;
|
|
64
|
-
/**
|
|
65
|
-
* Returns false if value is unset or a falsey value, and true otherwise.
|
|
66
|
-
* @param value an environment variable
|
|
67
|
-
*/
|
|
68
|
-
export declare function isTruthy(value: string | undefined): boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Type of a map mapping strings to some arbitrary type
|
|
71
|
-
*/
|
|
72
|
-
export type Obj<T> = {
|
|
73
|
-
[key: string]: T;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Return whether the given value is an object
|
|
77
|
-
*
|
|
78
|
-
* Even though arrays and instances of classes technically are objects, we
|
|
79
|
-
* usually want to treat them differently, so we return false in those cases.
|
|
80
|
-
*/
|
|
81
|
-
export declare function isObject(x: any): x is Obj<any>;
|
|
82
|
-
/**
|
|
83
|
-
* Recursively merge objects together
|
|
84
|
-
*
|
|
85
|
-
* The leftmost object is mutated and returned. Arrays are not merged
|
|
86
|
-
* but overwritten just like scalars.
|
|
87
|
-
*
|
|
88
|
-
* If an object is merged into a non-object, the non-object is lost.
|
|
89
|
-
*
|
|
90
|
-
* `undefined`s will cause a value to be deleted if destructive is enabled.
|
|
91
|
-
*/
|
|
92
|
-
export declare function deepMerge(objects: Array<Obj<any> | undefined>, destructive?: boolean): Obj<any>;
|
|
93
|
-
export declare function dedupArray<T>(array: T[]): T[];
|
|
94
|
-
/**
|
|
95
|
-
* Returns a sorted version of `x` or `undefined` if it is an empty array or object.
|
|
96
|
-
*/
|
|
97
|
-
export declare function sorted<T>(x: T): unknown[] | T | undefined;
|
|
98
|
-
export declare function formatAsPythonModule(name: string): string;
|
|
99
|
-
/**
|
|
100
|
-
* Extract git version number from command line
|
|
101
|
-
*
|
|
102
|
-
* @param gitVersionOutput the output from `git version` CLI
|
|
103
|
-
* @returns the version of git
|
|
104
|
-
*/
|
|
105
|
-
export declare function getGitVersion(gitVersionOutput: string): string;
|
|
106
|
-
export declare function kebabCaseKeys<T = unknown>(obj: T, recursive?: boolean): T;
|
|
107
|
-
export declare function snakeCaseKeys<T = unknown>(obj: T, recursive?: boolean, exclusiveForRecordKeys?: string[]): T;
|
|
108
|
-
export declare function tryReadFile(file: string): Promise<string>;
|
|
109
|
-
export declare function tryReadFileSync(file: string): string | undefined;
|
|
110
|
-
export declare function isWritable(file: string): boolean;
|
|
111
|
-
export declare function isExecutable(file: string): boolean;
|
|
112
|
-
export declare function getNodeMajorVersion(): number | undefined;
|
|
113
|
-
export declare function anySelected(options: (boolean | undefined)[]): boolean;
|
|
114
|
-
export declare function multipleSelected(options: (boolean | undefined)[]): boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Checks if a path is a FS root
|
|
117
|
-
*
|
|
118
|
-
* Optional uses a provided OS specific path implementation,
|
|
119
|
-
* defaults to use the implementation for the current OS.
|
|
120
|
-
*
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
export declare function isRoot(dir: string, osPathLib?: typeof path): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Run up project tree to find a file or directory
|
|
126
|
-
*
|
|
127
|
-
* @param lookFor the file or directory to look for
|
|
128
|
-
* @param cwd current working directory, must be an absolute path
|
|
129
|
-
* @returns path to the file or directory we are looking for, undefined if not found
|
|
130
|
-
*/
|
|
131
|
-
export declare function findUp(lookFor: string, cwd?: string): string | undefined;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Component } from "./component";
|
|
2
|
-
import { Project } from "./project";
|
|
3
|
-
import { Task } from "./task";
|
|
4
|
-
/**
|
|
5
|
-
* Options for `Version`.
|
|
6
|
-
*/
|
|
7
|
-
export interface VersionOptions {
|
|
8
|
-
/**
|
|
9
|
-
* A name of a .json file to set the `version` field in after a bump.
|
|
10
|
-
*
|
|
11
|
-
* @example "package.json"
|
|
12
|
-
*/
|
|
13
|
-
readonly versionInputFile: string;
|
|
14
|
-
/**
|
|
15
|
-
* The name of the directory into which `changelog.md` and `version.txt` files
|
|
16
|
-
* are emitted.
|
|
17
|
-
*/
|
|
18
|
-
readonly artifactsDirectory: string;
|
|
19
|
-
/**
|
|
20
|
-
* Custom configuration for versionrc file used by standard-release
|
|
21
|
-
*/
|
|
22
|
-
readonly versionrcOptions?: Record<string, any>;
|
|
23
|
-
/**
|
|
24
|
-
* The tag prefix corresponding to this version.
|
|
25
|
-
*/
|
|
26
|
-
readonly tagPrefix?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare class Version extends Component {
|
|
29
|
-
static readonly STANDARD_VERSION = "standard-version@^9";
|
|
30
|
-
readonly bumpTask: Task;
|
|
31
|
-
readonly unbumpTask: Task;
|
|
32
|
-
/**
|
|
33
|
-
* The name of the changelog file (under `artifactsDirectory`).
|
|
34
|
-
*/
|
|
35
|
-
readonly changelogFileName: string;
|
|
36
|
-
/**
|
|
37
|
-
* The name of the file that contains the version (under `artifactsDirectory`).
|
|
38
|
-
*/
|
|
39
|
-
readonly versionFileName: string;
|
|
40
|
-
/**
|
|
41
|
-
* The name of the file that contains the release tag (under `artifactsDirectory`).
|
|
42
|
-
*/
|
|
43
|
-
readonly releaseTagFileName: string;
|
|
44
|
-
constructor(project: Project, options: VersionOptions);
|
|
45
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Component } from "../component";
|
|
2
|
-
import { DevEnvironmentDockerImage, DevEnvironmentOptions, IDevEnvironment } from "../dev-env";
|
|
3
|
-
import { Project } from "../project";
|
|
4
|
-
import { Task } from "../task";
|
|
5
|
-
/**
|
|
6
|
-
* devcontainer features options
|
|
7
|
-
* @see https://containers.dev/implementors/features/#devcontainer-json-properties
|
|
8
|
-
*/
|
|
9
|
-
export interface DevContainerFeature {
|
|
10
|
-
/**
|
|
11
|
-
* feature name
|
|
12
|
-
*/
|
|
13
|
-
readonly name: string;
|
|
14
|
-
/**
|
|
15
|
-
* feature version
|
|
16
|
-
* @default latest
|
|
17
|
-
*/
|
|
18
|
-
readonly version?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Constructor options for the DevContainer component.
|
|
22
|
-
*
|
|
23
|
-
* The default docker image used for GitHub Codespaces is defined here:
|
|
24
|
-
* @see https://github.com/microsoft/vscode-dev-containers/tree/master/containers/codespaces-linux
|
|
25
|
-
*/
|
|
26
|
-
export interface DevContainerOptions extends DevEnvironmentOptions {
|
|
27
|
-
/**
|
|
28
|
-
* An array of VSCode features that specify the features that should be
|
|
29
|
-
* installed inside the container when it is created.
|
|
30
|
-
*/
|
|
31
|
-
readonly features?: DevContainerFeature[];
|
|
32
|
-
}
|
|
33
|
-
export interface IDevContainerEnvironment extends IDevEnvironment {
|
|
34
|
-
/**
|
|
35
|
-
* Adds a list of VSCode features that should be automatically installed
|
|
36
|
-
* in the container.
|
|
37
|
-
*
|
|
38
|
-
* @param features featureName and version(optional default: latest)
|
|
39
|
-
*/
|
|
40
|
-
addFeatures(...features: DevContainerFeature[]): void;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* A development environment running VSCode in a container; used by GitHub
|
|
44
|
-
* codespaces.
|
|
45
|
-
*/
|
|
46
|
-
export declare class DevContainer extends Component implements IDevContainerEnvironment {
|
|
47
|
-
private dockerImage;
|
|
48
|
-
private readonly postCreateTasks;
|
|
49
|
-
private readonly ports;
|
|
50
|
-
private readonly vscodeExtensions;
|
|
51
|
-
private readonly features;
|
|
52
|
-
/**
|
|
53
|
-
* Direct access to the devcontainer configuration (escape hatch)
|
|
54
|
-
*/
|
|
55
|
-
readonly config: any;
|
|
56
|
-
constructor(project: Project, options?: DevContainerOptions);
|
|
57
|
-
addDockerImage(image: DevEnvironmentDockerImage): void;
|
|
58
|
-
/**
|
|
59
|
-
* Adds tasks to run when the container starts. Tasks will be run in sequence.
|
|
60
|
-
*
|
|
61
|
-
* @param tasks The new tasks
|
|
62
|
-
*/
|
|
63
|
-
addTasks(...tasks: Task[]): void;
|
|
64
|
-
/**
|
|
65
|
-
* Adds ports that should be exposed (forwarded) from the container.
|
|
66
|
-
*
|
|
67
|
-
* @param ports The new ports
|
|
68
|
-
*/
|
|
69
|
-
addPorts(...ports: string[]): void;
|
|
70
|
-
/**
|
|
71
|
-
* Adds a list of VSCode extensions that should be automatically installed
|
|
72
|
-
* in the container.
|
|
73
|
-
*
|
|
74
|
-
* @param extensions The extension IDs
|
|
75
|
-
*/
|
|
76
|
-
addVscodeExtensions(...extensions: string[]): void;
|
|
77
|
-
/**
|
|
78
|
-
* Adds a list of VSCode features that should be automatically installed
|
|
79
|
-
* in the container.
|
|
80
|
-
*
|
|
81
|
-
* @param features featureName and version(optional default: latest)
|
|
82
|
-
*/
|
|
83
|
-
addFeatures(...features: DevContainerFeature[]): void;
|
|
84
|
-
private renderTasks;
|
|
85
|
-
private renderFeatures;
|
|
86
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { VsCode } from "./vscode";
|
|
2
|
-
import { Component } from "../component";
|
|
3
|
-
/**
|
|
4
|
-
* VS Code Workspace recommended extensions
|
|
5
|
-
* Source: https://code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions
|
|
6
|
-
*/
|
|
7
|
-
export declare class VsCodeRecommendedExtensions extends Component {
|
|
8
|
-
/**
|
|
9
|
-
* List of extensions which should be recommended for users of this workspace.
|
|
10
|
-
* The identifier of an extension is always '${publisher}.${name}'. For example: 'ms-python.python'.
|
|
11
|
-
*
|
|
12
|
-
* @default - no recommendations are made
|
|
13
|
-
*/
|
|
14
|
-
private readonly recommendations;
|
|
15
|
-
/**
|
|
16
|
-
* List of extensions recommended by VS Code that should not be recommended for users of this workspace.
|
|
17
|
-
* The identifier of an extension is always '${publisher}.${name}'. For example: 'ms-python.python'.
|
|
18
|
-
*
|
|
19
|
-
* @default - no recommendations are marked unwanted
|
|
20
|
-
*/
|
|
21
|
-
private readonly unwantedRecommendations;
|
|
22
|
-
constructor(vscode: VsCode);
|
|
23
|
-
/**
|
|
24
|
-
* Adds a list of VS Code extensions as recommendations for this workspace.
|
|
25
|
-
*
|
|
26
|
-
* @param extensions The extension IDs
|
|
27
|
-
*/
|
|
28
|
-
addRecommendations(...extensions: string[]): void;
|
|
29
|
-
/**
|
|
30
|
-
* Marks a list of VS Code extensions as unwanted recommendations for this workspace.
|
|
31
|
-
* VS Code should not be recommend these extensions for users of this workspace.
|
|
32
|
-
*
|
|
33
|
-
* @param extensions The extension IDs
|
|
34
|
-
*/
|
|
35
|
-
addUnwantedRecommendations(...extensions: string[]): void;
|
|
36
|
-
}
|