2.0.2 • Published 6 months ago

nx-remotecache-redis v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

nx-remotecache-redis

This is a task runner for @nrwl/nx https://nx.dev/react which uses a redis database as a remote caching storage. Read more about the benefits in the nx documentations https://nx.dev/using-nx/caching#computation-caching

This package was built with nx-remotecache-custom 🔥

Setup

npm install -D nx-remotecache-redis
ParameterDescriptionEnvironment Variablenx.json
Redis URLThe url to connect to redis for example: redis://<user>:<password>@127.0.0.1:6379NX_CACHE_REDIS_URLurl
Redis ExpireExpire time in seconds to automaticaly delete keysNX_CACHE_REDIS_EXPIREexpire
{
  "tasksRunnerOptions": {
    "default": {
      "runner": "nx-remotecache-redis",
      "options": {
        // All of the redis specific options can also be inserted via environment variables!
        "url": "redis://127.0.0.1:6379",
        "cacheableOperations": ["build", "test", "lint", "e2e"]
      }
    }
  }
}
2.0.2

6 months ago

2.0.1

6 months ago

2.0.0

6 months ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago