Version Packages (next)

This commit is contained in:
github-actions[bot]
2022-04-12 15:19:00 +00:00
parent 0df260a54f
commit 2e1cce5528
197 changed files with 2505 additions and 758 deletions
+72
View File
@@ -1,5 +1,77 @@
# @backstage/plugin-techdocs
## 1.1.0-next.3
### Minor Changes
- ace749b785: TechDocs supports a new, experimental method of customization: addons!
To customize the standalone TechDocs reader page experience, update your `/packages/app/src/App.tsx` in the following way:
```diff
import { TechDocsIndexPage, TechDocsReaderPage } from '@backstage/plugin-techdocs';
+ import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
+ import { SomeAddon } from '@backstage/plugin-some-plugin';
// ...
<Route path="/docs" element={<TechDocsIndexPage />} />
<Route
path="/docs/:namespace/:kind/:name/*"
element={<TechDocsReaderPage />}
>
+ <TechDocsAddons>
+ <SomeAddon />
+ </TechDocsAddons>
</Route>
// ...
```
To customize the TechDocs reader experience on the Catalog entity page, update your `packages/app/src/components/catalog/EntityPage.tsx` in the following way:
```diff
import { EntityTechdocsContent } from '@backstage/plugin-techdocs';
+ import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
+ import { SomeAddon } from '@backstage/plugin-some-plugin';
// ...
<EntityLayoutWrapper>
<EntityLayout.Route path="/" title="Overview">
{overviewContent}
</EntityLayout.Route>
<EntityLayout.Route path="/docs" title="Docs">
- <EntityTechDocsContent />
+ <EntityTechdocsContent>
+ <TechDocsAddons>
+ <SomeAddon />
+ </TechDocsAddons>
+ </EntityTechdocsContent>
</EntityLayout.Route>
</EntityLayoutWrapper>
// ...
```
If you do not wish to customize your TechDocs reader experience in this way at this time, no changes are necessary!
### Patch Changes
- ab230a433f: imports from `@backstage/plugin-search-react` instead of `@backstage/plugin-search`
- 24254fd433: build(deps): bump `@testing-library/user-event` from 13.5.0 to 14.0.0
- 230ad0826f: Bump to using `@types/node` v16
- Updated dependencies
- @backstage/core-app-api@1.0.1-next.1
- @backstage/core-components@0.9.3-next.2
- @backstage/core-plugin-api@1.0.1-next.0
- @backstage/integration-react@1.0.1-next.2
- @backstage/plugin-catalog-react@1.0.1-next.3
- @backstage/plugin-search-react@0.1.0-next.0
- @backstage/integration@1.1.0-next.2
- @backstage/plugin-techdocs-react@0.1.0-next.0
## 1.0.1-next.2
### Patch Changes
+13 -13
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-techdocs",
"description": "The Backstage plugin that renders technical documentation for your components",
"version": "1.0.1-next.2",
"version": "1.1.0-next.3",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -37,15 +37,15 @@
"dependencies": {
"@backstage/catalog-model": "^1.0.1-next.1",
"@backstage/config": "^1.0.0",
"@backstage/core-components": "^0.9.3-next.1",
"@backstage/core-app-api": "^1.0.1-next.0",
"@backstage/core-plugin-api": "^1.0.0",
"@backstage/core-components": "^0.9.3-next.2",
"@backstage/core-app-api": "^1.0.1-next.1",
"@backstage/core-plugin-api": "^1.0.1-next.0",
"@backstage/errors": "^1.0.0",
"@backstage/integration": "^1.1.0-next.1",
"@backstage/integration-react": "^1.0.1-next.1",
"@backstage/plugin-catalog-react": "^1.0.1-next.2",
"@backstage/plugin-search-react": "^0.0.0",
"@backstage/plugin-techdocs-react": "^0.0.0",
"@backstage/integration": "^1.1.0-next.2",
"@backstage/integration-react": "^1.0.1-next.2",
"@backstage/plugin-catalog-react": "^1.0.1-next.3",
"@backstage/plugin-search-react": "^0.1.0-next.0",
"@backstage/plugin-techdocs-react": "^0.1.0-next.0",
"@backstage/theme": "^0.2.15",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
@@ -68,10 +68,10 @@
"react-dom": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.17.0-next.2",
"@backstage/core-app-api": "^1.0.1-next.0",
"@backstage/dev-utils": "^1.0.1-next.0",
"@backstage/test-utils": "^1.0.1-next.1",
"@backstage/cli": "^0.17.0-next.3",
"@backstage/core-app-api": "^1.0.1-next.1",
"@backstage/dev-utils": "^1.0.1-next.1",
"@backstage/test-utils": "^1.0.1-next.2",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^7.0.2",