Merge branch 'master' into stack-overflow-api

This commit is contained in:
Brian Fletcher
2022-08-25 08:59:46 +01:00
committed by GitHub
743 changed files with 10184 additions and 4168 deletions
+11
View File
@@ -1,5 +1,16 @@
# @backstage/plugin-stack-overflow
## 0.1.5-next.0
### Patch Changes
- bf5e9030eb: Updated dependency `msw` to `^0.45.0`.
- Updated dependencies
- @backstage/core-plugin-api@1.0.6-next.0
- @backstage/core-components@0.11.1-next.0
- @backstage/plugin-home@0.4.25-next.0
- @backstage/plugin-search-common@1.0.1-next.0
## 0.1.4
### Patch Changes
+2 -4
View File
@@ -6,14 +6,12 @@
/// <reference types="react" />
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { ComponentRenderer } from '@backstage/plugin-home';
import { CardExtensionProps } from '@backstage/plugin-home';
import { ReactNode } from 'react';
// @public
export const HomePageStackOverflowQuestions: (
props: ComponentRenderer & {
title?: string | undefined;
} & StackOverflowQuestionsContentProps,
props: CardExtensionProps<StackOverflowQuestionsContentProps>,
) => JSX.Element;
// @public
+9 -9
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-stack-overflow",
"version": "0.1.4",
"version": "0.1.5-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -24,10 +24,10 @@
},
"dependencies": {
"@backstage/config": "^1.0.1",
"@backstage/core-components": "^0.11.0",
"@backstage/core-plugin-api": "^1.0.5",
"@backstage/plugin-home": "^0.4.24",
"@backstage/plugin-search-common": "^1.0.0",
"@backstage/core-components": "^0.11.1-next.0",
"@backstage/core-plugin-api": "^1.0.6-next.0",
"@backstage/plugin-home": "^0.4.25-next.0",
"@backstage/plugin-search-common": "^1.0.1-next.0",
"@backstage/theme": "^0.2.16",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
@@ -42,10 +42,10 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.18.1",
"@backstage/core-app-api": "^1.0.5",
"@backstage/dev-utils": "^1.0.5",
"@backstage/test-utils": "^1.1.3",
"@backstage/cli": "^0.18.2-next.0",
"@backstage/core-app-api": "^1.0.6-next.0",
"@backstage/dev-utils": "^1.0.6-next.0",
"@backstage/test-utils": "^1.1.4-next.0",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
@@ -26,6 +26,8 @@ import {
} from '@material-ui/core';
import OpenInNewIcon from '@material-ui/icons/OpenInNew';
import useAsync from 'react-use/lib/useAsync';
import _unescape from 'lodash/unescape';
import qs from 'qs';
import React from 'react';
import {
StackOverflowQuestion,
@@ -67,7 +69,7 @@ export const Content = (props: StackOverflowQuestionsContentProps) => {
<ListItem key={question.link}>
{props.icon && <ListItemIcon>{props.icon}</ListItemIcon>}
<ListItemText
primary={question.title}
primary={_unescape(question.title)}
secondary={getSecondaryText(question.answer_count)}
/>
<ListItemSecondaryAction>