11.0.1 • Published 8 months ago

ember-resolver v11.0.1

Weekly downloads
181,446
License
MIT
Repository
github
Last release
8 months ago

Ember Resolver CI Build

The Ember Resolver is the mechanism responsible for looking up code in your application and converting its naming conventions into the actual classes, functions, and templates that Ember needs to resolve its dependencies, for example, what template to render for a given route. It is a system that helps the app resolve the lookup of JavaScript modules agnostic of what kind of module system is used, which can be AMD, CommonJS or just plain globals. It is used to lookup routes, models, components, templates, or anything that is used in your Ember app.

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.

11.0.1

8 months ago

11.0.0

9 months ago

10.1.1

10 months ago

11.0.0-beta.0

10 months ago

10.1.0

12 months ago

10.0.0

1 year ago

8.1.0

1 year ago

9.0.1

1 year ago

9.0.0

1 year ago

8.0.3

3 years ago

8.0.2

4 years ago

8.0.1

4 years ago

8.0.0

4 years ago

6.0.2

4 years ago

7.0.0

4 years ago

6.0.1

4 years ago

6.0.0

4 years ago

5.3.0

5 years ago

5.2.1

5 years ago

5.2.0

5 years ago

5.1.3

5 years ago

5.1.2

5 years ago

5.1.1

5 years ago

5.1.0

5 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.5.6

6 years ago

4.5.5

6 years ago

4.5.4

6 years ago

4.5.3

6 years ago

4.5.2

6 years ago

4.5.1

6 years ago

4.5.0

7 years ago

4.4.0

7 years ago

4.3.1

7 years ago

4.3.0

7 years ago

4.2.4

7 years ago

4.2.3

7 years ago

4.2.2

7 years ago

4.2.1

7 years ago

4.2.0

7 years ago

4.1.0

7 years ago

4.0.0

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.1.1

7 years ago

2.1.0

8 years ago

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago