@backstage/plugin-scaffolder-backend 0.0.0-nightly-20220609024358 → 0.0.0-nightly-20220610024824

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,6 +1,6 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
- ## 0.0.0-nightly-20220609024358
3
+ ## 0.0.0-nightly-20220610024824
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -29,18 +29,19 @@
29
29
  - Implemented a `list` method on the `DatabaseTaskStore` class to list tasks by an optional `userEntityRef`
30
30
  - Added a route under `/v2/tasks` to list tasks by a `userEntityRef` using the `createdBy` query parameter
31
31
  - c042c5eaff: Add an option to not protect the default branch.
32
+ - f93af969cd: Added the ability to support running of templates that are not in the `default` namespace
32
33
 
33
34
  ### Patch Changes
34
35
 
35
36
  - 8f7b1835df: Updated dependency `msw` to `^0.41.0`.
36
37
  - 6901f6be4a: Adds more of an explanation when the `publish:github` scaffolder action fails to create a repository.
37
38
  - Updated dependencies
38
- - @backstage/backend-common@0.0.0-nightly-20220609024358
39
- - @backstage/integration@0.0.0-nightly-20220609024358
40
- - @backstage/catalog-client@0.0.0-nightly-20220609024358
41
- - @backstage/plugin-catalog-backend@0.0.0-nightly-20220609024358
42
- - @backstage/catalog-model@0.0.0-nightly-20220609024358
43
- - @backstage/plugin-scaffolder-common@0.0.0-nightly-20220609024358
39
+ - @backstage/backend-common@0.0.0-nightly-20220610024824
40
+ - @backstage/integration@0.0.0-nightly-20220610024824
41
+ - @backstage/catalog-client@0.0.0-nightly-20220610024824
42
+ - @backstage/plugin-catalog-backend@0.0.0-nightly-20220610024824
43
+ - @backstage/catalog-model@0.0.0-nightly-20220610024824
44
+ - @backstage/plugin-scaffolder-common@0.0.0-nightly-20220610024824
44
45
 
45
46
  ## 1.3.0-next.2
46
47
 
package/dist/index.cjs.js CHANGED
@@ -3590,9 +3590,6 @@ function getEntityBaseUrl(entity) {
3590
3590
  }
3591
3591
  async function findTemplate(options) {
3592
3592
  const { entityRef, token, catalogApi } = options;
3593
- if (entityRef.namespace.toLocaleLowerCase("en-US") !== catalogModel.DEFAULT_NAMESPACE) {
3594
- throw new errors.InputError(`Invalid namespace, only '${catalogModel.DEFAULT_NAMESPACE}' namespace is supported`);
3595
- }
3596
3593
  if (entityRef.kind.toLocaleLowerCase("en-US") !== "template") {
3597
3594
  throw new errors.InputError(`Invalid kind, only 'Template' kind is supported`);
3598
3595
  }