remove unnecessary deps from core-components and core-plugin-api
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-plugin-api': patch
|
||||
---
|
||||
|
||||
Removed unnecessary `i18next` dependency.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Removed unnecessary `history` and `immer` dependencies.
|
||||
@@ -66,8 +66,6 @@
|
||||
"d3-shape": "^3.0.0",
|
||||
"d3-zoom": "^3.0.0",
|
||||
"dagre": "^0.8.5",
|
||||
"history": "^5.0.0",
|
||||
"immer": "^9.0.1",
|
||||
"linkify-react": "4.1.3",
|
||||
"linkifyjs": "4.1.3",
|
||||
"lodash": "^4.17.21",
|
||||
@@ -114,6 +112,7 @@
|
||||
"@types/react-window": "^1.8.5",
|
||||
"@types/zen-observable": "^0.8.0",
|
||||
"cross-fetch": "^4.0.0",
|
||||
"history": "^5.0.0",
|
||||
"msw": "^1.0.0"
|
||||
},
|
||||
"files": [
|
||||
|
||||
@@ -34,7 +34,7 @@ import ArrowDropUp from '@material-ui/icons/ArrowDropUp';
|
||||
import ArrowRightIcon from '@material-ui/icons/ArrowRight';
|
||||
import SearchIcon from '@material-ui/icons/Search';
|
||||
import classnames from 'classnames';
|
||||
import { Location } from 'history';
|
||||
import type { Location } from 'history';
|
||||
import React, {
|
||||
ComponentProps,
|
||||
ComponentType,
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { Location, Path } from 'history';
|
||||
import type { Location, Path } from 'history';
|
||||
import { isLocationMatch } from './utils';
|
||||
|
||||
describe('isLocationMatching', () => {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Location, Path } from 'history';
|
||||
import type { Location, Path } from 'history';
|
||||
import { isEqual, isMatch } from 'lodash';
|
||||
import qs from 'qs';
|
||||
|
||||
|
||||
@@ -50,8 +50,7 @@
|
||||
"@backstage/types": "workspace:^",
|
||||
"@backstage/version-bridge": "workspace:^",
|
||||
"@types/react": "^16.13.1 || ^17.0.0",
|
||||
"history": "^5.0.0",
|
||||
"i18next": "^22.4.15"
|
||||
"history": "^5.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
||||
|
||||
@@ -3962,7 +3962,6 @@ __metadata:
|
||||
d3-zoom: ^3.0.0
|
||||
dagre: ^0.8.5
|
||||
history: ^5.0.0
|
||||
immer: ^9.0.1
|
||||
linkify-react: 4.1.3
|
||||
linkifyjs: 4.1.3
|
||||
lodash: ^4.17.21
|
||||
@@ -4006,7 +4005,6 @@ __metadata:
|
||||
"@testing-library/user-event": ^14.0.0
|
||||
"@types/react": ^16.13.1 || ^17.0.0
|
||||
history: ^5.0.0
|
||||
i18next: ^22.4.15
|
||||
peerDependencies:
|
||||
react: ^16.13.1 || ^17.0.0 || ^18.0.0
|
||||
react-dom: ^16.13.1 || ^17.0.0 || ^18.0.0
|
||||
|
||||
Reference in New Issue
Block a user