@backstage/plugin-catalog-backend-module-unprocessed 0.1.0 → 0.1.1-next.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @backstage/plugin-catalog-backend-module-unprocessed
2
2
 
3
+ ## 0.1.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - a8fa79ccc105: Fix and improve documentation for the unprocessed entities modules.
8
+ - Updated dependencies
9
+ - @backstage/backend-plugin-api@0.5.4-next.0
10
+ - @backstage/catalog-model@1.4.1-next.0
11
+ - @backstage/plugin-auth-node@0.2.16-next.0
12
+
3
13
  ## 0.1.0
4
14
 
5
15
  ### Minor Changes
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @backstage/plugin-catalog-backend-module-unprocessed-node
1
+ # @backstage/plugin-catalog-backend-module-unprocessed
2
2
 
3
3
  This catalog-backend module adds support for viewing unprocessed entities. An unprocessed entity is one that doesn't show up in the catalog.
4
4
 
@@ -10,11 +10,15 @@ A `pending` entity has not been processed yet.
10
10
 
11
11
  ## Installation
12
12
 
13
+ ```shell
14
+ yarn add --cwd packages/backend @backstage/plugin-catalog-backend-module-unprocessed
15
+ ```
16
+
13
17
  ### backend
14
18
 
15
19
  In `packages/backend/src/plugins/catalog.ts` import the module and initialize it after invoking `CatalogBuilder.build()`:
16
20
 
17
- ```ts
21
+ ```ts title="packages/backend/src/plugins/catalog.ts"
18
22
  import { UnprocessedEntitesModule } from '@backstage/plugin-catalog-backend-module-unprocessed';
19
23
 
20
24
  //...
@@ -22,7 +26,6 @@ import { UnprocessedEntitesModule } from '@backstage/plugin-catalog-backend-modu
22
26
  const unprocessed = new UnprocessedEntitesModule(
23
27
  await env.database.getClient(),
24
28
  router,
25
- env.logger,
26
29
  );
27
30
  unprocessed.registerRoutes();
28
31
  ```
@@ -31,7 +34,7 @@ unprocessed.registerRoutes();
31
34
 
32
35
  In `packages/backend-next/src/index.ts` add the module:
33
36
 
34
- ```ts
37
+ ```ts title="packages/backend-next/src/index.ts"
35
38
  backend.add(catalogModuleUnprocessedEntities());
36
39
  ```
37
40
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-unprocessed",
3
3
  "description": "Backstage Catalog module to view unprocessed entities",
4
- "version": "0.1.0",
4
+ "version": "0.1.1-next.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -22,15 +22,15 @@
22
22
  "postpack": "backstage-cli package postpack"
23
23
  },
24
24
  "devDependencies": {
25
- "@backstage/cli": "^0.22.8"
25
+ "@backstage/cli": "^0.22.9-next.0"
26
26
  },
27
27
  "files": [
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@backstage/backend-plugin-api": "^0.5.3",
32
- "@backstage/catalog-model": "^1.4.0",
33
- "@backstage/plugin-auth-node": "^0.2.15",
31
+ "@backstage/backend-plugin-api": "^0.5.4-next.0",
32
+ "@backstage/catalog-model": "^1.4.1-next.0",
33
+ "@backstage/plugin-auth-node": "^0.2.16-next.0",
34
34
  "express-promise-router": "^4.1.1",
35
35
  "knex": "^2.4.2"
36
36
  }