Uh oh!
There was an error while loading. Please reload this page.
Update packages version and ready for pnpm - #1333
Conversation
✅ Deploy Preview for reactplayio ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
priyankarpal
commented
Oct 14, 2023
We should upgrade all the dependencies since a few of them have become deprecated. @Angra974 |
Updating all the dependencies means to modify codes inside the application ( change between swiper 9 to 10 ). |
Angra974
commented
Oct 14, 2023
This one is ready. |
priyankarpal
commented
Oct 16, 2023
so now we need to change the docs according to |
Description
Using pnpm to install the application is beneficial if you install often packages or if you have a slow network with other benefits. pnpm store the packages in a folder and use them when needed instead of download them again.
Nevertheless, we have a warning with the current installation regarding eslint :
We need to adjust the dependencies so we can take off this warning.
Before, some people was unable to install with pnpm too because of this problem with eslint.
Fixes#1189
Type of change
Updated the dependencies and their peer dependencies to get no more warning
Only package.json and eslintrc.js was changed by my work.
The other files result in the format and lint of the file with the new version of the modules.
Please delete options that are not relevant.
How Has This Been Tested?
Lint after install the current reactplay.
Update the dependencies and the related peer dependencies
Lint after update.
Add configuration in .eslintrc.js to get warnings instead of errors for unused vars.
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
=> the basic lint command.
Checklist:
Screenshots or example output
video



Remark: Husky commit use Yarn, so ^^'
Notice :
i've updated the .gitignore file to :