0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

feat: rename database file name (#954)

This commit is contained in:
Omer Drukman 2018-08-26 14:47:51 +03:00 committed by Juan Picado @jotadeveloper
parent d7f34b494c
commit dd72120379
3 changed files with 11 additions and 5 deletions

View file

@ -24,3 +24,9 @@ To locate the home directory, we rely on **$XDG_DATA_HOME** as a first choice an
We use **$XDG_DATA_HOME** environment variable as default to locate the storage by default which [should be the same](https://askubuntu.com/questions/538526/is-home-local-share-the-default-value-for-xdg-data-home-in-ubuntu-14-04) as $HOME/.local/share. We use **$XDG_DATA_HOME** environment variable as default to locate the storage by default which [should be the same](https://askubuntu.com/questions/538526/is-home-local-share-the-default-value-for-xdg-data-home-in-ubuntu-14-04) as $HOME/.local/share.
If you are using a custom storage, this location is irrelevant. If you are using a custom storage, this location is irrelevant.
## Default database file location
The default database file location is in the storage location.
Starting with version 4.0.0, the database file name will be **.verdaccio-db.json** for a new installation of Verdaccio.
When upgrading an existing Verdaccio server, the file name will remain **.sinopia-db.json**.

View file

@ -16,7 +16,7 @@
}, },
"dependencies": { "dependencies": {
"@verdaccio/file-locking": "0.0.7", "@verdaccio/file-locking": "0.0.7",
"@verdaccio/local-storage": "1.1.3", "@verdaccio/local-storage": "1.2.0",
"@verdaccio/streams": "1.0.0", "@verdaccio/streams": "1.0.0",
"JSONStream": "1.3.3", "JSONStream": "1.3.3",
"async": "2.6.1", "async": "2.6.1",

View file

@ -250,14 +250,14 @@
lockfile "1.0.3" lockfile "1.0.3"
lodash "4.17.10" lodash "4.17.10"
"@verdaccio/local-storage@1.1.3": "@verdaccio/local-storage@1.2.0":
version "1.1.3" version "1.2.0"
resolved "https://registry.npmjs.org/@verdaccio/local-storage/-/local-storage-1.1.3.tgz#2c1e5b830f69a6ade5a855aea581f3ba96a37cfd" resolved "https://registry.npmjs.org/@verdaccio/local-storage/-/local-storage-1.2.0.tgz#dccbfd0710639c197567c555374eb926c535b071"
dependencies: dependencies:
"@verdaccio/file-locking" "0.0.7" "@verdaccio/file-locking" "0.0.7"
"@verdaccio/streams" "1.0.0" "@verdaccio/streams" "1.0.0"
async "2.6.1" async "2.6.1"
http-errors "1.6.2" http-errors "1.7.0"
lodash "4.17.10" lodash "4.17.10"
mkdirp "0.5.1" mkdirp "0.5.1"