@backstage/plugin-scaffolder-backend-module-gerrit 0.2.9-next.0 → 0.2.9-next.2
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,28 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-gerrit
|
|
2
2
|
|
|
3
|
+
## 0.2.9-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/integration@1.17.0-next.2
|
|
9
|
+
- @backstage/config@1.3.2
|
|
10
|
+
- @backstage/plugin-scaffolder-node@0.8.2-next.2
|
|
11
|
+
- @backstage/backend-plugin-api@1.3.1-next.1
|
|
12
|
+
- @backstage/errors@1.2.7
|
|
13
|
+
|
|
14
|
+
## 0.2.9-next.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 72d019d: Removed various typos
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/backend-plugin-api@1.3.1-next.1
|
|
21
|
+
- @backstage/integration@1.16.4-next.1
|
|
22
|
+
- @backstage/plugin-scaffolder-node@0.8.2-next.1
|
|
23
|
+
- @backstage/config@1.3.2
|
|
24
|
+
- @backstage/errors@1.2.7
|
|
25
|
+
|
|
3
26
|
## 0.2.9-next.0
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -119,7 +119,7 @@ const examples = [
|
|
|
119
119
|
})
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
|
-
description: "Initializes a Gerrit repository with all
|
|
122
|
+
description: "Initializes a Gerrit repository with all properties being set",
|
|
123
123
|
example: yaml__default.default.stringify({
|
|
124
124
|
steps: [
|
|
125
125
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gerrit.examples.cjs.js","sources":["../../src/actions/gerrit.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 Gerrit repository of contents in workspace and publish it to Gerrit with default configuration.',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Gerrit repository with a description.',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n description: 'Initialize a gerrit repository',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Gerrit repository with a default Branch, if not set defaults to master',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n defaultBranch: 'staging',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Gerrit 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:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n gitCommitMessage: 'Initial Commit Message',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Gerrit repository with a repo Author Name, if not set defaults to Scaffolder',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n gitAuthorName: 'John Doe',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Gerrit repository with a repo Author Email',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n gitAuthorEmail: 'johndoe@email.com',\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:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n sourcePath: 'repository/',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Gerrit repository with all
|
|
1
|
+
{"version":3,"file":"gerrit.examples.cjs.js","sources":["../../src/actions/gerrit.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 Gerrit repository of contents in workspace and publish it to Gerrit with default configuration.',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Gerrit repository with a description.',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n description: 'Initialize a gerrit repository',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Gerrit repository with a default Branch, if not set defaults to master',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n defaultBranch: 'staging',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Gerrit 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:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n gitCommitMessage: 'Initial Commit Message',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Gerrit repository with a repo Author Name, if not set defaults to Scaffolder',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n gitAuthorName: 'John Doe',\n },\n },\n ],\n }),\n },\n {\n description: 'Initializes a Gerrit repository with a repo Author Email',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n gitAuthorEmail: 'johndoe@email.com',\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:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n sourcePath: 'repository/',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initializes a Gerrit repository with all properties being set',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n description: 'Initialize a gerrit repository',\n defaultBranch: 'staging',\n gitCommitMessage: 'Initial Commit Message',\n gitAuthorName: 'John Doe',\n gitAuthorEmail: 'johndoe@email.com',\n sourcePath: 'repository/',\n },\n },\n ],\n }),\n },\n {\n description:\n 'Initialize a Gerrit Repository with Custom Default Branch and Commit Message',\n example: yaml.stringify({\n steps: [\n {\n id: 'publish',\n action: 'publish:gerrit',\n name: 'Publish to Gerrit',\n input: {\n repoUrl: 'gerrit.com?repo=repo&owner=owner',\n defaultBranch: 'feature-branch',\n gitCommitMessage: 'Feature branch initialized',\n },\n },\n ],\n }),\n },\n];\n"],"names":["yaml"],"mappings":";;;;;;;;AAmBO,MAAM,QAA8B,GAAA;AAAA,EACzC;AAAA,IACE,WACE,EAAA,+GAAA;AAAA,IACF,OAAA,EAASA,sBAAK,SAAU,CAAA;AAAA,MACtB,KAAO,EAAA;AAAA,QACL;AAAA,UACE,EAAI,EAAA,SAAA;AAAA,UACJ,MAAQ,EAAA,gBAAA;AAAA,UACR,IAAM,EAAA,mBAAA;AAAA,UACN,KAAO,EAAA;AAAA,YACL,OAAS,EAAA;AAAA;AACX;AACF;AACF,KACD;AAAA,GACH;AAAA,EACA;AAAA,IACE,WAAa,EAAA,qDAAA;AAAA,IACb,OAAA,EAASA,sBAAK,SAAU,CAAA;AAAA,MACtB,KAAO,EAAA;AAAA,QACL;AAAA,UACE,EAAI,EAAA,SAAA;AAAA,UACJ,MAAQ,EAAA,gBAAA;AAAA,UACR,IAAM,EAAA,mBAAA;AAAA,UACN,KAAO,EAAA;AAAA,YACL,OAAS,EAAA,kCAAA;AAAA,YACT,WAAa,EAAA;AAAA;AACf;AACF;AACF,KACD;AAAA,GACH;AAAA,EACA;AAAA,IACE,WACE,EAAA,sFAAA;AAAA,IACF,OAAA,EAASA,sBAAK,SAAU,CAAA;AAAA,MACtB,KAAO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version": "0.2.9-next.
|
|
3
|
+
"version": "0.2.9-next.2",
|
|
4
4
|
"description": "The gerrit module for @backstage/plugin-scaffolder-backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
"test": "backstage-cli package test"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@backstage/backend-plugin-api": "1.3.1-next.
|
|
53
|
+
"@backstage/backend-plugin-api": "1.3.1-next.1",
|
|
54
54
|
"@backstage/config": "1.3.2",
|
|
55
55
|
"@backstage/errors": "1.2.7",
|
|
56
|
-
"@backstage/integration": "1.
|
|
57
|
-
"@backstage/plugin-scaffolder-node": "0.8.2-next.
|
|
56
|
+
"@backstage/integration": "1.17.0-next.2",
|
|
57
|
+
"@backstage/plugin-scaffolder-node": "0.8.2-next.2",
|
|
58
58
|
"yaml": "^2.0.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@backstage/backend-test-utils": "1.5.0-next.
|
|
62
|
-
"@backstage/cli": "0.32.1-next.
|
|
63
|
-
"@backstage/plugin-scaffolder-node-test-utils": "0.2.2-next.
|
|
61
|
+
"@backstage/backend-test-utils": "1.5.0-next.2",
|
|
62
|
+
"@backstage/cli": "0.32.1-next.2",
|
|
63
|
+
"@backstage/plugin-scaffolder-node-test-utils": "0.2.2-next.2",
|
|
64
64
|
"msw": "^1.0.0"
|
|
65
65
|
}
|
|
66
66
|
}
|