1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01: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 7 additions and 1 deletions

@ -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.
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**.

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

BIN
yarn.lock

Binary file not shown.