@backstage/plugin-scaffolder-backend 1.33.0 → 2.0.0-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,115 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
+ ## 2.0.0-next.1
4
+
5
+ ### Major Changes
6
+
7
+ - 33394db: **BREAKING CHANGES**
8
+
9
+ Removal of deprecated re-exports from module packages.
10
+
11
+ The following functions have been re-exported from the `scaffolder-backend` plugin for quite some time, and now it's time to clean them up. They've been moved as follows:
12
+
13
+ - `createPublishAzureAction` should be imported from `@backstage/plugin-scaffolder-backend-module-azure` instead.
14
+
15
+ - `createPublishBitbucketCloudAction` should be imported from `@backstage/plugin-scaffolder-backend-module-bitbucket-cloud` instead.
16
+
17
+ - `createPublishBitbucketServerAction` and `createPublishBitbucketServerPullRequestAction` can be imported from `@backstage/plugin-scaffolder-backend-module-bitbucket-server` instead.
18
+
19
+ - `createPublishBitbucketAction` should be imported from `@backstage/plugin-scaffolder-backend-module-bitbucket` instead.
20
+
21
+ - `createPublishGerritAction` and `createPublishGerritReviewAction` can be imported from `@backstage/plugin-scaffolder-backend-module-gerrit` instead.
22
+
23
+ - `createGithubActionsDispatchAction`, `createGithubDeployKeyAction`, `createGithubEnvironmentAction`, `createGithubIssuesLabelAction`, `CreateGithubPullRequestActionOptions`, `createGithubRepoCreateAction`, `createGithubRepoPushAction`, `createGithubWebhookAction`, and `createPublishGithubAction` can be imported from `@backstage/plugin-scaffolder-backend-module-github` instead.
24
+
25
+ - `createPublishGitlabAction` should be imported from `@backstage/plugin-scaffolder-backend-module-gitlab` instead.
26
+
27
+ - `ActionContext`. `createTemplateAction`, `executeShellCommand`, `ExecuteShellCommandOptions`, `fetchContents`, `TaskSecrets`, and `TemplateAction` should be imported from `@backstage/plugin-scaffolder-node` instead.
28
+
29
+ - `ScaffolderEntitiesProcessor` should be imported from `@backstage/plugin-catalog-backend-module-scaffolder-entity-model` instead.
30
+
31
+ - a8fcf04: **BREAKING ALPHA**: The `/alpha` export no longer exports the plugin. Please use `import('@backstage/plugin-scaffolder-backend')` instead as this has been removed.
32
+
33
+ **BREAKING CHANGES**: The old `createRouter` function which was used in the old backend system has been removed along with the `RouterOptions` type.
34
+
35
+ - 73b94d7: **BREAKING CHANGES**
36
+
37
+ The following functions have been re-exported from the `scaffolder-backend` plugin for quite some time, and now it's time to clean them up. They've been moved as follows:
38
+
39
+ - `SerializedTask`, `SerializedTaskEvent`, `TaskBroker`, `TaskBrokerDispatchOptions`, `TaskBrokerDispatchResult`, `TaskCompletionState`, `TaskContext`, `TaskEventType`, `TaskStatus`, `TemplateFilter`, and `TemplateGlobal` should be imported from `@backstage/plugin-scaffolder-node` instead.
40
+
41
+ - The deprecated `copyWithoutRender` option has been removed from `fetch:template` action. You should rename the option to `copyWithoutTemplating` instead.
42
+
43
+ ### Minor Changes
44
+
45
+ - 73b94d7: **DEPRECATIONS**
46
+
47
+ The following types and implementations have been deprecated, either because they're no longer relevant, or because upcoming changes to the `scaffolder-backend` after `2.0.0` will influence the changes to these API surfaces.
48
+
49
+ - `CreateWorkerOptions`
50
+ - `DatabaseTaskStore`
51
+ - `DatabaseTaskStoreOptions`
52
+ - `TaskManager`
53
+ - `TaskStoreCreateTaskOptions`
54
+ - `TaskStoreCreateTaskResult`
55
+ - `TaskStoreEmitOptions`
56
+ - `TaskStoreListEventsOptions`
57
+ - `TaskStoreRecoverTaskOptions`
58
+ - `TaskStoreShutDownTaskOptions`
59
+
60
+ There is no current path off deprecation, these types are going to be removed and rethought with a better way to define workers in the new backend system.
61
+
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies
65
+ - @backstage/catalog-client@1.10.1-next.0
66
+ - @backstage/plugin-scaffolder-backend-module-azure@0.2.10-next.1
67
+ - @backstage/plugin-scaffolder-backend-module-bitbucket-cloud@0.2.10-next.1
68
+ - @backstage/plugin-scaffolder-node@0.8.3-next.1
69
+ - @backstage/plugin-scaffolder-backend-module-bitbucket-server@0.2.10-next.1
70
+ - @backstage/plugin-scaffolder-backend-module-gerrit@0.2.10-next.1
71
+ - @backstage/plugin-scaffolder-backend-module-gitea@0.2.10-next.1
72
+ - @backstage/plugin-scaffolder-backend-module-bitbucket@0.3.11-next.1
73
+ - @backstage/plugin-auth-node@0.6.4-next.1
74
+ - @backstage/plugin-catalog-node@1.17.1-next.1
75
+ - @backstage/plugin-scaffolder-backend-module-github@0.7.2-next.1
76
+ - @backstage/plugin-scaffolder-backend-module-gitlab@0.9.2-next.1
77
+ - @backstage/backend-defaults@0.10.1-next.1
78
+ - @backstage/backend-plugin-api@1.4.0-next.1
79
+ - @backstage/catalog-model@1.7.4
80
+ - @backstage/config@1.3.2
81
+ - @backstage/errors@1.2.7
82
+ - @backstage/integration@1.17.0
83
+ - @backstage/types@1.2.1
84
+ - @backstage/plugin-bitbucket-cloud-common@0.3.0
85
+ - @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.2.9-next.1
86
+ - @backstage/plugin-events-node@0.4.12-next.1
87
+ - @backstage/plugin-permission-common@0.9.0
88
+ - @backstage/plugin-permission-node@0.10.1-next.1
89
+ - @backstage/plugin-scaffolder-common@1.5.11
90
+
91
+ ## 1.33.1-next.0
92
+
93
+ ### Patch Changes
94
+
95
+ - Updated dependencies
96
+ - @backstage/plugin-scaffolder-backend-module-bitbucket-server@0.2.10-next.0
97
+ - @backstage/plugin-scaffolder-backend-module-bitbucket-cloud@0.2.10-next.0
98
+ - @backstage/plugin-scaffolder-node@0.8.3-next.0
99
+ - @backstage/plugin-scaffolder-backend-module-gitlab@0.9.2-next.0
100
+ - @backstage/backend-plugin-api@1.4.0-next.0
101
+ - @backstage/backend-defaults@0.10.1-next.0
102
+ - @backstage/plugin-scaffolder-backend-module-bitbucket@0.3.11-next.0
103
+ - @backstage/plugin-scaffolder-backend-module-azure@0.2.10-next.0
104
+ - @backstage/plugin-scaffolder-backend-module-gerrit@0.2.10-next.0
105
+ - @backstage/plugin-scaffolder-backend-module-gitea@0.2.10-next.0
106
+ - @backstage/plugin-scaffolder-backend-module-github@0.7.2-next.0
107
+ - @backstage/plugin-auth-node@0.6.4-next.0
108
+ - @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.2.9-next.0
109
+ - @backstage/plugin-catalog-node@1.17.1-next.0
110
+ - @backstage/plugin-events-node@0.4.12-next.0
111
+ - @backstage/plugin-permission-node@0.10.1-next.0
112
+
3
113
  ## 1.33.0
4
114
 
5
115
  ### Minor Changes
@@ -99,7 +99,6 @@ const scaffolderPlugin = backendPluginApi.createBackendPlugin({
99
99
  permissions: backendPluginApi.coreServices.permissions,
100
100
  database: backendPluginApi.coreServices.database,
101
101
  auth: backendPluginApi.coreServices.auth,
102
- discovery: backendPluginApi.coreServices.discovery,
103
102
  httpRouter: backendPluginApi.coreServices.httpRouter,
104
103
  httpAuth: backendPluginApi.coreServices.httpAuth,
105
104
  auditor: backendPluginApi.coreServices.auditor,
@@ -113,7 +112,6 @@ const scaffolderPlugin = backendPluginApi.createBackendPlugin({
113
112
  reader,
114
113
  database,
115
114
  auth,
116
- discovery,
117
115
  httpRouter,
118
116
  httpAuth,
119
117
  catalogClient,
@@ -180,7 +178,6 @@ const scaffolderPlugin = backendPluginApi.createBackendPlugin({
180
178
  additionalTemplateGlobals,
181
179
  auth,
182
180
  httpAuth,
183
- discovery,
184
181
  permissions,
185
182
  autocompleteHandlers,
186
183
  additionalWorkspaceProviders,
@@ -1 +1 @@
1
- {"version":3,"file":"ScaffolderPlugin.cjs.js","sources":["../src/ScaffolderPlugin.ts"],"sourcesContent":["/*\n * Copyright 2022 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 */\n\nimport {\n coreServices,\n createBackendPlugin,\n} from '@backstage/backend-plugin-api';\nimport { ScmIntegrations } from '@backstage/integration';\nimport { catalogServiceRef } from '@backstage/plugin-catalog-node/alpha';\nimport { eventsServiceRef } from '@backstage/plugin-events-node';\nimport { TaskBroker, TemplateAction } from '@backstage/plugin-scaffolder-node';\nimport {\n AutocompleteHandler,\n CreatedTemplateFilter,\n CreatedTemplateGlobal,\n createTemplateFilter,\n createTemplateGlobalFunction,\n createTemplateGlobalValue,\n scaffolderActionsExtensionPoint,\n scaffolderAutocompleteExtensionPoint,\n scaffolderTaskBrokerExtensionPoint,\n scaffolderTemplatingExtensionPoint,\n scaffolderWorkspaceProviderExtensionPoint,\n WorkspaceProvider,\n} from '@backstage/plugin-scaffolder-node/alpha';\nimport {\n createCatalogRegisterAction,\n createCatalogWriteAction,\n createDebugLogAction,\n createFetchCatalogEntityAction,\n createFetchPlainAction,\n createFetchPlainFileAction,\n createFetchTemplateAction,\n createFetchTemplateFileAction,\n createFilesystemDeleteAction,\n createFilesystemReadDirAction,\n createFilesystemRenameAction,\n createWaitAction,\n} from './scaffolder';\nimport { createRouter } from './service/router';\nimport { loggerToWinstonLogger } from './util/loggerToWinstonLogger';\nimport {\n convertFiltersToRecord,\n convertGlobalsToRecord,\n} from './util/templating';\n\n/**\n * Scaffolder plugin\n *\n * @public\n */\nexport const scaffolderPlugin = createBackendPlugin({\n pluginId: 'scaffolder',\n register(env) {\n const addedActions = new Array<TemplateAction<any, any>>();\n env.registerExtensionPoint(scaffolderActionsExtensionPoint, {\n addActions(...newActions: TemplateAction<any>[]) {\n addedActions.push(...newActions);\n },\n });\n\n let taskBroker: TaskBroker | undefined;\n env.registerExtensionPoint(scaffolderTaskBrokerExtensionPoint, {\n setTaskBroker(newTaskBroker) {\n if (taskBroker) {\n throw new Error('Task broker may only be set once');\n }\n taskBroker = newTaskBroker;\n },\n });\n\n const additionalTemplateFilters: CreatedTemplateFilter<any, any>[] = [];\n const additionalTemplateGlobals: CreatedTemplateGlobal[] = [];\n\n env.registerExtensionPoint(scaffolderTemplatingExtensionPoint, {\n addTemplateFilters(newFilters) {\n additionalTemplateFilters.push(\n ...(Array.isArray(newFilters)\n ? newFilters\n : Object.entries(newFilters).map(([id, filter]) =>\n createTemplateFilter({\n id,\n filter,\n }),\n )),\n );\n },\n addTemplateGlobals(newGlobals) {\n additionalTemplateGlobals.push(\n ...(Array.isArray(newGlobals)\n ? newGlobals\n : Object.entries(newGlobals).map(([id, global]) =>\n typeof global === 'function'\n ? createTemplateGlobalFunction({ id, fn: global })\n : createTemplateGlobalValue({ id, value: global }),\n )),\n );\n },\n });\n\n const autocompleteHandlers: Record<string, AutocompleteHandler> = {};\n env.registerExtensionPoint(scaffolderAutocompleteExtensionPoint, {\n addAutocompleteProvider(provider) {\n autocompleteHandlers[provider.id] = provider.handler;\n },\n });\n\n const additionalWorkspaceProviders: Record<string, WorkspaceProvider> = {};\n env.registerExtensionPoint(scaffolderWorkspaceProviderExtensionPoint, {\n addProviders(provider) {\n Object.assign(additionalWorkspaceProviders, provider);\n },\n });\n\n env.registerInit({\n deps: {\n logger: coreServices.logger,\n config: coreServices.rootConfig,\n lifecycle: coreServices.rootLifecycle,\n reader: coreServices.urlReader,\n permissions: coreServices.permissions,\n database: coreServices.database,\n auth: coreServices.auth,\n discovery: coreServices.discovery,\n httpRouter: coreServices.httpRouter,\n httpAuth: coreServices.httpAuth,\n auditor: coreServices.auditor,\n catalogClient: catalogServiceRef,\n events: eventsServiceRef,\n },\n async init({\n logger,\n config,\n lifecycle,\n reader,\n database,\n auth,\n discovery,\n httpRouter,\n httpAuth,\n catalogClient,\n permissions,\n events,\n auditor,\n }) {\n const log = loggerToWinstonLogger(logger);\n const integrations = ScmIntegrations.fromConfig(config);\n\n const templateExtensions = {\n additionalTemplateFilters: convertFiltersToRecord(\n additionalTemplateFilters,\n ),\n additionalTemplateGlobals: convertGlobalsToRecord(\n additionalTemplateGlobals,\n ),\n };\n const actions = [\n // actions provided from other modules\n ...addedActions,\n\n // built-in actions for the scaffolder\n createFetchPlainAction({\n reader,\n integrations,\n }),\n createFetchPlainFileAction({\n reader,\n integrations,\n }),\n createFetchTemplateAction({\n integrations,\n reader,\n ...templateExtensions,\n }),\n createFetchTemplateFileAction({\n integrations,\n reader,\n ...templateExtensions,\n }),\n createDebugLogAction(),\n createWaitAction(),\n // todo(blam): maybe these should be a -catalog module?\n createCatalogRegisterAction({ catalogClient, integrations, auth }),\n createFetchCatalogEntityAction({ catalogClient, auth }),\n createCatalogWriteAction(),\n createFilesystemDeleteAction(),\n createFilesystemRenameAction(),\n createFilesystemReadDirAction(),\n ];\n\n const actionIds = actions.map(action => action.id).join(', ');\n\n log.info(\n `Starting scaffolder with the following actions enabled ${actionIds}`,\n );\n\n const router = await createRouter({\n logger: log,\n config,\n database,\n catalogClient,\n reader,\n lifecycle,\n actions,\n taskBroker,\n additionalTemplateFilters,\n additionalTemplateGlobals,\n auth,\n httpAuth,\n discovery,\n permissions,\n autocompleteHandlers,\n additionalWorkspaceProviders,\n events,\n auditor,\n });\n httpRouter.use(router);\n },\n });\n },\n});\n"],"names":["createBackendPlugin","scaffolderActionsExtensionPoint","scaffolderTaskBrokerExtensionPoint","scaffolderTemplatingExtensionPoint","createTemplateFilter","createTemplateGlobalFunction","createTemplateGlobalValue","scaffolderAutocompleteExtensionPoint","scaffolderWorkspaceProviderExtensionPoint","coreServices","catalogServiceRef","eventsServiceRef","log","loggerToWinstonLogger","ScmIntegrations","convertFiltersToRecord","convertGlobalsToRecord","createFetchPlainAction","createFetchPlainFileAction","createFetchTemplateAction","createFetchTemplateFileAction","createDebugLogAction","createWaitAction","createCatalogRegisterAction","createFetchCatalogEntityAction","createCatalogWriteAction","createFilesystemDeleteAction","createFilesystemRenameAction","createFilesystemReadDirAction","router","createRouter"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A,CAAA,IAAA;AAAA,UACF,0DAA0D,SAAS,CAAA;AAAA,SACrE;AAEA,QAAM,MAAAiB,QAAA,GAAS,MAAMC,mBAAa,CAAA;AAAA,UAChC,MAAQ,EAAAlB,KAAA;AAAA,UACR,MAAA;AAAA,UACA,QAAA;AAAA,UACA,aAAA;AAAA,UACA,MAAA;AAAA,UACA,SAAA;AAAA,UACA,OAAA;AAAA,UACA,UAAA;AAAA,UACA,yBAAA;AAAA,UACA,yBAAA;AAAA,UACA,IAAA;AAAA,UACA,QAAA;AAAA,UACA,SAAA;AAAA,UACA,WAAA;AAAA,UACA,oBAAA;AAAA,UACA,4BAAA;AAAA,UACA,MAAA;AAAA,UACA;AAAA,SACD,CAAA;AACD,QAAA,UAAA,CAAW,IAAIiB,QAAM,CAAA;AAAA;AACvB,KACD,CAAA;AAAA;AAEL,CAAC;;;;"}
1
+ {"version":3,"file":"ScaffolderPlugin.cjs.js","sources":["../src/ScaffolderPlugin.ts"],"sourcesContent":["/*\n * Copyright 2022 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 */\n\nimport {\n coreServices,\n createBackendPlugin,\n} from '@backstage/backend-plugin-api';\nimport { ScmIntegrations } from '@backstage/integration';\nimport { catalogServiceRef } from '@backstage/plugin-catalog-node/alpha';\nimport { eventsServiceRef } from '@backstage/plugin-events-node';\nimport { TaskBroker, TemplateAction } from '@backstage/plugin-scaffolder-node';\nimport {\n AutocompleteHandler,\n CreatedTemplateFilter,\n CreatedTemplateGlobal,\n createTemplateFilter,\n createTemplateGlobalFunction,\n createTemplateGlobalValue,\n scaffolderActionsExtensionPoint,\n scaffolderAutocompleteExtensionPoint,\n scaffolderTaskBrokerExtensionPoint,\n scaffolderTemplatingExtensionPoint,\n scaffolderWorkspaceProviderExtensionPoint,\n WorkspaceProvider,\n} from '@backstage/plugin-scaffolder-node/alpha';\nimport {\n createCatalogRegisterAction,\n createCatalogWriteAction,\n createDebugLogAction,\n createFetchCatalogEntityAction,\n createFetchPlainAction,\n createFetchPlainFileAction,\n createFetchTemplateAction,\n createFetchTemplateFileAction,\n createFilesystemDeleteAction,\n createFilesystemReadDirAction,\n createFilesystemRenameAction,\n createWaitAction,\n} from './scaffolder';\nimport { createRouter } from './service/router';\nimport { loggerToWinstonLogger } from './util/loggerToWinstonLogger';\nimport {\n convertFiltersToRecord,\n convertGlobalsToRecord,\n} from './util/templating';\n\n/**\n * Scaffolder plugin\n *\n * @public\n */\nexport const scaffolderPlugin = createBackendPlugin({\n pluginId: 'scaffolder',\n register(env) {\n const addedActions = new Array<TemplateAction<any, any>>();\n env.registerExtensionPoint(scaffolderActionsExtensionPoint, {\n addActions(...newActions: TemplateAction<any>[]) {\n addedActions.push(...newActions);\n },\n });\n\n let taskBroker: TaskBroker | undefined;\n env.registerExtensionPoint(scaffolderTaskBrokerExtensionPoint, {\n setTaskBroker(newTaskBroker) {\n if (taskBroker) {\n throw new Error('Task broker may only be set once');\n }\n taskBroker = newTaskBroker;\n },\n });\n\n const additionalTemplateFilters: CreatedTemplateFilter<any, any>[] = [];\n const additionalTemplateGlobals: CreatedTemplateGlobal[] = [];\n\n env.registerExtensionPoint(scaffolderTemplatingExtensionPoint, {\n addTemplateFilters(newFilters) {\n additionalTemplateFilters.push(\n ...(Array.isArray(newFilters)\n ? newFilters\n : Object.entries(newFilters).map(([id, filter]) =>\n createTemplateFilter({\n id,\n filter,\n }),\n )),\n );\n },\n addTemplateGlobals(newGlobals) {\n additionalTemplateGlobals.push(\n ...(Array.isArray(newGlobals)\n ? newGlobals\n : Object.entries(newGlobals).map(([id, global]) =>\n typeof global === 'function'\n ? createTemplateGlobalFunction({ id, fn: global })\n : createTemplateGlobalValue({ id, value: global }),\n )),\n );\n },\n });\n\n const autocompleteHandlers: Record<string, AutocompleteHandler> = {};\n env.registerExtensionPoint(scaffolderAutocompleteExtensionPoint, {\n addAutocompleteProvider(provider) {\n autocompleteHandlers[provider.id] = provider.handler;\n },\n });\n\n const additionalWorkspaceProviders: Record<string, WorkspaceProvider> = {};\n env.registerExtensionPoint(scaffolderWorkspaceProviderExtensionPoint, {\n addProviders(provider) {\n Object.assign(additionalWorkspaceProviders, provider);\n },\n });\n\n env.registerInit({\n deps: {\n logger: coreServices.logger,\n config: coreServices.rootConfig,\n lifecycle: coreServices.rootLifecycle,\n reader: coreServices.urlReader,\n permissions: coreServices.permissions,\n database: coreServices.database,\n auth: coreServices.auth,\n httpRouter: coreServices.httpRouter,\n httpAuth: coreServices.httpAuth,\n auditor: coreServices.auditor,\n catalogClient: catalogServiceRef,\n events: eventsServiceRef,\n },\n async init({\n logger,\n config,\n lifecycle,\n reader,\n database,\n auth,\n httpRouter,\n httpAuth,\n catalogClient,\n permissions,\n events,\n auditor,\n }) {\n const log = loggerToWinstonLogger(logger);\n const integrations = ScmIntegrations.fromConfig(config);\n\n const templateExtensions = {\n additionalTemplateFilters: convertFiltersToRecord(\n additionalTemplateFilters,\n ),\n additionalTemplateGlobals: convertGlobalsToRecord(\n additionalTemplateGlobals,\n ),\n };\n const actions = [\n // actions provided from other modules\n ...addedActions,\n\n // built-in actions for the scaffolder\n createFetchPlainAction({\n reader,\n integrations,\n }),\n createFetchPlainFileAction({\n reader,\n integrations,\n }),\n createFetchTemplateAction({\n integrations,\n reader,\n ...templateExtensions,\n }),\n createFetchTemplateFileAction({\n integrations,\n reader,\n ...templateExtensions,\n }),\n createDebugLogAction(),\n createWaitAction(),\n // todo(blam): maybe these should be a -catalog module?\n createCatalogRegisterAction({ catalogClient, integrations, auth }),\n createFetchCatalogEntityAction({ catalogClient, auth }),\n createCatalogWriteAction(),\n createFilesystemDeleteAction(),\n createFilesystemRenameAction(),\n createFilesystemReadDirAction(),\n ];\n\n const actionIds = actions.map(action => action.id).join(', ');\n\n log.info(\n `Starting scaffolder with the following actions enabled ${actionIds}`,\n );\n\n const router = await createRouter({\n logger: log,\n config,\n database,\n catalogClient,\n reader,\n lifecycle,\n actions,\n taskBroker,\n additionalTemplateFilters,\n additionalTemplateGlobals,\n auth,\n httpAuth,\n permissions,\n autocompleteHandlers,\n additionalWorkspaceProviders,\n events,\n auditor,\n });\n httpRouter.use(router);\n },\n });\n },\n});\n"],"names":["createBackendPlugin","scaffolderActionsExtensionPoint","scaffolderTaskBrokerExtensionPoint","scaffolderTemplatingExtensionPoint","createTemplateFilter","createTemplateGlobalFunction","createTemplateGlobalValue","scaffolderAutocompleteExtensionPoint","scaffolderWorkspaceProviderExtensionPoint","coreServices","catalogServiceRef","eventsServiceRef","log","loggerToWinstonLogger","ScmIntegrations","convertFiltersToRecord","convertGlobalsToRecord","createFetchPlainAction","createFetchPlainFileAction","createFetchTemplateAction","createFetchTemplateFileAction","createDebugLogAction","createWaitAction","createCatalogRegisterAction","createFetchCatalogEntityAction","createCatalogWriteAction","createFilesystemDeleteAction","createFilesystemRenameAction","createFilesystemReadDirAction","router","createRouter"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEO,MAAM,mBAAmBA,oCAAoB,CAAA;AAAA,EAClD,QAAU,EAAA,YAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAM,MAAA,YAAA,GAAe,IAAI,KAAgC,EAAA;AACzD,IAAA,GAAA,CAAI,uBAAuBC,qCAAiC,EAAA;AAAA,MAC1D,cAAc,UAAmC,EAAA;AAC/C,QAAa,YAAA,CAAA,IAAA,CAAK,GAAG,UAAU,CAAA;AAAA;AACjC,KACD,CAAA;AAED,IAAI,IAAA,UAAA;AACJ,IAAA,GAAA,CAAI,uBAAuBC,wCAAoC,EAAA;AAAA,MAC7D,cAAc,aAAe,EAAA;AAC3B,QAAA,IAA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ACvB,KACD,CAAA;AAAA;AAEL,CAAC;;;;"}
package/dist/alpha.cjs.js CHANGED
@@ -1,15 +1,11 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
3
+ var alpha = require('./service/alpha.cjs.js');
4
4
 
5
- var ScaffolderPlugin = require('./ScaffolderPlugin.cjs.js');
6
- var conditionExports = require('./service/conditionExports.cjs.js');
7
5
 
8
- const _feature = ScaffolderPlugin.scaffolderPlugin;
9
6
 
10
- exports.createScaffolderActionConditionalDecision = conditionExports.createScaffolderActionConditionalDecision;
11
- exports.createScaffolderTemplateConditionalDecision = conditionExports.createScaffolderTemplateConditionalDecision;
12
- exports.scaffolderActionConditions = conditionExports.scaffolderActionConditions;
13
- exports.scaffolderTemplateConditions = conditionExports.scaffolderTemplateConditions;
14
- exports.default = _feature;
7
+ exports.createScaffolderActionConditionalDecision = alpha.createScaffolderActionConditionalDecision;
8
+ exports.createScaffolderTemplateConditionalDecision = alpha.createScaffolderTemplateConditionalDecision;
9
+ exports.scaffolderActionConditions = alpha.scaffolderActionConditions;
10
+ exports.scaffolderTemplateConditions = alpha.scaffolderTemplateConditions;
15
11
  //# sourceMappingURL=alpha.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.cjs.js","sources":["../src/alpha.ts"],"sourcesContent":["/*\n * Copyright 2020 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 { scaffolderPlugin } from './ScaffolderPlugin';\n\n/** @alpha */\nconst _feature = scaffolderPlugin;\nexport default _feature;\n\nexport * from './service';\n"],"names":["scaffolderPlugin"],"mappings":";;;;;;;AAkBA,MAAM,QAAW,GAAAA;;;;;;;;"}
1
+ {"version":3,"file":"alpha.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
package/dist/alpha.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
2
1
  import * as _backstage_types from '@backstage/types';
3
2
  import * as _backstage_plugin_permission_node from '@backstage/plugin-permission-node';
4
3
  import * as _backstage_plugin_scaffolder_common from '@backstage/plugin-scaffolder-common';
@@ -89,7 +88,4 @@ declare const scaffolderActionConditions: _backstage_plugin_permission_node.Cond
89
88
  }>;
90
89
  }>;
91
90
 
92
- /** @alpha */
93
- declare const _feature: _backstage_backend_plugin_api.BackendFeature;
94
-
95
- export { createScaffolderActionConditionalDecision, createScaffolderTemplateConditionalDecision, _feature as default, scaffolderActionConditions, scaffolderTemplateConditions };
91
+ export { createScaffolderActionConditionalDecision, createScaffolderTemplateConditionalDecision, scaffolderActionConditions, scaffolderTemplateConditions };
package/dist/index.cjs.js CHANGED
@@ -16,13 +16,10 @@ var templateFile = require('./scaffolder/actions/builtin/fetch/templateFile.cjs.
16
16
  var _delete = require('./scaffolder/actions/builtin/filesystem/delete.cjs.js');
17
17
  var rename = require('./scaffolder/actions/builtin/filesystem/rename.cjs.js');
18
18
  var read = require('./scaffolder/actions/builtin/filesystem/read.cjs.js');
19
- var deprecated = require('./scaffolder/actions/deprecated.cjs.js');
20
19
  var TemplateActionRegistry = require('./scaffolder/actions/TemplateActionRegistry.cjs.js');
21
20
  var DatabaseTaskStore = require('./scaffolder/tasks/DatabaseTaskStore.cjs.js');
22
21
  var StorageTaskBroker = require('./scaffolder/tasks/StorageTaskBroker.cjs.js');
23
22
  var TaskWorker = require('./scaffolder/tasks/TaskWorker.cjs.js');
24
- var router = require('./service/router.cjs.js');
25
- var deprecated$1 = require('./deprecated.cjs.js');
26
23
 
27
24
 
28
25
 
@@ -40,31 +37,8 @@ exports.createFetchTemplateFileAction = templateFile.createFetchTemplateFileActi
40
37
  exports.createFilesystemDeleteAction = _delete.createFilesystemDeleteAction;
41
38
  exports.createFilesystemRenameAction = rename.createFilesystemRenameAction;
42
39
  exports.createFilesystemReadDirAction = read.createFilesystemReadDirAction;
43
- exports.createGithubActionsDispatchAction = deprecated.createGithubActionsDispatchAction;
44
- exports.createGithubDeployKeyAction = deprecated.createGithubDeployKeyAction;
45
- exports.createGithubEnvironmentAction = deprecated.createGithubEnvironmentAction;
46
- exports.createGithubIssuesLabelAction = deprecated.createGithubIssuesLabelAction;
47
- exports.createGithubRepoCreateAction = deprecated.createGithubRepoCreateAction;
48
- exports.createGithubRepoPushAction = deprecated.createGithubRepoPushAction;
49
- exports.createGithubWebhookAction = deprecated.createGithubWebhookAction;
50
- exports.createPublishAzureAction = deprecated.createPublishAzureAction;
51
- exports.createPublishBitbucketAction = deprecated.createPublishBitbucketAction;
52
- exports.createPublishBitbucketCloudAction = deprecated.createPublishBitbucketCloudAction;
53
- exports.createPublishBitbucketServerAction = deprecated.createPublishBitbucketServerAction;
54
- exports.createPublishBitbucketServerPullRequestAction = deprecated.createPublishBitbucketServerPullRequestAction;
55
- exports.createPublishGerritAction = deprecated.createPublishGerritAction;
56
- exports.createPublishGerritReviewAction = deprecated.createPublishGerritReviewAction;
57
- exports.createPublishGithubAction = deprecated.createPublishGithubAction;
58
- exports.createPublishGithubPullRequestAction = deprecated.createPublishGithubPullRequestAction;
59
- exports.createPublishGitlabAction = deprecated.createPublishGitlabAction;
60
- exports.createPublishGitlabMergeRequestAction = deprecated.createPublishGitlabMergeRequestAction;
61
40
  exports.TemplateActionRegistry = TemplateActionRegistry.TemplateActionRegistry;
62
41
  exports.DatabaseTaskStore = DatabaseTaskStore.DatabaseTaskStore;
63
42
  exports.TaskManager = StorageTaskBroker.TaskManager;
64
43
  exports.TaskWorker = TaskWorker.TaskWorker;
65
- exports.createRouter = router.createRouter;
66
- exports.ScaffolderEntitiesProcessor = deprecated$1.ScaffolderEntitiesProcessor;
67
- exports.createTemplateAction = deprecated$1.createTemplateAction;
68
- exports.executeShellCommand = deprecated$1.executeShellCommand;
69
- exports.fetchContents = deprecated$1.fetchContents;
70
44
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}