@backstage/plugin-search-backend 0.4.2 → 0.4.3

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,21 @@
1
1
  # @backstage/plugin-search-backend
2
2
 
3
+ ## 0.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - c77c5c7eb6: Added `backstage.role` to `package.json`
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.10.8
10
+ - @backstage/errors@0.2.1
11
+ - @backstage/plugin-auth-node@0.1.1
12
+ - @backstage/plugin-permission-common@0.5.0
13
+ - @backstage/config@0.1.14
14
+ - @backstage/search-common@0.2.3
15
+ - @backstage/types@0.1.2
16
+ - @backstage/plugin-permission-node@0.5.0
17
+ - @backstage/plugin-search-backend-node@0.4.6
18
+
3
19
  ## 0.4.2
4
20
 
5
21
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-backend",
3
3
  "description": "The Backstage backend plugin that provides your backstage app with search",
4
- "version": "0.4.2",
4
+ "version": "0.4.3",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -10,25 +10,28 @@
10
10
  "main": "dist/index.cjs.js",
11
11
  "types": "dist/index.d.ts"
12
12
  },
13
+ "backstage": {
14
+ "role": "backend-plugin"
15
+ },
13
16
  "scripts": {
14
- "start": "backstage-cli backend:dev",
15
- "build": "backstage-cli backend:build",
16
- "lint": "backstage-cli lint",
17
- "test": "backstage-cli test",
18
- "prepack": "backstage-cli prepack",
19
- "postpack": "backstage-cli postpack",
20
- "clean": "backstage-cli clean"
17
+ "start": "backstage-cli package start",
18
+ "build": "backstage-cli package build",
19
+ "lint": "backstage-cli package lint",
20
+ "test": "backstage-cli package test",
21
+ "prepack": "backstage-cli package prepack",
22
+ "postpack": "backstage-cli package postpack",
23
+ "clean": "backstage-cli package clean"
21
24
  },
22
25
  "dependencies": {
23
- "@backstage/backend-common": "^0.10.7",
24
- "@backstage/config": "^0.1.13",
25
- "@backstage/errors": "^0.2.0",
26
- "@backstage/plugin-auth-node": "^0.1.0",
27
- "@backstage/plugin-permission-common": "^0.4.0-next.0",
28
- "@backstage/plugin-permission-node": "^0.4.3",
29
- "@backstage/plugin-search-backend-node": "^0.4.5",
30
- "@backstage/search-common": "^0.2.2",
31
- "@backstage/types": "^0.1.1",
26
+ "@backstage/backend-common": "^0.10.8",
27
+ "@backstage/config": "^0.1.14",
28
+ "@backstage/errors": "^0.2.1",
29
+ "@backstage/plugin-auth-node": "^0.1.1",
30
+ "@backstage/plugin-permission-common": "^0.5.0",
31
+ "@backstage/plugin-permission-node": "^0.5.0",
32
+ "@backstage/plugin-search-backend-node": "^0.4.6",
33
+ "@backstage/search-common": "^0.2.3",
34
+ "@backstage/types": "^0.1.2",
32
35
  "@types/express": "^4.17.6",
33
36
  "dataloader": "^2.0.0",
34
37
  "express": "^4.17.1",
@@ -40,12 +43,12 @@
40
43
  "zod": "^3.11.6"
41
44
  },
42
45
  "devDependencies": {
43
- "@backstage/cli": "^0.13.2",
46
+ "@backstage/cli": "^0.14.0",
44
47
  "@types/supertest": "^2.0.8",
45
48
  "supertest": "^6.1.3"
46
49
  },
47
50
  "files": [
48
51
  "dist"
49
52
  ],
50
- "gitHead": "4f4bc77a4152d372b10a4e8d97d92f00e23f3b56"
53
+ "gitHead": "4805c3d13ce9bfc369e53c271b1b95e722b3b4dc"
51
54
  }
package/dist/index.d.ts DELETED
@@ -1,17 +0,0 @@
1
- import express from 'express';
2
- import { Logger } from 'winston';
3
- import { Config } from '@backstage/config';
4
- import { PermissionAuthorizer } from '@backstage/plugin-permission-common';
5
- import { DocumentTypeInfo } from '@backstage/search-common';
6
- import { SearchEngine } from '@backstage/plugin-search-backend-node';
7
-
8
- declare type RouterOptions = {
9
- engine: SearchEngine;
10
- types: Record<string, DocumentTypeInfo>;
11
- permissions: PermissionAuthorizer;
12
- config: Config;
13
- logger: Logger;
14
- };
15
- declare function createRouter(options: RouterOptions): Promise<express.Router>;
16
-
17
- export { RouterOptions, createRouter };