@backstage-community/plugin-scaffolder-backend-module-kubernetes 2.11.0 → 2.13.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,17 @@
1
1
  ### Dependencies
2
2
 
3
+ ## 2.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 023193c: Backstage version bump to v1.45.3
8
+
9
+ ## 2.12.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 126f782: Backstage version bump to v1.44.1
14
+
3
15
  ## 2.11.0
4
16
 
5
17
  ### Minor Changes
@@ -2,7 +2,7 @@
2
2
 
3
3
  var backendPluginApi = require('@backstage/backend-plugin-api');
4
4
  var catalogClient = require('@backstage/catalog-client');
5
- var alpha = require('@backstage/plugin-scaffolder-node/alpha');
5
+ var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
6
6
  var createKubernetesNamespace = require('./actions/createKubernetesNamespace.cjs.js');
7
7
 
8
8
  const scaffolderModuleKubernetesAction = backendPluginApi.createBackendModule({
@@ -11,7 +11,7 @@ const scaffolderModuleKubernetesAction = backendPluginApi.createBackendModule({
11
11
  register(env) {
12
12
  env.registerInit({
13
13
  deps: {
14
- scaffolder: alpha.scaffolderActionsExtensionPoint,
14
+ scaffolder: pluginScaffolderNode.scaffolderActionsExtensionPoint,
15
15
  discovery: backendPluginApi.coreServices.discovery
16
16
  },
17
17
  async init({ scaffolder, discovery }) {
@@ -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 { CatalogClient } from '@backstage/catalog-client';\nimport { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node/alpha';\n\nimport { createKubernetesNamespaceAction } from './actions';\n\n/**\n * @public\n */\nexport const scaffolderModuleKubernetesAction = createBackendModule({\n moduleId: 'scaffolder-backend-kubernetes',\n pluginId: 'scaffolder',\n register(env) {\n env.registerInit({\n deps: {\n scaffolder: scaffolderActionsExtensionPoint,\n discovery: coreServices.discovery,\n },\n async init({ scaffolder, discovery }) {\n const catalogClient = new CatalogClient({\n discoveryApi: discovery,\n });\n\n scaffolder.addActions(createKubernetesNamespaceAction(catalogClient));\n },\n });\n },\n});\n"],"names":["createBackendModule","scaffolderActionsExtensionPoint","coreServices","catalogClient","CatalogClient","createKubernetesNamespaceAction"],"mappings":";;;;;;;AA2BO,MAAM,mCAAmCA,oCAAoB,CAAA;AAAA,EAClE,QAAU,EAAA,+BAAA;AAAA,EACV,QAAU,EAAA,YAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,UAAY,EAAAC,qCAAA;AAAA,QACZ,WAAWC,6BAAa,CAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,UAAA,EAAY,WAAa,EAAA;AACpC,QAAM,MAAAC,eAAA,GAAgB,IAAIC,2BAAc,CAAA;AAAA,UACtC,YAAc,EAAA;AAAA,SACf,CAAA;AAED,QAAW,UAAA,CAAA,UAAA,CAAWC,yDAAgC,CAAAF,eAAa,CAAC,CAAA;AAAA;AACtE,KACD,CAAA;AAAA;AAEL,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 { CatalogClient } from '@backstage/catalog-client';\nimport { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node';\n\nimport { createKubernetesNamespaceAction } from './actions';\n\n/**\n * @public\n */\nexport const scaffolderModuleKubernetesAction = createBackendModule({\n moduleId: 'scaffolder-backend-kubernetes',\n pluginId: 'scaffolder',\n register(env) {\n env.registerInit({\n deps: {\n scaffolder: scaffolderActionsExtensionPoint,\n discovery: coreServices.discovery,\n },\n async init({ scaffolder, discovery }) {\n const catalogClient = new CatalogClient({\n discoveryApi: discovery,\n });\n\n scaffolder.addActions(createKubernetesNamespaceAction(catalogClient));\n },\n });\n },\n});\n"],"names":["createBackendModule","scaffolderActionsExtensionPoint","coreServices","catalogClient","CatalogClient","createKubernetesNamespaceAction"],"mappings":";;;;;;;AA2BO,MAAM,mCAAmCA,oCAAoB,CAAA;AAAA,EAClE,QAAU,EAAA,+BAAA;AAAA,EACV,QAAU,EAAA,YAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,UAAY,EAAAC,oDAAA;AAAA,QACZ,WAAWC,6BAAa,CAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,UAAA,EAAY,WAAa,EAAA;AACpC,QAAM,MAAAC,eAAA,GAAgB,IAAIC,2BAAc,CAAA;AAAA,UACtC,YAAc,EAAA;AAAA,SACf,CAAA;AAED,QAAW,UAAA,CAAA,UAAA,CAAWC,yDAAgC,CAAAF,eAAa,CAAC,CAAA;AAAA;AACtE,KACD,CAAA;AAAA;AAEL,CAAC;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-scaffolder-backend-module-kubernetes",
3
3
  "description": "The kubernetes module for @backstage/plugin-scaffolder-backend",
4
- "version": "2.11.0",
4
+ "version": "2.13.0",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -46,16 +46,16 @@
46
46
  "postpack": "backstage-cli package postpack"
47
47
  },
48
48
  "dependencies": {
49
- "@backstage/backend-plugin-api": "^1.4.3",
50
- "@backstage/catalog-client": "^1.12.0",
51
- "@backstage/plugin-scaffolder-node": "^0.11.1",
49
+ "@backstage/backend-plugin-api": "^1.5.0",
50
+ "@backstage/catalog-client": "^1.12.1",
51
+ "@backstage/plugin-scaffolder-node": "^0.12.1",
52
52
  "@kubernetes/client-node": "1.1.2",
53
53
  "yaml": "^2.0.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@backstage/catalog-model": "^1.7.5",
57
- "@backstage/cli": "^0.34.3",
58
- "@backstage/plugin-scaffolder-node-test-utils": "^0.3.3",
56
+ "@backstage/catalog-model": "^1.7.6",
57
+ "@backstage/cli": "^0.34.5",
58
+ "@backstage/plugin-scaffolder-node-test-utils": "^0.3.5",
59
59
  "msw": "1.3.5"
60
60
  },
61
61
  "files": [