changesets and fixes

Co-authored-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
Anders Näsman
2022-04-25 16:29:35 +02:00
parent 85fe105926
commit 52fddad92d
5 changed files with 18 additions and 12 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@techdocs/cli': patch
---
The TechDocs CLI's embedded app now imports all API refs from the `@backstage/plugin-techdocs-react` package.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-techdocs-react': patch
'@backstage/plugin-techdocs': patch
---
The `TechDocsStorageApi` and its associated ref are now exported by `@backstage/plugin-techdocs-react`. The API interface, ref, and types are now deprecated in `@backstage/plugin-techdocs` and will be removed in a future release.
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs-addons-test-utils': minor
---
Introducing a package with utilities to help test TechDocs Addons.
+1 -11
View File
@@ -1,13 +1,3 @@
# techdocs-addons-test-utils
Welcome to the techdocs-addons-test-utils plugin!
_This plugin was created through the Backstage CLI_
## Getting started
Your plugin has been added to the example app in this repository, meaning you'll be able to access it by running `yarn start` in the root directory, and then navigating to [/techdocs-addons-test-utils](http://localhost:3000/techdocs-addons-test-utils).
You can also serve the plugin in isolation by running `yarn start` in the plugin directory.
This method of serving the plugin provides quicker iteration speed and a faster startup and hot reloads.
It is only meant for local development, and the setup for it can be found inside the [/dev](./dev) directory.
A package containing utilities for testing TechDocs Addons.
@@ -38,7 +38,6 @@
"@backstage/core-plugin-api": "^1.0.1",
"@backstage/integration": "^1.2.0-next.0",
"@backstage/integration-react": "^1.1.0-next.0",
"@backstage/plugin-techdocs-addons-test-utils": "^0.0.0",
"@backstage/plugin-techdocs-react": "^0.1.1-next.0",
"@backstage/theme": "^0.2.15",
"@material-ui/core": "^4.9.13",
@@ -54,6 +53,7 @@
"@backstage/cli": "^0.17.1-next.0",
"@backstage/core-app-api": "^1.0.1",
"@backstage/dev-utils": "^1.0.2-next.0",
"@backstage/plugin-techdocs-addons-test-utils": "^0.0.0",
"@backstage/test-utils": "^1.0.2-next.0",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",