remotestorage / remotestorage.js

⬡ JavaScript client library for integrating remoteStorage in apps
https://remotestoragejs.readthedocs.io
MIT License
2.32k stars 141 forks source link

Fix ReadTheDocs builds #1276

Closed raucao closed 1 year ago

raucao commented 1 year ago

Unfortunately, there were a lot of breaking changes since typedoc 0.19.2, and SphinxJS doesn't work with those yet. However, the usage of XMLHttpRequestBodyInit since recent refactors requires a newer version of TypeScript than 0.19.2 specifies as allowed peer dependency.

NodeJS 14 doesn't complain about the mismatch when mixing old typedoc with new typescript, but NodeJS 16 does. So with this fix, it is necessary to use either the --force or --legacy-peer-deps flag with npm install and npm ci for now.

fixes #1277