1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/packages/plugins/memory
Juan Picado 459b6fa72b
refactor: search v1 endpoint and local-database (#2340)
* Refactor local-storage async

refactor local storage search stream

Remove async from local-storage, refactor search with streams

refactor search with undici fetch

finish search refactor

stream multiple request to single stream

refactor storage types

remove async dependency #1225

add score and refactor metadata

remove old search async

fix missing stream local data

clean up

clean up

refactor folder search

format

fix some test

fix issue on publish

filter preview

update ci

delete package folder refactor

refactor get packages methods

fix tests

fix lock file

add changeset

fix test windows

disable some test

update package json versions

* fix merge

* fix e2e cli

* restore e2e

* Update process.ts

* Update process.ts

* add improvement

* format

* Update utils.ts

* test

* test

* Update search.spec.ts

* Update search.spec.ts

* Update search.spec.ts

* test

* Update ci.yml

* clean up

* fix tests

* Update tags.ts

* Update index.spec.ts

* document changeset

* format
2021-09-08 19:06:37 +02:00
..
src refactor: search v1 endpoint and local-database (#2340) 2021-09-08 19:06:37 +02:00
test refactor: search v1 endpoint and local-database (#2340) 2021-09-08 19:06:37 +02:00
.babelrc refactor: relocate verdaccio-memory plugin (#1974) 2021-04-09 17:54:22 +02:00
CHANGELOG.md chore: update versions (6-next) (#2162) 2021-04-09 17:54:43 +02:00
jest.config.js refactor: relocate verdaccio-memory plugin (#1974) 2021-04-09 17:54:22 +02:00
LICENSE refactor: relocate verdaccio-auth-memory plugin (#1975) 2021-04-09 17:54:22 +02:00
package.json Indiescripter/last misc deps update for now (#2422) 2021-09-04 14:33:45 +02:00
README.md refactor: relocate verdaccio-auth-memory plugin (#1975) 2021-04-09 17:54:22 +02:00
tsconfig.build.json refactor: relocate verdaccio-memory plugin (#1974) 2021-04-09 17:54:22 +02:00
tsconfig.json chore: add update-ts-references (#2168) 2021-04-09 17:54:44 +02:00

verdaccio-memory

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

A memory based storage plugin.

 npm install --global verdaccio-memory

Requirements

verdaccio@3.0.0 or verdaccio@4.x

npm install -g verdaccio

Complete configuration example:

store:
  memory:
    limit: 1000

in config.yaml

If store: is present storage: fallback is being ignored.

storage: /Users/user/.local/share/verdaccio/storage
auth:
  htpasswd:
    file: ./htpasswd
store:
  memory:
    limit: 1000

Disclaimer

This plugin should not be use for production environments. It might be useful for testing or such places as CI where data does not need to be persisted.

License

MIT