2.0.2 • Published 1 year ago

nx-remotecache-redis v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago