No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 9947b2c Feb 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon fix: support engine resolution in scoped packages Feb 15, 2019
app/initializers Remove unused files. May 17, 2018
config upgrade CLI Jul 21, 2018
mu-trees Fix MU `GlimmerResolver.normalize` when `fullName` is not present Feb 22, 2019
tests fix: support engine resolution in scoped packages Feb 15, 2019
.editorconfig Update `ember-cli` to `2.8.0` Sep 28, 2016
.ember-cli Make an ember-cli addon. Aug 30, 2015
.eslintignore upgrade CLI Jul 21, 2018
.eslintrc.js Fix linting Jul 21, 2018
.github_changelog_generator
.gitignore upgrade CLI Jul 21, 2018
.npmignore upgrade CLI Jul 21, 2018
.travis.yml upgrade CLI Jul 21, 2018
.watchmanconfig Make an ember-cli addon. Aug 30, 2015
CHANGELOG.md Add 5.1.3 to CHANGELOG.md. Feb 22, 2019
CODE_OF_CONDUCT.md Add link to community guidelines as CODE_OF_CONDUCT.md Jun 20, 2015
LICENSE Begin fleshing out directory structure. Oct 31, 2013
LICENSE.md Update `ember-cli` to `2.8.0` Sep 28, 2016
README.md Use build-time `project.isModuleUnification()` instead of feature flag. Mar 14, 2018
ember-cli-build.js Use build-time `project.isModuleUnification()` instead of feature flag. Mar 14, 2018
index.js Remove deprecated legacy shims Dec 19, 2018
package.json v5.1.3 Feb 22, 2019
testem.js upgrade CLI Jul 21, 2018
yarn.lock Bump ember-source from 3.7.3 to 3.8.0 Feb 19, 2019

README.md

Ember Resolver Build Status

This project provides the Ember resolver used by the following projects:

Installation

ember-resolver is an ember-cli addon, and should be installed with ember install:

ember install ember-resolver

Configuration

To customize pluralization provide a pluralizedTypes object to your extended version of the Resolver in consuming app:

# app/resolver.js
import Resolver from 'ember-resolver';

export default Resolver.extend({
  pluralizedTypes: {
    'sheep': 'sheep',
    'strategy': 'strategies'
  }
})

Upgrading

ember-resolver is normally bumped with ember-cli releases. To install a newer version use yarn or npm. For example:

yarn upgrade ember-resolver

Migrating from bower

Before v1.0.1 ember-resolver was primarially consumed via bower. To migrate install the addon version via yarn or npm. If you're currently using ember-resolver v0.1.x in your project, you should uninstall it:

bower uninstall ember-resolver --save

You can continue to use ember-resolver v0.1.x as a bower package, but be careful not to update it to versions greater than v1.0.

Addon Development

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Troubleshooting

As mentioned above, ember-resolver is no longer a bower package. If you're seeing a message like this:

Unable to find a suitable version for ember-resolver, please choose one:
    1) ember-resolver#~0.1.20 which resolved to 0.1.21 and is required by ember-resolver#2.0.3
    2) ember-resolver#~2.0.3 which resolved to 2.0.3 and is required by [APP_NAME]

... you probably need to update your application accordingly. See aptible/dashboard.aptible.com#423 as an example of how to update.