@backstage/plugin-scaffolder-backend 0.0.0-nightly-20220208022044 → 0.0.0-nightly-20220212022325

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,13 +1,53 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
- ## 0.0.0-nightly-20220208022044
3
+ ## 0.0.0-nightly-20220212022325
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - 1ed305728b: Bump `node-fetch` to version 2.6.7 and `cross-fetch` to version 3.1.5
8
+ - 3e59f90b51: Fix error handling of the `runCommand` helper to return `Error`
9
+ instance.
10
+ - 216725b434: Updated to use new names for `parseLocationRef` and `stringifyLocationRef`
11
+ - Updated dependencies
12
+ - @backstage/backend-common@0.0.0-nightly-20220212022325
13
+ - @backstage/catalog-client@0.0.0-nightly-20220212022325
14
+ - @backstage/errors@0.0.0-nightly-20220212022325
15
+ - @backstage/integration@0.0.0-nightly-20220212022325
16
+ - @backstage/plugin-catalog-backend@0.0.0-nightly-20220212022325
17
+ - @backstage/catalog-model@0.0.0-nightly-20220212022325
18
+ - @backstage/plugin-scaffolder-common@0.0.0-nightly-20220212022325
19
+
20
+ ## 0.15.24
21
+
22
+ ### Patch Changes
23
+
24
+ - 2441d1cf59: chore(deps): bump `knex` from 0.95.6 to 1.0.2
25
+
26
+ This also replaces `sqlite3` with `@vscode/sqlite3` 5.0.7
27
+
28
+ - 2bd5f24043: fix for the `gitlab:publish` action to use the `oauthToken` key when creating a
29
+ `Gitlab` client. This only happens if `ctx.input.token` is provided else the key `token` will be used.
30
+ - 898a56578c: Bump `vm2` to version 3.9.6
31
+ - Updated dependencies
32
+ - @backstage/catalog-client@0.6.0
33
+ - @backstage/backend-common@0.10.7
34
+ - @backstage/plugin-catalog-backend@0.21.3
35
+ - @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.11
36
+
37
+ ## 0.15.24-next.0
38
+
39
+ ### Patch Changes
40
+
41
+ - 2441d1cf59: chore(deps): bump `knex` from 0.95.6 to 1.0.2
42
+
43
+ This also replaces `sqlite3` with `@vscode/sqlite3` 5.0.7
44
+
7
45
  - 2bd5f24043: fix for the `gitlab:publish` action to use the `oauthToken` key when creating a
8
46
  `Gitlab` client. This only happens if `ctx.input.token` is provided else the key `token` will be used.
9
47
  - Updated dependencies
10
- - @backstage/backend-common@0.0.0-nightly-20220208022044
48
+ - @backstage/backend-common@0.10.7-next.0
49
+ - @backstage/plugin-catalog-backend@0.21.3-next.0
50
+ - @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.11-next.0
11
51
 
12
52
  ## 0.15.23
13
53
 
package/dist/index.cjs.js CHANGED
@@ -685,7 +685,7 @@ const runCommand = async ({
685
685
  });
686
686
  process.on("close", (code) => {
687
687
  if (code !== 0) {
688
- return reject(`Command ${command} failed, exit code: ${code}`);
688
+ return reject(new Error(`Command ${command} failed, exit code: ${code}`));
689
689
  }
690
690
  return resolve();
691
691
  });
@@ -2833,7 +2833,7 @@ function getEntityBaseUrl(entity) {
2833
2833
  if (!location) {
2834
2834
  return void 0;
2835
2835
  }
2836
- const { type, target } = catalogModel.parseLocationReference(location);
2836
+ const { type, target } = catalogModel.parseLocationRef(location);
2837
2837
  if (type === "url") {
2838
2838
  return target;
2839
2839
  } else if (type === "file") {