@backstage/plugin-scaffolder-backend-module-cookiecutter 0.3.15 → 0.3.16-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,30 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-cookiecutter
2
2
 
3
+ ## 0.3.16-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/config@1.3.4-next.0
9
+ - @backstage/backend-defaults@0.13.0-next.1
10
+ - @backstage/integration@1.18.1-next.1
11
+ - @backstage/backend-plugin-api@1.4.4-next.0
12
+ - @backstage/plugin-scaffolder-node@0.12.0-next.1
13
+
14
+ ## 0.3.16-next.0
15
+
16
+ ### Patch Changes
17
+
18
+ - c8aa210: Updating import for the `scaffolderActionsExtensionPoint` to be the main export
19
+ - Updated dependencies
20
+ - @backstage/backend-defaults@0.13.0-next.0
21
+ - @backstage/integration@1.18.1-next.0
22
+ - @backstage/plugin-scaffolder-node@0.12.0-next.0
23
+ - @backstage/backend-plugin-api@1.4.3
24
+ - @backstage/config@1.3.3
25
+ - @backstage/errors@1.2.7
26
+ - @backstage/types@1.2.2
27
+
3
28
  ## 0.3.15
4
29
 
5
30
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var backendPluginApi = require('@backstage/backend-plugin-api');
4
- var alpha = require('@backstage/plugin-scaffolder-node/alpha');
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: alpha.scaffolderActionsExtensionPoint,
14
+ scaffolder: pluginScaffolderNode.scaffolderActionsExtensionPoint,
15
15
  config: backendPluginApi.coreServices.rootConfig,
16
16
  reader: backendPluginApi.coreServices.urlReader
17
17
  },
@@ -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/alpha';\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,qCAAA;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;;;;"}
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.15",
3
+ "version": "0.3.16-next.1",
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.12.1",
55
- "@backstage/backend-plugin-api": "^1.4.3",
56
- "@backstage/config": "^1.3.3",
57
- "@backstage/errors": "^1.2.7",
58
- "@backstage/integration": "^1.18.0",
59
- "@backstage/plugin-scaffolder-node": "^0.11.1",
60
- "@backstage/types": "^1.2.2",
54
+ "@backstage/backend-defaults": "0.13.0-next.1",
55
+ "@backstage/backend-plugin-api": "1.4.4-next.0",
56
+ "@backstage/config": "1.3.4-next.0",
57
+ "@backstage/errors": "1.2.7",
58
+ "@backstage/integration": "1.18.1-next.1",
59
+ "@backstage/plugin-scaffolder-node": "0.12.0-next.1",
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.0",
69
- "@backstage/cli": "^0.34.2",
70
- "@backstage/plugin-scaffolder-node-test-utils": "^0.3.3",
68
+ "@backstage/backend-test-utils": "1.9.1-next.1",
69
+ "@backstage/cli": "0.34.4-next.1",
70
+ "@backstage/plugin-scaffolder-node-test-utils": "0.3.4-next.1",
71
71
  "@types/command-exists": "^1.2.0",
72
72
  "@types/fs-extra": "^11.0.0"
73
73
  }