-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to Yarn 4 and fix vulnerability check (#3353)
* Use corepack and fixes vulnerability auditing * Fix build * Deal with resolution mismatch (workaround) * Workaround dead-code detection and fix build * Fix build * Fix build * Attempt to fix playwright * Fix detection of dead code * this value is BS change it to 1% --------- Co-authored-by: Harshavardhana <[email protected]>
- Loading branch information
1 parent
779f2a8
commit 15635ec
Showing
7 changed files
with
19,035 additions
and
13,827 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
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 @@ | ||
nodeLinker: node-modules |
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 |
---|---|---|
|
@@ -5,5 +5,5 @@ then | |
\. "$NVM_DIR/nvm.sh"; | ||
nvm use; | ||
fi | ||
yarn install | ||
yarn install --no-check-resolutions | ||
yarn prettier --check . |
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
"test": "react-scripts test", | ||
"eject": "react-scripts eject", | ||
"playwright": "PORT=5005 USE_BABEL_PLUGIN_ISTANBUL=1 react-app-rewired start", | ||
"find-deadcode": "ts-prune -s consoleApi.ts | (! grep -v 'used in module')" | ||
"find-deadcode": "ts-prune -s consoleApi.ts | sh -c '(! grep -v \"used in module\")'" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app", | ||
|
@@ -59,7 +59,7 @@ | |
"proxy": "http://localhost:9090/", | ||
"devDependencies": { | ||
"@babel/plugin-proposal-private-property-in-object": "^7.21.11", | ||
"@playwright/test": "^1.43.1", | ||
"@playwright/test": "^1.44.0", | ||
"@types/lodash": "^4.17.0", | ||
"@types/luxon": "^3.4.2", | ||
"@types/node": "20.12.8", | ||
|
@@ -89,20 +89,9 @@ | |
"nth-check": "^2.0.1", | ||
"yaml": "^2.4.2", | ||
"postcss": "^8.4.38", | ||
"react-scripts/**/node-forge": "^1.3.0", | ||
"react-scripts/**/async": "^2.6.4", | ||
"react-scripts/workbox-webpack-plugin/workbox-build/@surma/rollup-plugin-off-main-thread/ejs/jake/async": "^2.6.4", | ||
"react-scripts/webpack-dev-server/portfinder/async": "^2.6.4", | ||
"react-scripts/**/glob-parent": "^6.0.1", | ||
"react-scripts/**/minimatch": "^3.0.5", | ||
"react-scripts/**/loader-utils": "^2.0.4", | ||
"react-scripts/**/json5": "^2.2.2", | ||
"react-scripts/**/debug": "^3.1.0", | ||
"recharts/**/d3-color": "^3.1.0", | ||
"fast-xml-parser": "^4.3.6", | ||
"semver": "^7.5.2", | ||
"testcafe/**/tough-cookie": "^4.1.4", | ||
"styled-components/**/@babel/traverse": "^7.24.5" | ||
"semver": "^7.5.2" | ||
}, | ||
"main": "index.js" | ||
"main": "index.js", | ||
"packageManager": "[email protected]" | ||
} |
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.