renovate 40.0.0-next.2 → 40.0.0-next.20
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/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/options/index.js +3 -3
- 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/gitea/index.js +0 -1
- package/dist/config/presets/gitea/index.js.map +1 -1
- package/dist/config/presets/github/index.js +0 -1
- 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 +1 -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 +3 -4
- package/dist/config/presets/internal/custom-managers.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/schema.d.ts +2 -2
- 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/data/monorepo.json +2 -1
- package/dist/instrumentation/index.js +5 -3
- 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 +0 -3
- 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 +6 -11
- package/dist/logger/utils.js.map +1 -1
- package/dist/modules/datasource/artifactory/index.js +1 -1
- package/dist/modules/datasource/artifactory/index.js.map +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js +11 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/schema.d.ts +16 -0
- package/dist/modules/datasource/azure-pipelines-tasks/schema.js +2 -0
- package/dist/modules/datasource/azure-pipelines-tasks/schema.js.map +1 -1
- package/dist/modules/datasource/crate/index.js +1 -1
- 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/schema.d.ts +5 -5
- package/dist/modules/datasource/deb/index.js +1 -1
- package/dist/modules/datasource/deb/index.js.map +1 -1
- package/dist/modules/datasource/deno/schema.d.ts +8 -8
- package/dist/modules/datasource/docker/common.js +1 -1
- package/dist/modules/datasource/docker/common.js.map +1 -1
- package/dist/modules/datasource/docker/index.js +5 -3
- package/dist/modules/datasource/docker/index.js.map +1 -1
- package/dist/modules/datasource/docker/schema.d.ts +32 -32
- package/dist/modules/datasource/galaxy/schema.d.ts +1 -1
- package/dist/modules/datasource/galaxy-collection/schema.d.ts +3 -3
- package/dist/modules/datasource/gitea-releases/schema.d.ts +4 -4
- 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/go/base.js +1 -1
- package/dist/modules/datasource/go/base.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 +1 -1
- package/dist/modules/datasource/golang-version/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 +2 -2
- package/dist/modules/datasource/index.js.map +1 -1
- package/dist/modules/datasource/maven/util.js +1 -1
- package/dist/modules/datasource/maven/util.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 +1 -1
- package/dist/modules/datasource/nuget/v3.js.map +1 -1
- package/dist/modules/datasource/packagist/schema.d.ts +30 -30
- package/dist/modules/datasource/pod/index.js +1 -1
- package/dist/modules/datasource/pod/index.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/ruby-version/index.js +1 -1
- package/dist/modules/datasource/ruby-version/index.js.map +1 -1
- package/dist/modules/datasource/rubygems/index.js +1 -1
- 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/terraform-provider/index.js +1 -1
- package/dist/modules/datasource/terraform-provider/index.js.map +1 -1
- package/dist/modules/datasource/unity3d/index.d.ts +4 -1
- package/dist/modules/datasource/unity3d/index.js +36 -42
- package/dist/modules/datasource/unity3d/index.js.map +1 -1
- package/dist/modules/datasource/unity3d/schema.d.ts +47 -0
- package/dist/modules/datasource/unity3d/schema.js +17 -0
- package/dist/modules/datasource/unity3d/schema.js.map +1 -0
- package/dist/modules/manager/argocd/schema.d.ts +10 -10
- package/dist/modules/manager/azure-pipelines/schema.d.ts +10 -10
- package/dist/modules/manager/batect/schema.d.ts +6 -6
- 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 +9 -9
- package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
- package/dist/modules/manager/bazel/rules/git.js +7 -1
- 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/oci.d.ts +3 -3
- package/dist/modules/manager/bazel-module/parser/fragments.d.ts +40 -40
- package/dist/modules/manager/bazel-module/parser/maven.d.ts +27 -27
- package/dist/modules/manager/bazel-module/parser/oci.d.ts +17 -17
- package/dist/modules/manager/bazel-module/rules.d.ts +40 -40
- package/dist/modules/manager/bundler/artifacts.js.map +1 -1
- package/dist/modules/manager/cargo/schema.d.ts +100 -100
- package/dist/modules/manager/circleci/schema.d.ts +6 -6
- package/dist/modules/manager/composer/schema.d.ts +40 -40
- package/dist/modules/manager/composer/utils.js +9 -6
- package/dist/modules/manager/composer/utils.js.map +1 -1
- package/dist/modules/manager/crossplane/schema.d.ts +2 -2
- package/dist/modules/manager/custom/jsonata/index.js +4 -0
- package/dist/modules/manager/custom/jsonata/index.js.map +1 -1
- package/dist/modules/manager/custom/jsonata/schema.d.ts +7 -7
- package/dist/modules/manager/devbox/artifacts.d.ts +1 -1
- package/dist/modules/manager/devbox/artifacts.js +29 -11
- package/dist/modules/manager/devbox/artifacts.js.map +1 -1
- package/dist/modules/manager/fingerprint.generated.js +68 -68
- package/dist/modules/manager/fingerprint.generated.js.map +1 -1
- package/dist/modules/manager/fleet/schema.d.ts +12 -12
- package/dist/modules/manager/flux/schema.d.ts +50 -50
- package/dist/modules/manager/glasskube/schema.d.ts +8 -8
- package/dist/modules/manager/gradle-wrapper/artifacts.js +1 -1
- package/dist/modules/manager/gradle-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/maven/extract.js +3 -1
- package/dist/modules/manager/maven/extract.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/nix/schema.d.ts +24 -24
- package/dist/modules/manager/npm/schema.d.ts +13 -13
- package/dist/modules/manager/nuget/schema.d.ts +8 -8
- package/dist/modules/manager/ocb/schema.d.ts +6 -6
- package/dist/modules/manager/pep621/schema.d.ts +55 -55
- package/dist/modules/manager/pep621/utils.js +1 -1
- package/dist/modules/manager/pep621/utils.js.map +1 -1
- package/dist/modules/manager/poetry/artifacts.js +3 -3
- 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 +48 -48
- package/dist/modules/manager/sveltos/schema.d.ts +12 -12
- package/dist/modules/manager/terraform/lockfile/hash.d.ts +1 -1
- package/dist/modules/manager/vendir/schema.d.ts +27 -27
- package/dist/modules/platform/api.d.ts +1 -1
- package/dist/modules/platform/bitbucket/index.d.ts +1 -0
- package/dist/modules/platform/bitbucket/index.js +6 -1
- package/dist/modules/platform/bitbucket/index.js.map +1 -1
- package/dist/modules/platform/bitbucket/schema.d.ts +17 -17
- package/dist/modules/platform/bitbucket-server/index.d.ts +1 -1
- package/dist/modules/platform/bitbucket-server/index.js +13 -11
- package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/schema.d.ts +75 -0
- package/dist/modules/platform/bitbucket-server/schema.js +14 -1
- package/dist/modules/platform/bitbucket-server/schema.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/types.d.ts +2 -1
- 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 +1 -51
- package/dist/modules/platform/bitbucket-server/utils.js.map +1 -1
- package/dist/modules/platform/gerrit/client.js +1 -1
- package/dist/modules/platform/gerrit/client.js.map +1 -1
- package/dist/modules/platform/gitea/index.d.ts +1 -0
- package/dist/modules/platform/gitea/index.js +11 -0
- package/dist/modules/platform/gitea/index.js.map +1 -1
- package/dist/modules/platform/gitea/schema.d.ts +8 -8
- 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 +6 -4
- package/dist/modules/platform/github/index.js.map +1 -1
- package/dist/modules/platform/github/issue.d.ts +12 -12
- package/dist/modules/platform/github/schema.d.ts +65 -65
- package/dist/modules/platform/gitlab/index.d.ts +1 -0
- package/dist/modules/platform/gitlab/index.js +9 -0
- package/dist/modules/platform/gitlab/index.js.map +1 -1
- package/dist/modules/platform/scm.d.ts +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/npm/index.js +2 -1
- package/dist/modules/versioning/npm/index.js.map +1 -1
- package/dist/modules/versioning/schema.js +1 -1
- package/dist/modules/versioning/schema.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/decorator.js +2 -2
- package/dist/util/cache/package/decorator.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/repository/impl/base.d.ts +1 -1
- package/dist/util/exec/containerbase.js +12 -12
- package/dist/util/exec/containerbase.js.map +1 -1
- package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +5 -5
- 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 +5 -4
- package/dist/util/http/bitbucket-server.js +17 -20
- 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 +30 -31
- package/dist/util/http/bitbucket.js.map +1 -1
- package/dist/util/http/cache/abstract-http-cache-provider.js +1 -1
- package/dist/util/http/cache/abstract-http-cache-provider.js.map +1 -1
- 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 +12 -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 +64 -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 +56 -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.map +1 -1
- package/dist/util/http/http.d.ts +93 -0
- package/dist/util/http/http.js +339 -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/string.d.ts +15 -0
- package/dist/util/string.js +75 -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 +2 -6
- package/dist/util/yaml.js.map +1 -1
- package/dist/workers/global/config/parse/env.js +3 -2
- package/dist/workers/global/config/parse/env.js.map +1 -1
- package/dist/workers/global/config/parse/file.js +19 -9
- 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/repository/cache.js +0 -1
- package/dist/workers/repository/cache.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/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/gitlab/index.js +1 -1
- package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +1 -1
- package/package.json +44 -49
- package/renovate-schema.json +2 -1
@@ -8,21 +8,21 @@ export declare const PoetrySource: z.ZodObject<{
|
|
8
8
|
priority: z.ZodDefault<z.ZodEnum<["default", "primary", "secondary", "supplemental", "explicit"]>>;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
10
|
name: string;
|
11
|
-
priority: "
|
11
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
12
12
|
url?: string | undefined;
|
13
13
|
}, {
|
14
14
|
name: string;
|
15
15
|
url?: string | undefined;
|
16
|
-
priority?: "
|
16
|
+
priority?: "default" | "explicit" | "primary" | "secondary" | "supplemental" | undefined;
|
17
17
|
}>;
|
18
18
|
export type PoetrySource = z.infer<typeof PoetrySource>;
|
19
19
|
export declare const PoetrySources: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
|
20
20
|
name: string;
|
21
|
-
priority: "
|
21
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
22
22
|
url?: string | undefined;
|
23
23
|
}[], any[]>, {
|
24
24
|
name: string;
|
25
|
-
priority: "
|
25
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
26
26
|
url?: string | undefined;
|
27
27
|
}[], any[]>>;
|
28
28
|
export declare const PoetrySectionSchema: z.ZodEffects<z.ZodObject<{
|
@@ -32,34 +32,34 @@ export declare const PoetrySectionSchema: z.ZodEffects<z.ZodObject<{
|
|
32
32
|
group: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, PackageDependency<Record<string, any>>[]>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>;
|
33
33
|
source: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
|
34
34
|
name: string;
|
35
|
-
priority: "
|
35
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
36
36
|
url?: string | undefined;
|
37
37
|
}[], any[]>, {
|
38
38
|
name: string;
|
39
|
-
priority: "
|
39
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
40
40
|
url?: string | undefined;
|
41
41
|
}[], any[]>>;
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
43
43
|
source: {
|
44
44
|
name: string;
|
45
|
-
priority: "
|
45
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
46
46
|
url?: string | undefined;
|
47
47
|
}[];
|
48
48
|
group?: PackageDependency<Record<string, any>>[] | undefined;
|
49
|
-
version?: string | undefined;
|
50
49
|
dependencies?: PackageDependency<Record<string, any>>[] | undefined;
|
50
|
+
version?: string | undefined;
|
51
51
|
'dev-dependencies'?: PackageDependency<Record<string, any>>[] | undefined;
|
52
52
|
}, {
|
53
|
-
source?: unknown;
|
54
53
|
group?: Record<string, any> | undefined;
|
55
|
-
version?: unknown;
|
56
54
|
dependencies?: Record<string, any> | undefined;
|
55
|
+
version?: unknown;
|
56
|
+
source?: unknown;
|
57
57
|
'dev-dependencies'?: Record<string, any> | undefined;
|
58
58
|
}>, PackageFileContent<Record<string, any>>, {
|
59
|
-
source?: unknown;
|
60
59
|
group?: Record<string, any> | undefined;
|
61
|
-
version?: unknown;
|
62
60
|
dependencies?: Record<string, any> | undefined;
|
61
|
+
version?: unknown;
|
62
|
+
source?: unknown;
|
63
63
|
'dev-dependencies'?: Record<string, any> | undefined;
|
64
64
|
}>;
|
65
65
|
export type PoetrySectionSchema = z.infer<typeof PoetrySectionSchema>;
|
@@ -72,52 +72,52 @@ export declare const PoetrySchema: z.ZodEffects<z.ZodObject<{
|
|
72
72
|
group: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, PackageDependency<Record<string, any>>[]>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>;
|
73
73
|
source: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
|
74
74
|
name: string;
|
75
|
-
priority: "
|
75
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
76
76
|
url?: string | undefined;
|
77
77
|
}[], any[]>, {
|
78
78
|
name: string;
|
79
|
-
priority: "
|
79
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
80
80
|
url?: string | undefined;
|
81
81
|
}[], any[]>>;
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
83
83
|
source: {
|
84
84
|
name: string;
|
85
|
-
priority: "
|
85
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
86
86
|
url?: string | undefined;
|
87
87
|
}[];
|
88
88
|
group?: PackageDependency<Record<string, any>>[] | undefined;
|
89
|
-
version?: string | undefined;
|
90
89
|
dependencies?: PackageDependency<Record<string, any>>[] | undefined;
|
90
|
+
version?: string | undefined;
|
91
91
|
'dev-dependencies'?: PackageDependency<Record<string, any>>[] | undefined;
|
92
92
|
}, {
|
93
|
-
source?: unknown;
|
94
93
|
group?: Record<string, any> | undefined;
|
95
|
-
version?: unknown;
|
96
94
|
dependencies?: Record<string, any> | undefined;
|
95
|
+
version?: unknown;
|
96
|
+
source?: unknown;
|
97
97
|
'dev-dependencies'?: Record<string, any> | undefined;
|
98
98
|
}>, PackageFileContent<Record<string, any>>, {
|
99
|
-
source?: unknown;
|
100
99
|
group?: Record<string, any> | undefined;
|
101
|
-
version?: unknown;
|
102
100
|
dependencies?: Record<string, any> | undefined;
|
101
|
+
version?: unknown;
|
102
|
+
source?: unknown;
|
103
103
|
'dev-dependencies'?: Record<string, any> | undefined;
|
104
104
|
}>;
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
106
106
|
poetry: PackageFileContent<Record<string, any>>;
|
107
107
|
}, {
|
108
108
|
poetry: {
|
109
|
-
source?: unknown;
|
110
109
|
group?: Record<string, any> | undefined;
|
111
|
-
version?: unknown;
|
112
110
|
dependencies?: Record<string, any> | undefined;
|
111
|
+
version?: unknown;
|
112
|
+
source?: unknown;
|
113
113
|
'dev-dependencies'?: Record<string, any> | undefined;
|
114
114
|
};
|
115
115
|
}>, PackageFileContent<Record<string, any>>, {
|
116
116
|
poetry: {
|
117
|
-
source?: unknown;
|
118
117
|
group?: Record<string, any> | undefined;
|
119
|
-
version?: unknown;
|
120
118
|
dependencies?: Record<string, any> | undefined;
|
119
|
+
version?: unknown;
|
120
|
+
source?: unknown;
|
121
121
|
'dev-dependencies'?: Record<string, any> | undefined;
|
122
122
|
};
|
123
123
|
}>;
|
@@ -143,10 +143,10 @@ export declare const PoetrySchema: z.ZodEffects<z.ZodObject<{
|
|
143
143
|
}, {
|
144
144
|
tool: {
|
145
145
|
poetry: {
|
146
|
-
source?: unknown;
|
147
146
|
group?: Record<string, any> | undefined;
|
148
|
-
version?: unknown;
|
149
147
|
dependencies?: Record<string, any> | undefined;
|
148
|
+
version?: unknown;
|
149
|
+
source?: unknown;
|
150
150
|
'dev-dependencies'?: Record<string, any> | undefined;
|
151
151
|
};
|
152
152
|
};
|
@@ -157,10 +157,10 @@ export declare const PoetrySchema: z.ZodEffects<z.ZodObject<{
|
|
157
157
|
}, {
|
158
158
|
tool: {
|
159
159
|
poetry: {
|
160
|
-
source?: unknown;
|
161
160
|
group?: Record<string, any> | undefined;
|
162
|
-
version?: unknown;
|
163
161
|
dependencies?: Record<string, any> | undefined;
|
162
|
+
version?: unknown;
|
163
|
+
source?: unknown;
|
164
164
|
'dev-dependencies'?: Record<string, any> | undefined;
|
165
165
|
};
|
166
166
|
};
|
@@ -176,52 +176,52 @@ export declare const PoetrySchemaToml: z.ZodPipeline<z.ZodEffects<z.ZodString, u
|
|
176
176
|
group: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodAny>, Record<string, PackageDependency<Record<string, any>>[]>, Record<string, any>>, PackageDependency<Record<string, any>>[], Record<string, any>>>;
|
177
177
|
source: z.ZodCatch<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodAny, "many">, {
|
178
178
|
name: string;
|
179
|
-
priority: "
|
179
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
180
180
|
url?: string | undefined;
|
181
181
|
}[], any[]>, {
|
182
182
|
name: string;
|
183
|
-
priority: "
|
183
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
184
184
|
url?: string | undefined;
|
185
185
|
}[], any[]>>;
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
187
187
|
source: {
|
188
188
|
name: string;
|
189
|
-
priority: "
|
189
|
+
priority: "default" | "explicit" | "primary" | "secondary" | "supplemental";
|
190
190
|
url?: string | undefined;
|
191
191
|
}[];
|
192
192
|
group?: PackageDependency<Record<string, any>>[] | undefined;
|
193
|
-
version?: string | undefined;
|
194
193
|
dependencies?: PackageDependency<Record<string, any>>[] | undefined;
|
194
|
+
version?: string | undefined;
|
195
195
|
'dev-dependencies'?: PackageDependency<Record<string, any>>[] | undefined;
|
196
196
|
}, {
|
197
|
-
source?: unknown;
|
198
197
|
group?: Record<string, any> | undefined;
|
199
|
-
version?: unknown;
|
200
198
|
dependencies?: Record<string, any> | undefined;
|
199
|
+
version?: unknown;
|
200
|
+
source?: unknown;
|
201
201
|
'dev-dependencies'?: Record<string, any> | undefined;
|
202
202
|
}>, PackageFileContent<Record<string, any>>, {
|
203
|
-
source?: unknown;
|
204
203
|
group?: Record<string, any> | undefined;
|
205
|
-
version?: unknown;
|
206
204
|
dependencies?: Record<string, any> | undefined;
|
205
|
+
version?: unknown;
|
206
|
+
source?: unknown;
|
207
207
|
'dev-dependencies'?: Record<string, any> | undefined;
|
208
208
|
}>;
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
210
210
|
poetry: PackageFileContent<Record<string, any>>;
|
211
211
|
}, {
|
212
212
|
poetry: {
|
213
|
-
source?: unknown;
|
214
213
|
group?: Record<string, any> | undefined;
|
215
|
-
version?: unknown;
|
216
214
|
dependencies?: Record<string, any> | undefined;
|
215
|
+
version?: unknown;
|
216
|
+
source?: unknown;
|
217
217
|
'dev-dependencies'?: Record<string, any> | undefined;
|
218
218
|
};
|
219
219
|
}>, PackageFileContent<Record<string, any>>, {
|
220
220
|
poetry: {
|
221
|
-
source?: unknown;
|
222
221
|
group?: Record<string, any> | undefined;
|
223
|
-
version?: unknown;
|
224
222
|
dependencies?: Record<string, any> | undefined;
|
223
|
+
version?: unknown;
|
224
|
+
source?: unknown;
|
225
225
|
'dev-dependencies'?: Record<string, any> | undefined;
|
226
226
|
};
|
227
227
|
}>;
|
@@ -247,10 +247,10 @@ export declare const PoetrySchemaToml: z.ZodPipeline<z.ZodEffects<z.ZodString, u
|
|
247
247
|
}, {
|
248
248
|
tool: {
|
249
249
|
poetry: {
|
250
|
-
source?: unknown;
|
251
250
|
group?: Record<string, any> | undefined;
|
252
|
-
version?: unknown;
|
253
251
|
dependencies?: Record<string, any> | undefined;
|
252
|
+
version?: unknown;
|
253
|
+
source?: unknown;
|
254
254
|
'dev-dependencies'?: Record<string, any> | undefined;
|
255
255
|
};
|
256
256
|
};
|
@@ -261,10 +261,10 @@ export declare const PoetrySchemaToml: z.ZodPipeline<z.ZodEffects<z.ZodString, u
|
|
261
261
|
}, {
|
262
262
|
tool: {
|
263
263
|
poetry: {
|
264
|
-
source?: unknown;
|
265
264
|
group?: Record<string, any> | undefined;
|
266
|
-
version?: unknown;
|
267
265
|
dependencies?: Record<string, any> | undefined;
|
266
|
+
version?: unknown;
|
267
|
+
source?: unknown;
|
268
268
|
'dev-dependencies'?: Record<string, any> | undefined;
|
269
269
|
};
|
270
270
|
};
|
@@ -291,16 +291,16 @@ export declare const Lockfile: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodStri
|
|
291
291
|
'python-versions'?: unknown;
|
292
292
|
}>>;
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
294
|
+
package: {
|
295
|
+
[k: string]: string;
|
296
|
+
};
|
294
297
|
metadata: {
|
295
298
|
poetryConstraint: string | undefined;
|
296
299
|
pythonVersions: string | undefined;
|
297
300
|
};
|
298
|
-
package: {
|
299
|
-
[k: string]: string;
|
300
|
-
};
|
301
301
|
}, {
|
302
|
-
metadata?: unknown;
|
303
302
|
package?: unknown;
|
303
|
+
metadata?: unknown;
|
304
304
|
}>>, {
|
305
305
|
lock: {
|
306
306
|
[k: string]: string;
|
@@ -68,12 +68,12 @@ export declare const ClusterProfile: z.ZodObject<z.objectUtil.extendShape<{
|
|
68
68
|
helmCharts?: any[] | undefined;
|
69
69
|
}>;
|
70
70
|
}>, "strip", z.ZodTypeAny, {
|
71
|
+
apiVersion: string;
|
71
72
|
metadata: {
|
72
73
|
name: string;
|
73
74
|
namespace?: string | undefined;
|
74
75
|
};
|
75
76
|
kind: "ClusterProfile";
|
76
|
-
apiVersion: string;
|
77
77
|
spec: {
|
78
78
|
helmCharts?: {
|
79
79
|
repositoryName: string;
|
@@ -83,12 +83,12 @@ export declare const ClusterProfile: z.ZodObject<z.objectUtil.extendShape<{
|
|
83
83
|
}[] | undefined;
|
84
84
|
};
|
85
85
|
}, {
|
86
|
+
apiVersion: string;
|
86
87
|
metadata: {
|
87
88
|
name: string;
|
88
89
|
namespace?: string | undefined;
|
89
90
|
};
|
90
91
|
kind: "ClusterProfile";
|
91
|
-
apiVersion: string;
|
92
92
|
spec: {
|
93
93
|
helmCharts?: any[] | undefined;
|
94
94
|
};
|
@@ -127,12 +127,12 @@ export declare const Profile: z.ZodObject<z.objectUtil.extendShape<{
|
|
127
127
|
helmCharts?: any[] | undefined;
|
128
128
|
}>;
|
129
129
|
}>, "strip", z.ZodTypeAny, {
|
130
|
+
apiVersion: string;
|
130
131
|
metadata: {
|
131
132
|
name: string;
|
132
133
|
namespace?: string | undefined;
|
133
134
|
};
|
134
135
|
kind: "Profile";
|
135
|
-
apiVersion: string;
|
136
136
|
spec: {
|
137
137
|
helmCharts?: {
|
138
138
|
repositoryName: string;
|
@@ -142,12 +142,12 @@ export declare const Profile: z.ZodObject<z.objectUtil.extendShape<{
|
|
142
142
|
}[] | undefined;
|
143
143
|
};
|
144
144
|
}, {
|
145
|
+
apiVersion: string;
|
145
146
|
metadata: {
|
146
147
|
name: string;
|
147
148
|
namespace?: string | undefined;
|
148
149
|
};
|
149
150
|
kind: "Profile";
|
150
|
-
apiVersion: string;
|
151
151
|
spec: {
|
152
152
|
helmCharts?: any[] | undefined;
|
153
153
|
};
|
@@ -186,12 +186,12 @@ export declare const EventTrigger: z.ZodObject<z.objectUtil.extendShape<{
|
|
186
186
|
helmCharts?: any[] | undefined;
|
187
187
|
}>;
|
188
188
|
}>, "strip", z.ZodTypeAny, {
|
189
|
+
apiVersion: string;
|
189
190
|
metadata: {
|
190
191
|
name: string;
|
191
192
|
namespace?: string | undefined;
|
192
193
|
};
|
193
194
|
kind: "EventTrigger";
|
194
|
-
apiVersion: string;
|
195
195
|
spec: {
|
196
196
|
helmCharts?: {
|
197
197
|
repositoryName: string;
|
@@ -201,12 +201,12 @@ export declare const EventTrigger: z.ZodObject<z.objectUtil.extendShape<{
|
|
201
201
|
}[] | undefined;
|
202
202
|
};
|
203
203
|
}, {
|
204
|
+
apiVersion: string;
|
204
205
|
metadata: {
|
205
206
|
name: string;
|
206
207
|
namespace?: string | undefined;
|
207
208
|
};
|
208
209
|
kind: "EventTrigger";
|
209
|
-
apiVersion: string;
|
210
210
|
spec: {
|
211
211
|
helmCharts?: any[] | undefined;
|
212
212
|
};
|
@@ -245,12 +245,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
|
|
245
245
|
helmCharts?: any[] | undefined;
|
246
246
|
}>;
|
247
247
|
}>, "strip", z.ZodTypeAny, {
|
248
|
+
apiVersion: string;
|
248
249
|
metadata: {
|
249
250
|
name: string;
|
250
251
|
namespace?: string | undefined;
|
251
252
|
};
|
252
253
|
kind: "Profile";
|
253
|
-
apiVersion: string;
|
254
254
|
spec: {
|
255
255
|
helmCharts?: {
|
256
256
|
repositoryName: string;
|
@@ -260,12 +260,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
|
|
260
260
|
}[] | undefined;
|
261
261
|
};
|
262
262
|
}, {
|
263
|
+
apiVersion: string;
|
263
264
|
metadata: {
|
264
265
|
name: string;
|
265
266
|
namespace?: string | undefined;
|
266
267
|
};
|
267
268
|
kind: "Profile";
|
268
|
-
apiVersion: string;
|
269
269
|
spec: {
|
270
270
|
helmCharts?: any[] | undefined;
|
271
271
|
};
|
@@ -303,12 +303,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
|
|
303
303
|
helmCharts?: any[] | undefined;
|
304
304
|
}>;
|
305
305
|
}>, "strip", z.ZodTypeAny, {
|
306
|
+
apiVersion: string;
|
306
307
|
metadata: {
|
307
308
|
name: string;
|
308
309
|
namespace?: string | undefined;
|
309
310
|
};
|
310
311
|
kind: "ClusterProfile";
|
311
|
-
apiVersion: string;
|
312
312
|
spec: {
|
313
313
|
helmCharts?: {
|
314
314
|
repositoryName: string;
|
@@ -318,12 +318,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
|
|
318
318
|
}[] | undefined;
|
319
319
|
};
|
320
320
|
}, {
|
321
|
+
apiVersion: string;
|
321
322
|
metadata: {
|
322
323
|
name: string;
|
323
324
|
namespace?: string | undefined;
|
324
325
|
};
|
325
326
|
kind: "ClusterProfile";
|
326
|
-
apiVersion: string;
|
327
327
|
spec: {
|
328
328
|
helmCharts?: any[] | undefined;
|
329
329
|
};
|
@@ -361,12 +361,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
|
|
361
361
|
helmCharts?: any[] | undefined;
|
362
362
|
}>;
|
363
363
|
}>, "strip", z.ZodTypeAny, {
|
364
|
+
apiVersion: string;
|
364
365
|
metadata: {
|
365
366
|
name: string;
|
366
367
|
namespace?: string | undefined;
|
367
368
|
};
|
368
369
|
kind: "EventTrigger";
|
369
|
-
apiVersion: string;
|
370
370
|
spec: {
|
371
371
|
helmCharts?: {
|
372
372
|
repositoryName: string;
|
@@ -376,12 +376,12 @@ export declare const ProfileDefinition: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
|
|
376
376
|
}[] | undefined;
|
377
377
|
};
|
378
378
|
}, {
|
379
|
+
apiVersion: string;
|
379
380
|
metadata: {
|
380
381
|
name: string;
|
381
382
|
namespace?: string | undefined;
|
382
383
|
};
|
383
384
|
kind: "EventTrigger";
|
384
|
-
apiVersion: string;
|
385
385
|
spec: {
|
386
386
|
helmCharts?: any[] | undefined;
|
387
387
|
};
|
@@ -2,7 +2,7 @@ import { Http } from '../../../../util/http';
|
|
2
2
|
import { TerraformProviderDatasource } from '../../../datasource/terraform-provider';
|
3
3
|
import type { TerraformBuild } from '../../../datasource/terraform-provider/types';
|
4
4
|
export declare class TerraformProviderHash {
|
5
|
-
static http: Http
|
5
|
+
static http: Http;
|
6
6
|
static terraformDatasource: TerraformProviderDatasource;
|
7
7
|
static hashCacheTTL: number;
|
8
8
|
private static hashElementList;
|
@@ -3,11 +3,11 @@ export declare const VendirResource: z.ZodObject<{
|
|
3
3
|
apiVersion: z.ZodLiteral<"vendir.k14s.io/v1alpha1">;
|
4
4
|
kind: z.ZodLiteral<"Config">;
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
6
|
-
kind: "Config";
|
7
6
|
apiVersion: "vendir.k14s.io/v1alpha1";
|
8
|
-
}, {
|
9
7
|
kind: "Config";
|
8
|
+
}, {
|
10
9
|
apiVersion: "vendir.k14s.io/v1alpha1";
|
10
|
+
kind: "Config";
|
11
11
|
}>;
|
12
12
|
export declare const GitRef: z.ZodObject<{
|
13
13
|
ref: z.ZodString;
|
@@ -43,17 +43,17 @@ export declare const HelmChart: z.ZodObject<{
|
|
43
43
|
url: string;
|
44
44
|
}>;
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
46
|
-
name: string;
|
47
|
-
version: string;
|
48
46
|
repository: {
|
49
47
|
url: string;
|
50
48
|
};
|
51
|
-
}, {
|
52
49
|
name: string;
|
53
50
|
version: string;
|
51
|
+
}, {
|
54
52
|
repository: {
|
55
53
|
url: string;
|
56
54
|
};
|
55
|
+
name: string;
|
56
|
+
version: string;
|
57
57
|
}>;
|
58
58
|
export declare const HelmChartContent: z.ZodObject<{
|
59
59
|
path: z.ZodString;
|
@@ -68,35 +68,35 @@ export declare const HelmChartContent: z.ZodObject<{
|
|
68
68
|
url: string;
|
69
69
|
}>;
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
71
|
-
name: string;
|
72
|
-
version: string;
|
73
71
|
repository: {
|
74
72
|
url: string;
|
75
73
|
};
|
76
|
-
}, {
|
77
74
|
name: string;
|
78
75
|
version: string;
|
76
|
+
}, {
|
79
77
|
repository: {
|
80
78
|
url: string;
|
81
79
|
};
|
80
|
+
name: string;
|
81
|
+
version: string;
|
82
82
|
}>;
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
84
84
|
path: string;
|
85
85
|
helmChart: {
|
86
|
-
name: string;
|
87
|
-
version: string;
|
88
86
|
repository: {
|
89
87
|
url: string;
|
90
88
|
};
|
89
|
+
name: string;
|
90
|
+
version: string;
|
91
91
|
};
|
92
92
|
}, {
|
93
93
|
path: string;
|
94
94
|
helmChart: {
|
95
|
-
name: string;
|
96
|
-
version: string;
|
97
95
|
repository: {
|
98
96
|
url: string;
|
99
97
|
};
|
98
|
+
name: string;
|
99
|
+
version: string;
|
100
100
|
};
|
101
101
|
}>;
|
102
102
|
export declare const GitRefContent: z.ZodObject<{
|
@@ -167,35 +167,35 @@ export declare const Contents: z.ZodUnion<[z.ZodObject<{
|
|
167
167
|
url: string;
|
168
168
|
}>;
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
170
|
-
name: string;
|
171
|
-
version: string;
|
172
170
|
repository: {
|
173
171
|
url: string;
|
174
172
|
};
|
175
|
-
}, {
|
176
173
|
name: string;
|
177
174
|
version: string;
|
175
|
+
}, {
|
178
176
|
repository: {
|
179
177
|
url: string;
|
180
178
|
};
|
179
|
+
name: string;
|
180
|
+
version: string;
|
181
181
|
}>;
|
182
182
|
}, "strip", z.ZodTypeAny, {
|
183
183
|
path: string;
|
184
184
|
helmChart: {
|
185
|
-
name: string;
|
186
|
-
version: string;
|
187
185
|
repository: {
|
188
186
|
url: string;
|
189
187
|
};
|
188
|
+
name: string;
|
189
|
+
version: string;
|
190
190
|
};
|
191
191
|
}, {
|
192
192
|
path: string;
|
193
193
|
helmChart: {
|
194
|
-
name: string;
|
195
|
-
version: string;
|
196
194
|
repository: {
|
197
195
|
url: string;
|
198
196
|
};
|
197
|
+
name: string;
|
198
|
+
version: string;
|
199
199
|
};
|
200
200
|
}>, z.ZodObject<{
|
201
201
|
path: z.ZodString;
|
@@ -260,11 +260,11 @@ export declare const Vendir: z.ZodObject<z.objectUtil.extendShape<{
|
|
260
260
|
contents: z.ZodEffects<z.ZodArray<z.ZodAny, "many">, ({
|
261
261
|
path: string;
|
262
262
|
helmChart: {
|
263
|
-
name: string;
|
264
|
-
version: string;
|
265
263
|
repository: {
|
266
264
|
url: string;
|
267
265
|
};
|
266
|
+
name: string;
|
267
|
+
version: string;
|
268
268
|
};
|
269
269
|
} | {
|
270
270
|
path: string;
|
@@ -285,11 +285,11 @@ export declare const Vendir: z.ZodObject<z.objectUtil.extendShape<{
|
|
285
285
|
contents: ({
|
286
286
|
path: string;
|
287
287
|
helmChart: {
|
288
|
-
name: string;
|
289
|
-
version: string;
|
290
288
|
repository: {
|
291
289
|
url: string;
|
292
290
|
};
|
291
|
+
name: string;
|
292
|
+
version: string;
|
293
293
|
};
|
294
294
|
} | {
|
295
295
|
path: string;
|
@@ -310,18 +310,18 @@ export declare const Vendir: z.ZodObject<z.objectUtil.extendShape<{
|
|
310
310
|
contents: any[];
|
311
311
|
}>, "many">;
|
312
312
|
}>, "strip", z.ZodTypeAny, {
|
313
|
-
kind: "Config";
|
314
313
|
apiVersion: "vendir.k14s.io/v1alpha1";
|
314
|
+
kind: "Config";
|
315
315
|
directories: {
|
316
316
|
path: string;
|
317
317
|
contents: ({
|
318
318
|
path: string;
|
319
319
|
helmChart: {
|
320
|
-
name: string;
|
321
|
-
version: string;
|
322
320
|
repository: {
|
323
321
|
url: string;
|
324
322
|
};
|
323
|
+
name: string;
|
324
|
+
version: string;
|
325
325
|
};
|
326
326
|
} | {
|
327
327
|
path: string;
|
@@ -339,8 +339,8 @@ export declare const Vendir: z.ZodObject<z.objectUtil.extendShape<{
|
|
339
339
|
})[];
|
340
340
|
}[];
|
341
341
|
}, {
|
342
|
-
kind: "Config";
|
343
342
|
apiVersion: "vendir.k14s.io/v1alpha1";
|
343
|
+
kind: "Config";
|
344
344
|
directories: {
|
345
345
|
path: string;
|
346
346
|
contents: any[];
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { Platform } from './types';
|
2
|
-
declare const api: Map<"
|
2
|
+
declare const api: Map<"azure" | "bitbucket" | "bitbucket-server" | "codecommit" | "gerrit" | "gitea" | "github" | "gitlab" | "local", Platform>;
|
3
3
|
export default api;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { BranchStatus } from '../../../types';
|
2
2
|
import type { AutodiscoverConfig, BranchStatusConfig, CreatePRConfig, EnsureCommentConfig, EnsureCommentRemovalConfig, EnsureIssueConfig, EnsureIssueResult, FindPRConfig, Issue, MergePRConfig, PlatformParams, PlatformResult, Pr, RepoParams, RepoResult, UpdatePrConfig } from '../types';
|
3
3
|
export declare const id = "bitbucket";
|
4
|
+
export declare function resetPlatform(): void;
|
4
5
|
export declare function initPlatform({ endpoint, username, password, token, }: PlatformParams): Promise<PlatformResult>;
|
5
6
|
export declare function getRepos(config: AutodiscoverConfig): Promise<string[]>;
|
6
7
|
export declare function getRawFile(fileName: string, repoName?: string, branchOrTag?: string): Promise<string | null>;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.id = void 0;
|
4
|
+
exports.resetPlatform = resetPlatform;
|
4
5
|
exports.initPlatform = initPlatform;
|
5
6
|
exports.getRepos = getRepos;
|
6
7
|
exports.getRawFile = getRawFile;
|
@@ -52,6 +53,10 @@ exports.id = 'bitbucket';
|
|
52
53
|
const bitbucketHttp = new bitbucket_1.BitbucketHttp();
|
53
54
|
const BITBUCKET_PROD_ENDPOINT = 'https://api.bitbucket.org/';
|
54
55
|
let config = {};
|
56
|
+
function resetPlatform() {
|
57
|
+
config = {};
|
58
|
+
renovateUserUuid = null;
|
59
|
+
}
|
55
60
|
const defaults = { endpoint: BITBUCKET_PROD_ENDPOINT };
|
56
61
|
const pathSeparator = '/';
|
57
62
|
let renovateUserUuid = null;
|
@@ -126,7 +131,7 @@ async function getRawFile(fileName, repoName, branchOrTag) {
|
|
126
131
|
const url = `/2.0/repositories/${repo}/src/` +
|
127
132
|
(finalBranchOrTag ?? `HEAD`) +
|
128
133
|
`/${path}`;
|
129
|
-
const res = await bitbucketHttp.
|
134
|
+
const res = await bitbucketHttp.getText(url, {
|
130
135
|
cacheProvider: repository_http_cache_provider_1.repoCacheProvider,
|
131
136
|
memCache: true,
|
132
137
|
});
|