+1
-1
@@ -154,7 +154,7 @@
|
||||
"sloc": "^0.3.1",
|
||||
"sort-package-json": "^2.8.0",
|
||||
"typedoc": "^0.28.0",
|
||||
"typescript": "~5.6.0"
|
||||
"typescript": "~5.7.0"
|
||||
},
|
||||
"packageManager": "yarn@4.8.1",
|
||||
"engines": {
|
||||
|
||||
+3
-8
@@ -17,12 +17,8 @@
|
||||
import { DismissableBanner, Props } from './DismissableBanner';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import { WebStorage } from '@backstage/core-app-api';
|
||||
import {
|
||||
ErrorApi,
|
||||
storageApiRef,
|
||||
StorageApi,
|
||||
} from '@backstage/core-plugin-api';
|
||||
import { TestApiProvider } from '@backstage/test-utils';
|
||||
import { storageApiRef, StorageApi } from '@backstage/core-plugin-api';
|
||||
import { TestApiProvider, MockErrorApi } from '@backstage/test-utils';
|
||||
import { Link } from '../Link';
|
||||
|
||||
export default {
|
||||
@@ -36,11 +32,10 @@ export default {
|
||||
},
|
||||
};
|
||||
|
||||
let errorApi: ErrorApi;
|
||||
const containerStyle = { width: '70%' };
|
||||
|
||||
const createWebStorage = (): StorageApi => {
|
||||
return WebStorage.create({ errorApi });
|
||||
return WebStorage.create({ errorApi: new MockErrorApi() });
|
||||
};
|
||||
|
||||
const apis = [[storageApiRef, createWebStorage()] as const];
|
||||
|
||||
@@ -45891,7 +45891,7 @@ __metadata:
|
||||
sloc: "npm:^0.3.1"
|
||||
sort-package-json: "npm:^2.8.0"
|
||||
typedoc: "npm:^0.28.0"
|
||||
typescript: "npm:~5.6.0"
|
||||
typescript: "npm:~5.7.0"
|
||||
yaml: "npm:^2.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -49375,13 +49375,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:~5.6.0":
|
||||
version: 5.6.3
|
||||
resolution: "typescript@npm:5.6.3"
|
||||
"typescript@npm:~5.7.0":
|
||||
version: 5.7.3
|
||||
resolution: "typescript@npm:5.7.3"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10/c328e418e124b500908781d9f7b9b93cf08b66bf5936d94332b463822eea2f4e62973bfb3b8a745fdc038785cb66cf59d1092bac3ec2ac6a3e5854687f7833f1
|
||||
checksum: 10/6a7e556de91db3d34dc51cd2600e8e91f4c312acd8e52792f243c7818dfadb27bae677175fad6947f9c81efb6c57eb6b2d0c736f196a6ee2f1f7d57b74fc92fa
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -49415,13 +49415,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A~5.6.0#optional!builtin<compat/typescript>":
|
||||
version: 5.6.3
|
||||
resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"
|
||||
"typescript@patch:typescript@npm%3A~5.7.0#optional!builtin<compat/typescript>":
|
||||
version: 5.7.3
|
||||
resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin<compat/typescript>::version=5.7.3&hash=5786d5"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10/00504c01ee42d470c23495426af07512e25e6546bce7e24572e72a9ca2e6b2e9bea63de4286c3cfea644874da1467dcfca23f4f98f7caf20f8b03c0213bb6837
|
||||
checksum: 10/dc58d777eb4c01973f7fbf1fd808aad49a0efdf545528dab9b07d94fdcb65b8751742804c3057e9619a4627f2d9cc85547fdd49d9f4326992ad0181b49e61d81
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user