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,154 +0,0 @@
|
|
|
1
|
-
import { Eslint } from "../javascript";
|
|
2
|
-
import { GoPublishOptions, MavenPublishOptions, NugetPublishOptions, PyPiPublishOptions } from "../release";
|
|
3
|
-
import { TypeScriptProject, TypeScriptProjectOptions } from "../typescript";
|
|
4
|
-
export interface JsiiProjectOptions extends TypeScriptProjectOptions {
|
|
5
|
-
/**
|
|
6
|
-
* @default "."
|
|
7
|
-
*/
|
|
8
|
-
readonly rootdir?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Git repository URL.
|
|
11
|
-
* @default $GIT_REMOTE
|
|
12
|
-
*/
|
|
13
|
-
readonly repositoryUrl: string;
|
|
14
|
-
/**
|
|
15
|
-
* The name of the library author.
|
|
16
|
-
* @default $GIT_USER_NAME
|
|
17
|
-
*/
|
|
18
|
-
readonly author: string;
|
|
19
|
-
/**
|
|
20
|
-
* Email or URL of the library author.
|
|
21
|
-
* @default $GIT_USER_EMAIL
|
|
22
|
-
*/
|
|
23
|
-
readonly authorAddress: string;
|
|
24
|
-
/**
|
|
25
|
-
* Publish to maven
|
|
26
|
-
* @default - no publishing
|
|
27
|
-
*/
|
|
28
|
-
readonly publishToMaven?: JsiiJavaTarget;
|
|
29
|
-
/**
|
|
30
|
-
* Publish to pypi
|
|
31
|
-
* @default - no publishing
|
|
32
|
-
*/
|
|
33
|
-
readonly publishToPypi?: JsiiPythonTarget;
|
|
34
|
-
/**
|
|
35
|
-
* Publish Go bindings to a git repository.
|
|
36
|
-
* @default - no publishing
|
|
37
|
-
*/
|
|
38
|
-
readonly publishToGo?: JsiiGoTarget;
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated use `publishToPyPi`
|
|
41
|
-
*/
|
|
42
|
-
readonly python?: JsiiPythonTarget;
|
|
43
|
-
/**
|
|
44
|
-
* Publish to NuGet
|
|
45
|
-
* @default - no publishing
|
|
46
|
-
*/
|
|
47
|
-
readonly publishToNuget?: JsiiDotNetTarget;
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated use `publishToNuget`
|
|
50
|
-
*/
|
|
51
|
-
readonly dotnet?: JsiiDotNetTarget;
|
|
52
|
-
/**
|
|
53
|
-
* Automatically run API compatibility test against the latest version published to npm after compilation.
|
|
54
|
-
*
|
|
55
|
-
* - You can manually run compatibility tests using `yarn compat` if this feature is disabled.
|
|
56
|
-
* - You can ignore compatibility failures by adding lines to a ".compatignore" file.
|
|
57
|
-
*
|
|
58
|
-
* @default false
|
|
59
|
-
*/
|
|
60
|
-
readonly compat?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Name of the ignore file for API compatibility tests.
|
|
63
|
-
*
|
|
64
|
-
* @default ".compatignore"
|
|
65
|
-
*/
|
|
66
|
-
readonly compatIgnore?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Accepts a list of glob patterns. Files matching any of those patterns will be excluded from the TypeScript compiler input.
|
|
69
|
-
*
|
|
70
|
-
* By default, jsii will include all *.ts files (except .d.ts files) in the TypeScript compiler input.
|
|
71
|
-
* This can be problematic for example when the package's build or test procedure generates .ts files
|
|
72
|
-
* that cannot be compiled with jsii's compiler settings.
|
|
73
|
-
*/
|
|
74
|
-
readonly excludeTypescript?: string[];
|
|
75
|
-
/**
|
|
76
|
-
* File path for generated docs.
|
|
77
|
-
* @default "API.md"
|
|
78
|
-
*/
|
|
79
|
-
readonly docgenFilePath?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Emit a compressed version of the assembly
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
readonly compressAssembly?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Version of the jsii compiler to use.
|
|
87
|
-
*
|
|
88
|
-
* Set to "*" if you want to manually manage the version of jsii in your
|
|
89
|
-
* project by managing updates to `package.json` on your own.
|
|
90
|
-
*
|
|
91
|
-
* NOTE: The jsii compiler releases since 5.0.0 are not semantically versioned
|
|
92
|
-
* and should remain on the same minor, so we recommend using a `~` dependency
|
|
93
|
-
* (e.g. `~5.0.0`).
|
|
94
|
-
*
|
|
95
|
-
* @default "1.x"
|
|
96
|
-
* @pjnew "~5.0.0"
|
|
97
|
-
*/
|
|
98
|
-
readonly jsiiVersion?: string;
|
|
99
|
-
}
|
|
100
|
-
export declare enum Stability {
|
|
101
|
-
EXPERIMENTAL = "experimental",
|
|
102
|
-
STABLE = "stable",
|
|
103
|
-
DEPRECATED = "deprecated"
|
|
104
|
-
}
|
|
105
|
-
export interface JsiiJavaTarget extends MavenPublishOptions {
|
|
106
|
-
readonly javaPackage: string;
|
|
107
|
-
readonly mavenGroupId: string;
|
|
108
|
-
readonly mavenArtifactId: string;
|
|
109
|
-
}
|
|
110
|
-
export interface JsiiPythonTarget extends PyPiPublishOptions {
|
|
111
|
-
readonly distName: string;
|
|
112
|
-
readonly module: string;
|
|
113
|
-
}
|
|
114
|
-
export interface JsiiDotNetTarget extends NugetPublishOptions {
|
|
115
|
-
readonly dotNetNamespace: string;
|
|
116
|
-
readonly packageId: string;
|
|
117
|
-
readonly iconUrl?: string;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Go target configuration
|
|
121
|
-
*/
|
|
122
|
-
export interface JsiiGoTarget extends GoPublishOptions {
|
|
123
|
-
/**
|
|
124
|
-
* The name of the target go module.
|
|
125
|
-
*
|
|
126
|
-
* @example github.com/owner/repo
|
|
127
|
-
* @example github.com/owner/repo/subdir
|
|
128
|
-
*/
|
|
129
|
-
readonly moduleName: string;
|
|
130
|
-
/**
|
|
131
|
-
* The name of the go package.
|
|
132
|
-
*
|
|
133
|
-
* @default - derived from the module name
|
|
134
|
-
*/
|
|
135
|
-
readonly packageName?: string;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Multi-language jsii library project
|
|
139
|
-
*
|
|
140
|
-
* @pjid jsii
|
|
141
|
-
*/
|
|
142
|
-
export declare class JsiiProject extends TypeScriptProject {
|
|
143
|
-
readonly eslint?: Eslint;
|
|
144
|
-
private readonly packageAllTask;
|
|
145
|
-
constructor(options: JsiiProjectOptions);
|
|
146
|
-
/**
|
|
147
|
-
* Adds a target language to the build workflow and creates a package task.
|
|
148
|
-
* @param language
|
|
149
|
-
* @returns
|
|
150
|
-
*/
|
|
151
|
-
private addPackagingTarget;
|
|
152
|
-
private addPackagingTask;
|
|
153
|
-
private pacmakForLanguage;
|
|
154
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { IntegrationTestAutoDiscoverBase, IntegrationTestAutoDiscoverBaseOptions } from "../cdk";
|
|
2
|
-
import { Component } from "../component";
|
|
3
|
-
import { Project } from "../project";
|
|
4
|
-
/**
|
|
5
|
-
* Options for `AutoDiscover`.
|
|
6
|
-
*/
|
|
7
|
-
export interface AutoDiscoverOptions extends IntegrationTestAutoDiscoverOptions {
|
|
8
|
-
/**
|
|
9
|
-
* Automatically discover integration tests
|
|
10
|
-
*
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
readonly integrationTestAutoDiscover?: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Automatically discovers and creates `IntegrationTest`s from entry points
|
|
17
|
-
* found in the test tree.
|
|
18
|
-
*/
|
|
19
|
-
export declare class AutoDiscover extends Component {
|
|
20
|
-
constructor(project: Project, options: AutoDiscoverOptions);
|
|
21
|
-
}
|
|
22
|
-
export interface IntegrationTestAutoDiscoverOptions extends IntegrationTestAutoDiscoverBaseOptions {
|
|
23
|
-
/**
|
|
24
|
-
* Path to the tsconfig file to use for integration tests.
|
|
25
|
-
*/
|
|
26
|
-
readonly tsconfigPath: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Discovers and creates integration tests from files in the test root.
|
|
30
|
-
*/
|
|
31
|
-
export declare class IntegrationTestAutoDiscover extends IntegrationTestAutoDiscoverBase {
|
|
32
|
-
constructor(project: Project, options: IntegrationTestAutoDiscoverOptions);
|
|
33
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Cdk8sDeps, Cdk8sDepsCommonOptions } from "./cdk8s-deps";
|
|
2
|
-
import { PythonProject, PythonProjectOptions } from "../python/python-project";
|
|
3
|
-
/**
|
|
4
|
-
* Options for `Cdk8sPythonApp`
|
|
5
|
-
*/
|
|
6
|
-
export interface Cdk8sPythonOptions extends PythonProjectOptions, Cdk8sDepsCommonOptions {
|
|
7
|
-
/**
|
|
8
|
-
* Import a specific Kubernetes spec version.
|
|
9
|
-
*
|
|
10
|
-
* @default - Use the cdk8s default
|
|
11
|
-
*/
|
|
12
|
-
readonly k8sSpecVersion?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Import additional specs
|
|
15
|
-
*
|
|
16
|
-
* @default - no additional specs imported
|
|
17
|
-
*/
|
|
18
|
-
readonly cdk8sImports?: string[];
|
|
19
|
-
/**
|
|
20
|
-
* The CDK8s app's entrypoint
|
|
21
|
-
*
|
|
22
|
-
* @default "app.py"
|
|
23
|
-
*/
|
|
24
|
-
readonly appEntrypoint?: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* CDK8s app in Python
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* @pjid cdk8s-app-py
|
|
31
|
-
*/
|
|
32
|
-
export declare class Cdk8sPythonApp extends PythonProject {
|
|
33
|
-
/**
|
|
34
|
-
* The CDK8s app entrypoint
|
|
35
|
-
*/
|
|
36
|
-
readonly appEntrypoint: string;
|
|
37
|
-
readonly cdk8sDeps: Cdk8sDeps;
|
|
38
|
-
constructor(options: Cdk8sPythonOptions);
|
|
39
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Cdk8sDeps, Cdk8sDepsCommonOptions } from "./cdk8s-deps";
|
|
2
|
-
import { TypeScriptAppProject, TypeScriptProjectOptions } from "../typescript";
|
|
3
|
-
export interface Cdk8sTypeScriptAppOptions extends TypeScriptProjectOptions, Cdk8sDepsCommonOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Import a specific Kubernetes spec version.
|
|
6
|
-
*
|
|
7
|
-
* @default - Use the cdk8s default
|
|
8
|
-
*/
|
|
9
|
-
readonly k8sSpecVersion?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Import additional specs
|
|
12
|
-
*
|
|
13
|
-
* @default - no additional specs imported
|
|
14
|
-
*/
|
|
15
|
-
readonly cdk8sImports?: string[];
|
|
16
|
-
/**
|
|
17
|
-
* The CDK8s app's entrypoint (relative to the source directory, which is
|
|
18
|
-
* "src" by default).
|
|
19
|
-
*
|
|
20
|
-
* @default "main.ts"
|
|
21
|
-
*/
|
|
22
|
-
readonly appEntrypoint?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Automatically adds an `cdk8s.IntegrationTest` for each `.integ.ts` app
|
|
25
|
-
* in your test directory. If this is disabled, you can manually add an
|
|
26
|
-
* `cdk8s.AutoDiscover` component to your project.
|
|
27
|
-
*
|
|
28
|
-
* @default true
|
|
29
|
-
*/
|
|
30
|
-
readonly integrationTestAutoDiscover?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* CDK8s app in TypeScript
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* @pjid cdk8s-app-ts
|
|
37
|
-
*/
|
|
38
|
-
export declare class Cdk8sTypeScriptApp extends TypeScriptAppProject {
|
|
39
|
-
/**
|
|
40
|
-
* The CDK8s app entrypoint
|
|
41
|
-
*/
|
|
42
|
-
readonly appEntrypoint: string;
|
|
43
|
-
readonly cdk8sDeps: Cdk8sDeps;
|
|
44
|
-
constructor(options: Cdk8sTypeScriptAppOptions);
|
|
45
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { ConstructLibrary, ConstructLibraryOptions } from "../cdk";
|
|
2
|
-
export interface ConstructLibraryCdk8sOptions extends ConstructLibraryOptions {
|
|
3
|
-
/**
|
|
4
|
-
* Minimum target version this library is tested against.
|
|
5
|
-
*
|
|
6
|
-
* @default "1.4.10"
|
|
7
|
-
* @featured
|
|
8
|
-
*/
|
|
9
|
-
readonly cdk8sVersion: string;
|
|
10
|
-
/**
|
|
11
|
-
* constructs verion
|
|
12
|
-
*
|
|
13
|
-
* @default "3.3.196"
|
|
14
|
-
*/
|
|
15
|
-
readonly constructsVersion?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Use pinned version instead of caret version for CDK8s.
|
|
18
|
-
*
|
|
19
|
-
* You can use this to prevent yarn to mix versions for your CDK8s package and to prevent auto-updates.
|
|
20
|
-
* If you use experimental features this will let you define the moment you include breaking changes.
|
|
21
|
-
*
|
|
22
|
-
* @default false
|
|
23
|
-
*/
|
|
24
|
-
readonly cdk8sVersionPinning?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Use pinned version instead of caret version for constructs.
|
|
27
|
-
*
|
|
28
|
-
* You can use this to prevent yarn to mix versions for your consructs package and to prevent auto-updates.
|
|
29
|
-
* If you use experimental features this will let you define the moment you include breaking changes.
|
|
30
|
-
*
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
readonly constructsVersionPinning?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Use pinned version instead of caret version for cdk8s-plus-17.
|
|
36
|
-
*
|
|
37
|
-
* You can use this to prevent yarn to mix versions for your CDK8s package and to prevent auto-updates.
|
|
38
|
-
* If you use experimental features this will let you define the moment you include breaking changes.
|
|
39
|
-
*
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
|
-
readonly cdk8sPlusVersionPinning?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Automatically adds an `cdk8s.IntegrationTest` for each `.integ.ts` app
|
|
45
|
-
* in your test directory. If this is disabled, you can manually add an
|
|
46
|
-
* `cdk8s.AutoDiscover` component to your project.
|
|
47
|
-
*
|
|
48
|
-
* @default true
|
|
49
|
-
*/
|
|
50
|
-
readonly integrationTestAutoDiscover?: boolean;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* CDK8s construct library project
|
|
54
|
-
*
|
|
55
|
-
* A multi-language (jsii) construct library which vends constructs designed to
|
|
56
|
-
* use within the CDK for Kubernetes (CDK8s), with a friendly workflow and
|
|
57
|
-
* automatic publishing to the construct catalog.
|
|
58
|
-
*
|
|
59
|
-
* @pjid cdk8s-construct
|
|
60
|
-
*/
|
|
61
|
-
export declare class ConstructLibraryCdk8s extends ConstructLibrary {
|
|
62
|
-
/**
|
|
63
|
-
* The CDK8s version this app is using.
|
|
64
|
-
*/
|
|
65
|
-
readonly cdk8sVersion: string;
|
|
66
|
-
/**
|
|
67
|
-
* The constructs version this app is using.
|
|
68
|
-
*/
|
|
69
|
-
readonly constructsVersion: string;
|
|
70
|
-
constructor(options: ConstructLibraryCdk8sOptions);
|
|
71
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { Component } from "../component";
|
|
2
|
-
import { DependencyType } from "../dependencies";
|
|
3
|
-
import { Project } from "../project";
|
|
4
|
-
/**
|
|
5
|
-
* Options for `Cdk8sDeps`
|
|
6
|
-
*/
|
|
7
|
-
export interface Cdk8sDepsCommonOptions {
|
|
8
|
-
/**
|
|
9
|
-
* Minumum version of the cdk8s to depend on.
|
|
10
|
-
*
|
|
11
|
-
* @default "2.3.33"
|
|
12
|
-
*/
|
|
13
|
-
readonly cdk8sVersion: string;
|
|
14
|
-
/**
|
|
15
|
-
* Minumum version of the cdk8s-cli to depend on.
|
|
16
|
-
*
|
|
17
|
-
* @default "2.0.28"
|
|
18
|
-
*/
|
|
19
|
-
readonly cdk8sCliVersion?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Minimum version of the `constructs` library to depend on.
|
|
22
|
-
*
|
|
23
|
-
* @default "10.1.42"
|
|
24
|
-
*/
|
|
25
|
-
readonly constructsVersion?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Use pinned version instead of caret version for cdk8s.
|
|
28
|
-
*
|
|
29
|
-
* You can use this to prevent yarn to mix versions for your CDK8s package and to prevent auto-updates.
|
|
30
|
-
* If you use experimental features this will let you define the moment you include breaking changes.
|
|
31
|
-
*
|
|
32
|
-
* @default false
|
|
33
|
-
*/
|
|
34
|
-
readonly cdk8sVersionPinning?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Use pinned version instead of caret version for cdk8s-cli.
|
|
37
|
-
*
|
|
38
|
-
* You can use this to prevent yarn to mix versions for your CDK8s package and to prevent auto-updates.
|
|
39
|
-
* If you use experimental features this will let you define the moment you include breaking changes.
|
|
40
|
-
*
|
|
41
|
-
* @default false
|
|
42
|
-
*/
|
|
43
|
-
readonly cdk8sCliVersionPinning?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Use pinned version instead of caret version for constructs.
|
|
46
|
-
*
|
|
47
|
-
* You can use this to prevent yarn to mix versions for your consructs package and to prevent auto-updates.
|
|
48
|
-
* If you use experimental features this will let you define the moment you include breaking changes.
|
|
49
|
-
*
|
|
50
|
-
* @default false
|
|
51
|
-
*/
|
|
52
|
-
readonly constructsVersionPinning?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Include cdk8s-plus
|
|
55
|
-
*
|
|
56
|
-
* @default true
|
|
57
|
-
*/
|
|
58
|
-
readonly cdk8sPlus?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* The cdk8s-plus library depends of Kubernetes minor version
|
|
61
|
-
* For example, cdk8s-plus-22 targets kubernetes version 1.22.0
|
|
62
|
-
* cdk8s-plus-21 targets kubernetes version 1.21.0
|
|
63
|
-
*
|
|
64
|
-
* @default 22
|
|
65
|
-
*/
|
|
66
|
-
readonly k8sMinorVersion?: number;
|
|
67
|
-
/**
|
|
68
|
-
* Minumum version of the cdk8s-plus-XX to depend on.
|
|
69
|
-
*
|
|
70
|
-
* @default "2.0.0-rc.26"
|
|
71
|
-
*/
|
|
72
|
-
readonly cdk8sPlusVersion?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Use pinned version instead of caret version for cdk8s-plus-17.
|
|
75
|
-
*
|
|
76
|
-
* You can use this to prevent yarn to mix versions for your CDK8s package and to prevent auto-updates.
|
|
77
|
-
* If you use experimental features this will let you define the moment you include breaking changes.
|
|
78
|
-
*
|
|
79
|
-
* @default false
|
|
80
|
-
*/
|
|
81
|
-
readonly cdk8sPlusVersionPinning?: boolean;
|
|
82
|
-
}
|
|
83
|
-
export interface Cdk8sDepsOptions extends Cdk8sDepsCommonOptions {
|
|
84
|
-
/**
|
|
85
|
-
* The type of dependency to use for runtime CDK8s and `constructs` modules.
|
|
86
|
-
*
|
|
87
|
-
* For libraries, use peer dependencies and for apps use runtime dependencies.
|
|
88
|
-
*/
|
|
89
|
-
readonly dependencyType: DependencyType;
|
|
90
|
-
/**
|
|
91
|
-
* Add cdk8s-cli only to Node projects
|
|
92
|
-
*
|
|
93
|
-
* @default false
|
|
94
|
-
*/
|
|
95
|
-
readonly cdk8sCliDependency: boolean;
|
|
96
|
-
}
|
|
97
|
-
export interface Cdk8sPackageNames {
|
|
98
|
-
/**
|
|
99
|
-
* Fully qualified name of the core framework package
|
|
100
|
-
*/
|
|
101
|
-
readonly cdk8s: string;
|
|
102
|
-
/**
|
|
103
|
-
* Fully qualified name of the client package.
|
|
104
|
-
* Used only on Node projects
|
|
105
|
-
*/
|
|
106
|
-
readonly cdk8sClient?: string;
|
|
107
|
-
/**
|
|
108
|
-
* Fully qualified name of the constructs library package
|
|
109
|
-
*/
|
|
110
|
-
readonly constructs: string;
|
|
111
|
-
/**
|
|
112
|
-
* Fully qualified name of the cdk9s-plus-XX library package
|
|
113
|
-
*/
|
|
114
|
-
readonly cdk8sPlus: string;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Manages dependencies on the CDK8s.
|
|
118
|
-
*/
|
|
119
|
-
export declare abstract class Cdk8sDeps extends Component {
|
|
120
|
-
/**
|
|
121
|
-
* The dependency requirement for CDK8s.
|
|
122
|
-
*/
|
|
123
|
-
readonly cdk8sVersion: string;
|
|
124
|
-
/**
|
|
125
|
-
* The minimum version of the CDK8s (e.g. `2.0.0`)
|
|
126
|
-
*/
|
|
127
|
-
readonly cdk8sMinimumVersion: string;
|
|
128
|
-
/**
|
|
129
|
-
* The major version of the CDK8s (e.g. 1, 2, ...)
|
|
130
|
-
*/
|
|
131
|
-
readonly cdk8sMajorVersion: number;
|
|
132
|
-
private readonly dependencyType;
|
|
133
|
-
private readonly _packageNames;
|
|
134
|
-
constructor(project: Project, options: Cdk8sDepsOptions);
|
|
135
|
-
/**
|
|
136
|
-
* Return a configuration object with information about package naming in various languages
|
|
137
|
-
*/
|
|
138
|
-
protected abstract packageNames(): Cdk8sPackageNames;
|
|
139
|
-
private getVersionRequirement;
|
|
140
|
-
private addCdk8sPlusDependency;
|
|
141
|
-
private addClientDependency;
|
|
142
|
-
private addFrameworkDependency;
|
|
143
|
-
private addConstructsDependency;
|
|
144
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IntegrationTestBaseOptions, IntegrationTestBase } from "../cdk";
|
|
2
|
-
import { Project } from "../project";
|
|
3
|
-
/**
|
|
4
|
-
* Options for IntegrationTest
|
|
5
|
-
*/
|
|
6
|
-
export interface IntegrationTestOptions extends IntegrationTestBaseOptions {
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* CDK8S integration test.
|
|
10
|
-
*/
|
|
11
|
-
export declare class IntegrationTest extends IntegrationTestBase {
|
|
12
|
-
constructor(project: Project, options: IntegrationTestOptions);
|
|
13
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ConstructLibrary, ConstructLibraryOptions } from "../cdk";
|
|
2
|
-
export interface ConstructLibraryCdktfOptions extends ConstructLibraryOptions {
|
|
3
|
-
/**
|
|
4
|
-
* Minimum target version this library is tested against.
|
|
5
|
-
* @default "^0.13.0"
|
|
6
|
-
* @featured
|
|
7
|
-
*/
|
|
8
|
-
readonly cdktfVersion: string;
|
|
9
|
-
/**
|
|
10
|
-
* Construct version to use
|
|
11
|
-
* @default "^10.0.12"
|
|
12
|
-
*/
|
|
13
|
-
readonly constructsVersion?: string;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* CDKTF construct library project
|
|
17
|
-
*
|
|
18
|
-
* A multi-language (jsii) construct library which vends constructs designed to
|
|
19
|
-
* use within the CDK for Terraform (CDKTF), with a friendly workflow and
|
|
20
|
-
* automatic publishing to the construct catalog.
|
|
21
|
-
*
|
|
22
|
-
* @pjid cdktf-construct
|
|
23
|
-
*/
|
|
24
|
-
export declare class ConstructLibraryCdktf extends ConstructLibrary {
|
|
25
|
-
constructor(options: ConstructLibraryCdktfOptions);
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./cdktf-construct";
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { Workflow, Job } from "./model";
|
|
2
|
-
import { Component } from "../component";
|
|
3
|
-
import { Project } from "../project";
|
|
4
|
-
import { YamlFile } from "../yaml";
|
|
5
|
-
/**
|
|
6
|
-
* Options for class {@link Circleci}
|
|
7
|
-
*
|
|
8
|
-
* @see https://circleci.com/docs/2.0/configuration-reference/
|
|
9
|
-
*/
|
|
10
|
-
export interface CircleCiProps {
|
|
11
|
-
/**
|
|
12
|
-
* Contains a map of CirclCi Orbs
|
|
13
|
-
* ```json
|
|
14
|
-
* orbs: {
|
|
15
|
-
* node: "circleci/node@5.0.1"
|
|
16
|
-
* slack: "circleci/slack@4.8.3"
|
|
17
|
-
* }
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
readonly orbs?: Record<string, string>;
|
|
21
|
-
/**
|
|
22
|
-
* pipeline version
|
|
23
|
-
*
|
|
24
|
-
* @default 2.1
|
|
25
|
-
* @see https://circleci.com/docs/2.0/configuration-reference/#version
|
|
26
|
-
*/
|
|
27
|
-
readonly version?: number;
|
|
28
|
-
/**
|
|
29
|
-
* List of Workflows of pipeline, e.g.
|
|
30
|
-
* ```json
|
|
31
|
-
* workflows: {
|
|
32
|
-
* {
|
|
33
|
-
* identifier: "build",
|
|
34
|
-
* jobs: [{
|
|
35
|
-
* identifier: "node/install",
|
|
36
|
-
* context: ["npm"],
|
|
37
|
-
* }]
|
|
38
|
-
* }
|
|
39
|
-
* }
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see https://circleci.com/docs/2.0/configuration-reference/#workflows
|
|
43
|
-
*/
|
|
44
|
-
readonly workflows?: Workflow[];
|
|
45
|
-
/**
|
|
46
|
-
* List of Jobs to create unique steps per pipeline, e.g.
|
|
47
|
-
* ```json
|
|
48
|
-
* jobs: [{
|
|
49
|
-
* identifier: "compile",
|
|
50
|
-
* docker: { image: "golang:alpine" }
|
|
51
|
-
* steps: ["checkout", run: {command: "go build ."}]
|
|
52
|
-
* }]
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* @see https://circleci.com/docs/2.0/configuration-reference/#jobs
|
|
56
|
-
*/
|
|
57
|
-
readonly jobs?: Job[];
|
|
58
|
-
/**
|
|
59
|
-
* The setup field enables you to conditionally trigger configurations from outside
|
|
60
|
-
* the primary .circleci parent directory, update pipeline parameters, or generate customized configurations.
|
|
61
|
-
*
|
|
62
|
-
* @see https://circleci.com/docs/2.0/configuration-reference/#setup
|
|
63
|
-
*/
|
|
64
|
-
readonly setup?: boolean;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Circleci Class to manage `.circleci/config.yml`.
|
|
68
|
-
* Check projen's docs for more information.
|
|
69
|
-
*
|
|
70
|
-
* @see https://circleci.com/docs/2.0/configuration-reference/
|
|
71
|
-
*/
|
|
72
|
-
export declare class Circleci extends Component {
|
|
73
|
-
/**
|
|
74
|
-
* The yaml file for the Circleci pipeline
|
|
75
|
-
* */
|
|
76
|
-
readonly file: YamlFile;
|
|
77
|
-
/**
|
|
78
|
-
* internal copy of options to share options between functions
|
|
79
|
-
* @private
|
|
80
|
-
*/
|
|
81
|
-
private options;
|
|
82
|
-
/**
|
|
83
|
-
* internal map of orbs
|
|
84
|
-
* @private
|
|
85
|
-
*/
|
|
86
|
-
private readonly orbs;
|
|
87
|
-
/**
|
|
88
|
-
* internal list of workflows
|
|
89
|
-
* @private
|
|
90
|
-
*/
|
|
91
|
-
private workflows;
|
|
92
|
-
/**
|
|
93
|
-
* internal list of jobs
|
|
94
|
-
* @private
|
|
95
|
-
*/
|
|
96
|
-
private readonly jobs;
|
|
97
|
-
constructor(project: Project, options?: CircleCiProps);
|
|
98
|
-
/**
|
|
99
|
-
* function to prepare the rendering of the yaml file.
|
|
100
|
-
* Objects with dynamic keys like workflows and jobs required the field `identifier` to be set.
|
|
101
|
-
* Those object will be reduced by `identifier` field before rendering
|
|
102
|
-
* @private
|
|
103
|
-
*/
|
|
104
|
-
private renderCircleCi;
|
|
105
|
-
/**
|
|
106
|
-
* add new workflow to existing pipeline
|
|
107
|
-
* @param workflow
|
|
108
|
-
*/
|
|
109
|
-
addWorkflow(workflow: Workflow): void;
|
|
110
|
-
/**
|
|
111
|
-
* reduce objects with `identifier` field for WorkflowJobs.
|
|
112
|
-
* A workflow job can contain `orbParameter` which are passed to orbs.
|
|
113
|
-
* This map is directly added as `Record<string,any>` to job.
|
|
114
|
-
* So we gonna add those after the default field of WorkflowJob.
|
|
115
|
-
* @see https://circleci.com/developer/orbs/orb/circleci/node#usage-install_nodejs
|
|
116
|
-
* @param jobs
|
|
117
|
-
*/
|
|
118
|
-
private renderJobs;
|
|
119
|
-
/**
|
|
120
|
-
* Add a Circleci Orb to pipeline. Will throw error if the orb already exists
|
|
121
|
-
* @param name
|
|
122
|
-
* @param orb
|
|
123
|
-
*/
|
|
124
|
-
addOrb(name: string, orb: string): void;
|
|
125
|
-
/**
|
|
126
|
-
* Snake case for listed keys. There are too many exceptions needed to do it recursive without a whitelist.
|
|
127
|
-
* This list needs to be updated once we add field with snake case like `aws_auth`.
|
|
128
|
-
* @param input
|
|
129
|
-
*/
|
|
130
|
-
private snakeCase;
|
|
131
|
-
}
|
|
132
|
-
export declare const isObjectContainingFieldExactly: (obj: any, field: string) => boolean;
|