Closed sweep-ai[bot] closed 1 year ago
GitHub actions yielded the following error.
The command that failed is depcheck ./frontend --fail-on-error
. Here are the relevant lines from the logs:
Unused dependencies
* @codemirror/commands
* @codemirror/lang-python
* @emotion/react
* @emotion/styled
* @testing-library/react
* @testing-library/user-event
* @types/crypto-js
* @types/file-saver
* @types/jest
* @types/lodash.camelcase
* @types/node
* @types/react-csv
* @types/redux-mock-store
* @uiw/react-codemirror
* axios
* crypto-js
* file-saver
* gestalt-datepicker
* jszip
* lodash.camelcase
* next-redux-wrapper
* rc-progress
* react-csv
* react-data-table-component
* react-filerobot-image-editor
* react-icons
* react-select
* socket.io-client
* typescript
* web-vitals
Unused devDependencies
* @testing-library/jest-dom
* @types/redux-mock-store
* eslint
* redux-mock-store
Missing dependencies
* @dnd-kit/utilities: ./src/features/Train/features/Tabular/components/TabularParametersStep.tsx
##[error]Process completed with exit code 255.
There are a lot of errors. This is likely due to a small parsing issue or a missing import with the files changed in the PR.
This is likely a linting or type-checking issue with the source code. Update the code the changes and avoid modifying the existing tests.
I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.
GitHub actions yielded the following error.
The command that failed is depcheck ./frontend --fail-on-error
. Here are the relevant lines from the logs:
Unused dependencies
* @codemirror/commands
* @codemirror/lang-python
* @emotion/react
* @emotion/styled
* @testing-library/react
* @testing-library/user-event
* @types/crypto-js
* @types/file-saver
* @types/jest
* @types/lodash.camelcase
* @types/node
* @types/react-csv
* @types/redux-mock-store
* @uiw/react-codemirror
* axios
* crypto-js
* file-saver
* gestalt-datepicker
* jszip
* lodash.camelcase
* next-redux-wrapper
* rc-progress
* react-csv
* react-data-table-component
* react-filerobot-image-editor
* react-icons
* react-select
* socket.io-client
* typescript
* web-vitals
Unused devDependencies
* @testing-library/jest-dom
* @types/redux-mock-store
* eslint
* redux-mock-store
Missing dependencies
* @dnd-kit/utilities: ./src/features/Train/features/Tabular/components/TabularParametersStep.tsx
##[error]Process completed with exit code 255.
There are a lot of errors. This is likely due to a small parsing issue or a missing import with the files changed in the PR.
This is likely a linting or type-checking issue with the source code. Update the code the changes and avoid modifying the existing tests.
I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.
GitHub actions yielded the following error.
The command that failed is depcheck ./frontend --fail-on-error
. Here are the relevant lines from the logs:
Unused dependencies
* @codemirror/commands
* @codemirror/lang-python
* @emotion/react
* @emotion/styled
* @testing-library/react
* @testing-library/user-event
* @types/crypto-js
* @types/file-saver
* @types/jest
* @types/lodash.camelcase
* @types/node
* @types/react-csv
* @types/redux-mock-store
* @uiw/react-codemirror
* axios
* crypto-js
* file-saver
* gestalt-datepicker
* jszip
* lodash.camelcase
* next-redux-wrapper
* rc-progress
* react-csv
* react-data-table-component
* react-filerobot-image-editor
* react-icons
* react-select
* socket.io-client
* typescript
* web-vitals
Unused devDependencies
* @testing-library/jest-dom
* @types/redux-mock-store
* eslint
* redux-mock-store
Missing dependencies
* @dnd-kit/utilities: ./src/features/Train/features/Tabular/components/TabularParametersStep.tsx
##[error]Process completed with exit code 255.
There are a lot of errors. This is likely due to a small parsing issue or a missing import with the files changed in the PR.
This is likely a linting or type-checking issue with the source code. Update the code the changes and avoid modifying the existing tests.
I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.
GitHub actions yielded the following error.
The command that failed is actions/checkout@v4
. Here are the relevant lines from the logs:
##[error]Unable to resolve action `actions/checkout@v4`, unable to find version `v4`
Please note that the error occurred twice in the logs.
This is likely a linting or type-checking issue with the source code. Update the code the changes and avoid modifying the existing tests.
I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.
GitHub actions yielded the following error.
The command that failed is actions/checkout@v4
. Here are the relevant lines from the logs:
##[error]Unable to resolve action `actions/checkout@v4`, unable to find version `v4`
Please note that the error occurred twice in the logs.
This is likely a linting or type-checking issue with the source code. Update the code the changes and avoid modifying the existing tests.
I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.
GitHub actions yielded the following error.
The command that failed is actions/checkout@v4
. Here are the relevant lines from the logs:
##[error]Unable to resolve action `actions/checkout@v4`, unable to find version `v4`
Please note that the error occurred twice in the logs.
This is likely a linting or type-checking issue with the source code. Update the code the changes and avoid modifying the existing tests.
I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.
Description
This PR implements a Github Action using depcheck to validate the usage of frontend libraries listed in yarn.lock. The goal is to optimize the frontend package size by eliminating unused libraries, which will improve build performance.
Summary of Changes
Please review and merge this PR to enable depcheck as a Github Action for the repository.
Fixes #895.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.