-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Yarn 4 and fix vulnerability check #3353
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
d02187b
Use corepack and fixes vulnerability auditing
ramondeklein 7a5c5fd
Fix build
ramondeklein ed79e58
Deal with resolution mismatch (workaround)
ramondeklein 91b52f6
Workaround dead-code detection and fix build
ramondeklein 339b735
Fix build
ramondeklein 0f1cd31
Fix build
ramondeklein 8cdf28d
Attempt to fix playwright
ramondeklein 0488516
Fix detection of dead code
ramondeklein 0d65ca0
this value is BS change it to 1%
harshavardhana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can have a discussion on this as sometimes this value fluctuates when we build the UI (No Golang code), I think we can keep this value at least in 25