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,170 +0,0 @@
|
|
|
1
|
-
import { Artifacts, Cache, Default, Image, Include, Job, Retry, Service, VariableConfig, Workflow } from "./configuration-model";
|
|
2
|
-
import { Component } from "../component";
|
|
3
|
-
import { Project } from "../project";
|
|
4
|
-
import { YamlFile } from "../yaml";
|
|
5
|
-
/**
|
|
6
|
-
* Options for `CiConfiguration`.
|
|
7
|
-
*/
|
|
8
|
-
export interface CiConfigurationOptions {
|
|
9
|
-
/**
|
|
10
|
-
* Default settings for the CI Configuration. Jobs that do not define one or more of the listed keywords use the value defined in the default section.
|
|
11
|
-
*/
|
|
12
|
-
readonly default?: Default;
|
|
13
|
-
/**
|
|
14
|
-
* A special job used to upload static sites to Gitlab pages. Requires a `public/` directory
|
|
15
|
-
* with `artifacts.path` pointing to it.
|
|
16
|
-
*/
|
|
17
|
-
readonly pages?: Job;
|
|
18
|
-
/**
|
|
19
|
-
* Used to control pipeline behavior.
|
|
20
|
-
*/
|
|
21
|
-
readonly workflow?: Workflow;
|
|
22
|
-
/**
|
|
23
|
-
* Groups jobs into stages. All jobs in one stage must complete before next stage is
|
|
24
|
-
* executed. If no stages are specified. Defaults to ['build', 'test', 'deploy'].
|
|
25
|
-
*/
|
|
26
|
-
readonly stages?: string[];
|
|
27
|
-
/**
|
|
28
|
-
* Global variables that are passed to jobs.
|
|
29
|
-
* If the job already has that variable defined, the job-level variable takes precedence.
|
|
30
|
-
*/
|
|
31
|
-
readonly variables?: Record<string, any>;
|
|
32
|
-
/**
|
|
33
|
-
* An initial set of jobs to add to the configuration.
|
|
34
|
-
*/
|
|
35
|
-
readonly jobs?: Record<string, Job>;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* CI for GitLab.
|
|
39
|
-
* A CI is a configurable automated process made up of one or more stages/jobs.
|
|
40
|
-
* @see https://docs.gitlab.com/ee/ci/yaml/
|
|
41
|
-
*/
|
|
42
|
-
export declare class CiConfiguration extends Component {
|
|
43
|
-
/**
|
|
44
|
-
* The project the configuration belongs to.
|
|
45
|
-
*/
|
|
46
|
-
readonly project: Project;
|
|
47
|
-
/**
|
|
48
|
-
* The name of the configuration.
|
|
49
|
-
*/
|
|
50
|
-
readonly name: string;
|
|
51
|
-
/**
|
|
52
|
-
* Path to CI file generated by the configuration.
|
|
53
|
-
*/
|
|
54
|
-
readonly path: string;
|
|
55
|
-
/**
|
|
56
|
-
* The workflow YAML file.
|
|
57
|
-
*/
|
|
58
|
-
readonly file: YamlFile;
|
|
59
|
-
/**
|
|
60
|
-
* Defines default scripts that should run *after* all jobs. Can be overriden by the job level `afterScript`.
|
|
61
|
-
*/
|
|
62
|
-
readonly defaultAfterScript: string[];
|
|
63
|
-
/**
|
|
64
|
-
* Default list of files and directories that should be attached to the job if it succeeds. Artifacts are sent to Gitlab where they can be downloaded.
|
|
65
|
-
*/
|
|
66
|
-
readonly defaultArtifacts?: Artifacts;
|
|
67
|
-
/**
|
|
68
|
-
* Defines default scripts that should run *before* all jobs. Can be overriden by the job level `afterScript`.
|
|
69
|
-
*/
|
|
70
|
-
readonly defaultBeforeScript: string[];
|
|
71
|
-
/**
|
|
72
|
-
* A default list of files and directories to cache between jobs. You can only use paths that are in the local working copy.
|
|
73
|
-
*/
|
|
74
|
-
readonly defaultCache?: Cache;
|
|
75
|
-
/**
|
|
76
|
-
* Specifies the default docker image to use globally for all jobs.
|
|
77
|
-
*/
|
|
78
|
-
readonly defaultImage?: Image;
|
|
79
|
-
/**
|
|
80
|
-
* The default behavior for whether a job should be canceled when a newer pipeline starts before the job completes (Default: false).
|
|
81
|
-
*/
|
|
82
|
-
readonly defaultInterruptible?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* How many times a job is retried if it fails. If not defined, defaults to 0 and jobs do not retry.
|
|
85
|
-
*/
|
|
86
|
-
readonly defaultRetry?: Retry;
|
|
87
|
-
/**
|
|
88
|
-
* A default list of additional Docker images to run scripts in. The service image is linked to the image specified in the image parameter.
|
|
89
|
-
*/
|
|
90
|
-
private defaultServices;
|
|
91
|
-
/**
|
|
92
|
-
* Used to select a specific runner from the list of all runners that are available for the project.
|
|
93
|
-
*/
|
|
94
|
-
readonly defaultTags: string[];
|
|
95
|
-
/**
|
|
96
|
-
* A default timeout job written in natural language (Ex. one hour, 3600 seconds, 60 minutes).
|
|
97
|
-
*/
|
|
98
|
-
readonly defaultTimeout?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Can be `Include` or `Include[]`. Each `Include` will be a string, or an
|
|
101
|
-
* object with properties for the method if including external YAML file. The external
|
|
102
|
-
* content will be fetched, included and evaluated along the `.gitlab-ci.yml`.
|
|
103
|
-
*/
|
|
104
|
-
private include;
|
|
105
|
-
/**
|
|
106
|
-
* A special job used to upload static sites to Gitlab pages. Requires a `public/` directory
|
|
107
|
-
* with `artifacts.path` pointing to it.
|
|
108
|
-
*/
|
|
109
|
-
readonly pages?: Job;
|
|
110
|
-
/**
|
|
111
|
-
* Groups jobs into stages. All jobs in one stage must complete before next stage is
|
|
112
|
-
* executed. Defaults to ['build', 'test', 'deploy'].
|
|
113
|
-
*/
|
|
114
|
-
readonly stages: string[];
|
|
115
|
-
/**
|
|
116
|
-
* Global variables that are passed to jobs.
|
|
117
|
-
* If the job already has that variable defined, the job-level variable takes precedence.
|
|
118
|
-
*/
|
|
119
|
-
readonly variables: Record<string, number | VariableConfig | string>;
|
|
120
|
-
/**
|
|
121
|
-
* Used to control pipeline behavior.
|
|
122
|
-
*/
|
|
123
|
-
readonly workflow?: Workflow;
|
|
124
|
-
/**
|
|
125
|
-
* The jobs in the CI configuration.
|
|
126
|
-
*/
|
|
127
|
-
readonly jobs: Record<string, Job>;
|
|
128
|
-
constructor(project: Project, name: string, options?: CiConfigurationOptions);
|
|
129
|
-
/**
|
|
130
|
-
* Add additional yml/yaml files to the CI includes
|
|
131
|
-
* @param includes The includes to add.
|
|
132
|
-
*/
|
|
133
|
-
addIncludes(...includes: Include[]): void;
|
|
134
|
-
/**
|
|
135
|
-
* Throw an error if the provided Include is invalid.
|
|
136
|
-
* @see https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/config/external/mapper.rb
|
|
137
|
-
* @param include the Include to validate.
|
|
138
|
-
*/
|
|
139
|
-
private assertIsValidInclude;
|
|
140
|
-
/**
|
|
141
|
-
* Check if the equality of Includes.
|
|
142
|
-
* @see https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/config/external/mapper.rb
|
|
143
|
-
* @param x First include to compare.
|
|
144
|
-
* @param y Second include to compare.
|
|
145
|
-
* @returns Whether the includes are equal.
|
|
146
|
-
*/
|
|
147
|
-
private areEqualIncludes;
|
|
148
|
-
/**
|
|
149
|
-
* Add additional services.
|
|
150
|
-
* @param services The services to add.
|
|
151
|
-
*/
|
|
152
|
-
addServices(...services: Service[]): void;
|
|
153
|
-
/**
|
|
154
|
-
* Add a globally defined variable to the CI configuration.
|
|
155
|
-
* @param variables The variables to add.
|
|
156
|
-
*/
|
|
157
|
-
addGlobalVariables(variables: Record<string, any>): void;
|
|
158
|
-
/**
|
|
159
|
-
* Add stages to the CI configuration if not already present.
|
|
160
|
-
* @param stages stages to add.
|
|
161
|
-
*/
|
|
162
|
-
addStages(...stages: string[]): void;
|
|
163
|
-
/**
|
|
164
|
-
* Add jobs and their stages to the CI configuration.
|
|
165
|
-
* @param jobs Jobs to add.
|
|
166
|
-
*/
|
|
167
|
-
addJobs(jobs: Record<string, Job>): void;
|
|
168
|
-
private renderCI;
|
|
169
|
-
private renderDefault;
|
|
170
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CiConfigurationOptions } from ".";
|
|
2
|
-
import { CiConfiguration } from "./configuration";
|
|
3
|
-
import { NestedConfiguration } from "./nested-configuration";
|
|
4
|
-
import { Project } from "../project";
|
|
5
|
-
/**
|
|
6
|
-
* A GitLab CI for the main `.gitlab-ci.yml` file.
|
|
7
|
-
*/
|
|
8
|
-
export declare class GitlabConfiguration extends CiConfiguration {
|
|
9
|
-
readonly nestedTemplates: Record<string, NestedConfiguration>;
|
|
10
|
-
constructor(project: Project, options?: CiConfigurationOptions);
|
|
11
|
-
/**
|
|
12
|
-
* Creates and adds nested templates to the includes of the main CI.
|
|
13
|
-
* Additionally adds their stages to the main CI if they are not already present.
|
|
14
|
-
* You can futher customize nested templates through the `nestedTemplates` property.
|
|
15
|
-
* E.g. gitlabConfig.nestedTemplates['templateName']?.addStages('stageName')
|
|
16
|
-
* @param config a record the names and configuraitons of the templates.
|
|
17
|
-
*/
|
|
18
|
-
createNestedTemplates(config: Record<string, CiConfigurationOptions>): void;
|
|
19
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CiConfigurationOptions } from ".";
|
|
2
|
-
import { CiConfiguration } from "./configuration";
|
|
3
|
-
import { GitlabConfiguration } from "./gitlab-configuration";
|
|
4
|
-
import { Project } from "../project";
|
|
5
|
-
/**
|
|
6
|
-
* A GitLab CI for templates that are created and included in the `.gitlab-ci.yml` file.
|
|
7
|
-
*/
|
|
8
|
-
export declare class NestedConfiguration extends CiConfiguration {
|
|
9
|
-
readonly parent: GitlabConfiguration;
|
|
10
|
-
constructor(project: Project, parent: GitlabConfiguration, name: string, options?: CiConfigurationOptions);
|
|
11
|
-
}
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import { Component } from "./component";
|
|
2
|
-
import { IDevEnvironment, DevEnvironmentOptions, DevEnvironmentDockerImage } from "./dev-env";
|
|
3
|
-
import { Project } from "./project";
|
|
4
|
-
import { Task } from "./task";
|
|
5
|
-
/**
|
|
6
|
-
* https://www.gitpod.io/docs/configuration/
|
|
7
|
-
* https://www.gitpod.io/docs/config-start-tasks/
|
|
8
|
-
* https://www.gitpod.io/docs/prebuilds/#configure-the-github-app
|
|
9
|
-
* https://www.gitpod.io/docs/vscode-extensions/
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Configure how the terminal should be opened relative to the previous task.
|
|
13
|
-
*/
|
|
14
|
-
export declare enum GitpodOpenMode {
|
|
15
|
-
/**
|
|
16
|
-
* Opens in the same tab group right after the previous tab
|
|
17
|
-
*/
|
|
18
|
-
TAB_AFTER = "tab-after",
|
|
19
|
-
/**
|
|
20
|
-
* Opens in the same tab group left before the previous tab
|
|
21
|
-
*/
|
|
22
|
-
TAB_BEFORE = "tab-before",
|
|
23
|
-
/**
|
|
24
|
-
* Splits and adds the terminal to the right
|
|
25
|
-
*/
|
|
26
|
-
SPLIT_RIGHT = "split-right",
|
|
27
|
-
/**
|
|
28
|
-
* Splits and adds the terminal to the left
|
|
29
|
-
*/
|
|
30
|
-
SPLIT_LEFT = "split-left",
|
|
31
|
-
/**
|
|
32
|
-
* Splits and adds the terminal to the top
|
|
33
|
-
*/
|
|
34
|
-
SPLIT_TOP = "split-top",
|
|
35
|
-
/**
|
|
36
|
-
* Splits and adds the terminal to the bottom
|
|
37
|
-
*/
|
|
38
|
-
SPLIT_BOTTOM = "split-bottom"
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Configure where in the IDE the terminal should be opened.
|
|
42
|
-
*/
|
|
43
|
-
export declare enum GitpodOpenIn {
|
|
44
|
-
/**
|
|
45
|
-
* the bottom panel (default)
|
|
46
|
-
*/
|
|
47
|
-
BOTTOM = "bottom",
|
|
48
|
-
/**
|
|
49
|
-
* the left panel
|
|
50
|
-
*/
|
|
51
|
-
LEFT = "left",
|
|
52
|
-
/**
|
|
53
|
-
* the right panel
|
|
54
|
-
*/
|
|
55
|
-
RIGHT = "right",
|
|
56
|
-
/**
|
|
57
|
-
* the main editor area
|
|
58
|
-
*/
|
|
59
|
-
MAIN = "main"
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Configure options for a task to be run when opening a Gitpod
|
|
63
|
-
* workspace (e.g. running tests, or starting a dev server).
|
|
64
|
-
*
|
|
65
|
-
* Start Mode | Execution
|
|
66
|
-
* Fresh Workspace | before && init && command
|
|
67
|
-
* Restart Workspace | before && command
|
|
68
|
-
* Snapshot | before && command
|
|
69
|
-
* Prebuild | before && init && prebuild
|
|
70
|
-
*/
|
|
71
|
-
export interface GitpodTask {
|
|
72
|
-
/**
|
|
73
|
-
* Required. The shell command to run
|
|
74
|
-
*/
|
|
75
|
-
readonly command: string;
|
|
76
|
-
/**
|
|
77
|
-
* A name for this task.
|
|
78
|
-
* @default - task names are omitted when blank
|
|
79
|
-
*/
|
|
80
|
-
readonly name?: string;
|
|
81
|
-
/**
|
|
82
|
-
* You can configure how the terminal should be opened relative to the previous task.
|
|
83
|
-
* @default GitpodOpenMode.TAB_AFTER
|
|
84
|
-
*/
|
|
85
|
-
readonly openMode?: GitpodOpenMode;
|
|
86
|
-
/**
|
|
87
|
-
* You can configure where in the IDE the terminal should be opened
|
|
88
|
-
* @default GitpodOpenIn.BOTTOM
|
|
89
|
-
*/
|
|
90
|
-
readonly openIn?: GitpodOpenIn;
|
|
91
|
-
/**
|
|
92
|
-
* In case you need to run something even before init, that is a requirement for both init and command,
|
|
93
|
-
* you can use the before property.
|
|
94
|
-
* @default
|
|
95
|
-
*/
|
|
96
|
-
readonly before?: string;
|
|
97
|
-
/**
|
|
98
|
-
* The init property can be used to specify shell commands that should only be executed after a workspace
|
|
99
|
-
* was freshly cloned and needs to be initialized somehow. Such tasks are usually builds or downloading
|
|
100
|
-
* dependencies. Anything you only want to do once but not when you restart a workspace or start a snapshot.
|
|
101
|
-
* @default
|
|
102
|
-
*/
|
|
103
|
-
readonly init?: string;
|
|
104
|
-
/**
|
|
105
|
-
* The optional prebuild command will be executed during prebuilds. It is meant to run additional long running
|
|
106
|
-
* processes that could be useful, e.g. running test suites.
|
|
107
|
-
* @default
|
|
108
|
-
*/
|
|
109
|
-
readonly prebuild?: string;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* What to do when a service on a port is detected.
|
|
113
|
-
*/
|
|
114
|
-
export declare enum GitpodOnOpen {
|
|
115
|
-
/**
|
|
116
|
-
* Open a new browser tab
|
|
117
|
-
*/
|
|
118
|
-
OPEN_BROWSER = "open-browser",
|
|
119
|
-
/**
|
|
120
|
-
* Open a preview on the right side of the IDE
|
|
121
|
-
*/
|
|
122
|
-
OPEN_PREVIEW = "open-preview",
|
|
123
|
-
/**
|
|
124
|
-
* Show a notification asking the user what to do (default)
|
|
125
|
-
*/
|
|
126
|
-
NOTIFY = "notify",
|
|
127
|
-
/**
|
|
128
|
-
* Do nothing.
|
|
129
|
-
*/
|
|
130
|
-
IGNORE = "ignore"
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Whether the port visibility should be private or public
|
|
134
|
-
*/
|
|
135
|
-
export declare enum GitpodPortVisibility {
|
|
136
|
-
/**
|
|
137
|
-
* Allows everyone with the port URL to access the port (default)
|
|
138
|
-
*/
|
|
139
|
-
PUBLIC = "public",
|
|
140
|
-
/**
|
|
141
|
-
* Only allows users with workspace access to access the port
|
|
142
|
-
*/
|
|
143
|
-
PRIVATE = "private"
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Options for an exposed port on Gitpod
|
|
147
|
-
*/
|
|
148
|
-
export interface GitpodPort {
|
|
149
|
-
/**
|
|
150
|
-
* A port that should be exposed (forwarded) from the container.
|
|
151
|
-
*
|
|
152
|
-
* @example "8080"
|
|
153
|
-
*/
|
|
154
|
-
readonly port?: string;
|
|
155
|
-
/**
|
|
156
|
-
* What to do when a service on a port is detected.
|
|
157
|
-
*
|
|
158
|
-
* @default GitpodOnOpen.NOTIFY
|
|
159
|
-
*/
|
|
160
|
-
readonly onOpen?: GitpodOnOpen;
|
|
161
|
-
/**
|
|
162
|
-
* Whether the port visibility should be private or public.
|
|
163
|
-
*
|
|
164
|
-
* @default GitpodPortVisibility.PUBLIC
|
|
165
|
-
*/
|
|
166
|
-
readonly visibility?: GitpodPortVisibility;
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Configure the Gitpod App for prebuilds.
|
|
170
|
-
* Currently only GitHub is supported.
|
|
171
|
-
* @see https://www.gitpod.io/docs/prebuilds/
|
|
172
|
-
*/
|
|
173
|
-
export interface GitpodPrebuilds {
|
|
174
|
-
/**
|
|
175
|
-
* Enable for the master/default branch
|
|
176
|
-
* @default true
|
|
177
|
-
*/
|
|
178
|
-
readonly master?: boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Enable for all branches in this repo
|
|
181
|
-
* @default false
|
|
182
|
-
*/
|
|
183
|
-
readonly branches?: boolean;
|
|
184
|
-
/**
|
|
185
|
-
* Enable for pull requests coming from this repo
|
|
186
|
-
* @default true
|
|
187
|
-
*/
|
|
188
|
-
readonly pullRequests?: boolean;
|
|
189
|
-
/**
|
|
190
|
-
* Enable for pull requests coming from forks
|
|
191
|
-
* @default false
|
|
192
|
-
*/
|
|
193
|
-
readonly pullRequestsFromForks?: boolean;
|
|
194
|
-
/**
|
|
195
|
-
* Add a check to pull requests
|
|
196
|
-
* @default true
|
|
197
|
-
*/
|
|
198
|
-
readonly addCheck?: boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Add a "Review in Gitpod" button as a comment to pull requests
|
|
201
|
-
* @default false
|
|
202
|
-
*/
|
|
203
|
-
readonly addComment?: boolean;
|
|
204
|
-
/**
|
|
205
|
-
* Add a "Review in Gitpod" button to the pull request's description
|
|
206
|
-
* @default false
|
|
207
|
-
*/
|
|
208
|
-
readonly addBadge?: boolean;
|
|
209
|
-
/**
|
|
210
|
-
* Add a label once the prebuild is ready to pull requests
|
|
211
|
-
* @default false
|
|
212
|
-
*/
|
|
213
|
-
readonly addLabel?: boolean;
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Constructor options for the Gitpod component.
|
|
217
|
-
*
|
|
218
|
-
* By default, Gitpod uses the 'gitpod/workspace-full' docker image.
|
|
219
|
-
* @see https://github.com/gitpod-io/workspace-images/blob/master/full/Dockerfile
|
|
220
|
-
*
|
|
221
|
-
* By default, all tasks will be run in parallel. To run the tasks in sequence,
|
|
222
|
-
* create a new task and specify the other tasks as subtasks.
|
|
223
|
-
*/
|
|
224
|
-
export interface GitpodOptions extends DevEnvironmentOptions {
|
|
225
|
-
/**
|
|
226
|
-
* Optional Gitpod's Github App integration for prebuilds
|
|
227
|
-
* If this is not set and Gitpod's Github App is installed, then Gitpod will apply
|
|
228
|
-
* these defaults: https://www.gitpod.io/docs/prebuilds/#configure-the-github-app
|
|
229
|
-
* @default undefined
|
|
230
|
-
*/
|
|
231
|
-
readonly prebuilds?: GitpodPrebuilds;
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* The Gitpod component which emits .gitpod.yml
|
|
235
|
-
*/
|
|
236
|
-
export declare class Gitpod extends Component implements IDevEnvironment {
|
|
237
|
-
private dockerImage;
|
|
238
|
-
private prebuilds;
|
|
239
|
-
private readonly tasks;
|
|
240
|
-
private readonly ports;
|
|
241
|
-
private readonly vscodeExtensions;
|
|
242
|
-
/**
|
|
243
|
-
* Direct access to the gitpod configuration (escape hatch)
|
|
244
|
-
*/
|
|
245
|
-
readonly config: any;
|
|
246
|
-
constructor(project: Project, options?: GitpodOptions);
|
|
247
|
-
/**
|
|
248
|
-
* Add a custom Docker image or Dockerfile for the container.
|
|
249
|
-
*
|
|
250
|
-
* @param image The Docker image
|
|
251
|
-
*/
|
|
252
|
-
addDockerImage(image: DevEnvironmentDockerImage): void;
|
|
253
|
-
/**
|
|
254
|
-
* Add tasks to run when gitpod starts.
|
|
255
|
-
*
|
|
256
|
-
* By default, all tasks will be run in parallel. To run tasks in sequence,
|
|
257
|
-
* create a new `Task` and specify the other tasks as subtasks.
|
|
258
|
-
*
|
|
259
|
-
* @param tasks The new tasks
|
|
260
|
-
*/
|
|
261
|
-
addTasks(...tasks: Task[]): void;
|
|
262
|
-
/**
|
|
263
|
-
* Add a prebuilds configuration for the Gitpod App
|
|
264
|
-
* @param config The configuration
|
|
265
|
-
*/
|
|
266
|
-
addPrebuilds(config: GitpodPrebuilds): void;
|
|
267
|
-
/**
|
|
268
|
-
* Add a task with more granular options.
|
|
269
|
-
*
|
|
270
|
-
* By default, all tasks will be run in parallel. To run tasks in sequence,
|
|
271
|
-
* create a new `Task` and set the other tasks as subtasks.
|
|
272
|
-
*
|
|
273
|
-
* @param options The task parameters
|
|
274
|
-
*/
|
|
275
|
-
addCustomTask(options: GitpodTask): void;
|
|
276
|
-
/**
|
|
277
|
-
* Add ports that should be exposed (forwarded) from the container.
|
|
278
|
-
*
|
|
279
|
-
* @param ports The new ports
|
|
280
|
-
*/
|
|
281
|
-
addPorts(...ports: string[]): void;
|
|
282
|
-
/**
|
|
283
|
-
* Add a list of VSCode extensions that should be automatically installed
|
|
284
|
-
* in the container.
|
|
285
|
-
*
|
|
286
|
-
* These must be in the format defined in the Open VSX registry.
|
|
287
|
-
* @example 'scala-lang.scala@0.3.9:O5XmjwY5Gz+0oDZAmqneJw=='
|
|
288
|
-
* @see https://www.gitpod.io/docs/vscode-extensions/
|
|
289
|
-
*
|
|
290
|
-
* @param extensions The extension IDs
|
|
291
|
-
*/
|
|
292
|
-
addVscodeExtensions(...extensions: GitpodCodeExtensionId[]): void;
|
|
293
|
-
private renderDockerImage;
|
|
294
|
-
private renderPrebuilds;
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* VS Code extensions as defined in the Open VSX registry
|
|
298
|
-
* Example: `scala-lang.scala@0.3.9:O5XmjwY5Gz+0oDZAmqneJw==`
|
|
299
|
-
*/
|
|
300
|
-
type GitpodCodeExtensionId = string;
|
|
301
|
-
export {};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { FileBase, IResolver } from "./file";
|
|
2
|
-
import { Project } from "./project";
|
|
3
|
-
export interface IgnoreFileOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Filter out comment lines?
|
|
6
|
-
*
|
|
7
|
-
* @default true
|
|
8
|
-
*/
|
|
9
|
-
readonly filterCommentLines?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Filter out blank/empty lines?
|
|
12
|
-
*
|
|
13
|
-
* @default true
|
|
14
|
-
*/
|
|
15
|
-
readonly filterEmptyLines?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare class IgnoreFile extends FileBase {
|
|
18
|
-
private readonly _patterns;
|
|
19
|
-
readonly filterCommentLines: boolean;
|
|
20
|
-
readonly filterEmptyLines: boolean;
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @param project The project to tie this file to.
|
|
24
|
-
* @param filePath - the relative path in the project to put the file
|
|
25
|
-
* @param minify - whether comments/blank lines should be filtered
|
|
26
|
-
*/
|
|
27
|
-
constructor(project: Project, filePath: string, options?: IgnoreFileOptions);
|
|
28
|
-
/**
|
|
29
|
-
* Add ignore patterns. Files that match this pattern will be ignored. If the
|
|
30
|
-
* pattern starts with a negation mark `!`, files that match will _not_ be
|
|
31
|
-
* ignored.
|
|
32
|
-
*
|
|
33
|
-
* Comment lines (start with `#`) and blank lines ("") are filtered by default
|
|
34
|
-
* but can be included using options specified when instantiating the component.
|
|
35
|
-
*
|
|
36
|
-
* @param patterns Ignore patterns.
|
|
37
|
-
*/
|
|
38
|
-
addPatterns(...patterns: string[]): void;
|
|
39
|
-
private normalizePatterns;
|
|
40
|
-
/**
|
|
41
|
-
* Removes patterns previously added from the ignore file.
|
|
42
|
-
*
|
|
43
|
-
* If `addPattern()` is called after this, the pattern will be added again.
|
|
44
|
-
*
|
|
45
|
-
* @param patterns patters to remove.
|
|
46
|
-
*/
|
|
47
|
-
removePatterns(...patterns: string[]): void;
|
|
48
|
-
/**
|
|
49
|
-
* Ignore the files that match these patterns.
|
|
50
|
-
* @param patterns The patterns to match.
|
|
51
|
-
*/
|
|
52
|
-
exclude(...patterns: string[]): void;
|
|
53
|
-
/**
|
|
54
|
-
* Always include the specified file patterns.
|
|
55
|
-
* @param patterns Patterns to include in git commits.
|
|
56
|
-
*/
|
|
57
|
-
include(...patterns: string[]): void;
|
|
58
|
-
protected synthesizeContent(resolver: IResolver): string | undefined;
|
|
59
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export * from "./component";
|
|
2
|
-
export * from "./dev-env";
|
|
3
|
-
export * from "./dependencies";
|
|
4
|
-
export * from "./docker-compose";
|
|
5
|
-
export * from "./file";
|
|
6
|
-
export * from "./gitattributes";
|
|
7
|
-
export * from "./gitpod";
|
|
8
|
-
export * from "./ignore-file";
|
|
9
|
-
export * from "./ini";
|
|
10
|
-
export * from "./json";
|
|
11
|
-
export * from "./json-patch";
|
|
12
|
-
export * from "./logger";
|
|
13
|
-
export * from "./license";
|
|
14
|
-
export * from "./makefile";
|
|
15
|
-
export * from "./object-file";
|
|
16
|
-
export * from "./option-hints";
|
|
17
|
-
export * from "./project";
|
|
18
|
-
export * from "./project-build";
|
|
19
|
-
export * from "./projects";
|
|
20
|
-
export * from "./projenrc";
|
|
21
|
-
export * from "./projenrc-json";
|
|
22
|
-
export * from "./readme";
|
|
23
|
-
export * from "./renovatebot";
|
|
24
|
-
export * from "./sample-file";
|
|
25
|
-
export * from "./semver";
|
|
26
|
-
export * from "./source-code";
|
|
27
|
-
export * from "./task";
|
|
28
|
-
export * from "./tasks";
|
|
29
|
-
export * from "./task-model";
|
|
30
|
-
export * from "./task-runtime";
|
|
31
|
-
export * from "./testing";
|
|
32
|
-
export * from "./textfile";
|
|
33
|
-
export * from "./toml";
|
|
34
|
-
export * from "./version";
|
|
35
|
-
export * from "./yaml";
|
|
36
|
-
export * from "./xmlfile";
|
|
37
|
-
export * as web from "./web";
|
|
38
|
-
export * as github from "./github";
|
|
39
|
-
export * as gitlab from "./gitlab";
|
|
40
|
-
export * as circleci from "./circleci";
|
|
41
|
-
export * as vscode from "./vscode";
|
|
42
|
-
export * as java from "./java";
|
|
43
|
-
export * as python from "./python";
|
|
44
|
-
export * as typescript from "./typescript";
|
|
45
|
-
export * as javascript from "./javascript";
|
|
46
|
-
export * as release from "./release";
|
|
47
|
-
export * as awscdk from "./awscdk";
|
|
48
|
-
export * as cdk8s from "./cdk8s";
|
|
49
|
-
export * as cdktf from "./cdktf";
|
|
50
|
-
export * as cdk from "./cdk";
|
|
51
|
-
export * as build from "./build";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IResolver } from "./file";
|
|
2
|
-
import { ObjectFile, ObjectFileOptions } from "./object-file";
|
|
3
|
-
import { Project } from "./project";
|
|
4
|
-
/**
|
|
5
|
-
* Options for `IniFile`.
|
|
6
|
-
*/
|
|
7
|
-
export interface IniFileOptions extends ObjectFileOptions {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Represents an INI file.
|
|
11
|
-
*/
|
|
12
|
-
export declare class IniFile extends ObjectFile {
|
|
13
|
-
constructor(project: Project, filePath: string, options: IniFileOptions);
|
|
14
|
-
protected synthesizeContent(resolver: IResolver): string | undefined;
|
|
15
|
-
}
|