app: try using create-react-app without hoisting
This commit is contained in:
@@ -14,9 +14,6 @@
|
||||
"plugins/*"
|
||||
]
|
||||
},
|
||||
"resolutions": {
|
||||
"react-dev-utils": "10.1.0"
|
||||
},
|
||||
"version": "1.0.0",
|
||||
"devDependencies": {
|
||||
"cross-env": "^7.0.0",
|
||||
|
||||
@@ -2,7 +2,7 @@ module.exports = {
|
||||
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
|
||||
extends: [
|
||||
// Extend on the config used in `react-scripts`
|
||||
require.resolve('eslint-config-react-app'),
|
||||
require.resolve('react-scripts/node_modules/eslint-config-react-app'),
|
||||
// If you want extra rules/extensions, it can be added here:
|
||||
// 'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react
|
||||
// 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from @typescript-eslint/eslint-plugin
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"dependencies": {
|
||||
"@material-ui/core": "^4.9.1",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@react-workspaces/react-scripts": "^3.3.0-alpha-08",
|
||||
"@spotify-backstage/cli": "^1.2.0",
|
||||
"@spotify-backstage/core": "1.0.0",
|
||||
"@spotify-backstage/plugin-home-page": "0.0.0",
|
||||
@@ -22,14 +21,10 @@
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-scripts": "^3.4.0",
|
||||
"react-use": "^13.24.0",
|
||||
"zen-observable": "^0.8.15"
|
||||
},
|
||||
"workspaces": {
|
||||
"nohoist": [
|
||||
"@react-workspaces/react-scripts"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"start": "cross-env EXTEND_ESLINT=true SKIP_PREFLIGHT_CHECK=true backstage-cli watch-deps -- react-scripts start",
|
||||
"build": "cross-env EXTEND_ESLINT=true SKIP_PREFLIGHT_CHECK=true react-scripts build",
|
||||
|
||||
Reference in New Issue
Block a user