@backstage/plugin-scaffolder-backend-module-bitbucket 0.3.9 → 0.3.10-next.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-bitbucket
|
|
2
2
|
|
|
3
|
+
## 0.3.10-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 72d019d: Removed various typos
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/backend-plugin-api@1.3.1-next.1
|
|
10
|
+
- @backstage/integration@1.16.4-next.1
|
|
11
|
+
- @backstage/plugin-scaffolder-backend-module-bitbucket-server@0.2.9-next.1
|
|
12
|
+
- @backstage/plugin-scaffolder-backend-module-bitbucket-cloud@0.2.9-next.1
|
|
13
|
+
- @backstage/plugin-scaffolder-node@0.8.2-next.1
|
|
14
|
+
- @backstage/config@1.3.2
|
|
15
|
+
- @backstage/errors@1.2.7
|
|
16
|
+
|
|
17
|
+
## 0.3.10-next.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @backstage/integration@1.16.4-next.0
|
|
23
|
+
- @backstage/plugin-scaffolder-backend-module-bitbucket-cloud@0.2.9-next.0
|
|
24
|
+
- @backstage/plugin-scaffolder-backend-module-bitbucket-server@0.2.9-next.0
|
|
25
|
+
- @backstage/plugin-scaffolder-node@0.8.2-next.0
|
|
26
|
+
- @backstage/backend-plugin-api@1.3.1-next.0
|
|
27
|
+
- @backstage/config@1.3.2
|
|
28
|
+
- @backstage/errors@1.2.7
|
|
29
|
+
|
|
3
30
|
## 0.3.9
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -152,7 +152,7 @@ const examples = [
|
|
|
152
152
|
})
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
description: "Initializes a Bitbucket repository with all
|
|
155
|
+
description: "Initializes a Bitbucket repository with all properties being set",
|
|
156
156
|
example: yaml__default.default.stringify({
|
|
157
157
|
steps: [
|
|
158
158
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitbucket.examples.cjs.js","sources":["../../src/actions/bitbucket.examples.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { TemplateExample } from '@backstage/plugin-scaffolder-node';\nimport yaml from 'yaml';\n\nexport const examples: TemplateExample[] = [\n {\n description:\n 'Initializes a git repository with the content in the workspace, and publishes it to Bitbucket with the default configuration.',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Bitbucket repository with a description.',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n description: 'Initialize a git repository',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with public repo visibility, if not set defaults to private',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n repoVisibility: 'public',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with a default branch, if not set defaults to master',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n defaultBranch: 'main',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the repository',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n sourcePath: './repoRoot',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Bitbucket repository with LFS enabled',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl: 'hosted.bitbucket.com?project=project&repo=repo',\n enableLFS: true,\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with a custom authentication token',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n token: 'your-auth-token',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with an initial commit message, if not set defaults to `initial commit`',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n gitCommitMessage: 'Initial commit with custom message',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Bitbucket repository with a custom author',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n gitAuthorName: 'Your Name',\n gitAuthorEmail: 'your.email@example.com',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with all
|
|
1
|
+
{"version":3,"file":"bitbucket.examples.cjs.js","sources":["../../src/actions/bitbucket.examples.ts"],"sourcesContent":["/*\n * Copyright 2023 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 { TemplateExample } from '@backstage/plugin-scaffolder-node';\nimport yaml from 'yaml';\n\nexport const examples: TemplateExample[] = [\n {\n description:\n 'Initializes a git repository with the content in the workspace, and publishes it to Bitbucket with the default configuration.',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Bitbucket repository with a description.',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n description: 'Initialize a git repository',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with public repo visibility, if not set defaults to private',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n repoVisibility: 'public',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with a default branch, if not set defaults to master',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n defaultBranch: 'main',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Path within the workspace that will be used as the repository root. If omitted, the entire workspace will be published as the repository',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n sourcePath: './repoRoot',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Bitbucket repository with LFS enabled',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl: 'hosted.bitbucket.com?project=project&repo=repo',\n enableLFS: true,\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with a custom authentication token',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n token: 'your-auth-token',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with an initial commit message, if not set defaults to `initial commit`',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n gitCommitMessage: 'Initial commit with custom message',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Bitbucket repository with a custom author',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n gitAuthorName: 'Your Name',\n gitAuthorEmail: 'your.email@example.com',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Bitbucket repository with all properties being set',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:bitbucket',\n name: 'Publish to Bitbucket',\n input: {\n repoUrl:\n 'bitbucket.org?repo=repo&workspace=workspace&project=project',\n description: 'Initialize a git repository',\n repoVisibility: 'public',\n defaultBranch: 'main',\n token: 'your-auth-token',\n gitCommitMessage: 'Initial commit with custom message',\n gitAuthorName: 'Your Name',\n gitAuthorEmail: 'your.email@example.com',\n },\n },\n ],\n }),\n },\n];\n"],"names":["yaml"],"mappings":";;;;;;;;AAmBO,MAAM,QAA8B,GAAA;AAAA,EACzC;AAAA,IACE,WACE,EAAA,+HAAA;AAAA,IACF,OAAA,EAASA,sBAAK,SAAU,CAAA;AAAA,MACtB,KAAO,EAAA;AAAA,QACL;AAAA,UACE,EAAI,EAAA,SAAA;AAAA,UACJ,MAAQ,EAAA,mBAAA;AAAA,UACR,IAAM,EAAA,sBAAA;AAAA,UACN,KAAO,EAAA;AAAA,YACL,OACE,EAAA;AAAA;AACJ;AACF;AACF,KACD;AAAA,GACH;AAAA,EACA;AAAA,IACE,WAAa,EAAA,wDAAA;AAAA,IACb,OAAA,EAASA,sBAAK,SAAU,CAAA;AAAA,MACtB,KAAO,EAAA;AAAA,QACL;AAAA,UACE,EAAI,EAAA,SAAA;AAAA,UACJ,MAAQ,EAAA,mBAAA;AAAA,UACR,IAAM,EAAA,sBAAA;AAAA,UACN,KAAO,EAAA;AAAA,YACL,OACE,EAAA,6DAAA;AAAA,YACF,WAAa,EAAA;AAAA;AACf;AACF;AACF,KACD;AAAA,GACH;AAAA,EACA;AAAA,IACE,WACE,EAAA,gGAAA;AAAA,IACF,OAAA,EAASA,sBAAK,SAAU,CAAA;AAAA,MACtB,KAAO,EAAA;AAAA,QACL;AAAA,UACE,EAAI,EAAA,SAAA;AAAA,UACJ,MAAQ,EAAA,mBAAA;AAAA,UACR,IAAM,EAAA,sBAAA;AAAA,UACN,KAAO,EAAA;AAAA,YACL,OACE,EAAA,6DAAA;AAAA,YACF,cAAgB,EAAA;AAAA;AAClB;AACF;AACF,KACD;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AEL;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-bitbucket",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10-next.1",
|
|
4
4
|
"description": "The bitbucket module for @backstage/plugin-scaffolder-backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -50,20 +50,20 @@
|
|
|
50
50
|
"test": "backstage-cli package test"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@backstage/backend-plugin-api": "
|
|
54
|
-
"@backstage/config": "
|
|
55
|
-
"@backstage/errors": "
|
|
56
|
-
"@backstage/integration": "
|
|
57
|
-
"@backstage/plugin-scaffolder-backend-module-bitbucket-cloud": "
|
|
58
|
-
"@backstage/plugin-scaffolder-backend-module-bitbucket-server": "
|
|
59
|
-
"@backstage/plugin-scaffolder-node": "
|
|
53
|
+
"@backstage/backend-plugin-api": "1.3.1-next.1",
|
|
54
|
+
"@backstage/config": "1.3.2",
|
|
55
|
+
"@backstage/errors": "1.2.7",
|
|
56
|
+
"@backstage/integration": "1.16.4-next.1",
|
|
57
|
+
"@backstage/plugin-scaffolder-backend-module-bitbucket-cloud": "0.2.9-next.1",
|
|
58
|
+
"@backstage/plugin-scaffolder-backend-module-bitbucket-server": "0.2.9-next.1",
|
|
59
|
+
"@backstage/plugin-scaffolder-node": "0.8.2-next.1",
|
|
60
60
|
"fs-extra": "^11.2.0",
|
|
61
61
|
"yaml": "^2.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@backstage/backend-test-utils": "
|
|
65
|
-
"@backstage/cli": "
|
|
66
|
-
"@backstage/plugin-scaffolder-node-test-utils": "
|
|
64
|
+
"@backstage/backend-test-utils": "1.5.0-next.1",
|
|
65
|
+
"@backstage/cli": "0.32.1-next.1",
|
|
66
|
+
"@backstage/plugin-scaffolder-node-test-utils": "0.2.2-next.1",
|
|
67
67
|
"msw": "^1.0.0"
|
|
68
68
|
},
|
|
69
69
|
"deprecated": true
|