@backstage/plugin-scaffolder-backend 0.15.9 → 0.15.13
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 +91 -0
- package/dist/index.cjs.js +236 -135
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +309 -4
- package/package.json +16 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,96 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend
|
|
2
2
|
|
|
3
|
+
## 0.15.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 26eb174ce8: Skip empty file names when scaffolding with nunjucks
|
|
8
|
+
- ecdcbd08ee: Expose template metadata to custom action handler in Scaffolder.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/catalog-client@0.5.2
|
|
11
|
+
- @backstage/catalog-model@0.9.7
|
|
12
|
+
- @backstage/backend-common@0.9.10
|
|
13
|
+
- @backstage/plugin-catalog-backend@0.17.4
|
|
14
|
+
|
|
15
|
+
## 0.15.12
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 9990df8a1f: Expose some classes and interfaces public so TaskWorkers can run externally from the scaffolder API.
|
|
20
|
+
- b45a34fb15: Adds a new endpoint for consuming logs from the Scaffolder that uses long polling instead of Server Sent Events.
|
|
21
|
+
|
|
22
|
+
This is useful if Backstage is accessed from an environment that doesn't support SSE correctly, which happens in combination with certain enterprise HTTP Proxy servers.
|
|
23
|
+
|
|
24
|
+
It is intended to switch the endpoint globally for the whole instance.
|
|
25
|
+
If you want to use it, you can provide a reconfigured API to the `scaffolderApiRef`:
|
|
26
|
+
|
|
27
|
+
```tsx
|
|
28
|
+
// packages/app/src/apis.ts
|
|
29
|
+
|
|
30
|
+
// ...
|
|
31
|
+
import {
|
|
32
|
+
scaffolderApiRef,
|
|
33
|
+
ScaffolderClient,
|
|
34
|
+
} from '@backstage/plugin-scaffolder';
|
|
35
|
+
|
|
36
|
+
export const apis: AnyApiFactory[] = [
|
|
37
|
+
// ...
|
|
38
|
+
|
|
39
|
+
createApiFactory({
|
|
40
|
+
api: scaffolderApiRef,
|
|
41
|
+
deps: {
|
|
42
|
+
discoveryApi: discoveryApiRef,
|
|
43
|
+
identityApi: identityApiRef,
|
|
44
|
+
scmIntegrationsApi: scmIntegrationsApiRef,
|
|
45
|
+
},
|
|
46
|
+
factory: ({ discoveryApi, identityApi, scmIntegrationsApi }) =>
|
|
47
|
+
new ScaffolderClient({
|
|
48
|
+
discoveryApi,
|
|
49
|
+
identityApi,
|
|
50
|
+
scmIntegrationsApi,
|
|
51
|
+
// use long polling instead of an eventsource
|
|
52
|
+
useLongPollingLogs: true,
|
|
53
|
+
}),
|
|
54
|
+
}),
|
|
55
|
+
];
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- a794c341ca: Fix a bug where only file mode 775 is considered an executable
|
|
59
|
+
- Updated dependencies
|
|
60
|
+
- @backstage/backend-common@0.9.9
|
|
61
|
+
- @backstage/catalog-client@0.5.1
|
|
62
|
+
- @backstage/plugin-catalog-backend@0.17.3
|
|
63
|
+
- @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.4
|
|
64
|
+
|
|
65
|
+
## 0.15.11
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- 10615525f3: Switch to use the json and observable types from `@backstage/types`
|
|
70
|
+
- 41c49884d2: Start using the new `@backstage/types` package. Initially, this means using the `Observable` and `Json*` types from there. The types also remain in their old places but deprecated, and will be removed in a future release.
|
|
71
|
+
- e55a5dea09: Fixed bug where the mode of an executable file was ignored
|
|
72
|
+
- Updated dependencies
|
|
73
|
+
- @backstage/plugin-catalog-backend@0.17.2
|
|
74
|
+
- @backstage/config@0.1.11
|
|
75
|
+
- @backstage/errors@0.1.4
|
|
76
|
+
- @backstage/integration@0.6.9
|
|
77
|
+
- @backstage/backend-common@0.9.8
|
|
78
|
+
- @backstage/catalog-model@0.9.6
|
|
79
|
+
- @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.3
|
|
80
|
+
- @backstage/plugin-scaffolder-common@0.1.1
|
|
81
|
+
|
|
82
|
+
## 0.15.10
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- b149e94290: Allow `catalog:register` action to register optional locations
|
|
87
|
+
- 36e67d2f24: Internal updates to apply more strict checks to throw errors.
|
|
88
|
+
- Updated dependencies
|
|
89
|
+
- @backstage/plugin-catalog-backend@0.17.1
|
|
90
|
+
- @backstage/backend-common@0.9.7
|
|
91
|
+
- @backstage/errors@0.1.3
|
|
92
|
+
- @backstage/catalog-model@0.9.5
|
|
93
|
+
|
|
3
94
|
## 0.15.9
|
|
4
95
|
|
|
5
96
|
### Patch Changes
|