-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Begin upgrading mui to 5.2 - Install mui 5.2 - Remove material-ui 4 - Replace peerDependencies - Upgrade minimum node version (in preparation for next) * Replace import and comment instances for mui * Upgrade react version for mui * Run mui preset-safe codemods Note: consider readjusting sizing values if necessary * Use preset-safe on test directory Note: consider fixing accordion test manually, as it errored during codemod run * Remove @global usage for CssBaseline (For JSS => emotion migration) * Manual updates for MUI 5 (where codemods didn't work) * Move emotion to dev dependencies * Upgrade next and react * creeateMuiTheme -> creeateTheme, due to deprecation * IntersectionObserver fix * proper theme creation * MUI migration fixes * Migrate from JSS * Manual migration from JSS removeMakeStyels * remove mui/styles * Re-add `classes` where not properly removed * Fix declaration ordering/placement issues Also: remove adaptV4Theme usage * MIU 5 JSS to styled migration * Continue updating product usage - Match code styles from other commits - Ensure necessary variables are used/defined * selectors fixes * babel -> swr * linter * classes exports from UI-components * fetchServerSideProps * LazyHydrate progress * Fix variable order in plp/Sort.js * Update package installation process - Update push-build command to use --sig and npm run build (over yarn) - Installed peer dependencies properly with npm8 - Update enzyme-adapter-react * Revert LazyHydrate to pre-upgrade guide state * Fix carousel styling - Ensure defaultClass.root is used over passed in classes.root for Carousel - Update thumbnails Tab wrapper usage - Fix spaces in selectors where necessary * Continue correcting selectors for carousel - Migrate JSS selector code to styled for hovering => expand - Fix expand media query * Updates to main navigation - Added 'material-ui-popup-state' to manage hover/popup menus for main navigation - Updated NavTab to use the aforementioned library * Removed webpack dev middleware from plugin since it was causing hot reloading issues * General updates for tests * Updated github test workflow definition * Another update to try and fix the tests workflow * Version bump to v9.0.0-alpha.0 * Updates to (temporarily!) skip uncooperative tests Co-authored-by: Christopher Buenaventura <[email protected]> Co-authored-by: sudo97 <[email protected]> Co-authored-by: dijs <[email protected]>
- Loading branch information
1 parent
489f632
commit 483d359
Showing
184 changed files
with
38,690 additions
and
10,601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
jest: true, | ||
node: true, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:react/recommended', | ||
'plugin:react-hooks/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 13, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['react'], | ||
rules: { | ||
'no-unused-vars': ['error', { ignoreRestSiblings: true }], | ||
'react/display-name': 'off', | ||
'react/prop-types': [2, { ignore: ['children'] }], | ||
indent: ['error', 2, { offsetTernaryExpressions: true }], | ||
'linebreak-style': ['error', 'unix'], | ||
quotes: ['error', 'single', { avoidEscape: true }], | ||
semi: ['error', 'never'], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,17 @@ jobs: | |
node-version: [12.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Reconfigure git to use HTTP authentication | ||
run: > | ||
git config --global url."https://github.com/".insteadOf | ||
ssh://[email protected]/ | ||
- name: npm install and test | ||
run: | | ||
npm ci | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v12.14.0 | ||
v12.22.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"jsc": { | ||
"parser": { | ||
"syntax": "ecmascript", | ||
"jsx": true, | ||
"dynamicImport": false, | ||
"privateMethod": false, | ||
"functionBind": false, | ||
"exportDefaultFrom": false, | ||
"exportNamespaceFrom": false, | ||
"decorators": false, | ||
"decoratorsBeforeExport": false, | ||
"topLevelAwait": false, | ||
"importMeta": false | ||
}, | ||
"transform": null, | ||
"target": "es5", | ||
"loose": false, | ||
"externalHelpers": false, | ||
"keepClassNames": false | ||
}, | ||
"module": { | ||
"type": "commonjs", | ||
"strict": false, | ||
"strictMode": true, | ||
"lazy": false, | ||
"noInterop": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.