1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00
verdaccio/.changeset/late-adults-love.md
Juan Picado e54ec4b5d0 feat: remove level dependency by lowdb for npm token cli as storage (#2043)
* feat: remove level for token by lowdb

* chore: fix format

* chore: fix config

* chore: add changeset
2021-04-09 17:54:31 +02:00

697 B

@verdaccio/api verdaccio-htpasswd @verdaccio/local-storage
minor minor minor

feat: remove level dependency by lowdb for npm token cli as storage

new npm token database

There will be a new database located in your storage named .token-db.json which will store all references to created tokens, it does not store tokens, just mask of them and related metadata required to reference them.

Breaking change

If you were relying on npm token experiment. This PR will replace the used database (level) by a json plain based one (lowbd) which does not require Node.js C++ compilation step and has less dependencies. Since was a experiment there is no migration step.