@stackoverflow/backstage-stack-overflow-teams-collator 1.4.0 → 1.5.0

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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/package.json +12 -10
  3. package/src/index.ts +0 -23
package/README.md CHANGED
@@ -57,7 +57,7 @@ Add the module package as a dependency:
57
57
 
58
58
  ```bash
59
59
  # From your Backstage root directory
60
- yarn --cwd packages/backend add backstage-stack-overflow-teams-collator
60
+ yarn --cwd packages/backend add @stackoverflow/backstage-stack-overflow-teams-collator
61
61
  ```
62
62
 
63
63
  Add the collator to your backend instance, along with the search plugin itself:
@@ -69,7 +69,7 @@ import { createBackend } from '@backstage/backend-defaults';
69
69
  const backend = createBackend();
70
70
  backend.add(import('@backstage/plugin-search-backend'));
71
71
  backend.add(
72
- import('backstage-stack-overflow-teams-collator'),
72
+ import('@stackoverflow/backstage-stack-overflow-teams-collator'),
73
73
  );
74
74
  backend.start();
75
75
  ```
package/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "@stackoverflow/backstage-stack-overflow-teams-collator",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "A module for the search backend that exports stack overflow for teams modules",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
7
7
  "pluginId": "search",
8
8
  "pluginPackage": "@backstage/plugin-search-backend"
9
9
  },
10
+ "main": "dist/index.esm.js",
11
+ "types": "dist/index.d.ts",
10
12
  "publishConfig": {
11
- "access": "public"
13
+ "access": "public",
14
+ "main": "dist/index.esm.js",
15
+ "types": "dist/index.d.ts"
12
16
  },
13
17
  "repository": {
14
18
  "type": "git",
@@ -18,8 +22,6 @@
18
22
  "url": "https://github.com/StackExchange/backstage-stackoverflow/issues"
19
23
  },
20
24
  "license": "Apache-2.0",
21
- "main": "src/index.ts",
22
- "types": "src/index.ts",
23
25
  "files": [
24
26
  "dist",
25
27
  "config.d.ts"
@@ -34,15 +36,15 @@
34
36
  "test": "backstage-cli package test"
35
37
  },
36
38
  "dependencies": {
37
- "@backstage/backend-plugin-api": "latest",
38
- "@backstage/config": "latest",
39
- "@backstage/plugin-search-backend-node": "latest",
40
- "@backstage/plugin-search-common": "latest",
39
+ "@backstage/backend-plugin-api": "^1.4.4",
40
+ "@backstage/config": "^1.3.5",
41
+ "@backstage/plugin-search-backend-node": "^1.3.16",
42
+ "@backstage/plugin-search-common": "^1.2.20",
41
43
  "qs": "^6.9.4"
42
44
  },
43
45
  "devDependencies": {
44
- "@backstage/backend-test-utils": "latest",
45
- "@backstage/cli": "latest",
46
+ "@backstage/backend-test-utils": "^1.9.1",
47
+ "@backstage/cli": "^0.34.4",
46
48
  "msw": "^1.2.1",
47
49
  "typescript": "^5.8.2"
48
50
  }
package/src/index.ts DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright 2023 The Backstage Authors
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- /**
18
- * @packageDocumentation
19
- * A module for the search backend that exports Stack Overflow modules.
20
- */
21
-
22
- export * from './collators';
23
- export { searchStackOverflowCollatorModule as default } from './module';