-
Notifications
You must be signed in to change notification settings - Fork 55
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
Build system #821
Build system #821
Conversation
- Remove all enzyme related packages - Bump react aptor and fix corresponding tasks Signed-off-by: Amir.H Ebrahimi <amirhosseinebrahimi77@gmail.com>
- Update UI test layer with react testing library
- Update eslint config - sort package.json - add pre commit, pre push hook
- Update eslint config for resolving __DEV__
Hello, @realamirhe! This is your first Pull Request that will be reviewed by SourceLevel, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information. |
Pull request analysis by VIZIPI Below you will find who is the most qualified team member to review your code. Reviewers with knowledge related to these changes
Potential missing files from this Pull requestfiles commonly committed with a subset of this pr, but not committed this time. (click to collapse)
Committed file ranks(click to expand)56.93% [example/src/custom-hls-player.tsx] 93.67% [config/webpack.js] 81.02% [example/vite.config.ts] 73.19% [tests/Plyr.test.tsx] 81.02% [config/fileTransform.js] 85.84% [config/cssTransform.js] 73.19% [example/src/custom-audio-player.tsx] 99.70% [package-lock.json] 99.40% [package.json] 97.89% [rollup.config.js] |
The problem of the ci seems to be because of GitHub actions node_modules cache. It is totally okay locally, and I believe if we switch to yarn it would be okay too |
|
can we use SWC instead of esbuild? |
I tried that, but I took too much time to install and got failed at the end. If you can install |
I'm pretty sure, I fixed this😅, |
Hey @chintan9, I fixed the type /plyr-react/src/index.tsx
37:42 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
38:7 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
38:37 warning Forbidden non-null assertion @typescript-eslint/no-non-null-assertion The problem with the
Seems to exist, because of the minimum version of our npm in the pacakge.json engine Here are some links which can be helpful |
Now we have another problem with the react testing library, I remember I solved that on my side (locally) via I'm going to fix the react testing library react peer deps after Monday. |
- Optimize copy process by rollup - Use swc for jest test runner
- Optimize copy process by rollup - Use swc for jest test runner
Kudos, SonarCloud Quality Gate passed!
|
SourceLevel has finished reviewing this Pull Request and has found:
|
Fixed the conflicts and build errors, all kudos to dear gitpod :) |
@chintan9 although I love to pass all these commit to master on my name?
|
Please double-check the process locally and release on the RC tag in npm