mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
5ccb2bad16
* Update package.json * Update MemoryFileSystem dependency * Update storage.ts |
||
---|---|---|
.. | ||
src | ||
test | ||
.babelrc | ||
CHANGELOG.md | ||
jest.config.js | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.json |
verdaccio-memory
A memory based storage plugin.
npm install --global verdaccio-memory
Requirements
verdaccio@3.0.0
orverdaccio@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.