renovate 40.0.0-next.9 → 40.0.1
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/dist/config/decrypt/legacy.js +0 -1
- package/dist/config/decrypt/legacy.js.map +1 -1
- package/dist/config/decrypt.d.ts +3 -1
- package/dist/config/decrypt.js +56 -13
- package/dist/config/decrypt.js.map +1 -1
- package/dist/config/global.js +0 -1
- package/dist/config/global.js.map +1 -1
- package/dist/config/migrate-validate.js +3 -2
- package/dist/config/migrate-validate.js.map +1 -1
- package/dist/config/migration.js +2 -1
- package/dist/config/migration.js.map +1 -1
- package/dist/config/migrations/custom/rebase-stale-prs-migration.js +1 -1
- package/dist/config/migrations/custom/rebase-stale-prs-migration.js.map +1 -1
- package/dist/config/migrations/migrations-service.js +3 -2
- package/dist/config/migrations/migrations-service.js.map +1 -1
- package/dist/config/options/index.js +18 -11
- package/dist/config/options/index.js.map +1 -1
- package/dist/config/parse.js +2 -2
- package/dist/config/parse.js.map +1 -1
- package/dist/config/presets/common.js +1 -0
- package/dist/config/presets/common.js.map +1 -1
- package/dist/config/presets/gitea/index.js +0 -1
- package/dist/config/presets/gitea/index.js.map +1 -1
- package/dist/config/presets/github/index.js +4 -2
- package/dist/config/presets/github/index.js.map +1 -1
- package/dist/config/presets/gitlab/index.js +1 -1
- package/dist/config/presets/gitlab/index.js.map +1 -1
- package/dist/config/presets/http/index.js +2 -2
- package/dist/config/presets/http/index.js.map +1 -1
- package/dist/config/presets/index.js +0 -7
- package/dist/config/presets/index.js.map +1 -1
- package/dist/config/presets/internal/custom-managers.js +18 -4
- package/dist/config/presets/internal/custom-managers.js.map +1 -1
- package/dist/config/presets/internal/group.js +30 -1
- package/dist/config/presets/internal/group.js.map +1 -1
- package/dist/config/presets/internal/index.js +1 -3
- package/dist/config/presets/internal/index.js.map +1 -1
- package/dist/config/presets/internal/workarounds.js +1 -0
- package/dist/config/presets/internal/workarounds.js.map +1 -1
- package/dist/config/presets/npm/index.js +4 -1
- package/dist/config/presets/npm/index.js.map +1 -1
- package/dist/config/presets/parse.js +2 -1
- package/dist/config/presets/parse.js.map +1 -1
- package/dist/config/schema.d.ts +2 -2
- package/dist/config/types.d.ts +4 -2
- package/dist/config/types.js.map +1 -1
- package/dist/config/validation.js +3 -5
- package/dist/config/validation.js.map +1 -1
- package/dist/config-validator.js +0 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/constants/category.js +0 -1
- package/dist/constants/category.js.map +1 -1
- package/dist/constants/platforms.js +5 -1
- package/dist/constants/platforms.js.map +1 -1
- package/dist/data/monorepo.json +9 -2
- package/dist/data/replacements.json +13 -0
- package/dist/data/source-urls.json +1 -0
- package/dist/data-files.generated.js +2 -2
- package/dist/data-files.generated.js.map +1 -1
- package/dist/instrumentation/index.js +39 -15
- package/dist/instrumentation/index.js.map +1 -1
- package/dist/instrumentation/utils.js +1 -1
- package/dist/instrumentation/utils.js.map +1 -1
- package/dist/logger/cmd-serializer.js +0 -1
- package/dist/logger/cmd-serializer.js.map +1 -1
- package/dist/logger/config-serializer.js +0 -1
- package/dist/logger/config-serializer.js.map +1 -1
- package/dist/logger/index.js +1 -4
- package/dist/logger/index.js.map +1 -1
- package/dist/logger/once.js +4 -2
- package/dist/logger/once.js.map +1 -1
- package/dist/logger/pretty-stdout.js +0 -1
- package/dist/logger/pretty-stdout.js.map +1 -1
- package/dist/logger/renovate-logger.js +1 -1
- package/dist/logger/renovate-logger.js.map +1 -1
- package/dist/logger/utils.js +5 -10
- package/dist/logger/utils.js.map +1 -1
- package/dist/modules/datasource/api.js +4 -0
- package/dist/modules/datasource/api.js.map +1 -1
- package/dist/modules/datasource/artifactory/index.js +1 -2
- package/dist/modules/datasource/artifactory/index.js.map +1 -1
- package/dist/modules/datasource/aws-eks-addon/index.d.ts +11 -0
- package/dist/modules/datasource/aws-eks-addon/index.js +75 -0
- package/dist/modules/datasource/aws-eks-addon/index.js.map +1 -0
- package/dist/modules/datasource/aws-eks-addon/schema.d.ts +40 -0
- package/dist/modules/datasource/aws-eks-addon/schema.js +31 -0
- package/dist/modules/datasource/aws-eks-addon/schema.js.map +1 -0
- package/dist/modules/datasource/aws-machine-image/index.js +6 -5
- package/dist/modules/datasource/aws-machine-image/index.js.map +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js +15 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/schema.d.ts +24 -0
- package/dist/modules/datasource/azure-pipelines-tasks/schema.js +3 -0
- package/dist/modules/datasource/azure-pipelines-tasks/schema.js.map +1 -1
- package/dist/modules/datasource/bazel/index.js +18 -2
- package/dist/modules/datasource/bazel/index.js.map +1 -1
- package/dist/modules/datasource/bazel/schema.d.ts +1 -0
- package/dist/modules/datasource/bazel/schema.js.map +1 -1
- package/dist/modules/datasource/bitbucket-server-tags/index.d.ts +19 -0
- package/dist/modules/datasource/bitbucket-server-tags/index.js +133 -0
- package/dist/modules/datasource/bitbucket-server-tags/index.js.map +1 -0
- package/dist/modules/datasource/bitbucket-server-tags/schema.d.ts +28 -0
- package/dist/modules/datasource/bitbucket-server-tags/schema.js +13 -0
- package/dist/modules/datasource/bitbucket-server-tags/schema.js.map +1 -0
- package/dist/modules/datasource/bitrise/index.js +1 -1
- package/dist/modules/datasource/bitrise/index.js.map +1 -1
- package/dist/modules/datasource/cdnjs/schema.d.ts +2 -2
- package/dist/modules/datasource/conda/index.js +18 -1
- package/dist/modules/datasource/conda/index.js.map +1 -1
- package/dist/modules/datasource/conda/prefix-dev.d.ts +3 -0
- package/dist/modules/datasource/conda/prefix-dev.js +81 -0
- package/dist/modules/datasource/conda/prefix-dev.js.map +1 -0
- package/dist/modules/datasource/conda/schema/prefix-dev.d.ts +189 -0
- package/dist/modules/datasource/conda/schema/prefix-dev.js +31 -0
- package/dist/modules/datasource/conda/schema/prefix-dev.js.map +1 -0
- package/dist/modules/datasource/conda/types.d.ts +1 -20
- package/dist/modules/datasource/conda/types.js.map +1 -1
- package/dist/modules/datasource/cpan/index.js +2 -4
- package/dist/modules/datasource/cpan/index.js.map +1 -1
- package/dist/modules/datasource/crate/index.js +3 -3
- package/dist/modules/datasource/crate/index.js.map +1 -1
- package/dist/modules/datasource/custom/formats/html.js +1 -1
- package/dist/modules/datasource/custom/formats/html.js.map +1 -1
- package/dist/modules/datasource/custom/formats/yaml.js +1 -1
- package/dist/modules/datasource/custom/formats/yaml.js.map +1 -1
- package/dist/modules/datasource/custom/index.js +4 -2
- package/dist/modules/datasource/custom/index.js.map +1 -1
- package/dist/modules/datasource/custom/schema.d.ts +22 -22
- package/dist/modules/datasource/custom/utils.js +1 -0
- package/dist/modules/datasource/custom/utils.js.map +1 -1
- package/dist/modules/datasource/dart/index.js +1 -1
- package/dist/modules/datasource/dart/index.js.map +1 -1
- package/dist/modules/datasource/dart-version/index.js +1 -1
- package/dist/modules/datasource/dart-version/index.js.map +1 -1
- package/dist/modules/datasource/datasource.js +0 -1
- package/dist/modules/datasource/datasource.js.map +1 -1
- package/dist/modules/datasource/deb/index.d.ts +4 -5
- package/dist/modules/datasource/deb/index.js +10 -11
- package/dist/modules/datasource/deb/index.js.map +1 -1
- package/dist/modules/datasource/deb/url.d.ts +3 -3
- package/dist/modules/datasource/deb/url.js +17 -13
- package/dist/modules/datasource/deb/url.js.map +1 -1
- package/dist/modules/datasource/deno/index.js +1 -1
- package/dist/modules/datasource/deno/index.js.map +1 -1
- package/dist/modules/datasource/deno/schema.d.ts +1 -1
- package/dist/modules/datasource/devbox/index.js +0 -1
- package/dist/modules/datasource/devbox/index.js.map +1 -1
- package/dist/modules/datasource/docker/common.js +5 -2
- package/dist/modules/datasource/docker/common.js.map +1 -1
- package/dist/modules/datasource/docker/index.js +8 -6
- package/dist/modules/datasource/docker/index.js.map +1 -1
- package/dist/modules/datasource/docker/schema.d.ts +77 -101
- package/dist/modules/datasource/docker/schema.js +2 -1
- package/dist/modules/datasource/docker/schema.js.map +1 -1
- package/dist/modules/datasource/flutter-version/index.js +1 -1
- package/dist/modules/datasource/flutter-version/index.js.map +1 -1
- package/dist/modules/datasource/galaxy/schema.d.ts +1 -1
- package/dist/modules/datasource/galaxy-collection/schema.d.ts +8 -8
- package/dist/modules/datasource/git-refs/index.js +1 -1
- package/dist/modules/datasource/git-refs/index.js.map +1 -1
- package/dist/modules/datasource/gitea-releases/schema.d.ts +6 -6
- package/dist/modules/datasource/gitea-tags/schema.d.ts +4 -4
- package/dist/modules/datasource/github-release-attachments/index.js +2 -2
- package/dist/modules/datasource/github-release-attachments/index.js.map +1 -1
- package/dist/modules/datasource/github-runners/index.js +2 -2
- package/dist/modules/datasource/github-runners/index.js.map +1 -1
- package/dist/modules/datasource/github-tags/index.js +4 -1
- package/dist/modules/datasource/github-tags/index.js.map +1 -1
- package/dist/modules/datasource/gitlab-packages/index.js +1 -1
- package/dist/modules/datasource/gitlab-packages/index.js.map +1 -1
- package/dist/modules/datasource/gitlab-releases/index.js +1 -3
- package/dist/modules/datasource/gitlab-releases/index.js.map +1 -1
- package/dist/modules/datasource/go/base.js +1 -1
- package/dist/modules/datasource/go/base.js.map +1 -1
- package/dist/modules/datasource/go/index.js +1 -1
- package/dist/modules/datasource/go/index.js.map +1 -1
- package/dist/modules/datasource/go/releases-direct.js +7 -4
- package/dist/modules/datasource/go/releases-direct.js.map +1 -1
- package/dist/modules/datasource/go/releases-goproxy.js +1 -1
- package/dist/modules/datasource/go/releases-goproxy.js.map +1 -1
- package/dist/modules/datasource/golang-version/index.js +2 -2
- package/dist/modules/datasource/golang-version/index.js.map +1 -1
- package/dist/modules/datasource/gradle-version/index.js +1 -1
- package/dist/modules/datasource/gradle-version/index.js.map +1 -1
- package/dist/modules/datasource/helm/index.js +1 -1
- package/dist/modules/datasource/helm/index.js.map +1 -1
- package/dist/modules/datasource/hex/index.js +1 -1
- package/dist/modules/datasource/hex/index.js.map +1 -1
- package/dist/modules/datasource/hex/schema.d.ts +11 -11
- package/dist/modules/datasource/hexpm-bob/index.js +1 -1
- package/dist/modules/datasource/hexpm-bob/index.js.map +1 -1
- package/dist/modules/datasource/index.js +46 -5
- package/dist/modules/datasource/index.js.map +1 -1
- package/dist/modules/datasource/java-version/index.js +0 -1
- package/dist/modules/datasource/java-version/index.js.map +1 -1
- package/dist/modules/datasource/jenkins-plugins/index.js +1 -1
- package/dist/modules/datasource/jenkins-plugins/index.js.map +1 -1
- package/dist/modules/datasource/maven/index.d.ts +2 -2
- package/dist/modules/datasource/maven/index.js +56 -33
- package/dist/modules/datasource/maven/index.js.map +1 -1
- package/dist/modules/datasource/maven/types.d.ts +7 -6
- package/dist/modules/datasource/maven/types.js.map +1 -1
- package/dist/modules/datasource/maven/util.d.ts +4 -5
- package/dist/modules/datasource/maven/util.js +94 -157
- package/dist/modules/datasource/maven/util.js.map +1 -1
- package/dist/modules/datasource/metadata.js +9 -1
- package/dist/modules/datasource/metadata.js.map +1 -1
- package/dist/modules/datasource/node-version/index.js +1 -1
- package/dist/modules/datasource/node-version/index.js.map +1 -1
- package/dist/modules/datasource/npm/get.d.ts +0 -1
- package/dist/modules/datasource/npm/get.js +14 -68
- package/dist/modules/datasource/npm/get.js.map +1 -1
- package/dist/modules/datasource/npm/index.js +1 -1
- package/dist/modules/datasource/npm/index.js.map +1 -1
- package/dist/modules/datasource/npm/npmrc.js +1 -1
- package/dist/modules/datasource/npm/npmrc.js.map +1 -1
- package/dist/modules/datasource/npm/types.d.ts +0 -8
- package/dist/modules/datasource/npm/types.js.map +1 -1
- package/dist/modules/datasource/nuget/index.js +1 -1
- package/dist/modules/datasource/nuget/index.js.map +1 -1
- package/dist/modules/datasource/nuget/v2.js +1 -1
- package/dist/modules/datasource/nuget/v2.js.map +1 -1
- package/dist/modules/datasource/nuget/v3.js +8 -6
- package/dist/modules/datasource/nuget/v3.js.map +1 -1
- package/dist/modules/datasource/orb/index.js +1 -1
- package/dist/modules/datasource/orb/index.js.map +1 -1
- package/dist/modules/datasource/packagist/index.js +2 -2
- package/dist/modules/datasource/packagist/index.js.map +1 -1
- package/dist/modules/datasource/packagist/schema.d.ts +32 -32
- package/dist/modules/datasource/pod/index.js +2 -2
- package/dist/modules/datasource/pod/index.js.map +1 -1
- package/dist/modules/datasource/postprocess-release.js +1 -1
- package/dist/modules/datasource/postprocess-release.js.map +1 -1
- package/dist/modules/datasource/pypi/index.js +1 -1
- package/dist/modules/datasource/pypi/index.js.map +1 -1
- package/dist/modules/datasource/python-version/index.js +1 -1
- package/dist/modules/datasource/python-version/index.js.map +1 -1
- package/dist/modules/datasource/repology/index.js +1 -1
- package/dist/modules/datasource/repology/index.js.map +1 -1
- package/dist/modules/datasource/ruby-version/index.js +1 -1
- package/dist/modules/datasource/ruby-version/index.js.map +1 -1
- package/dist/modules/datasource/rubygems/index.js +2 -2
- package/dist/modules/datasource/rubygems/index.js.map +1 -1
- package/dist/modules/datasource/rubygems/versions-endpoint-cache.js +2 -2
- package/dist/modules/datasource/rubygems/versions-endpoint-cache.js.map +1 -1
- package/dist/modules/datasource/sbt-package/index.js +1 -1
- package/dist/modules/datasource/sbt-package/index.js.map +1 -1
- package/dist/modules/datasource/sbt-plugin/index.js +1 -1
- package/dist/modules/datasource/sbt-plugin/index.js.map +1 -1
- package/dist/modules/datasource/schema.d.ts +4 -4
- package/dist/modules/datasource/terraform-module/index.js +1 -1
- package/dist/modules/datasource/terraform-module/index.js.map +1 -1
- package/dist/modules/datasource/terraform-provider/index.js +2 -3
- package/dist/modules/datasource/terraform-provider/index.js.map +1 -1
- package/dist/modules/datasource/types.d.ts +2 -0
- package/dist/modules/datasource/types.js.map +1 -1
- package/dist/modules/manager/api.js +2 -0
- package/dist/modules/manager/api.js.map +1 -1
- package/dist/modules/manager/argocd/extract.js +1 -1
- package/dist/modules/manager/argocd/extract.js.map +1 -1
- package/dist/modules/manager/argocd/schema.d.ts +22 -22
- package/dist/modules/manager/asdf/upgradeable-tooling.js +94 -0
- package/dist/modules/manager/asdf/upgradeable-tooling.js.map +1 -1
- package/dist/modules/manager/azure-pipelines/schema.d.ts +32 -32
- package/dist/modules/manager/batect/schema.d.ts +4 -4
- package/dist/modules/manager/batect-wrapper/artifacts.js +1 -1
- package/dist/modules/manager/batect-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/bazel/rules/docker.d.ts +6 -6
- package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
- package/dist/modules/manager/bazel/rules/git.js +9 -2
- package/dist/modules/manager/bazel/rules/git.js.map +1 -1
- package/dist/modules/manager/bazel/rules/go.d.ts +5 -5
- package/dist/modules/manager/bazel/rules/maven.d.ts +7 -7
- package/dist/modules/manager/bazel/rules/oci.d.ts +6 -6
- package/dist/modules/manager/bazel-module/parser/fragments.d.ts +40 -40
- package/dist/modules/manager/bazel-module/parser/maven.d.ts +44 -90
- package/dist/modules/manager/bazel-module/parser/oci.d.ts +19 -42
- package/dist/modules/manager/bazel-module/rules.d.ts +50 -160
- package/dist/modules/manager/buildpacks/extract.d.ts +6 -1
- package/dist/modules/manager/buildpacks/extract.js +24 -14
- package/dist/modules/manager/buildpacks/extract.js.map +1 -1
- package/dist/modules/manager/bun/artifacts.js +0 -1
- package/dist/modules/manager/bun/artifacts.js.map +1 -1
- package/dist/modules/manager/bun/extract.d.ts +1 -0
- package/dist/modules/manager/bun/extract.js +53 -27
- package/dist/modules/manager/bun/extract.js.map +1 -1
- package/dist/modules/manager/bun/index.js +1 -1
- package/dist/modules/manager/bun/index.js.map +1 -1
- package/dist/modules/manager/bun/utils.d.ts +2 -0
- package/dist/modules/manager/bun/utils.js +22 -0
- package/dist/modules/manager/bun/utils.js.map +1 -0
- package/dist/modules/manager/bundler/artifacts.js +0 -1
- package/dist/modules/manager/bundler/artifacts.js.map +1 -1
- package/dist/modules/manager/bundler/extract.js +2 -1
- package/dist/modules/manager/bundler/extract.js.map +1 -1
- package/dist/modules/manager/cake/index.js +4 -2
- package/dist/modules/manager/cake/index.js.map +1 -1
- package/dist/modules/manager/cargo/artifacts.js +5 -7
- package/dist/modules/manager/cargo/artifacts.js.map +1 -1
- package/dist/modules/manager/cargo/schema.d.ts +166 -166
- package/dist/modules/manager/circleci/extract.js +21 -30
- package/dist/modules/manager/circleci/extract.js.map +1 -1
- package/dist/modules/manager/circleci/schema.d.ts +33 -144
- package/dist/modules/manager/circleci/schema.js +21 -17
- package/dist/modules/manager/circleci/schema.js.map +1 -1
- package/dist/modules/manager/cocoapods/artifacts.js +1 -2
- package/dist/modules/manager/cocoapods/artifacts.js.map +1 -1
- package/dist/modules/manager/composer/artifacts.js +1 -2
- package/dist/modules/manager/composer/artifacts.js.map +1 -1
- package/dist/modules/manager/composer/schema.d.ts +32 -34
- package/dist/modules/manager/composer/schema.js +1 -1
- package/dist/modules/manager/composer/schema.js.map +1 -1
- package/dist/modules/manager/composer/utils.d.ts +1 -0
- package/dist/modules/manager/composer/utils.js +18 -6
- package/dist/modules/manager/composer/utils.js.map +1 -1
- package/dist/modules/manager/conan/artifacts.d.ts +2 -0
- package/dist/modules/manager/conan/artifacts.js +76 -0
- package/dist/modules/manager/conan/artifacts.js.map +1 -0
- package/dist/modules/manager/conan/index.d.ts +2 -0
- package/dist/modules/manager/conan/index.js +4 -1
- package/dist/modules/manager/conan/index.js.map +1 -1
- package/dist/modules/manager/copier/artifacts.js +0 -1
- package/dist/modules/manager/copier/artifacts.js.map +1 -1
- package/dist/modules/manager/crossplane/schema.d.ts +2 -2
- package/dist/modules/manager/custom/jsonata/schema.d.ts +21 -21
- package/dist/modules/manager/custom/regex/index.js +2 -0
- package/dist/modules/manager/custom/regex/index.js.map +1 -1
- package/dist/modules/manager/deps-edn/extract.js +2 -1
- package/dist/modules/manager/deps-edn/extract.js.map +1 -1
- package/dist/modules/manager/devbox/artifacts.d.ts +1 -1
- package/dist/modules/manager/devbox/artifacts.js +35 -11
- package/dist/modules/manager/devbox/artifacts.js.map +1 -1
- package/dist/modules/manager/devbox/schema.js +1 -1
- package/dist/modules/manager/devbox/schema.js.map +1 -1
- package/dist/modules/manager/devcontainer/extract.js +43 -1
- package/dist/modules/manager/devcontainer/extract.js.map +1 -1
- package/dist/modules/manager/devcontainer/index.js +11 -1
- package/dist/modules/manager/devcontainer/index.js.map +1 -1
- package/dist/modules/manager/devcontainer/schema.d.ts +7 -3
- package/dist/modules/manager/devcontainer/schema.js +3 -1
- package/dist/modules/manager/devcontainer/schema.js.map +1 -1
- package/dist/modules/manager/docker-compose/schema.d.ts +6 -6
- package/dist/modules/manager/dockerfile/extract.js +2 -6
- package/dist/modules/manager/dockerfile/extract.js.map +1 -1
- package/dist/modules/manager/fingerprint.generated.js +86 -85
- package/dist/modules/manager/fingerprint.generated.js.map +1 -1
- package/dist/modules/manager/fleet/schema.d.ts +4 -4
- package/dist/modules/manager/flux/artifacts.js +0 -1
- package/dist/modules/manager/flux/artifacts.js.map +1 -1
- package/dist/modules/manager/flux/extract.js +27 -24
- package/dist/modules/manager/flux/extract.js.map +1 -1
- package/dist/modules/manager/flux/schema.d.ts +130 -154
- package/dist/modules/manager/github-actions/extract.js +60 -39
- package/dist/modules/manager/github-actions/extract.js.map +1 -1
- package/dist/modules/manager/github-actions/schema.d.ts +66 -0
- package/dist/modules/manager/github-actions/schema.js +38 -0
- package/dist/modules/manager/github-actions/schema.js.map +1 -0
- package/dist/modules/manager/gitlabci/extract.d.ts +1 -5
- package/dist/modules/manager/gitlabci/extract.js +27 -126
- package/dist/modules/manager/gitlabci/extract.js.map +1 -1
- package/dist/modules/manager/gitlabci/schema.d.ts +55 -0
- package/dist/modules/manager/gitlabci/schema.js +63 -0
- package/dist/modules/manager/gitlabci/schema.js.map +1 -0
- package/dist/modules/manager/gitlabci-include/extract.js +6 -54
- package/dist/modules/manager/gitlabci-include/extract.js.map +1 -1
- package/dist/modules/manager/gitlabci-include/schema.d.ts +13 -0
- package/dist/modules/manager/gitlabci-include/schema.js +46 -0
- package/dist/modules/manager/gitlabci-include/schema.js.map +1 -0
- package/dist/modules/manager/glasskube/schema.d.ts +8 -8
- package/dist/modules/manager/gomod/artifacts-extra.js +12 -4
- package/dist/modules/manager/gomod/artifacts-extra.js.map +1 -1
- package/dist/modules/manager/gomod/artifacts.js +24 -10
- package/dist/modules/manager/gomod/artifacts.js.map +1 -1
- package/dist/modules/manager/gomod/extract.js +23 -0
- package/dist/modules/manager/gomod/extract.js.map +1 -1
- package/dist/modules/manager/gomod/line-parser.js +16 -0
- package/dist/modules/manager/gomod/line-parser.js.map +1 -1
- package/dist/modules/manager/gomod/update.js +5 -3
- package/dist/modules/manager/gomod/update.js.map +1 -1
- package/dist/modules/manager/gradle/artifacts.js +0 -1
- package/dist/modules/manager/gradle/artifacts.js.map +1 -1
- package/dist/modules/manager/gradle/extract/catalog.js +1 -1
- package/dist/modules/manager/gradle/extract/catalog.js.map +1 -1
- package/dist/modules/manager/gradle/extract.js +8 -13
- package/dist/modules/manager/gradle/extract.js.map +1 -1
- package/dist/modules/manager/gradle/parser/assignments.js +2 -2
- package/dist/modules/manager/gradle/parser/assignments.js.map +1 -1
- package/dist/modules/manager/gradle/parser/handlers.d.ts +1 -2
- package/dist/modules/manager/gradle/parser/handlers.js +17 -24
- package/dist/modules/manager/gradle/parser/handlers.js.map +1 -1
- package/dist/modules/manager/gradle/parser/registry-urls.js +46 -12
- package/dist/modules/manager/gradle/parser/registry-urls.js.map +1 -1
- package/dist/modules/manager/gradle/types.d.ts +1 -0
- package/dist/modules/manager/gradle/types.js.map +1 -1
- package/dist/modules/manager/gradle-wrapper/artifacts.js +1 -2
- package/dist/modules/manager/gradle-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/helmfile/artifacts.js +0 -1
- package/dist/modules/manager/helmfile/artifacts.js.map +1 -1
- package/dist/modules/manager/helmfile/extract.js +4 -0
- package/dist/modules/manager/helmfile/extract.js.map +1 -1
- package/dist/modules/manager/helmfile/schema.d.ts +9 -9
- package/dist/modules/manager/helmv3/artifacts.js +0 -1
- package/dist/modules/manager/helmv3/artifacts.js.map +1 -1
- package/dist/modules/manager/helmv3/utils.js +3 -1
- package/dist/modules/manager/helmv3/utils.js.map +1 -1
- package/dist/modules/manager/hermit/artifacts.js +0 -1
- package/dist/modules/manager/hermit/artifacts.js.map +1 -1
- package/dist/modules/manager/homebrew/extract.js +0 -1
- package/dist/modules/manager/homebrew/extract.js.map +1 -1
- package/dist/modules/manager/jsonnet-bundler/artifacts.js +0 -1
- package/dist/modules/manager/jsonnet-bundler/artifacts.js.map +1 -1
- package/dist/modules/manager/kustomize/artifacts.d.ts +2 -0
- package/dist/modules/manager/kustomize/artifacts.js +154 -0
- package/dist/modules/manager/kustomize/artifacts.js.map +1 -0
- package/dist/modules/manager/kustomize/common.d.ts +3 -0
- package/dist/modules/manager/kustomize/common.js +22 -0
- package/dist/modules/manager/kustomize/common.js.map +1 -0
- package/dist/modules/manager/kustomize/index.d.ts +1 -0
- package/dist/modules/manager/kustomize/index.js +3 -1
- package/dist/modules/manager/kustomize/index.js.map +1 -1
- package/dist/modules/manager/kustomize/types.d.ts +4 -0
- package/dist/modules/manager/kustomize/types.js.map +1 -1
- package/dist/modules/manager/maven/extract.d.ts +2 -2
- package/dist/modules/manager/maven/extract.js +14 -9
- package/dist/modules/manager/maven/extract.js.map +1 -1
- package/dist/modules/manager/maven-wrapper/artifacts.js +0 -1
- package/dist/modules/manager/maven-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/mise/extract.js +1 -1
- package/dist/modules/manager/mise/extract.js.map +1 -1
- package/dist/modules/manager/mix/artifacts.js +64 -14
- package/dist/modules/manager/mix/artifacts.js.map +1 -1
- package/dist/modules/manager/mix/index.d.ts +1 -0
- package/dist/modules/manager/mix/index.js +2 -1
- package/dist/modules/manager/mix/index.js.map +1 -1
- package/dist/modules/manager/nix/artifacts.js +0 -1
- package/dist/modules/manager/nix/artifacts.js.map +1 -1
- package/dist/modules/manager/nix/extract.js +1 -1
- package/dist/modules/manager/nix/extract.js.map +1 -1
- package/dist/modules/manager/nix/schema.d.ts +20 -20
- package/dist/modules/manager/nix/schema.js +1 -0
- package/dist/modules/manager/nix/schema.js.map +1 -1
- package/dist/modules/manager/npm/artifacts.js +0 -1
- package/dist/modules/manager/npm/artifacts.js.map +1 -1
- package/dist/modules/manager/npm/extract/common/package-file.js +1 -0
- package/dist/modules/manager/npm/extract/common/package-file.js.map +1 -1
- package/dist/modules/manager/npm/extract/yarn.js +2 -2
- package/dist/modules/manager/npm/extract/yarn.js.map +1 -1
- package/dist/modules/manager/npm/post-update/npm.js +0 -1
- package/dist/modules/manager/npm/post-update/npm.js.map +1 -1
- package/dist/modules/manager/npm/post-update/pnpm.js +13 -2
- package/dist/modules/manager/npm/post-update/pnpm.js.map +1 -1
- package/dist/modules/manager/npm/post-update/rules.js +11 -1
- package/dist/modules/manager/npm/post-update/rules.js.map +1 -1
- package/dist/modules/manager/npm/post-update/yarn.js +0 -1
- package/dist/modules/manager/npm/post-update/yarn.js.map +1 -1
- package/dist/modules/manager/npm/schema.d.ts +13 -13
- package/dist/modules/manager/npm/update/dependency/index.js +1 -1
- package/dist/modules/manager/npm/update/dependency/index.js.map +1 -1
- package/dist/modules/manager/nuget/artifacts.js +1 -2
- package/dist/modules/manager/nuget/artifacts.js.map +1 -1
- package/dist/modules/manager/nuget/extract.js +21 -18
- package/dist/modules/manager/nuget/extract.js.map +1 -1
- package/dist/modules/manager/nuget/package-tree.js +4 -0
- package/dist/modules/manager/nuget/package-tree.js.map +1 -1
- package/dist/modules/manager/nuget/schema.d.ts +8 -8
- package/dist/modules/manager/nuget/util.js +4 -1
- package/dist/modules/manager/nuget/util.js.map +1 -1
- package/dist/modules/manager/ocb/schema.d.ts +6 -6
- package/dist/modules/manager/pep621/extract.js +19 -3
- package/dist/modules/manager/pep621/extract.js.map +1 -1
- package/dist/modules/manager/pep621/processors/pdm.js +3 -2
- package/dist/modules/manager/pep621/processors/pdm.js.map +1 -1
- package/dist/modules/manager/pep621/processors/uv.js +4 -1
- package/dist/modules/manager/pep621/processors/uv.js.map +1 -1
- package/dist/modules/manager/pep621/schema.d.ts +341 -49
- package/dist/modules/manager/pep621/schema.js +3 -1
- package/dist/modules/manager/pep621/schema.js.map +1 -1
- package/dist/modules/manager/pep621/utils.js +1 -1
- package/dist/modules/manager/pep621/utils.js.map +1 -1
- package/dist/modules/manager/pip-compile/common.js +0 -1
- package/dist/modules/manager/pip-compile/common.js.map +1 -1
- package/dist/modules/manager/pip_requirements/artifacts.js +0 -1
- package/dist/modules/manager/pip_requirements/artifacts.js.map +1 -1
- package/dist/modules/manager/pip_requirements/common.js +2 -6
- package/dist/modules/manager/pip_requirements/common.js.map +1 -1
- package/dist/modules/manager/pipenv/artifacts.js +0 -1
- package/dist/modules/manager/pipenv/artifacts.js.map +1 -1
- package/dist/modules/manager/pixi/artifacts.d.ts +3 -0
- package/dist/modules/manager/pixi/artifacts.js +78 -0
- package/dist/modules/manager/pixi/artifacts.js.map +1 -0
- package/dist/modules/manager/pixi/extract.d.ts +4 -0
- package/dist/modules/manager/pixi/extract.js +131 -0
- package/dist/modules/manager/pixi/extract.js.map +1 -0
- package/dist/modules/manager/pixi/index.d.ts +10 -0
- package/dist/modules/manager/pixi/index.js +20 -0
- package/dist/modules/manager/pixi/index.js.map +1 -0
- package/dist/modules/manager/pixi/schema.d.ts +405 -0
- package/dist/modules/manager/pixi/schema.js +147 -0
- package/dist/modules/manager/pixi/schema.js.map +1 -0
- package/dist/modules/manager/poetry/artifacts.js +3 -4
- package/dist/modules/manager/poetry/artifacts.js.map +1 -1
- package/dist/modules/manager/poetry/extract.js +2 -1
- package/dist/modules/manager/poetry/extract.js.map +1 -1
- package/dist/modules/manager/poetry/schema.d.ts +44 -44
- package/dist/modules/manager/pub/artifacts.js +0 -1
- package/dist/modules/manager/pub/artifacts.js.map +1 -1
- package/dist/modules/manager/pub/schema.d.ts +8 -8
- package/dist/modules/manager/scalafmt/extract.js +1 -1
- package/dist/modules/manager/scalafmt/extract.js.map +1 -1
- package/dist/modules/manager/sveltos/schema.d.ts +30 -42
- package/dist/modules/manager/terraform/lockfile/hash.d.ts +1 -1
- package/dist/modules/manager/terraform/util.js +1 -3
- package/dist/modules/manager/terraform/util.js.map +1 -1
- package/dist/modules/manager/types.d.ts +6 -2
- package/dist/modules/manager/types.js.map +1 -1
- package/dist/modules/manager/vendir/schema.d.ts +7 -7
- package/dist/modules/platform/api.d.ts +1 -1
- package/dist/modules/platform/azure/azure-helper.js +2 -2
- package/dist/modules/platform/azure/azure-helper.js.map +1 -1
- package/dist/modules/platform/azure/index.js +14 -14
- package/dist/modules/platform/azure/index.js.map +1 -1
- package/dist/modules/platform/bitbucket/comments.js +4 -4
- package/dist/modules/platform/bitbucket/comments.js.map +1 -1
- package/dist/modules/platform/bitbucket/index.js +49 -44
- package/dist/modules/platform/bitbucket/index.js.map +1 -1
- package/dist/modules/platform/bitbucket/schema.d.ts +14 -14
- package/dist/modules/platform/bitbucket/utils.js +3 -3
- package/dist/modules/platform/bitbucket/utils.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/index.d.ts +2 -2
- package/dist/modules/platform/bitbucket-server/index.js +81 -81
- package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/pr-cache.d.ts +23 -0
- package/dist/modules/platform/bitbucket-server/pr-cache.js +125 -0
- package/dist/modules/platform/bitbucket-server/pr-cache.js.map +1 -0
- package/dist/modules/platform/bitbucket-server/schema.d.ts +76 -0
- package/dist/modules/platform/bitbucket-server/schema.js +15 -1
- package/dist/modules/platform/bitbucket-server/schema.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/types.d.ts +8 -2
- package/dist/modules/platform/bitbucket-server/types.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/utils.d.ts +0 -2
- package/dist/modules/platform/bitbucket-server/utils.js +6 -52
- package/dist/modules/platform/bitbucket-server/utils.js.map +1 -1
- package/dist/modules/platform/codecommit/codecommit-client.js +6 -6
- package/dist/modules/platform/codecommit/codecommit-client.js.map +1 -1
- package/dist/modules/platform/codecommit/index.js +24 -24
- package/dist/modules/platform/codecommit/index.js.map +1 -1
- package/dist/modules/platform/gerrit/client.d.ts +0 -3
- package/dist/modules/platform/gerrit/client.js +20 -29
- package/dist/modules/platform/gerrit/client.js.map +1 -1
- package/dist/modules/platform/gerrit/index.js +0 -6
- package/dist/modules/platform/gerrit/index.js.map +1 -1
- package/dist/modules/platform/gerrit/scm.js +5 -6
- package/dist/modules/platform/gerrit/scm.js.map +1 -1
- package/dist/modules/platform/gerrit/types.d.ts +1 -4
- package/dist/modules/platform/gerrit/types.js.map +1 -1
- package/dist/modules/platform/gerrit/utils.d.ts +3 -2
- package/dist/modules/platform/gerrit/utils.js +4 -8
- package/dist/modules/platform/gerrit/utils.js.map +1 -1
- package/dist/modules/platform/gitea/gitea-helper.d.ts +1 -0
- package/dist/modules/platform/gitea/gitea-helper.js +16 -0
- package/dist/modules/platform/gitea/gitea-helper.js.map +1 -1
- package/dist/modules/platform/gitea/index.js +22 -16
- package/dist/modules/platform/gitea/index.js.map +1 -1
- package/dist/modules/platform/gitea/schema.d.ts +8 -8
- package/dist/modules/platform/gitea/types.d.ts +1 -1
- package/dist/modules/platform/gitea/types.js.map +1 -1
- package/dist/modules/platform/github/common.d.ts +2 -0
- package/dist/modules/platform/github/common.js +16 -0
- package/dist/modules/platform/github/common.js.map +1 -1
- package/dist/modules/platform/github/index.d.ts +1 -1
- package/dist/modules/platform/github/index.js +87 -82
- package/dist/modules/platform/github/index.js.map +1 -1
- package/dist/modules/platform/github/issue.d.ts +18 -18
- package/dist/modules/platform/github/massage-markdown-links.js +2 -2
- package/dist/modules/platform/github/massage-markdown-links.js.map +1 -1
- package/dist/modules/platform/github/pr.js +3 -3
- package/dist/modules/platform/github/pr.js.map +1 -1
- package/dist/modules/platform/github/schema.d.ts +128 -128
- package/dist/modules/platform/github/schema.js +3 -1
- package/dist/modules/platform/github/schema.js.map +1 -1
- package/dist/modules/platform/gitlab/index.js +63 -49
- package/dist/modules/platform/gitlab/index.js.map +1 -1
- package/dist/modules/platform/index.js +0 -1
- package/dist/modules/platform/index.js.map +1 -1
- package/dist/modules/platform/scm.d.ts +1 -1
- package/dist/modules/versioning/api.js +2 -0
- package/dist/modules/versioning/api.js.map +1 -1
- package/dist/modules/versioning/composer/index.js +10 -0
- package/dist/modules/versioning/composer/index.js.map +1 -1
- package/dist/modules/versioning/conda/index.d.ts +41 -0
- package/dist/modules/versioning/conda/index.js +178 -0
- package/dist/modules/versioning/conda/index.js.map +1 -0
- package/dist/modules/versioning/distro.js +1 -3
- package/dist/modules/versioning/distro.js.map +1 -1
- package/dist/modules/versioning/hashicorp/convertor.d.ts +2 -1
- package/dist/modules/versioning/hashicorp/convertor.js +13 -8
- package/dist/modules/versioning/hashicorp/convertor.js.map +1 -1
- package/dist/modules/versioning/hex/index.js +3 -3
- package/dist/modules/versioning/hex/index.js.map +1 -1
- package/dist/modules/versioning/npm/index.js +2 -1
- package/dist/modules/versioning/npm/index.js.map +1 -1
- package/dist/modules/versioning/types.d.ts +4 -0
- package/dist/modules/versioning/types.js.map +1 -1
- package/dist/proxy.js +2 -1
- package/dist/proxy.js.map +1 -1
- package/dist/renovate.js +2 -2
- package/dist/renovate.js.map +1 -1
- package/dist/util/cache/package/redis.js +0 -1
- package/dist/util/cache/package/redis.js.map +1 -1
- package/dist/util/cache/package/types.d.ts +1 -1
- package/dist/util/cache/package/types.js.map +1 -1
- package/dist/util/cache/repository/impl/base.d.ts +1 -1
- package/dist/util/cache/repository/impl/base.js +4 -0
- package/dist/util/cache/repository/impl/base.js.map +1 -1
- package/dist/util/cache/repository/schema.d.ts +4 -4
- package/dist/util/cache/repository/types.d.ts +3 -0
- package/dist/util/cache/repository/types.js.map +1 -1
- package/dist/util/common.d.ts +4 -2
- package/dist/util/common.js +17 -3
- package/dist/util/common.js.map +1 -1
- package/dist/util/env.d.ts +4 -0
- package/dist/util/env.js +22 -0
- package/dist/util/env.js.map +1 -0
- package/dist/util/exec/containerbase.js +19 -14
- package/dist/util/exec/containerbase.js.map +1 -1
- package/dist/util/exec/index.js +5 -2
- package/dist/util/exec/index.js.map +1 -1
- package/dist/util/exec/types.d.ts +0 -2
- package/dist/util/exec/types.js.map +1 -1
- package/dist/util/exec/utils.d.ts +1 -1
- package/dist/util/exec/utils.js +6 -5
- package/dist/util/exec/utils.js.map +1 -1
- package/dist/util/git/auth.js +8 -5
- package/dist/util/git/auth.js.map +1 -1
- package/dist/util/git/author.js +1 -1
- package/dist/util/git/author.js.map +1 -1
- package/dist/util/git/config.js +0 -1
- package/dist/util/git/config.js.map +1 -1
- package/dist/util/git/error.js +4 -2
- package/dist/util/git/error.js.map +1 -1
- package/dist/util/git/index.js +75 -52
- package/dist/util/git/index.js.map +1 -1
- package/dist/util/git/private-key.js +2 -4
- package/dist/util/git/private-key.js.map +1 -1
- package/dist/util/git/types.d.ts +2 -0
- package/dist/util/git/types.js.map +1 -1
- package/dist/util/git/url.js +1 -1
- package/dist/util/git/url.js.map +1 -1
- package/dist/util/github/graphql/datasource-fetcher.js +3 -5
- package/dist/util/github/graphql/datasource-fetcher.js.map +1 -1
- package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +2 -2
- package/dist/util/github/graphql/query-adapters/tags-query-adapter.d.ts +2 -2
- package/dist/util/http/auth.js +0 -1
- package/dist/util/http/auth.js.map +1 -1
- package/dist/util/http/bitbucket-server.d.ts +7 -5
- package/dist/util/http/bitbucket-server.js +26 -23
- package/dist/util/http/bitbucket-server.js.map +1 -1
- package/dist/util/http/bitbucket.d.ts +6 -5
- package/dist/util/http/bitbucket.js +34 -31
- package/dist/util/http/bitbucket.js.map +1 -1
- package/dist/util/http/cache/abstract-http-cache-provider.js +2 -2
- package/dist/util/http/cache/abstract-http-cache-provider.js.map +1 -1
- package/dist/util/http/cache/memory-http-cache-provider.d.ts +10 -0
- package/dist/util/http/cache/memory-http-cache-provider.js +29 -0
- package/dist/util/http/cache/memory-http-cache-provider.js.map +1 -0
- package/dist/util/http/cache/package-http-cache-provider.d.ts +23 -0
- package/dist/util/http/cache/package-http-cache-provider.js +80 -0
- package/dist/util/http/cache/package-http-cache-provider.js.map +1 -0
- package/dist/util/http/cache/schema.d.ts +2 -2
- package/dist/util/http/errors.d.ts +2 -0
- package/dist/util/http/errors.js +8 -0
- package/dist/util/http/errors.js.map +1 -0
- package/dist/util/http/gerrit.d.ts +6 -4
- package/dist/util/http/gerrit.js +11 -12
- package/dist/util/http/gerrit.js.map +1 -1
- package/dist/util/http/gitea.d.ts +5 -4
- package/dist/util/http/gitea.js +14 -13
- package/dist/util/http/gitea.js.map +1 -1
- package/dist/util/http/github.d.ts +14 -8
- package/dist/util/http/github.js +65 -60
- package/dist/util/http/github.js.map +1 -1
- package/dist/util/http/gitlab.d.ts +7 -5
- package/dist/util/http/gitlab.js +58 -46
- package/dist/util/http/gitlab.js.map +1 -1
- package/dist/util/http/got.d.ts +9 -0
- package/dist/util/http/got.js +54 -0
- package/dist/util/http/got.js.map +1 -0
- package/dist/util/http/host-rules.d.ts +2 -1
- package/dist/util/http/host-rules.js +17 -4
- package/dist/util/http/host-rules.js.map +1 -1
- package/dist/util/http/http.d.ts +93 -0
- package/dist/util/http/http.js +346 -0
- package/dist/util/http/http.js.map +1 -0
- package/dist/util/http/index.d.ts +6 -74
- package/dist/util/http/index.js +5 -359
- package/dist/util/http/index.js.map +1 -1
- package/dist/util/http/legacy.js +4 -1
- package/dist/util/http/legacy.js.map +1 -1
- package/dist/util/http/types.d.ts +9 -16
- package/dist/util/http/types.js.map +1 -1
- package/dist/util/schema-utils.d.ts +1 -0
- package/dist/util/schema-utils.js +43 -8
- package/dist/util/schema-utils.js.map +1 -1
- package/dist/util/stats.d.ts +10 -0
- package/dist/util/stats.js +45 -1
- package/dist/util/stats.js.map +1 -1
- package/dist/util/string.d.ts +16 -0
- package/dist/util/string.js +79 -0
- package/dist/util/string.js.map +1 -1
- package/dist/util/toml.d.ts +1 -0
- package/dist/util/toml.js +6 -0
- package/dist/util/toml.js.map +1 -1
- package/dist/util/url.js +3 -8
- package/dist/util/url.js.map +1 -1
- package/dist/util/yaml.js +3 -8
- package/dist/util/yaml.js.map +1 -1
- package/dist/workers/global/autodiscover.js +1 -19
- package/dist/workers/global/autodiscover.js.map +1 -1
- package/dist/workers/global/config/parse/env.js +3 -3
- package/dist/workers/global/config/parse/env.js.map +1 -1
- package/dist/workers/global/config/parse/file.js +18 -8
- package/dist/workers/global/config/parse/file.js.map +1 -1
- package/dist/workers/global/config/parse/host-rules-from-env.js +6 -2
- package/dist/workers/global/config/parse/host-rules-from-env.js.map +1 -1
- package/dist/workers/global/config/parse/index.js +15 -0
- package/dist/workers/global/config/parse/index.js.map +1 -1
- package/dist/workers/global/index.js +4 -2
- package/dist/workers/global/index.js.map +1 -1
- package/dist/workers/repository/cache.js +1 -2
- package/dist/workers/repository/cache.js.map +1 -1
- package/dist/workers/repository/config-migration/branch/migrated-data.js +2 -0
- package/dist/workers/repository/config-migration/branch/migrated-data.js.map +1 -1
- package/dist/workers/repository/index.js +1 -0
- package/dist/workers/repository/index.js.map +1 -1
- package/dist/workers/repository/init/merge.js +6 -3
- package/dist/workers/repository/init/merge.js.map +1 -1
- package/dist/workers/repository/onboarding/pr/config-description.js +3 -1
- package/dist/workers/repository/onboarding/pr/config-description.js.map +1 -1
- package/dist/workers/repository/onboarding/pr/index.js +4 -0
- package/dist/workers/repository/onboarding/pr/index.js.map +1 -1
- package/dist/workers/repository/process/extract-update.js +0 -1
- package/dist/workers/repository/process/extract-update.js.map +1 -1
- package/dist/workers/repository/process/fingerprint-fields.js +0 -1
- package/dist/workers/repository/process/fingerprint-fields.js.map +1 -1
- package/dist/workers/repository/process/libyear.js +2 -2
- package/dist/workers/repository/process/libyear.js.map +1 -1
- package/dist/workers/repository/process/lookup/index.js +15 -4
- package/dist/workers/repository/process/lookup/index.js.map +1 -1
- package/dist/workers/repository/process/lookup/timestamps.d.ts +18 -0
- package/dist/workers/repository/process/lookup/timestamps.js +69 -0
- package/dist/workers/repository/process/lookup/timestamps.js.map +1 -0
- package/dist/workers/repository/process/lookup/types.d.ts +1 -0
- package/dist/workers/repository/process/lookup/types.js.map +1 -1
- package/dist/workers/repository/process/lookup/utils.js +20 -9
- package/dist/workers/repository/process/lookup/utils.js.map +1 -1
- package/dist/workers/repository/process/sort.js +1 -1
- package/dist/workers/repository/process/sort.js.map +1 -1
- package/dist/workers/repository/process/vulnerabilities.js +1 -1
- package/dist/workers/repository/process/vulnerabilities.js.map +1 -1
- package/dist/workers/repository/process/write.js +1 -8
- package/dist/workers/repository/process/write.js.map +1 -1
- package/dist/workers/repository/reconfigure/utils.d.ts +2 -0
- package/dist/workers/repository/reconfigure/utils.js +16 -0
- package/dist/workers/repository/reconfigure/utils.js.map +1 -1
- package/dist/workers/repository/reconfigure/validate.js +6 -17
- package/dist/workers/repository/reconfigure/validate.js.map +1 -1
- package/dist/workers/repository/update/branch/auto-replace.js +25 -5
- package/dist/workers/repository/update/branch/auto-replace.js.map +1 -1
- package/dist/workers/repository/update/branch/commit.js +2 -0
- package/dist/workers/repository/update/branch/commit.js.map +1 -1
- package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js +17 -8
- package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js.map +1 -1
- package/dist/workers/repository/update/pr/body/config-description.js +26 -1
- package/dist/workers/repository/update/pr/body/config-description.js.map +1 -1
- package/dist/workers/repository/update/pr/body/index.js +21 -14
- package/dist/workers/repository/update/pr/body/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/api.js +8 -6
- package/dist/workers/repository/update/pr/changelog/api.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket/index.js +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.d.ts +3 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js +39 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/index.js.map +1 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.d.ts +8 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js +31 -0
- package/dist/workers/repository/update/pr/changelog/bitbucket-server/source.js.map +1 -0
- package/dist/workers/repository/update/pr/changelog/github/index.js +6 -3
- package/dist/workers/repository/update/pr/changelog/github/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/gitlab/index.js +1 -1
- package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/release-notes.js +12 -8
- package/dist/workers/repository/update/pr/changelog/release-notes.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/source.d.ts +1 -1
- package/dist/workers/repository/update/pr/changelog/source.js +1 -0
- package/dist/workers/repository/update/pr/changelog/source.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/types.d.ts +1 -1
- package/dist/workers/repository/update/pr/changelog/types.js.map +1 -1
- package/dist/workers/repository/update/pr/index.js +2 -4
- package/dist/workers/repository/update/pr/index.js.map +1 -1
- package/dist/workers/repository/updates/flatten.js +8 -4
- package/dist/workers/repository/updates/flatten.js.map +1 -1
- package/dist/workers/repository/updates/generate.js +3 -2
- package/dist/workers/repository/updates/generate.js.map +1 -1
- package/dist/workers/types.d.ts +1 -4
- package/dist/workers/types.js.map +1 -1
- package/package.json +86 -83
- package/renovate-schema.json +25 -10
- package/dist/modules/manager/github-actions/types.d.ts +0 -30
- package/dist/modules/manager/github-actions/types.js +0 -3
- package/dist/modules/manager/github-actions/types.js.map +0 -1
- package/dist/modules/manager/gitlabci/common.d.ts +0 -6
- package/dist/modules/manager/gitlabci/common.js +0 -30
- package/dist/modules/manager/gitlabci/common.js.map +0 -1
- package/dist/modules/manager/gitlabci/types.d.ts +0 -35
- package/dist/modules/manager/gitlabci/types.js +0 -3
- package/dist/modules/manager/gitlabci/types.js.map +0 -1
@@ -0,0 +1,405 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import type { PackageDependency } from '../types';
|
3
|
+
export type Channels = z.infer<typeof Channel>[];
|
4
|
+
declare const Channel: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
5
|
+
channel: z.ZodString;
|
6
|
+
priority: z.ZodNumber;
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
8
|
+
priority: number;
|
9
|
+
channel: string;
|
10
|
+
}, {
|
11
|
+
priority: number;
|
12
|
+
channel: string;
|
13
|
+
}>]>;
|
14
|
+
export interface PixiPackageDependency extends PackageDependency {
|
15
|
+
channel?: string;
|
16
|
+
channels?: Channels;
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* `$` of `pixi.toml` or `$.tool.pixi` of `pyproject.toml`
|
20
|
+
*/
|
21
|
+
export declare const PixiConfigSchema: z.ZodIntersection<z.ZodIntersection<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
22
|
+
workspace: z.ZodObject<{
|
23
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
24
|
+
channel: z.ZodString;
|
25
|
+
priority: z.ZodNumber;
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
27
|
+
priority: number;
|
28
|
+
channel: string;
|
29
|
+
}, {
|
30
|
+
priority: number;
|
31
|
+
channel: string;
|
32
|
+
}>]>, "many">>;
|
33
|
+
'requires-pixi': z.ZodOptional<z.ZodString>;
|
34
|
+
'channel-priority': z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"strict">, z.ZodLiteral<"disabled">]>>;
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
36
|
+
channels: (string | {
|
37
|
+
priority: number;
|
38
|
+
channel: string;
|
39
|
+
})[];
|
40
|
+
'channel-priority': "disabled" | "strict";
|
41
|
+
'requires-pixi'?: string | undefined;
|
42
|
+
}, {
|
43
|
+
channels?: (string | {
|
44
|
+
priority: number;
|
45
|
+
channel: string;
|
46
|
+
})[] | undefined;
|
47
|
+
'requires-pixi'?: string | undefined;
|
48
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
49
|
+
}>;
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
51
|
+
workspace: {
|
52
|
+
channels: (string | {
|
53
|
+
priority: number;
|
54
|
+
channel: string;
|
55
|
+
})[];
|
56
|
+
'channel-priority': "disabled" | "strict";
|
57
|
+
'requires-pixi'?: string | undefined;
|
58
|
+
};
|
59
|
+
}, {
|
60
|
+
workspace: {
|
61
|
+
channels?: (string | {
|
62
|
+
priority: number;
|
63
|
+
channel: string;
|
64
|
+
})[] | undefined;
|
65
|
+
'requires-pixi'?: string | undefined;
|
66
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
67
|
+
};
|
68
|
+
}>, {
|
69
|
+
project: {
|
70
|
+
channels: (string | {
|
71
|
+
priority: number;
|
72
|
+
channel: string;
|
73
|
+
})[];
|
74
|
+
'channel-priority': "disabled" | "strict";
|
75
|
+
'requires-pixi'?: string | undefined;
|
76
|
+
};
|
77
|
+
}, {
|
78
|
+
workspace: {
|
79
|
+
channels?: (string | {
|
80
|
+
priority: number;
|
81
|
+
channel: string;
|
82
|
+
})[] | undefined;
|
83
|
+
'requires-pixi'?: string | undefined;
|
84
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
85
|
+
};
|
86
|
+
}>, z.ZodObject<{
|
87
|
+
project: z.ZodObject<{
|
88
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
89
|
+
channel: z.ZodString;
|
90
|
+
priority: z.ZodNumber;
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
92
|
+
priority: number;
|
93
|
+
channel: string;
|
94
|
+
}, {
|
95
|
+
priority: number;
|
96
|
+
channel: string;
|
97
|
+
}>]>, "many">>;
|
98
|
+
'requires-pixi': z.ZodOptional<z.ZodString>;
|
99
|
+
'channel-priority': z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"strict">, z.ZodLiteral<"disabled">]>>;
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
101
|
+
channels: (string | {
|
102
|
+
priority: number;
|
103
|
+
channel: string;
|
104
|
+
})[];
|
105
|
+
'channel-priority': "disabled" | "strict";
|
106
|
+
'requires-pixi'?: string | undefined;
|
107
|
+
}, {
|
108
|
+
channels?: (string | {
|
109
|
+
priority: number;
|
110
|
+
channel: string;
|
111
|
+
})[] | undefined;
|
112
|
+
'requires-pixi'?: string | undefined;
|
113
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
114
|
+
}>;
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
116
|
+
project: {
|
117
|
+
channels: (string | {
|
118
|
+
priority: number;
|
119
|
+
channel: string;
|
120
|
+
})[];
|
121
|
+
'channel-priority': "disabled" | "strict";
|
122
|
+
'requires-pixi'?: string | undefined;
|
123
|
+
};
|
124
|
+
}, {
|
125
|
+
project: {
|
126
|
+
channels?: (string | {
|
127
|
+
priority: number;
|
128
|
+
channel: string;
|
129
|
+
})[] | undefined;
|
130
|
+
'requires-pixi'?: string | undefined;
|
131
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
132
|
+
};
|
133
|
+
}>]>, z.ZodObject<{
|
134
|
+
feature: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
135
|
+
channels?: (string | {
|
136
|
+
priority: number;
|
137
|
+
channel: string;
|
138
|
+
})[] | undefined;
|
139
|
+
} & {
|
140
|
+
pypi: PixiPackageDependency[];
|
141
|
+
conda: PixiPackageDependency[];
|
142
|
+
}>, Record<string, any>>, {
|
143
|
+
conda: PixiPackageDependency[];
|
144
|
+
pypi: PixiPackageDependency[];
|
145
|
+
}, Record<string, any>>>;
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
147
|
+
feature: {
|
148
|
+
conda: PixiPackageDependency[];
|
149
|
+
pypi: PixiPackageDependency[];
|
150
|
+
};
|
151
|
+
}, {
|
152
|
+
feature?: Record<string, any> | undefined;
|
153
|
+
}>>, z.ZodEffects<z.ZodObject<{
|
154
|
+
dependencies: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
155
|
+
currentValue: string;
|
156
|
+
versioning: string;
|
157
|
+
datasource: string;
|
158
|
+
depType: string;
|
159
|
+
channel: string | undefined;
|
160
|
+
}>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>>;
|
161
|
+
'pypi-dependencies': z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
162
|
+
currentValue: string;
|
163
|
+
versioning: string;
|
164
|
+
datasource: string;
|
165
|
+
depType: string;
|
166
|
+
} | {
|
167
|
+
currentValue: string | undefined;
|
168
|
+
packageName: string;
|
169
|
+
datasource: string;
|
170
|
+
depType: string;
|
171
|
+
versioning: string;
|
172
|
+
skipStage: "extract";
|
173
|
+
skipReason: "unspecified-version";
|
174
|
+
} | {
|
175
|
+
currentValue: string;
|
176
|
+
packageName: string;
|
177
|
+
datasource: string;
|
178
|
+
depType: string;
|
179
|
+
versioning: string;
|
180
|
+
skipStage?: undefined;
|
181
|
+
skipReason?: undefined;
|
182
|
+
}>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>>;
|
183
|
+
target: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
184
|
+
dependencies: PackageDependency<Record<string, any>>[];
|
185
|
+
'pypi-dependencies': PackageDependency<Record<string, any>>[];
|
186
|
+
}>, Record<string, any>>, {
|
187
|
+
pypi: PixiPackageDependency[];
|
188
|
+
conda: PixiPackageDependency[];
|
189
|
+
}, Record<string, any>>>>;
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
191
|
+
target: {
|
192
|
+
pypi: PixiPackageDependency[];
|
193
|
+
conda: PixiPackageDependency[];
|
194
|
+
};
|
195
|
+
dependencies: PackageDependency<Record<string, any>>[];
|
196
|
+
'pypi-dependencies': PackageDependency<Record<string, any>>[];
|
197
|
+
}, {
|
198
|
+
target?: Record<string, any> | undefined;
|
199
|
+
dependencies?: Record<string, any> | undefined;
|
200
|
+
'pypi-dependencies'?: Record<string, any> | undefined;
|
201
|
+
}>, {
|
202
|
+
pypi: PixiPackageDependency[];
|
203
|
+
conda: PixiPackageDependency[];
|
204
|
+
}, {
|
205
|
+
target?: Record<string, any> | undefined;
|
206
|
+
dependencies?: Record<string, any> | undefined;
|
207
|
+
'pypi-dependencies'?: Record<string, any> | undefined;
|
208
|
+
}>>;
|
209
|
+
export type PixiConfig = z.infer<typeof PixiConfigSchema>;
|
210
|
+
export declare const PixiToml: z.ZodPipeline<z.ZodEffects<z.ZodString, unknown, string>, z.ZodIntersection<z.ZodIntersection<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
211
|
+
workspace: z.ZodObject<{
|
212
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
213
|
+
channel: z.ZodString;
|
214
|
+
priority: z.ZodNumber;
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
216
|
+
priority: number;
|
217
|
+
channel: string;
|
218
|
+
}, {
|
219
|
+
priority: number;
|
220
|
+
channel: string;
|
221
|
+
}>]>, "many">>;
|
222
|
+
'requires-pixi': z.ZodOptional<z.ZodString>;
|
223
|
+
'channel-priority': z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"strict">, z.ZodLiteral<"disabled">]>>;
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
225
|
+
channels: (string | {
|
226
|
+
priority: number;
|
227
|
+
channel: string;
|
228
|
+
})[];
|
229
|
+
'channel-priority': "disabled" | "strict";
|
230
|
+
'requires-pixi'?: string | undefined;
|
231
|
+
}, {
|
232
|
+
channels?: (string | {
|
233
|
+
priority: number;
|
234
|
+
channel: string;
|
235
|
+
})[] | undefined;
|
236
|
+
'requires-pixi'?: string | undefined;
|
237
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
238
|
+
}>;
|
239
|
+
}, "strip", z.ZodTypeAny, {
|
240
|
+
workspace: {
|
241
|
+
channels: (string | {
|
242
|
+
priority: number;
|
243
|
+
channel: string;
|
244
|
+
})[];
|
245
|
+
'channel-priority': "disabled" | "strict";
|
246
|
+
'requires-pixi'?: string | undefined;
|
247
|
+
};
|
248
|
+
}, {
|
249
|
+
workspace: {
|
250
|
+
channels?: (string | {
|
251
|
+
priority: number;
|
252
|
+
channel: string;
|
253
|
+
})[] | undefined;
|
254
|
+
'requires-pixi'?: string | undefined;
|
255
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
256
|
+
};
|
257
|
+
}>, {
|
258
|
+
project: {
|
259
|
+
channels: (string | {
|
260
|
+
priority: number;
|
261
|
+
channel: string;
|
262
|
+
})[];
|
263
|
+
'channel-priority': "disabled" | "strict";
|
264
|
+
'requires-pixi'?: string | undefined;
|
265
|
+
};
|
266
|
+
}, {
|
267
|
+
workspace: {
|
268
|
+
channels?: (string | {
|
269
|
+
priority: number;
|
270
|
+
channel: string;
|
271
|
+
})[] | undefined;
|
272
|
+
'requires-pixi'?: string | undefined;
|
273
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
274
|
+
};
|
275
|
+
}>, z.ZodObject<{
|
276
|
+
project: z.ZodObject<{
|
277
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
278
|
+
channel: z.ZodString;
|
279
|
+
priority: z.ZodNumber;
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
281
|
+
priority: number;
|
282
|
+
channel: string;
|
283
|
+
}, {
|
284
|
+
priority: number;
|
285
|
+
channel: string;
|
286
|
+
}>]>, "many">>;
|
287
|
+
'requires-pixi': z.ZodOptional<z.ZodString>;
|
288
|
+
'channel-priority': z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"strict">, z.ZodLiteral<"disabled">]>>;
|
289
|
+
}, "strip", z.ZodTypeAny, {
|
290
|
+
channels: (string | {
|
291
|
+
priority: number;
|
292
|
+
channel: string;
|
293
|
+
})[];
|
294
|
+
'channel-priority': "disabled" | "strict";
|
295
|
+
'requires-pixi'?: string | undefined;
|
296
|
+
}, {
|
297
|
+
channels?: (string | {
|
298
|
+
priority: number;
|
299
|
+
channel: string;
|
300
|
+
})[] | undefined;
|
301
|
+
'requires-pixi'?: string | undefined;
|
302
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
303
|
+
}>;
|
304
|
+
}, "strip", z.ZodTypeAny, {
|
305
|
+
project: {
|
306
|
+
channels: (string | {
|
307
|
+
priority: number;
|
308
|
+
channel: string;
|
309
|
+
})[];
|
310
|
+
'channel-priority': "disabled" | "strict";
|
311
|
+
'requires-pixi'?: string | undefined;
|
312
|
+
};
|
313
|
+
}, {
|
314
|
+
project: {
|
315
|
+
channels?: (string | {
|
316
|
+
priority: number;
|
317
|
+
channel: string;
|
318
|
+
})[] | undefined;
|
319
|
+
'requires-pixi'?: string | undefined;
|
320
|
+
'channel-priority'?: "disabled" | "strict" | undefined;
|
321
|
+
};
|
322
|
+
}>]>, z.ZodObject<{
|
323
|
+
feature: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
324
|
+
channels?: (string | {
|
325
|
+
priority: number;
|
326
|
+
channel: string;
|
327
|
+
})[] | undefined;
|
328
|
+
} & {
|
329
|
+
pypi: PixiPackageDependency[];
|
330
|
+
conda: PixiPackageDependency[];
|
331
|
+
}>, Record<string, any>>, {
|
332
|
+
conda: PixiPackageDependency[];
|
333
|
+
pypi: PixiPackageDependency[];
|
334
|
+
}, Record<string, any>>>;
|
335
|
+
}, "strip", z.ZodTypeAny, {
|
336
|
+
feature: {
|
337
|
+
conda: PixiPackageDependency[];
|
338
|
+
pypi: PixiPackageDependency[];
|
339
|
+
};
|
340
|
+
}, {
|
341
|
+
feature?: Record<string, any> | undefined;
|
342
|
+
}>>, z.ZodEffects<z.ZodObject<{
|
343
|
+
dependencies: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
344
|
+
currentValue: string;
|
345
|
+
versioning: string;
|
346
|
+
datasource: string;
|
347
|
+
depType: string;
|
348
|
+
channel: string | undefined;
|
349
|
+
}>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>>;
|
350
|
+
'pypi-dependencies': z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
351
|
+
currentValue: string;
|
352
|
+
versioning: string;
|
353
|
+
datasource: string;
|
354
|
+
depType: string;
|
355
|
+
} | {
|
356
|
+
currentValue: string | undefined;
|
357
|
+
packageName: string;
|
358
|
+
datasource: string;
|
359
|
+
depType: string;
|
360
|
+
versioning: string;
|
361
|
+
skipStage: "extract";
|
362
|
+
skipReason: "unspecified-version";
|
363
|
+
} | {
|
364
|
+
currentValue: string;
|
365
|
+
packageName: string;
|
366
|
+
datasource: string;
|
367
|
+
depType: string;
|
368
|
+
versioning: string;
|
369
|
+
skipStage?: undefined;
|
370
|
+
skipReason?: undefined;
|
371
|
+
}>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>>;
|
372
|
+
target: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, {
|
373
|
+
dependencies: PackageDependency<Record<string, any>>[];
|
374
|
+
'pypi-dependencies': PackageDependency<Record<string, any>>[];
|
375
|
+
}>, Record<string, any>>, {
|
376
|
+
pypi: PixiPackageDependency[];
|
377
|
+
conda: PixiPackageDependency[];
|
378
|
+
}, Record<string, any>>>>;
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
380
|
+
target: {
|
381
|
+
pypi: PixiPackageDependency[];
|
382
|
+
conda: PixiPackageDependency[];
|
383
|
+
};
|
384
|
+
dependencies: PackageDependency<Record<string, any>>[];
|
385
|
+
'pypi-dependencies': PackageDependency<Record<string, any>>[];
|
386
|
+
}, {
|
387
|
+
target?: Record<string, any> | undefined;
|
388
|
+
dependencies?: Record<string, any> | undefined;
|
389
|
+
'pypi-dependencies'?: Record<string, any> | undefined;
|
390
|
+
}>, {
|
391
|
+
pypi: PixiPackageDependency[];
|
392
|
+
conda: PixiPackageDependency[];
|
393
|
+
}, {
|
394
|
+
target?: Record<string, any> | undefined;
|
395
|
+
dependencies?: Record<string, any> | undefined;
|
396
|
+
'pypi-dependencies'?: Record<string, any> | undefined;
|
397
|
+
}>>>;
|
398
|
+
export declare const LockfileYaml: z.ZodPipeline<z.ZodEffects<z.ZodString, string | number | boolean | import("type-fest").JsonObject | import("type-fest").JsonValue[] | readonly import("type-fest").JsonValue[] | null, string>, z.ZodObject<{
|
399
|
+
version: z.ZodNumber;
|
400
|
+
}, "strip", z.ZodTypeAny, {
|
401
|
+
version: number;
|
402
|
+
}, {
|
403
|
+
version: number;
|
404
|
+
}>>;
|
405
|
+
export {};
|
@@ -0,0 +1,147 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LockfileYaml = exports.PixiToml = exports.PixiConfigSchema = void 0;
|
4
|
+
const tslib_1 = require("tslib");
|
5
|
+
const zod_1 = require("zod");
|
6
|
+
const schema_utils_1 = require("../../../util/schema-utils");
|
7
|
+
const conda_1 = require("../../datasource/conda/");
|
8
|
+
const git_refs_1 = require("../../datasource/git-refs");
|
9
|
+
const pypi_1 = require("../../datasource/pypi");
|
10
|
+
const condaVersion = tslib_1.__importStar(require("../../versioning/conda/"));
|
11
|
+
const git_1 = require("../../versioning/git");
|
12
|
+
const pep440_1 = require("../../versioning/pep440/");
|
13
|
+
const Channel = zod_1.z.union([
|
14
|
+
zod_1.z.string(),
|
15
|
+
zod_1.z.object({ channel: zod_1.z.string(), priority: zod_1.z.number() }),
|
16
|
+
]);
|
17
|
+
function collectNamedPackages(packages) {
|
18
|
+
return Object.entries(packages).map(([depName, config]) => {
|
19
|
+
return {
|
20
|
+
...config,
|
21
|
+
depName,
|
22
|
+
};
|
23
|
+
});
|
24
|
+
}
|
25
|
+
const PypiDependency = zod_1.z
|
26
|
+
.union([
|
27
|
+
zod_1.z.string().transform((version) => ({ version })),
|
28
|
+
zod_1.z.object({ version: zod_1.z.string() }),
|
29
|
+
])
|
30
|
+
.transform(({ version }) => {
|
31
|
+
return {
|
32
|
+
currentValue: version,
|
33
|
+
versioning: pep440_1.id,
|
34
|
+
datasource: pypi_1.PypiDatasource.id,
|
35
|
+
depType: 'pypi-dependencies',
|
36
|
+
};
|
37
|
+
});
|
38
|
+
const PypiGitDependency = zod_1.z
|
39
|
+
.object({ git: zod_1.z.string(), rev: zod_1.z.optional(zod_1.z.string()) })
|
40
|
+
.transform(({ git, rev }) => {
|
41
|
+
// empty ref default to HEAD, so do we not need to do anything
|
42
|
+
if (!rev) {
|
43
|
+
return {
|
44
|
+
currentValue: rev,
|
45
|
+
packageName: git,
|
46
|
+
datasource: git_refs_1.GitRefsDatasource.id,
|
47
|
+
depType: 'pypi-dependencies',
|
48
|
+
versioning: git_1.id,
|
49
|
+
skipStage: 'extract',
|
50
|
+
skipReason: 'unspecified-version',
|
51
|
+
};
|
52
|
+
}
|
53
|
+
return {
|
54
|
+
currentValue: rev,
|
55
|
+
packageName: git,
|
56
|
+
datasource: git_refs_1.GitRefsDatasource.id,
|
57
|
+
depType: 'pypi-dependencies',
|
58
|
+
versioning: git_1.id,
|
59
|
+
};
|
60
|
+
});
|
61
|
+
const PypiDependencies = (0, schema_utils_1.LooseRecord)(zod_1.z.string(), zod_1.z.union([PypiDependency, PypiGitDependency])).transform(collectNamedPackages);
|
62
|
+
const CondaDependency = zod_1.z
|
63
|
+
.union([
|
64
|
+
zod_1.z.string().transform((version) => ({ version, channel: undefined })),
|
65
|
+
zod_1.z.object({ version: zod_1.z.string(), channel: zod_1.z.optional(zod_1.z.string()) }),
|
66
|
+
])
|
67
|
+
.transform(({ version, channel }) => {
|
68
|
+
return {
|
69
|
+
currentValue: version,
|
70
|
+
versioning: condaVersion.id,
|
71
|
+
datasource: conda_1.CondaDatasource.id,
|
72
|
+
depType: 'dependencies',
|
73
|
+
channel,
|
74
|
+
};
|
75
|
+
});
|
76
|
+
const CondaDependencies = (0, schema_utils_1.LooseRecord)(zod_1.z.string(), CondaDependency).transform(collectNamedPackages);
|
77
|
+
const Targets = (0, schema_utils_1.LooseRecord)(zod_1.z.string(), zod_1.z.object({
|
78
|
+
dependencies: zod_1.z.optional(CondaDependencies).default({}),
|
79
|
+
'pypi-dependencies': zod_1.z.optional(PypiDependencies).default({}),
|
80
|
+
})).transform((val) => {
|
81
|
+
const conda = [];
|
82
|
+
const pypi = [];
|
83
|
+
for (const value of Object.values(val)) {
|
84
|
+
pypi.push(...value['pypi-dependencies']);
|
85
|
+
conda.push(...value.dependencies);
|
86
|
+
}
|
87
|
+
return { pypi, conda };
|
88
|
+
});
|
89
|
+
const Project = zod_1.z.object({
|
90
|
+
channels: zod_1.z.array(Channel).default([]),
|
91
|
+
'requires-pixi': zod_1.z.string().optional(),
|
92
|
+
'channel-priority': zod_1.z
|
93
|
+
.union([zod_1.z.literal('strict'), zod_1.z.literal('disabled')])
|
94
|
+
.default('strict'),
|
95
|
+
});
|
96
|
+
const DependenciesMixin = zod_1.z
|
97
|
+
.object({
|
98
|
+
dependencies: zod_1.z.optional(CondaDependencies).default({}),
|
99
|
+
'pypi-dependencies': zod_1.z.optional(PypiDependencies).default({}),
|
100
|
+
target: zod_1.z.optional(Targets).default({}),
|
101
|
+
})
|
102
|
+
.transform((val) => {
|
103
|
+
return {
|
104
|
+
conda: [...val.dependencies, ...val.target.conda],
|
105
|
+
pypi: [...val['pypi-dependencies'], ...val.target.pypi],
|
106
|
+
};
|
107
|
+
});
|
108
|
+
const Features = (0, schema_utils_1.LooseRecord)(zod_1.z.string(), zod_1.z
|
109
|
+
.object({
|
110
|
+
channels: zod_1.z.array(Channel).optional(),
|
111
|
+
})
|
112
|
+
.and(DependenciesMixin)).transform((features) => {
|
113
|
+
const pypi = [];
|
114
|
+
const conda = [];
|
115
|
+
for (const feature of Object.values(features)) {
|
116
|
+
conda.push(...feature.conda.map((item) => {
|
117
|
+
return {
|
118
|
+
...item,
|
119
|
+
channels: feature.channels,
|
120
|
+
};
|
121
|
+
}));
|
122
|
+
pypi.push(...feature.pypi);
|
123
|
+
}
|
124
|
+
return { pypi, conda };
|
125
|
+
});
|
126
|
+
const PixiWorkspace = zod_1.z
|
127
|
+
.object({
|
128
|
+
workspace: Project,
|
129
|
+
})
|
130
|
+
.transform((val) => {
|
131
|
+
return { project: val.workspace };
|
132
|
+
});
|
133
|
+
const PixiProject = zod_1.z.object({
|
134
|
+
project: Project,
|
135
|
+
});
|
136
|
+
/**
|
137
|
+
* `$` of `pixi.toml` or `$.tool.pixi` of `pyproject.toml`
|
138
|
+
*/
|
139
|
+
exports.PixiConfigSchema = zod_1.z
|
140
|
+
.union([PixiWorkspace, PixiProject])
|
141
|
+
.and(zod_1.z.object({ feature: Features.default({}) }))
|
142
|
+
.and(DependenciesMixin);
|
143
|
+
exports.PixiToml = schema_utils_1.Toml.pipe(exports.PixiConfigSchema);
|
144
|
+
exports.LockfileYaml = schema_utils_1.Yaml.pipe(zod_1.z.object({
|
145
|
+
version: zod_1.z.number(),
|
146
|
+
}));
|
147
|
+
//# sourceMappingURL=schema.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../lib/modules/manager/pixi/schema.ts"],"names":[],"mappings":"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","sourcesContent":["import { z } from 'zod';\nimport { LooseRecord, Toml, Yaml } from '../../../util/schema-utils';\nimport { CondaDatasource } from '../../datasource/conda/';\nimport { GitRefsDatasource } from '../../datasource/git-refs';\nimport { PypiDatasource } from '../../datasource/pypi';\nimport * as condaVersion from '../../versioning/conda/';\nimport { id as gitRefVersionID } from '../../versioning/git';\nimport { id as pep440VersionID } from '../../versioning/pep440/';\nimport type { PackageDependency } from '../types';\n\nexport type Channels = z.infer<typeof Channel>[];\n\nconst Channel = z.union([\n z.string(),\n z.object({ channel: z.string(), priority: z.number() }),\n]);\n\nexport interface PixiPackageDependency extends PackageDependency {\n channel?: string;\n channels?: Channels;\n}\n\nfunction collectNamedPackages(\n packages: Record<string, PackageDependency>,\n): PackageDependency[] {\n return Object.entries(packages).map(([depName, config]) => {\n return {\n ...config,\n depName,\n };\n });\n}\n\nconst PypiDependency = z\n .union([\n z.string().transform((version) => ({ version })),\n z.object({ version: z.string() }),\n ])\n .transform(({ version }) => {\n return {\n currentValue: version,\n versioning: pep440VersionID,\n datasource: PypiDatasource.id,\n depType: 'pypi-dependencies',\n } satisfies PixiPackageDependency;\n });\n\nconst PypiGitDependency = z\n .object({ git: z.string(), rev: z.optional(z.string()) })\n .transform(({ git, rev }) => {\n // empty ref default to HEAD, so do we not need to do anything\n if (!rev) {\n return {\n currentValue: rev,\n packageName: git,\n datasource: GitRefsDatasource.id,\n depType: 'pypi-dependencies',\n versioning: gitRefVersionID,\n skipStage: 'extract',\n skipReason: 'unspecified-version',\n } satisfies PixiPackageDependency;\n }\n\n return {\n currentValue: rev,\n packageName: git,\n datasource: GitRefsDatasource.id,\n depType: 'pypi-dependencies',\n versioning: gitRefVersionID,\n } satisfies PixiPackageDependency;\n });\n\nconst PypiDependencies = LooseRecord(\n z.string(),\n z.union([PypiDependency, PypiGitDependency]),\n).transform(collectNamedPackages);\n\nconst CondaDependency = z\n .union([\n z.string().transform((version) => ({ version, channel: undefined })),\n z.object({ version: z.string(), channel: z.optional(z.string()) }),\n ])\n .transform(({ version, channel }) => {\n return {\n currentValue: version,\n versioning: condaVersion.id,\n datasource: CondaDatasource.id,\n depType: 'dependencies',\n channel,\n } satisfies PixiPackageDependency;\n });\n\nconst CondaDependencies = LooseRecord(z.string(), CondaDependency).transform(\n collectNamedPackages,\n);\n\nconst Targets = LooseRecord(\n z.string(),\n z.object({\n dependencies: z.optional(CondaDependencies).default({}),\n 'pypi-dependencies': z.optional(PypiDependencies).default({}),\n }),\n).transform((val) => {\n const conda: PixiPackageDependency[] = [];\n const pypi: PixiPackageDependency[] = [];\n for (const value of Object.values(val)) {\n pypi.push(...value['pypi-dependencies']);\n\n conda.push(...value.dependencies);\n }\n\n return { pypi, conda };\n});\n\nconst Project = z.object({\n channels: z.array(Channel).default([]),\n 'requires-pixi': z.string().optional(),\n 'channel-priority': z\n .union([z.literal('strict'), z.literal('disabled')])\n .default('strict'),\n});\n\nconst DependenciesMixin = z\n .object({\n dependencies: z.optional(CondaDependencies).default({}),\n 'pypi-dependencies': z.optional(PypiDependencies).default({}),\n target: z.optional(Targets).default({}),\n })\n .transform(\n (\n val,\n ): { pypi: PixiPackageDependency[]; conda: PixiPackageDependency[] } => {\n return {\n conda: [...val.dependencies, ...val.target.conda],\n pypi: [...val['pypi-dependencies'], ...val.target.pypi],\n };\n },\n );\n\nconst Features = LooseRecord(\n z.string(),\n z\n .object({\n channels: z.array(Channel).optional(),\n })\n .and(DependenciesMixin),\n).transform(\n (\n features,\n ): {\n conda: PixiPackageDependency[];\n pypi: PixiPackageDependency[];\n } => {\n const pypi: PixiPackageDependency[] = [];\n const conda: PixiPackageDependency[] = [];\n\n for (const feature of Object.values(features)) {\n conda.push(\n ...feature.conda.map((item) => {\n return {\n ...item,\n channels: feature.channels,\n };\n }),\n );\n\n pypi.push(...feature.pypi);\n }\n\n return { pypi, conda };\n },\n);\n\nconst PixiWorkspace = z\n .object({\n workspace: Project,\n })\n .transform((val) => {\n return { project: val.workspace };\n });\n\nconst PixiProject = z.object({\n project: Project,\n});\n\n/**\n * `$` of `pixi.toml` or `$.tool.pixi` of `pyproject.toml`\n */\nexport const PixiConfigSchema = z\n .union([PixiWorkspace, PixiProject])\n .and(z.object({ feature: Features.default({}) }))\n .and(DependenciesMixin);\n\nexport type PixiConfig = z.infer<typeof PixiConfigSchema>;\n\nexport const PixiToml = Toml.pipe(PixiConfigSchema);\n\nexport const LockfileYaml = Yaml.pipe(\n z.object({\n version: z.number(),\n }),\n);\n"]}
|
@@ -21,7 +21,7 @@ const util_1 = require("../../datasource/util");
|
|
21
21
|
const schema_1 = require("./schema");
|
22
22
|
function getPythonConstraint(pyProjectContent, existingLockFileContent) {
|
23
23
|
// Read Python version from `pyproject.toml` first as it could have been updated
|
24
|
-
const pyprojectPythonConstraint = result_1.Result.parse(pyProjectContent, schema_1.PoetrySchemaToml.transform(({ packageFileContent }) => packageFileContent.deps.find((dep) => dep.depName === 'python')
|
24
|
+
const pyprojectPythonConstraint = result_1.Result.parse((0, toml_1.massage)(pyProjectContent), schema_1.PoetrySchemaToml.transform(({ packageFileContent }) => packageFileContent.deps.find((dep) => dep.depName === 'python')
|
25
25
|
?.currentValue)).unwrapOrNull();
|
26
26
|
if (pyprojectPythonConstraint) {
|
27
27
|
logger_1.logger.debug('Using python version from pyproject.toml');
|
@@ -48,7 +48,7 @@ function getPoetryRequirement(pyProjectContent, existingLockFileContent) {
|
|
48
48
|
logger_1.logger.debug(`Using poetry version ${lockfilePoetryConstraint} from poetry.lock metadata`);
|
49
49
|
return lockfilePoetryConstraint;
|
50
50
|
}
|
51
|
-
const { val: pyprojectPoetryConstraint } = result_1.Result.parse(pyProjectContent, schema_1.PoetrySchemaToml.transform(({ poetryRequirement }) => poetryRequirement)).unwrap();
|
51
|
+
const { val: pyprojectPoetryConstraint } = result_1.Result.parse((0, toml_1.massage)(pyProjectContent), schema_1.PoetrySchemaToml.transform(({ poetryRequirement }) => poetryRequirement)).unwrap();
|
52
52
|
if (pyprojectPoetryConstraint) {
|
53
53
|
logger_1.logger.debug(`Using poetry version ${pyprojectPoetryConstraint} from pyproject.toml`);
|
54
54
|
return pyprojectPoetryConstraint;
|
@@ -58,7 +58,7 @@ function getPoetryRequirement(pyProjectContent, existingLockFileContent) {
|
|
58
58
|
function getPoetrySources(content, fileName) {
|
59
59
|
let pyprojectFile;
|
60
60
|
try {
|
61
|
-
pyprojectFile = (0, toml_1.parse)(content);
|
61
|
+
pyprojectFile = (0, toml_1.parse)((0, toml_1.massage)(content));
|
62
62
|
}
|
63
63
|
catch (err) {
|
64
64
|
logger_1.logger.debug({ err }, 'Error parsing pyproject.toml file');
|
@@ -163,7 +163,6 @@ async function updateArtifacts({ packageFileName, updatedDeps, newPackageFileCon
|
|
163
163
|
cwdFile: packageFileName,
|
164
164
|
extraEnv,
|
165
165
|
docker: {},
|
166
|
-
userConfiguredEnv: config.env,
|
167
166
|
toolConstraints: [
|
168
167
|
{ toolName: 'python', constraint: pythonConstraint },
|
169
168
|
{ toolName: 'poetry', constraint: poetryConstraint },
|