@backstage/plugin-scaffolder-backend-module-notifications 0.1.14 → 0.1.15-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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-notifications
2
2
 
3
+ ## 0.1.15-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - c8aa210: Updating import for the `scaffolderActionsExtensionPoint` to be the main export
8
+ - Updated dependencies
9
+ - @backstage/plugin-scaffolder-node@0.12.0-next.0
10
+ - @backstage/backend-plugin-api@1.4.3
11
+ - @backstage/plugin-notifications-common@0.1.0
12
+ - @backstage/plugin-notifications-node@0.2.19
13
+
3
14
  ## 0.1.14
4
15
 
5
16
  ### Patch Changes
@@ -2,7 +2,7 @@
2
2
 
3
3
  var backendPluginApi = require('@backstage/backend-plugin-api');
4
4
  var pluginNotificationsNode = require('@backstage/plugin-notifications-node');
5
- var alpha = require('@backstage/plugin-scaffolder-node/alpha');
5
+ var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
6
6
  var sendNotification = require('./actions/sendNotification.cjs.js');
7
7
 
8
8
  const scaffolderModuleNotifications = backendPluginApi.createBackendModule({
@@ -12,7 +12,7 @@ const scaffolderModuleNotifications = backendPluginApi.createBackendModule({
12
12
  reg.registerInit({
13
13
  deps: {
14
14
  notifications: pluginNotificationsNode.notificationService,
15
- scaffolder: alpha.scaffolderActionsExtensionPoint
15
+ scaffolder: pluginScaffolderNode.scaffolderActionsExtensionPoint
16
16
  },
17
17
  async init({ notifications, scaffolder }) {
18
18
  scaffolder.addActions(sendNotification.createSendNotificationAction({ notifications }));
@@ -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 { createBackendModule } from '@backstage/backend-plugin-api';\nimport { notificationService } from '@backstage/plugin-notifications-node';\nimport { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node/alpha';\nimport { createSendNotificationAction } from './actions';\n\n/**\n * @public\n * The Notifications module for the Scaffolder Backend\n */\nexport const scaffolderModuleNotifications = createBackendModule({\n pluginId: 'scaffolder',\n moduleId: 'notifications',\n register(reg) {\n reg.registerInit({\n deps: {\n notifications: notificationService,\n scaffolder: scaffolderActionsExtensionPoint,\n },\n async init({ notifications, scaffolder }) {\n scaffolder.addActions(createSendNotificationAction({ notifications }));\n },\n });\n },\n});\n"],"names":["createBackendModule","notificationService","scaffolderActionsExtensionPoint","createSendNotificationAction"],"mappings":";;;;;;;AAwBO,MAAM,gCAAgCA,oCAAA,CAAoB;AAAA,EAC/D,QAAA,EAAU,YAAA;AAAA,EACV,QAAA,EAAU,eAAA;AAAA,EACV,SAAS,GAAA,EAAK;AACZ,IAAA,GAAA,CAAI,YAAA,CAAa;AAAA,MACf,IAAA,EAAM;AAAA,QACJ,aAAA,EAAeC,2CAAA;AAAA,QACf,UAAA,EAAYC;AAAA,OACd;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,aAAA,EAAe,YAAW,EAAG;AACxC,QAAA,UAAA,CAAW,UAAA,CAAWC,6CAAA,CAA6B,EAAE,aAAA,EAAe,CAAC,CAAA;AAAA,MACvE;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 { createBackendModule } from '@backstage/backend-plugin-api';\nimport { notificationService } from '@backstage/plugin-notifications-node';\nimport { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node';\nimport { createSendNotificationAction } from './actions';\n\n/**\n * @public\n * The Notifications module for the Scaffolder Backend\n */\nexport const scaffolderModuleNotifications = createBackendModule({\n pluginId: 'scaffolder',\n moduleId: 'notifications',\n register(reg) {\n reg.registerInit({\n deps: {\n notifications: notificationService,\n scaffolder: scaffolderActionsExtensionPoint,\n },\n async init({ notifications, scaffolder }) {\n scaffolder.addActions(createSendNotificationAction({ notifications }));\n },\n });\n },\n});\n"],"names":["createBackendModule","notificationService","scaffolderActionsExtensionPoint","createSendNotificationAction"],"mappings":";;;;;;;AAwBO,MAAM,gCAAgCA,oCAAA,CAAoB;AAAA,EAC/D,QAAA,EAAU,YAAA;AAAA,EACV,QAAA,EAAU,eAAA;AAAA,EACV,SAAS,GAAA,EAAK;AACZ,IAAA,GAAA,CAAI,YAAA,CAAa;AAAA,MACf,IAAA,EAAM;AAAA,QACJ,aAAA,EAAeC,2CAAA;AAAA,QACf,UAAA,EAAYC;AAAA,OACd;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,aAAA,EAAe,YAAW,EAAG;AACxC,QAAA,UAAA,CAAW,UAAA,CAAWC,6CAAA,CAA6B,EAAE,aAAA,EAAe,CAAC,CAAA;AAAA,MACvE;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-notifications",
3
- "version": "0.1.14",
3
+ "version": "0.1.15-next.0",
4
4
  "description": "The notifications backend module for the scaffolder plugin.",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -36,15 +36,15 @@
36
36
  "test": "backstage-cli package test"
37
37
  },
38
38
  "dependencies": {
39
- "@backstage/backend-plugin-api": "^1.4.3",
40
- "@backstage/plugin-notifications-common": "^0.1.0",
41
- "@backstage/plugin-notifications-node": "^0.2.19",
42
- "@backstage/plugin-scaffolder-node": "^0.11.1",
39
+ "@backstage/backend-plugin-api": "1.4.3",
40
+ "@backstage/plugin-notifications-common": "0.1.0",
41
+ "@backstage/plugin-notifications-node": "0.2.19",
42
+ "@backstage/plugin-scaffolder-node": "0.12.0-next.0",
43
43
  "yaml": "^2.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@backstage/cli": "^0.34.2",
47
- "@backstage/plugin-scaffolder-node-test-utils": "^0.3.3"
46
+ "@backstage/cli": "0.34.4-next.0",
47
+ "@backstage/plugin-scaffolder-node-test-utils": "0.3.4-next.0"
48
48
  },
49
49
  "typesVersions": {
50
50
  "*": {