Open shivaprsd opened 2 years ago
Happy to help with this!
I'd recommend using https://github.com/marketplace/actions/npm-publish, which will trigger an NPM deploy every time there's a version change.
You'll need to add the action, and set an action env variable which will be your NPM token (https://docs.npmjs.com/creating-and-viewing-access-tokens)
Thanks for stopping by! I followed the pointers you gave. Really useful. 👍🏼
But before publishing, we need to figure out how exactly the PDF.js generic viewer is integrated by projects in NodeJS. Only then we can make necessary code changes and provide instructions to integrate doq into their setup.
I think there are some Node-integration examples in the PDF.js repo. Any pointers in that directions are appreciated. 🙂
I went through the PDF.js and Node.js docs. Added to Todo.
An NPM package would be useful to devs wishing to integrate doq in their projects.
I am not familiar with the Node.js platform, so help in this direction is most welcome.