zotero / translation-server

A Node.js-based server to run Zotero translators
Other
121 stars 50 forks source link

Regularly publish releases at npmjs #92

Open nichtich opened 5 years ago

nichtich commented 5 years ago

Great project! Could you publish versioned releases as npm packages?

dstillman commented 5 years ago

Could you say why you'd want that? Just for installation and updating with npm i -g?

I don't think we'd want to publish a package for this until we've figured something out for https://github.com/zotero/translation-server/issues/1, and we'd also need to do something different for translator storage. Right now we use a translators directory at modules/translators by default, but if you're installing this globally and it's ending up in ~/node_modules/translation-server, that's not really something we can write to. So then it seems like we're getting into either OS-specific cache folders or a convention like ~/node_modules/.cache/translation-server (as in https://github.com/avajs/find-cache-dir).