-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Re: comments on https://github.com/achambers/ember-cli-deploy/pull/47
When installing a custom index-adapter, the adapter-registry will only use the first index-adapter it finds. Depending on the order of dependencies inside an app's package.json, the first index-adapter may be the default ember-cli-deploy-redis-index-adapter.
This makes it difficult to install a custom index-adapter named ember-cli-deploy-***, since npm will usually save dependencies in alphabetical order.
Suggested Solutions
- Skip registering the default
ember-cli-deploy-redis-index-adapterif another index-adapter exists - Remove
ember-cli-deploy-redis-index-adapterfrom theember-cli-deploydependencies
I can create a PR once we decide upon the best solution.
Work around
Move the custom index-adapter above the ember-cli-deploy package in your ember-cli app's package.json.
Reactions are currently unavailable