@backstage/plugin-scaffolder-backend-module-rails 0.5.13 → 0.5.14-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 +23 -0
- package/dist/module.cjs.js +2 -2
- package/dist/module.cjs.js.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-rails
|
|
2
2
|
|
|
3
|
+
## 0.5.14-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/config@1.3.4-next.0
|
|
9
|
+
- @backstage/integration@1.18.1-next.1
|
|
10
|
+
- @backstage/backend-plugin-api@1.4.4-next.0
|
|
11
|
+
- @backstage/plugin-scaffolder-node@0.12.0-next.1
|
|
12
|
+
|
|
13
|
+
## 0.5.14-next.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- c8aa210: Updating import for the `scaffolderActionsExtensionPoint` to be the main export
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- @backstage/integration@1.18.1-next.0
|
|
20
|
+
- @backstage/plugin-scaffolder-node@0.12.0-next.0
|
|
21
|
+
- @backstage/backend-plugin-api@1.4.3
|
|
22
|
+
- @backstage/config@1.3.3
|
|
23
|
+
- @backstage/errors@1.2.7
|
|
24
|
+
- @backstage/types@1.2.2
|
|
25
|
+
|
|
3
26
|
## 0.5.13
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/module.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var backendPluginApi = require('@backstage/backend-plugin-api');
|
|
4
|
-
var
|
|
4
|
+
var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
|
|
5
5
|
var index = require('./actions/fetch/rails/index.cjs.js');
|
|
6
6
|
var integration = require('@backstage/integration');
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ const railsModule = backendPluginApi.createBackendModule({
|
|
|
11
11
|
register({ registerInit }) {
|
|
12
12
|
registerInit({
|
|
13
13
|
deps: {
|
|
14
|
-
scaffolder:
|
|
14
|
+
scaffolder: pluginScaffolderNode.scaffolderActionsExtensionPoint,
|
|
15
15
|
config: backendPluginApi.coreServices.rootConfig,
|
|
16
16
|
reader: backendPluginApi.coreServices.urlReader
|
|
17
17
|
},
|
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 { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node
|
|
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 { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node';\nimport { createFetchRailsAction } from './actions';\nimport { ScmIntegrations } from '@backstage/integration';\n\n/**\n * @public\n * The Rails Module for the Scaffolder Backend\n */\nexport const railsModule = createBackendModule({\n pluginId: 'scaffolder',\n moduleId: 'rails',\n register({ registerInit }) {\n registerInit({\n deps: {\n scaffolder: scaffolderActionsExtensionPoint,\n config: coreServices.rootConfig,\n reader: coreServices.urlReader,\n },\n async init({ scaffolder, config, reader }) {\n const integrations = ScmIntegrations.fromConfig(config);\n\n scaffolder.addActions(createFetchRailsAction({ integrations, reader }));\n },\n });\n },\n});\n"],"names":["createBackendModule","scaffolderActionsExtensionPoint","coreServices","ScmIntegrations","createFetchRailsAction"],"mappings":";;;;;;;AA2BO,MAAM,cAAcA,oCAAA,CAAoB;AAAA,EAC7C,QAAA,EAAU,YAAA;AAAA,EACV,QAAA,EAAU,OAAA;AAAA,EACV,QAAA,CAAS,EAAE,YAAA,EAAa,EAAG;AACzB,IAAA,YAAA,CAAa;AAAA,MACX,IAAA,EAAM;AAAA,QACJ,UAAA,EAAYC,oDAAA;AAAA,QACZ,QAAQC,6BAAA,CAAa,UAAA;AAAA,QACrB,QAAQA,6BAAA,CAAa;AAAA,OACvB;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,UAAA,EAAY,MAAA,EAAQ,QAAO,EAAG;AACzC,QAAA,MAAM,YAAA,GAAeC,2BAAA,CAAgB,UAAA,CAAW,MAAM,CAAA;AAEtD,QAAA,UAAA,CAAW,WAAWC,4BAAA,CAAuB,EAAE,YAAA,EAAc,MAAA,EAAQ,CAAC,CAAA;AAAA,MACxE;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-rails",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.14-next.1",
|
|
4
4
|
"description": "A module for the scaffolder backend that lets you template projects using Rails",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -51,20 +51,20 @@
|
|
|
51
51
|
"test": "backstage-cli package test"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@backstage/backend-plugin-api": "
|
|
55
|
-
"@backstage/config": "
|
|
56
|
-
"@backstage/errors": "
|
|
57
|
-
"@backstage/integration": "
|
|
58
|
-
"@backstage/plugin-scaffolder-node": "
|
|
59
|
-
"@backstage/types": "
|
|
54
|
+
"@backstage/backend-plugin-api": "1.4.4-next.0",
|
|
55
|
+
"@backstage/config": "1.3.4-next.0",
|
|
56
|
+
"@backstage/errors": "1.2.7",
|
|
57
|
+
"@backstage/integration": "1.18.1-next.1",
|
|
58
|
+
"@backstage/plugin-scaffolder-node": "0.12.0-next.1",
|
|
59
|
+
"@backstage/types": "1.2.2",
|
|
60
60
|
"command-exists": "^1.2.9",
|
|
61
61
|
"fs-extra": "^11.0.0",
|
|
62
62
|
"yaml": "^2.0.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@backstage/backend-test-utils": "
|
|
66
|
-
"@backstage/cli": "
|
|
67
|
-
"@backstage/plugin-scaffolder-node-test-utils": "
|
|
65
|
+
"@backstage/backend-test-utils": "1.9.1-next.1",
|
|
66
|
+
"@backstage/cli": "0.34.4-next.1",
|
|
67
|
+
"@backstage/plugin-scaffolder-node-test-utils": "0.3.4-next.1",
|
|
68
68
|
"@types/command-exists": "^1.2.0",
|
|
69
69
|
"@types/fs-extra": "^11.0.0",
|
|
70
70
|
"@types/node": "^20.16.0",
|