Registry / database / ember-cli-deploy-redis

ember-cli-deploy-redis

JSON →
library4.0.0jsnpmunverified

An Ember CLI Deploy plugin that uploads a file (typically index.html) to a Redis store. v4.0.0, released 2024-08-28, stable. Part of the ember-cli-deploy ecosystem, commonly used with S3 for lightning deployments. Supports Node 14+ and Rediss URLs. Compared to alternatives, it integrates tightly with ember-cli-deploy hooks and configuration.

npm install ember-cli-deploy-redis
INSTALL
IMPORT
SIG · EMBER-CLI-DEPLOY-R
E
ember-cli-deploy-redis
databasejavascriptv4.0.0
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import redisDeployPlugin from 'ember-cli-deploy-redis'
const redisDeployPlugin = require('ember-cli-deploy-redis')
ESM-only since v4.0.0 (likely, check package.json).
EmberAddon config
ENV.redis = { host: 'localhost', port: 6379 }
ENV['ember-cli-deploy-redis'] = {}
Plugin key in deploy.js is 'redis'.
object config
const config = { host: 'localhost', port: 6379 }
new RedisPlugin(config)
Plugin is not instantiated directly; pass config hash.

Configure ember-cli-deploy-redis plugin in deploy.js with host, port, password.

// config/deploy.js module.exports = function(deployTarget) { let ENV = { build: {}, redis: { host: process.env.REDIS_HOST || 'localhost', port: process.env.REDIS_PORT || 6379, password: process.env.REDIS_PASSWORD || '', }, }; if (deployTarget === 'production') { ENV.redis.host = process.env.REDIS_HOST_PROD; } return ENV; };
Debug
Known issues
breakingv4.0.0 drops support for Node versions below 14 and updates dependencies, potentially breaking existing configurations.
fix
Update Node to >=14 and ensure ember-cli-deploy is compatible.
affects: <4.0.0
breakingv3.0.0 dropped support for Node < 12.
fix
Upgrade Node to >=12.
affects: <3.0.0
breakingv2.0.0 dropped support for Node < 10.
fix
Upgrade Node to >=10.
affects: <2.0.0
gotchaThe plugin uploads only one file by default (filePattern: 'index.html'). If you need to upload multiple files, you must configure multiple plugins or a custom adapter.
fix
Set filePattern to a glob pattern (not supported by default) or use separate plugin instances.
affects: all
gotchaUsing url with rediss:// protocol requires TLS support; ensure redis library v3+ is installed.
fix
Use 'rediss://' URL format and set redisOptions.tls if needed.
affects: >=3.0.0
Errors
Common errors & fixes
TypeError: Cannot read property 'name' of undefined
Deployment context missing project.name(), often in non-EmberCLI usage.
fix
Ensure the plugin runs within an ember-cli-deploy context, or provide keyPrefix manually.
ReplyError: WRONGPASS invalid username-password pair
Redis authentication failed.
fix
Check password configuration in deploy.js or environment variable.
Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
Redis server not running on the specified host/port.
fix
Start Redis server or update host/port configuration.
Upgrade
Version history
4.0.0latest on npm
Audit
Dependencies
ember-cli-deployrequiredCore dependency for deployment pipeline hooks
redisrequiredRedis client library
Agent activity
7 hits · last 30 days
node
6
Resources
ember-cli-deploy-redis — npm install ember-cli-deploy-redis · libregistry