@backstage/plugin-scaffolder-backend-module-gitlab 0.9.5-next.0 → 0.9.6-next.0
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 +22 -0
- package/dist/module.cjs.js +2 -1
- package/dist/module.cjs.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-gitlab
|
|
2
2
|
|
|
3
|
+
## 0.9.6-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c8aa210: Updating import for the `scaffolderActionsExtensionPoint` to be the main export
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/integration@1.18.1-next.0
|
|
10
|
+
- @backstage/plugin-scaffolder-node@0.12.0-next.0
|
|
11
|
+
- @backstage/backend-plugin-api@1.4.3
|
|
12
|
+
- @backstage/config@1.3.3
|
|
13
|
+
- @backstage/errors@1.2.7
|
|
14
|
+
|
|
15
|
+
## 0.9.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- a84ddea: The log message now indicates that the pipeline trigger token was deleted and not pipeline itself.
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @backstage/integration@1.18.0
|
|
22
|
+
- @backstage/backend-plugin-api@1.4.3
|
|
23
|
+
- @backstage/plugin-scaffolder-node@0.11.1
|
|
24
|
+
|
|
3
25
|
## 0.9.5-next.0
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/module.cjs.js
CHANGED
|
@@ -16,6 +16,7 @@ var gitlabRepoPush = require('./actions/gitlabRepoPush.cjs.js');
|
|
|
16
16
|
require('./commonGitlabConfig.cjs.js');
|
|
17
17
|
var gitlabProjectMigrate = require('./actions/gitlabProjectMigrate.cjs.js');
|
|
18
18
|
var autocomplete = require('./autocomplete/autocomplete.cjs.js');
|
|
19
|
+
var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
|
|
19
20
|
|
|
20
21
|
const gitlabModule = backendPluginApi.createBackendModule({
|
|
21
22
|
pluginId: "scaffolder",
|
|
@@ -23,7 +24,7 @@ const gitlabModule = backendPluginApi.createBackendModule({
|
|
|
23
24
|
register({ registerInit }) {
|
|
24
25
|
registerInit({
|
|
25
26
|
deps: {
|
|
26
|
-
scaffolder:
|
|
27
|
+
scaffolder: pluginScaffolderNode.scaffolderActionsExtensionPoint,
|
|
27
28
|
autocomplete: alpha.scaffolderAutocompleteExtensionPoint,
|
|
28
29
|
config: backendPluginApi.coreServices.rootConfig
|
|
29
30
|
},
|
package/dist/module.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.cjs.js","sources":["../src/module.ts"],"sourcesContent":["/*\n * Copyright 2024 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 */\nimport {\n coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\nimport { ScmIntegrations } from '@backstage/integration';\nimport {
|
|
1
|
+
{"version":3,"file":"module.cjs.js","sources":["../src/module.ts"],"sourcesContent":["/*\n * Copyright 2024 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 */\nimport {\n coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\nimport { ScmIntegrations } from '@backstage/integration';\nimport { scaffolderAutocompleteExtensionPoint } from '@backstage/plugin-scaffolder-node/alpha';\nimport {\n createGitlabGroupEnsureExistsAction,\n createGitlabIssueAction,\n createGitlabProjectAccessTokenAction,\n createGitlabProjectDeployTokenAction,\n createGitlabProjectVariableAction,\n createGitlabRepoPushAction,\n createPublishGitlabAction,\n createPublishGitlabMergeRequestAction,\n createTriggerGitlabPipelineAction,\n editGitlabIssueAction,\n} from './actions';\nimport { createGitlabProjectMigrateAction } from './actions/gitlabProjectMigrate';\nimport { createHandleAutocompleteRequest } from './autocomplete/autocomplete';\nimport { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node';\n\n/**\n * @public\n * The GitLab Module for the Scaffolder Backend\n */\nexport const gitlabModule = createBackendModule({\n pluginId: 'scaffolder',\n moduleId: 'gitlab',\n register({ registerInit }) {\n registerInit({\n deps: {\n scaffolder: scaffolderActionsExtensionPoint,\n autocomplete: scaffolderAutocompleteExtensionPoint,\n config: coreServices.rootConfig,\n },\n async init({ scaffolder, autocomplete, config }) {\n const integrations = ScmIntegrations.fromConfig(config);\n\n scaffolder.addActions(\n createGitlabGroupEnsureExistsAction({ integrations }),\n createGitlabProjectMigrateAction({ integrations }),\n createGitlabIssueAction({ integrations }),\n createGitlabProjectAccessTokenAction({ integrations }),\n createGitlabProjectDeployTokenAction({ integrations }),\n createGitlabProjectVariableAction({ integrations }),\n createGitlabRepoPushAction({ integrations }),\n editGitlabIssueAction({ integrations }),\n createPublishGitlabAction({ config, integrations }),\n createPublishGitlabMergeRequestAction({ integrations }),\n createTriggerGitlabPipelineAction({ integrations }),\n );\n\n autocomplete.addAutocompleteProvider({\n id: 'gitlab',\n handler: createHandleAutocompleteRequest({ integrations }),\n });\n },\n });\n },\n});\n"],"names":["createBackendModule","scaffolderActionsExtensionPoint","scaffolderAutocompleteExtensionPoint","coreServices","autocomplete","ScmIntegrations","createGitlabGroupEnsureExistsAction","createGitlabProjectMigrateAction","createGitlabIssueAction","createGitlabProjectAccessTokenAction","createGitlabProjectDeployTokenAction","createGitlabProjectVariableAction","createGitlabRepoPushAction","editGitlabIssueAction","createPublishGitlabAction","createPublishGitlabMergeRequestAction","createTriggerGitlabPipelineAction","createHandleAutocompleteRequest"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyCO,MAAM,eAAeA,oCAAA,CAAoB;AAAA,EAC9C,QAAA,EAAU,YAAA;AAAA,EACV,QAAA,EAAU,QAAA;AAAA,EACV,QAAA,CAAS,EAAE,YAAA,EAAa,EAAG;AACzB,IAAA,YAAA,CAAa;AAAA,MACX,IAAA,EAAM;AAAA,QACJ,UAAA,EAAYC,oDAAA;AAAA,QACZ,YAAA,EAAcC,0CAAA;AAAA,QACd,QAAQC,6BAAA,CAAa;AAAA,OACvB;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,UAAA,gBAAYC,cAAA,EAAc,QAAO,EAAG;AAC/C,QAAA,MAAM,YAAA,GAAeC,2BAAA,CAAgB,UAAA,CAAW,MAAM,CAAA;AAEtD,QAAA,UAAA,CAAW,UAAA;AAAA,UACTC,2DAAA,CAAoC,EAAE,YAAA,EAAc,CAAA;AAAA,UACpDC,qDAAA,CAAiC,EAAE,YAAA,EAAc,CAAA;AAAA,UACjDC,yCAAA,CAAwB,EAAE,YAAA,EAAc,CAAA;AAAA,UACxCC,mEAAA,CAAqC,EAAE,YAAA,EAAc,CAAA;AAAA,UACrDC,mEAAA,CAAqC,EAAE,YAAA,EAAc,CAAA;AAAA,UACrDC,6DAAA,CAAkC,EAAE,YAAA,EAAc,CAAA;AAAA,UAClDC,yCAAA,CAA2B,EAAE,YAAA,EAAc,CAAA;AAAA,UAC3CC,qCAAA,CAAsB,EAAE,YAAA,EAAc,CAAA;AAAA,UACtCC,gCAAA,CAA0B,EAAE,MAAA,EAAQ,YAAA,EAAc,CAAA;AAAA,UAClDC,wDAAA,CAAsC,EAAE,YAAA,EAAc,CAAA;AAAA,UACtDC,uDAAA,CAAkC,EAAE,YAAA,EAAc;AAAA,SACpD;AAEA,QAAAZ,cAAA,CAAa,uBAAA,CAAwB;AAAA,UACnC,EAAA,EAAI,QAAA;AAAA,UACJ,OAAA,EAASa,4CAAA,CAAgC,EAAE,YAAA,EAAc;AAAA,SAC1D,CAAA;AAAA,MACH;AAAA,KACD,CAAA;AAAA,EACH;AACF,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-gitlab",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6-next.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "backend-plugin-module",
|
|
6
6
|
"pluginId": "scaffolder",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"test": "backstage-cli package test"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@backstage/backend-plugin-api": "1.4.3
|
|
56
|
+
"@backstage/backend-plugin-api": "1.4.3",
|
|
57
57
|
"@backstage/config": "1.3.3",
|
|
58
58
|
"@backstage/errors": "1.2.7",
|
|
59
|
-
"@backstage/integration": "1.18.
|
|
60
|
-
"@backstage/plugin-scaffolder-node": "0.
|
|
59
|
+
"@backstage/integration": "1.18.1-next.0",
|
|
60
|
+
"@backstage/plugin-scaffolder-node": "0.12.0-next.0",
|
|
61
61
|
"@gitbeaker/requester-utils": "^41.2.0",
|
|
62
62
|
"@gitbeaker/rest": "^41.2.0",
|
|
63
63
|
"luxon": "^3.0.0",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"zod": "^3.22.4"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@backstage/backend-test-utils": "1.9.
|
|
70
|
-
"@backstage/cli": "0.34.
|
|
71
|
-
"@backstage/plugin-scaffolder-node-test-utils": "0.3.
|
|
69
|
+
"@backstage/backend-test-utils": "1.9.1-next.0",
|
|
70
|
+
"@backstage/cli": "0.34.4-next.0",
|
|
71
|
+
"@backstage/plugin-scaffolder-node-test-utils": "0.3.4-next.0"
|
|
72
72
|
}
|
|
73
73
|
}
|