@backstage/plugin-scaffolder-backend-module-bitbucket-cloud 0.3.4-next.1 → 0.3.4
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/CHANGELOG.md +20 -0
- package/dist/actions/inputProperties.cjs.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-bitbucket-cloud
|
|
2
2
|
|
|
3
|
+
## 0.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a49a40d: Updated dependency `zod` to `^3.25.76 || ^4.0.0` & migrated to `/v3` or `/v4` imports.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/backend-plugin-api@1.8.0
|
|
10
|
+
- @backstage/plugin-scaffolder-node@0.13.0
|
|
11
|
+
- @backstage/integration@2.0.0
|
|
12
|
+
- @backstage/plugin-bitbucket-cloud-common@0.3.8
|
|
13
|
+
|
|
14
|
+
## 0.3.4-next.2
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- @backstage/backend-plugin-api@1.8.0-next.1
|
|
20
|
+
- @backstage/integration@2.0.0-next.2
|
|
21
|
+
- @backstage/plugin-scaffolder-node@0.13.0-next.2
|
|
22
|
+
|
|
3
23
|
## 0.3.4-next.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputProperties.cjs.js","sources":["../../src/actions/inputProperties.ts"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { z as zod } from 'zod';\n\nconst repoUrl = (z: typeof zod) =>\n z.string({\n description: `Accepts the format 'bitbucket.org?repo=reponame&workspace=workspace&project=project' where 'reponame' is the new repository name`,\n });\n\nconst workspace = (z: typeof zod) =>\n z.string({\n description: 'The workspace name',\n });\n\nconst repo_slug = (z: typeof zod) =>\n z.string({\n description: 'The repository name',\n });\n\nconst ref_type = (z: typeof zod) =>\n z.string({\n description: 'ref_type',\n });\n\nconst type = (z: typeof zod) =>\n z.string({\n description: 'type',\n });\n\nconst ref_name = (z: typeof zod) =>\n z.string({\n description: 'ref_name',\n });\n\nconst source = (z: typeof zod) =>\n z.string({\n description: 'source',\n });\n\nconst destination = (z: typeof zod) =>\n z.string({\n description: 'destination',\n });\n\nconst hash = (z: typeof zod) =>\n z.string({\n description: 'hash',\n });\n\nconst pattern = (z: typeof zod) =>\n z.string({\n description: 'pattern',\n });\n\nconst id = (z: typeof zod) =>\n z.string({\n description: 'id',\n });\n\nconst key = (z: typeof zod) =>\n z.string({\n description: 'key',\n });\n\nconst value = (z: typeof zod) =>\n z.string({\n description: 'value',\n });\n\nconst secured = (z: typeof zod) =>\n z.boolean({\n description: 'secured',\n });\n\nconst token = (z: typeof zod) =>\n z\n .string({\n description: 'The token to use for authorization to BitBucket Cloud',\n })\n .optional();\n\nconst destination_commit = (z: typeof zod) =>\n z.object({\n hash: hash(z),\n });\n\nconst commit = (z: typeof zod) =>\n z.object({\n type: type(z),\n hash: hash(z),\n });\n\nconst selector = (z: typeof zod) =>\n z.object({\n type: type(z),\n pattern: pattern(z),\n });\n\nconst pull_request = (z: typeof zod) =>\n z.object({\n id: id(z),\n });\n\nconst pipelinesRunBody = (z: typeof zod) =>\n z\n .object(\n {\n target: z\n .object({\n ref_type: ref_type(z).optional(),\n type: type(z).optional(),\n ref_name: ref_name(z).optional(),\n source: source(z).optional(),\n destination: destination(z).optional(),\n destination_commit: destination_commit(z).optional(),\n commit: commit(z).optional(),\n selector: selector(z).optional(),\n pull_request: pull_request(z).optional(),\n })\n .optional(),\n variables: z\n .array(\n z.object({\n key: key(z),\n value: value(z),\n secured: secured(z),\n }),\n )\n .optional(),\n },\n {\n description:\n 'Request body properties: see Bitbucket Cloud Rest API documentation for more details',\n },\n )\n .optional();\n\nconst restriction = {\n kind: (z: typeof zod) =>\n z.enum(\n [\n 'push',\n 'force',\n 'delete',\n 'restrict_merges',\n 'require_tasks_to_be_completed',\n 'require_approvals_to_merge',\n 'require_default_reviewer_approvals_to_merge',\n 'require_no_changes_requested',\n 'require_passing_builds_to_merge',\n 'require_commits_behind',\n 'reset_pullrequest_approvals_on_change',\n 'smart_reset_pullrequest_approvals',\n 'reset_pullrequest_changes_requested_on_change',\n 'require_all_dependencies_merged',\n 'enforce_merge_checks',\n 'allow_auto_merge_when_builds_pass',\n ],\n {\n description: 'The kind of restriction.',\n },\n ),\n branchMatchKind: (z: typeof zod) =>\n z\n .enum(['glob', 'branching_model'], {\n description: 'The branch match kind.',\n })\n .optional(),\n branchType: (z: typeof zod) =>\n z\n .enum(\n ['feature', 'bugfix', 'release', 'hotfix', 'development', 'production'],\n {\n description:\n 'The branch type. When branchMatchKind is set to branching_model, this field is required.',\n },\n )\n .optional(),\n pattern: (z: typeof zod) =>\n z\n .string({\n description:\n 'The pattern to match branches against. This field is required when branchMatchKind is set to glob.',\n })\n .optional(),\n value: (z: typeof zod) =>\n z\n .union([z.number(), z.null()], {\n description:\n 'The value of the restriction. This field is required when kind is one of require_approvals_to_merge / require_default_reviewer_approvals_to_merge / require_passing_builds_to_merge / require_commits_behind.',\n })\n .optional(),\n users: (z: typeof zod) =>\n z\n .array(\n z.object({\n uuid: z.string({\n description: 'The UUID of the user in the format \"{a-b-c-d}\".',\n }),\n }),\n {\n description:\n 'Names of users that can bypass the push / restrict_merges restriction kind. For any other kind, this field will be ignored.',\n },\n )\n .optional(),\n groups: (z: typeof zod) =>\n z\n .array(\n z.object({\n slug: z.string({\n description: 'The name of the group.',\n }),\n }),\n {\n description:\n 'Names of groups that can bypass the push / restrict_merges restriction kind. For any other kind, this field will be ignored.',\n },\n )\n .optional(),\n};\n\nexport { workspace, repo_slug, pipelinesRunBody, token };\nexport { repoUrl, restriction };\n"],"names":[],"mappings":";;AAkBA,MAAM,OAAA,GAAU,CAAC,CAAA,KACf,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa,CAAA,gIAAA;AACf,CAAC;AAEH,MAAM,SAAA,GAAY,CAAC,CAAA,KACjB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC;AAEH,MAAM,SAAA,GAAY,CAAC,CAAA,KACjB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC;AAEH,MAAM,QAAA,GAAW,CAAC,CAAA,KAChB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,IAAA,GAAO,CAAC,CAAA,KACZ,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,QAAA,GAAW,CAAC,CAAA,KAChB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,MAAA,GAAS,CAAC,CAAA,KACd,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,WAAA,GAAc,CAAC,CAAA,KACnB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,IAAA,GAAO,CAAC,CAAA,KACZ,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,OAAA,GAAU,CAAC,CAAA,KACf,CAAA,CAAE,MAA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E;AAAA;AACJ,IAED,QAAA;AACP;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"inputProperties.cjs.js","sources":["../../src/actions/inputProperties.ts"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { z as zod } from 'zod/v3';\n\nconst repoUrl = (z: typeof zod) =>\n z.string({\n description: `Accepts the format 'bitbucket.org?repo=reponame&workspace=workspace&project=project' where 'reponame' is the new repository name`,\n });\n\nconst workspace = (z: typeof zod) =>\n z.string({\n description: 'The workspace name',\n });\n\nconst repo_slug = (z: typeof zod) =>\n z.string({\n description: 'The repository name',\n });\n\nconst ref_type = (z: typeof zod) =>\n z.string({\n description: 'ref_type',\n });\n\nconst type = (z: typeof zod) =>\n z.string({\n description: 'type',\n });\n\nconst ref_name = (z: typeof zod) =>\n z.string({\n description: 'ref_name',\n });\n\nconst source = (z: typeof zod) =>\n z.string({\n description: 'source',\n });\n\nconst destination = (z: typeof zod) =>\n z.string({\n description: 'destination',\n });\n\nconst hash = (z: typeof zod) =>\n z.string({\n description: 'hash',\n });\n\nconst pattern = (z: typeof zod) =>\n z.string({\n description: 'pattern',\n });\n\nconst id = (z: typeof zod) =>\n z.string({\n description: 'id',\n });\n\nconst key = (z: typeof zod) =>\n z.string({\n description: 'key',\n });\n\nconst value = (z: typeof zod) =>\n z.string({\n description: 'value',\n });\n\nconst secured = (z: typeof zod) =>\n z.boolean({\n description: 'secured',\n });\n\nconst token = (z: typeof zod) =>\n z\n .string({\n description: 'The token to use for authorization to BitBucket Cloud',\n })\n .optional();\n\nconst destination_commit = (z: typeof zod) =>\n z.object({\n hash: hash(z),\n });\n\nconst commit = (z: typeof zod) =>\n z.object({\n type: type(z),\n hash: hash(z),\n });\n\nconst selector = (z: typeof zod) =>\n z.object({\n type: type(z),\n pattern: pattern(z),\n });\n\nconst pull_request = (z: typeof zod) =>\n z.object({\n id: id(z),\n });\n\nconst pipelinesRunBody = (z: typeof zod) =>\n z\n .object(\n {\n target: z\n .object({\n ref_type: ref_type(z).optional(),\n type: type(z).optional(),\n ref_name: ref_name(z).optional(),\n source: source(z).optional(),\n destination: destination(z).optional(),\n destination_commit: destination_commit(z).optional(),\n commit: commit(z).optional(),\n selector: selector(z).optional(),\n pull_request: pull_request(z).optional(),\n })\n .optional(),\n variables: z\n .array(\n z.object({\n key: key(z),\n value: value(z),\n secured: secured(z),\n }),\n )\n .optional(),\n },\n {\n description:\n 'Request body properties: see Bitbucket Cloud Rest API documentation for more details',\n },\n )\n .optional();\n\nconst restriction = {\n kind: (z: typeof zod) =>\n z.enum(\n [\n 'push',\n 'force',\n 'delete',\n 'restrict_merges',\n 'require_tasks_to_be_completed',\n 'require_approvals_to_merge',\n 'require_default_reviewer_approvals_to_merge',\n 'require_no_changes_requested',\n 'require_passing_builds_to_merge',\n 'require_commits_behind',\n 'reset_pullrequest_approvals_on_change',\n 'smart_reset_pullrequest_approvals',\n 'reset_pullrequest_changes_requested_on_change',\n 'require_all_dependencies_merged',\n 'enforce_merge_checks',\n 'allow_auto_merge_when_builds_pass',\n ],\n {\n description: 'The kind of restriction.',\n },\n ),\n branchMatchKind: (z: typeof zod) =>\n z\n .enum(['glob', 'branching_model'], {\n description: 'The branch match kind.',\n })\n .optional(),\n branchType: (z: typeof zod) =>\n z\n .enum(\n ['feature', 'bugfix', 'release', 'hotfix', 'development', 'production'],\n {\n description:\n 'The branch type. When branchMatchKind is set to branching_model, this field is required.',\n },\n )\n .optional(),\n pattern: (z: typeof zod) =>\n z\n .string({\n description:\n 'The pattern to match branches against. This field is required when branchMatchKind is set to glob.',\n })\n .optional(),\n value: (z: typeof zod) =>\n z\n .union([z.number(), z.null()], {\n description:\n 'The value of the restriction. This field is required when kind is one of require_approvals_to_merge / require_default_reviewer_approvals_to_merge / require_passing_builds_to_merge / require_commits_behind.',\n })\n .optional(),\n users: (z: typeof zod) =>\n z\n .array(\n z.object({\n uuid: z.string({\n description: 'The UUID of the user in the format \"{a-b-c-d}\".',\n }),\n }),\n {\n description:\n 'Names of users that can bypass the push / restrict_merges restriction kind. For any other kind, this field will be ignored.',\n },\n )\n .optional(),\n groups: (z: typeof zod) =>\n z\n .array(\n z.object({\n slug: z.string({\n description: 'The name of the group.',\n }),\n }),\n {\n description:\n 'Names of groups that can bypass the push / restrict_merges restriction kind. For any other kind, this field will be ignored.',\n },\n )\n .optional(),\n};\n\nexport { workspace, repo_slug, pipelinesRunBody, token };\nexport { repoUrl, restriction };\n"],"names":[],"mappings":";;AAkBA,MAAM,OAAA,GAAU,CAAC,CAAA,KACf,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa,CAAA,gIAAA;AACf,CAAC;AAEH,MAAM,SAAA,GAAY,CAAC,CAAA,KACjB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC;AAEH,MAAM,SAAA,GAAY,CAAC,CAAA,KACjB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC;AAEH,MAAM,QAAA,GAAW,CAAC,CAAA,KAChB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,IAAA,GAAO,CAAC,CAAA,KACZ,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,QAAA,GAAW,CAAC,CAAA,KAChB,CAAA,CAAE,MAAA,CAAO;AAAA,EACP,WAAA,EAAa;AACf,CAAC,CAAA;AAEH,MAAM,MAAA,GAAS,CAAC,CAAA,KACd,CAAA,CAAE,MAAA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,QACb,WAAA,EAAa;AAAA,OACd;AAAA,KACF,CAAA;AAAA,IACD;AAAA,MACE,WAAA,EACE;AAAA;AACJ,IAED,QAAA,EAAS;AAAA,EACd,MAAA,EAAQ,CAAC,CAAA,KACP,CAAA,CACG,KAAA;AAAA,IACC,EAAE,MAAA,CAAO;AAAA,MACP,IAAA,EAAM,EAAE,MAAA,CAAO;AAAA,QACb,WAAA,EAAa;AAAA,OACd;AAAA,KACF,CAAA;AAAA,IACD;AAAA,MACE,WAAA,EACE;AAAA;AACJ,IAED,QAAA;AACP;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-bitbucket-cloud",
|
|
3
|
-
"version": "0.3.4
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "The Bitbucket Cloud module for @backstage/plugin-scaffolder-backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -50,21 +50,21 @@
|
|
|
50
50
|
"test": "backstage-cli package test"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@backstage/backend-plugin-api": "1.
|
|
54
|
-
"@backstage/config": "1.3.6",
|
|
55
|
-
"@backstage/errors": "1.2.7",
|
|
56
|
-
"@backstage/integration": "2.0.0
|
|
57
|
-
"@backstage/plugin-bitbucket-cloud-common": "0.3.8
|
|
58
|
-
"@backstage/plugin-scaffolder-node": "0.13.0
|
|
53
|
+
"@backstage/backend-plugin-api": "^1.8.0",
|
|
54
|
+
"@backstage/config": "^1.3.6",
|
|
55
|
+
"@backstage/errors": "^1.2.7",
|
|
56
|
+
"@backstage/integration": "^2.0.0",
|
|
57
|
+
"@backstage/plugin-bitbucket-cloud-common": "^0.3.8",
|
|
58
|
+
"@backstage/plugin-scaffolder-node": "^0.13.0",
|
|
59
59
|
"bitbucket": "^2.12.0",
|
|
60
60
|
"fs-extra": "^11.2.0",
|
|
61
61
|
"yaml": "^2.0.0",
|
|
62
|
-
"zod": "^3.25.76"
|
|
62
|
+
"zod": "^3.25.76 || ^4.0.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@backstage/backend-test-utils": "1.11.1
|
|
66
|
-
"@backstage/cli": "0.36.0
|
|
67
|
-
"@backstage/plugin-scaffolder-node-test-utils": "0.3.9
|
|
65
|
+
"@backstage/backend-test-utils": "^1.11.1",
|
|
66
|
+
"@backstage/cli": "^0.36.0",
|
|
67
|
+
"@backstage/plugin-scaffolder-node-test-utils": "^0.3.9",
|
|
68
68
|
"msw": "^1.0.0"
|
|
69
69
|
}
|
|
70
70
|
}
|