Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 858 Bytes

CONTRIBUTING.md

File metadata and controls

52 lines (34 loc) · 858 Bytes

voice-over-translation contributing guide

@vot.js/ext

Don't forget to pass { fetchFn: GM_fetch } option to getVideoID and getVideoData

Updating @vot.js/* packages

Casual:

  1. Install new version of @vot.js/... with
npm install @vot.js/...

If patches broken after casual:

  1. Remove "postinstall" script from package.json
  2. Remove @vot.js/... package with
npm uninstall @vot.js/...
  1. Install new version of @vot.js/... with
npm install @vot.js/...
  1. Restore "postinstall" script in package.json
  2. Run patch-package
npx patch-package
  1. If it ended with an error run
npx patch-package --partial
  1. Fix errors from patch-package-errors.log
  2. Run patch-package update
npx patch-package @vot.js/...
  1. Repeat 5-7 steps before success applying patches