1dd12349d1
During the 'react-router-dom' upgrades the Bazaar routing broke. This patch removes the wrapping 'Router' from the 'RouterTabs' children. Opening the Bazaar plugin would result in the followin error: "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>." Also removed 'react-router-dom' as a peer dependency of the bazaar plugin. Signed-off-by: Niklas Aronsson <niklasar@axis.com>
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"name": "@backstage/plugin-bazaar",
|
|
"version": "0.1.24-next.1",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"license": "Apache-2.0",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"main": "dist/index.esm.js",
|
|
"types": "dist/index.d.ts"
|
|
},
|
|
"backstage": {
|
|
"role": "frontend-plugin"
|
|
},
|
|
"scripts": {
|
|
"build": "backstage-cli package build",
|
|
"start": "backstage-cli package start",
|
|
"lint": "backstage-cli package lint",
|
|
"test": "backstage-cli package test",
|
|
"prepack": "backstage-cli package prepack",
|
|
"postpack": "backstage-cli package postpack",
|
|
"clean": "backstage-cli package clean"
|
|
},
|
|
"dependencies": {
|
|
"@backstage/catalog-client": "^1.0.5-next.0",
|
|
"@backstage/catalog-model": "^1.1.0",
|
|
"@backstage/cli": "^0.19.0-next.1",
|
|
"@backstage/core-components": "^0.11.1-next.1",
|
|
"@backstage/core-plugin-api": "^1.0.6-next.1",
|
|
"@backstage/plugin-catalog": "^1.5.1-next.1",
|
|
"@backstage/plugin-catalog-react": "^1.1.4-next.1",
|
|
"@date-io/luxon": "1.x",
|
|
"@material-ui/core": "^4.12.2",
|
|
"@material-ui/icons": "^4.9.1",
|
|
"@material-ui/lab": "4.0.0-alpha.57",
|
|
"@material-ui/pickers": "^3.3.10",
|
|
"@testing-library/jest-dom": "^5.10.1",
|
|
"luxon": "^3.0.0",
|
|
"material-ui-search-bar": "^1.0.0",
|
|
"react-hook-form": "^7.13.0",
|
|
"react-use": "^17.2.4"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.13.1 || ^17.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@backstage/cli": "^0.19.0-next.1",
|
|
"@backstage/dev-utils": "^1.0.6-next.1",
|
|
"@testing-library/jest-dom": "^5.10.1",
|
|
"cross-fetch": "^3.1.5"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
]
|
|
}
|