@backstage/plugin-scaffolder-backend-module-cookiecutter 0.3.15-next.0 → 0.3.16-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 +25 -0
- package/dist/module.cjs.js +2 -2
- package/dist/module.cjs.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend-module-cookiecutter
|
|
2
2
|
|
|
3
|
+
## 0.3.16-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c8aa210: Updating import for the `scaffolderActionsExtensionPoint` to be the main export
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/backend-defaults@0.13.0-next.0
|
|
10
|
+
- @backstage/integration@1.18.1-next.0
|
|
11
|
+
- @backstage/plugin-scaffolder-node@0.12.0-next.0
|
|
12
|
+
- @backstage/backend-plugin-api@1.4.3
|
|
13
|
+
- @backstage/config@1.3.3
|
|
14
|
+
- @backstage/errors@1.2.7
|
|
15
|
+
- @backstage/types@1.2.2
|
|
16
|
+
|
|
17
|
+
## 0.3.15
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @backstage/backend-defaults@0.12.1
|
|
23
|
+
- @backstage/integration@1.18.0
|
|
24
|
+
- @backstage/types@1.2.2
|
|
25
|
+
- @backstage/backend-plugin-api@1.4.3
|
|
26
|
+
- @backstage/plugin-scaffolder-node@0.11.1
|
|
27
|
+
|
|
3
28
|
## 0.3.15-next.0
|
|
4
29
|
|
|
5
30
|
### 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 cookiecutter = require('./actions/fetch/cookiecutter.cjs.js');
|
|
6
6
|
var integration = require('@backstage/integration');
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ const cookiecutterModule = 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 { createFetchCookiecutterAction } from './actions';\nimport { ScmIntegrations } from '@backstage/integration';\n\n/**\n * @public\n * The Cookiecutter Module for the Scaffolder Backend\n */\nexport const cookiecutterModule = createBackendModule({\n pluginId: 'scaffolder',\n moduleId: 'cookiecutter',\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 scaffolder.addActions(\n createFetchCookiecutterAction({ reader, integrations }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","scaffolderActionsExtensionPoint","coreServices","ScmIntegrations","createFetchCookiecutterAction"],"mappings":";;;;;;;AA2BO,MAAM,qBAAqBA,oCAAA,CAAoB;AAAA,EACpD,QAAA,EAAU,YAAA;AAAA,EACV,QAAA,EAAU,cAAA;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;AACtD,QAAA,UAAA,CAAW,UAAA;AAAA,UACTC,0CAAA,CAA8B,EAAE,MAAA,EAAQ,YAAA,EAAc;AAAA,SACxD;AAAA,MACF;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-cookiecutter",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16-next.0",
|
|
4
4
|
"description": "A module for the scaffolder backend that lets you template projects using cookiecutter",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"test": "backstage-cli package test"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@backstage/backend-defaults": "0.
|
|
55
|
-
"@backstage/backend-plugin-api": "1.4.3
|
|
54
|
+
"@backstage/backend-defaults": "0.13.0-next.0",
|
|
55
|
+
"@backstage/backend-plugin-api": "1.4.3",
|
|
56
56
|
"@backstage/config": "1.3.3",
|
|
57
57
|
"@backstage/errors": "1.2.7",
|
|
58
|
-
"@backstage/integration": "1.18.
|
|
59
|
-
"@backstage/plugin-scaffolder-node": "0.
|
|
60
|
-
"@backstage/types": "1.2.
|
|
58
|
+
"@backstage/integration": "1.18.1-next.0",
|
|
59
|
+
"@backstage/plugin-scaffolder-node": "0.12.0-next.0",
|
|
60
|
+
"@backstage/types": "1.2.2",
|
|
61
61
|
"command-exists": "^1.2.9",
|
|
62
62
|
"fs-extra": "^11.2.0",
|
|
63
63
|
"winston": "^3.2.1",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"yn": "^4.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@backstage/backend-test-utils": "1.9.
|
|
69
|
-
"@backstage/cli": "0.34.
|
|
70
|
-
"@backstage/plugin-scaffolder-node-test-utils": "0.3.
|
|
68
|
+
"@backstage/backend-test-utils": "1.9.1-next.0",
|
|
69
|
+
"@backstage/cli": "0.34.4-next.0",
|
|
70
|
+
"@backstage/plugin-scaffolder-node-test-utils": "0.3.4-next.0",
|
|
71
71
|
"@types/command-exists": "^1.2.0",
|
|
72
72
|
"@types/fs-extra": "^11.0.0"
|
|
73
73
|
}
|