Merge pull request #218 from spotify/patriko/cra

app: try using create-react-app without hoisting
This commit is contained in:
Patrik Oldsberg
2020-03-10 14:38:25 +01:00
committed by GitHub
4 changed files with 351 additions and 259 deletions
-3
View File
@@ -14,9 +14,6 @@
"plugins/*"
]
},
"resolutions": {
"react-dev-utils": "10.1.0"
},
"version": "1.0.0",
"devDependencies": {
"cross-env": "^7.0.0",
+1 -1
View File
@@ -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
+1 -6
View File
@@ -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",
+349 -249
View File
File diff suppressed because it is too large Load Diff