@backstage/plugin-scaffolder-backend 0.0.0-nightly-20220215022550 → 0.0.0-nightly-20220216022224
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 +14 -8
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +254 -162
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20220216022224
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 661594bf43: **BREAKING**: Updated `TemplateAction` and related types to have its type parameter extend `JsonObject` instead of `InputBase`. The `createTemplateAction` has also been updated to pass through the `TInput` type parameter to the return type, meaning the `TemplateAction` retains its type. This can lead to breakages during type checking especially within tests.
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
@@ -8,14 +12,16 @@
|
|
|
8
12
|
- 3e59f90b51: Fix error handling of the `runCommand` helper to return `Error`
|
|
9
13
|
instance.
|
|
10
14
|
- 216725b434: Updated to use new names for `parseLocationRef` and `stringifyLocationRef`
|
|
15
|
+
- 27eccab216: Replaces use of deprecated catalog-model constants.
|
|
11
16
|
- Updated dependencies
|
|
12
|
-
- @backstage/plugin-catalog-backend@0.0.0-nightly-
|
|
13
|
-
- @backstage/backend-common@0.0.0-nightly-
|
|
14
|
-
- @backstage/catalog-client@0.0.0-nightly-
|
|
15
|
-
- @backstage/errors@0.0.0-nightly-
|
|
16
|
-
- @backstage/integration@0.0.0-nightly-
|
|
17
|
-
- @backstage/catalog-model@0.0.0-nightly-
|
|
18
|
-
- @backstage/plugin-scaffolder-
|
|
17
|
+
- @backstage/plugin-catalog-backend@0.0.0-nightly-20220216022224
|
|
18
|
+
- @backstage/backend-common@0.0.0-nightly-20220216022224
|
|
19
|
+
- @backstage/catalog-client@0.0.0-nightly-20220216022224
|
|
20
|
+
- @backstage/errors@0.0.0-nightly-20220216022224
|
|
21
|
+
- @backstage/integration@0.0.0-nightly-20220216022224
|
|
22
|
+
- @backstage/catalog-model@0.0.0-nightly-20220216022224
|
|
23
|
+
- @backstage/plugin-scaffolder-backend-module-cookiecutter@0.0.0-nightly-20220216022224
|
|
24
|
+
- @backstage/plugin-scaffolder-common@0.0.0-nightly-20220216022224
|
|
19
25
|
|
|
20
26
|
## 0.15.24
|
|
21
27
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -2826,9 +2826,9 @@ async function getWorkingDirectory(config, logger) {
|
|
|
2826
2826
|
}
|
|
2827
2827
|
function getEntityBaseUrl(entity) {
|
|
2828
2828
|
var _a, _b;
|
|
2829
|
-
let location = (_a = entity.metadata.annotations) == null ? void 0 : _a[catalogModel.
|
|
2829
|
+
let location = (_a = entity.metadata.annotations) == null ? void 0 : _a[catalogModel.ANNOTATION_SOURCE_LOCATION];
|
|
2830
2830
|
if (!location) {
|
|
2831
|
-
location = (_b = entity.metadata.annotations) == null ? void 0 : _b[catalogModel.
|
|
2831
|
+
location = (_b = entity.metadata.annotations) == null ? void 0 : _b[catalogModel.ANNOTATION_LOCATION];
|
|
2832
2832
|
}
|
|
2833
2833
|
if (!location) {
|
|
2834
2834
|
return void 0;
|