If you would like to contribute by fixing an open issue or developing a new feature you can use this suggested workflow:
- First fork the repository,
- Create a new feature branch off the
main
branch.
- Create a new feature branch off the
- Second, install the dependencies of the monorepo:
yarn install
- Build the library:
cd packages/custoplayer && yarn build
- Run the development server of the test project:
yarn dev
-
Open http://localhost:3000 with your browser to see the result.
-
Make and commit desired changes.
- Make sure to run
yarn lint --fix
before commiting to ensure that there are no linting errors.
- Make sure to run
-
Finally, submit a pr from your forked branch to the Custoplayer main branch
cd packages/custoplayer && yarn cy:open-unit
If you want to run the unit tests headlessly do:
yarn cy:run-unit
cd packages/custoplayer && yarn cy:open-e2e
If you want to run the end to end tests headlessly do:
yarn cy:run-e2e