Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump react-scripts from 3.4.1 to 4.0.3 + fix associated tech debt (#1102
) * npm install --save --save-exact react-scripts@4.0.3 * automatically added when running npm start * move public/icons/ -> src/assets/icons/ + fix references + remove unused files * move NavBar icons to src/assets/icons/ + fix references * move various images/icons to src/assets/ + fix references * add @debt comment to de-duplicate DEFAULT_PROFILE_IMAGE, DEFAULT_AVATAR_IMAGE, DEFAULT_PROFILE_PIC * remove eslint-config-react-app from package.json as create-react-app already provides this * remove additional eslint deps from package.json as create-react-app already provides them * npm dedup * ensure our eslint config extends from react-app as create-react-app suggests * eslint: disable no-redeclare -> enable @typescript-eslint/no-redeclare": "warn", * fix error 'T' is defined but never used @typescript-eslint/no-unused-vars * fix 'checkUserIsOwner' was used before it was defined @typescript-eslint/no-use-before-define * fix 'dataOrUpdateKey' was used before it was defined @typescript-eslint/no-use-before-define * fix error 'EditProfileFormValuesType' is defined but never used @typescript-eslint/no-unused-vars * fix warning The 'menu' object makes the dependencies of useMemo Hook (at line 292) change on every render. * fix error 'useFirestoreConnect' import from 'react-redux-firebase' is restricted. * fix error 'CSSProperties' is defined but never used @typescript-eslint/no-unused-vars * fix warning 'AdminVenuePreview' is already defined @typescript-eslint/no-redeclare * fix warning 'RoomInnerForm' is already defined @typescript-eslint/no-redeclare * fix warning 'TextReactionType' is already defined @typescript-eslint/no-redeclare * fix warning 'checkValidServiceWorker' / 'registerValidSW' was used before it was defined @typescript-eslint/no-use-before-define * refactor Audience to accept venue as a prop * improve maybeSelector / maybeArraySelector / emptyArraySelector * refactor useConnectRelatedVenues functions to make better use of maybeArraySelector / etc improvements * fix warning The 'venueEvents' logical expression could make the dependencies of useMemo Hook (at line 68) change on every render. * refactor Audience to use usePartygoersbySeat hook * refactor Auditorium to extract takeSeat / leaveSeat from main memo * fix Jest Validation Error: Directory <rootDir> in the rootDir option was not found. * npm install --save-dev source-map-explorer * npm dedup * add source-map-explorer analyze script to package.json * remove @babel/preset-typescript@7.12.7 as it comes in react-scripts * npm run browserslist:update-db * add @debt comments for eslint rulesets to enable in future
- Loading branch information