1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/packages/plugins/local-storage
Juan Picado 5167bb528f
feat: UI search uses search endpoint for global search (#3057)
* UI search uses search endpoint for global search

* improve sorting and error handling

* give priority to private packages

* order by private package

* add tests, improve testing

* add changeset

* addjust settings

* remove old index search implementation

* update lock file

* relocate fastify package

* fix circular dependency

* fix wrong import

* fix tests
2022-03-27 21:42:52 +02:00
..
_storage chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
src feat: UI search uses search endpoint for global search (#3057) 2022-03-27 21:42:52 +02:00
tests #2606 add prettier plugin sort imports (#2607) 2021-10-29 17:33:05 +02:00
.babelrc chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
.eslintrc.json chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
CHANGELOG.md chore: update versions (6-next) (#2648) 2021-12-15 19:02:26 +01:00
jest.config.js chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
LICENSE chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
package.json fix(deps): update all non-major core dependencies (#2910) 2022-01-18 08:35:07 +01:00
README.md chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
tsconfig.build.json chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
tsconfig.json chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00

@verdaccio/local-storage

📦 File system storage plugin for verdaccio

verdaccio (latest) CircleCI Known Vulnerabilities codecov backers discord MIT node

This package is already built-in in verdaccio

npm install @verdaccio/local-storage

API

LocalDatabase

The main object that handle a JSON database the private packages.

Constructor

new LocalDatabase(config, logger);
  • config: A verdaccio configuration instance.
  • logger: A logger instance

LocalFS

A class that handle an package instance in the File System

new LocalFS(packageStoragePath, logger);

License

Verdaccio is MIT licensed.

FOSSA Status