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 9fc2e79611
feat(plugin): improve plugin loader (#3370)
* feat(plugin): implement scope package support plugins

* feat(plugin): improve plugin loader

* chore: fix build

* chore: cover config path case

* chore: async ui thene plugin

* chore: store async plugin

* chore: refactor plugin loader auth

* feat: filter refactoring

* chore: remove old plugin loader

* chore: add changeset

* chore: add docs

* chore: refactor relative plugin loader

* Update user.jwt.spec.ts

* Update user.jwt.spec.ts
2022-09-16 08:02:08 +02:00
..
_storage chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
src feat(plugin): improve plugin loader (#3370) 2022-09-16 08:02:08 +02:00
tests feat(plugin): improve plugin loader (#3370) 2022-09-16 08:02:08 +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) (#3350) 2022-09-04 11:56:23 +02:00
jest.config.js feat!: replace deprecated request dependency by got (#3100) 2022-07-29 20:51:45 +02:00
LICENSE chore: refactor pkgs location (#2538) 2021-10-18 22:18:09 +02:00
package.json fix(deps): update all core dependencies (#3372) 2022-09-11 18:26:14 +02: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 feat!: replace deprecated request dependency by got (#3100) 2022-07-29 20:51:45 +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