@backstage/plugin-devtools 0.1.3-next.0 → 0.1.3-next.1
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 +14 -0
- package/README.md +15 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @backstage/plugin-devtools
|
|
2
2
|
|
|
3
|
+
## 0.1.3-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 48b6a04ad045: Fix readme typo
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-devtools-common@0.1.3-next.0
|
|
10
|
+
- @backstage/core-components@0.13.4-next.0
|
|
11
|
+
- @backstage/core-plugin-api@1.5.3
|
|
12
|
+
- @backstage/errors@1.2.1
|
|
13
|
+
- @backstage/theme@0.4.1
|
|
14
|
+
- @backstage/types@1.1.0
|
|
15
|
+
- @backstage/plugin-permission-react@0.4.14
|
|
16
|
+
|
|
3
17
|
## 0.1.3-next.0
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -210,7 +210,7 @@ To use the permission framework to secure the DevTools sidebar option you'll wan
|
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
2. Then open the `packages/app/src/components/Root/Root.tsx` file
|
|
213
|
-
3.
|
|
213
|
+
3. Then add these imports after all the existing import statements:
|
|
214
214
|
|
|
215
215
|
```ts
|
|
216
216
|
import { devToolsAdministerPermission } from '@backstage/plugin-devtools-common';
|
|
@@ -408,11 +408,23 @@ export const customDevToolsPage = <DevToolsPage />;
|
|
|
408
408
|
|
|
409
409
|
## Configuration
|
|
410
410
|
|
|
411
|
-
The following sections outline the configuration for the DevTools plugin
|
|
411
|
+
The following sections outline the configuration for the DevTools plugin.
|
|
412
|
+
|
|
413
|
+
### Package Dependencies
|
|
414
|
+
|
|
415
|
+
By default, only packages with names starting with `@backstage` and `@internal` will be listed on the main "Info" tab. If you would like additional packages to be listed, you can specify the package prefixes (not regular expressions) in your `app-config.yaml`. For example, to not only provide version information about backstage plugins provided by the core application (`@backstage/*` modules) but also `@roadiehq` and `@spotify` plugins, you can specify this configuration:
|
|
416
|
+
|
|
417
|
+
```yaml
|
|
418
|
+
devTools:
|
|
419
|
+
info:
|
|
420
|
+
packagePrefixes:
|
|
421
|
+
- @roadiehq/backstage-
|
|
422
|
+
- @spotify/backstage-
|
|
423
|
+
```
|
|
412
424
|
|
|
413
425
|
### External Dependencies Configuration
|
|
414
426
|
|
|
415
|
-
If you decide to use the External Dependencies tab then you'll need to setup the configuration for it in your `app-config.yaml
|
|
427
|
+
If you decide to use the External Dependencies tab then you'll need to setup the configuration for it in your `app-config.yaml`. If there is no endpoints configured, then the tab will be empty. Here's an example:
|
|
416
428
|
|
|
417
429
|
```yaml
|
|
418
430
|
devTools:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-devtools",
|
|
3
|
-
"version": "0.1.3-next.
|
|
3
|
+
"version": "0.1.3-next.1",
|
|
4
4
|
"main": "dist/index.esm.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@backstage/core-components": "^0.13.4-next.0",
|
|
32
32
|
"@backstage/core-plugin-api": "^1.5.3",
|
|
33
33
|
"@backstage/errors": "^1.2.1",
|
|
34
|
-
"@backstage/plugin-devtools-common": "^0.1.
|
|
34
|
+
"@backstage/plugin-devtools-common": "^0.1.3-next.0",
|
|
35
35
|
"@backstage/plugin-permission-react": "^0.4.14",
|
|
36
36
|
"@backstage/theme": "^0.4.1",
|
|
37
37
|
"@backstage/types": "^1.1.0",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@backstage/cli": "^0.22.10-next.
|
|
51
|
+
"@backstage/cli": "^0.22.10-next.1",
|
|
52
52
|
"@backstage/core-app-api": "^1.9.1-next.0",
|
|
53
|
-
"@backstage/dev-utils": "^1.0.18-next.
|
|
53
|
+
"@backstage/dev-utils": "^1.0.18-next.1",
|
|
54
54
|
"@backstage/test-utils": "^1.4.2-next.0",
|
|
55
55
|
"@testing-library/jest-dom": "^5.10.1",
|
|
56
56
|
"@testing-library/react": "^12.1.3",
|