-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc8ad56
commit cd54a16
Showing
22 changed files
with
7,825 additions
and
3,232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/blueprints/*/files/**/*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,50 @@ | ||
# my-addon | ||
my-addon | ||
============================================================================== | ||
|
||
This README outlines the details of collaborating on this Ember addon. | ||
[Short description of the addon.] | ||
|
||
## Installation | ||
Installation | ||
------------------------------------------------------------------------------ | ||
|
||
* `git clone <repository-url>` this repository | ||
``` | ||
ember install my-addon | ||
``` | ||
|
||
|
||
Usage | ||
------------------------------------------------------------------------------ | ||
|
||
[Longer description of how to use the addon in apps.] | ||
|
||
|
||
Contributing | ||
------------------------------------------------------------------------------ | ||
|
||
### Installation | ||
|
||
* `git clone <repository-url>` | ||
* `cd my-addon` | ||
* `npm install` | ||
|
||
## Running | ||
### Linting | ||
|
||
* `ember serve` | ||
* Visit your app at [http://localhost:4200](http://localhost:4200). | ||
* `npm run lint:js` | ||
* `npm run lint:js -- --fix` | ||
|
||
## Running Tests | ||
### Running tests | ||
|
||
* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions) | ||
* `ember test` | ||
* `ember test --server` | ||
* `ember test` – Runs the test suite on the current Ember version | ||
* `ember test --server` – Runs the test suite in "watch mode" | ||
* `ember try:each` – Runs the test suite against multiple Ember versions | ||
|
||
## Building | ||
### Running the dummy application | ||
|
||
* `ember build` | ||
* `ember serve` | ||
* Visit the dummy application at [http://localhost:4200](http://localhost:4200). | ||
|
||
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/). | ||
|
||
License | ||
------------------------------------------------------------------------------ | ||
|
||
This project is licensed under the [MIT License](LICENSE.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import Ember from 'ember'; | ||
import Component from '@ember/component'; | ||
import layout from '../templates/components/my-component'; | ||
|
||
export default Ember.Component.extend({ | ||
export default Component.extend({ | ||
layout | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,70 @@ | ||
/* eslint-env node */ | ||
module.exports = { | ||
scenarios: [ | ||
{ | ||
name: 'ember-lts-2.8', | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#lts-2-8' | ||
'use strict'; | ||
|
||
const getChannelURL = require('ember-source-channel-url'); | ||
|
||
module.exports = function() { | ||
return Promise.all([ | ||
getChannelURL('release'), | ||
getChannelURL('beta'), | ||
getChannelURL('canary') | ||
]).then((urls) => { | ||
return { | ||
scenarios: [ | ||
{ | ||
name: 'ember-lts-2.12', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.12.0' | ||
} | ||
} | ||
}, | ||
resolutions: { | ||
'ember': 'lts-2-8' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-lts-2.12', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.12.0' | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-release', | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#release' | ||
{ | ||
name: 'ember-lts-2.16', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.16.0' | ||
} | ||
} | ||
}, | ||
resolutions: { | ||
'ember': 'release' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-beta', | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#beta' | ||
{ | ||
name: 'ember-lts-2.18', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.18.0' | ||
} | ||
} | ||
}, | ||
resolutions: { | ||
'ember': 'beta' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-canary', | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#canary' | ||
{ | ||
name: 'ember-release', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[0] | ||
} | ||
} | ||
}, | ||
resolutions: { | ||
'ember': 'canary' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
{ | ||
name: 'ember-beta', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[1] | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-canary', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[2] | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-default', | ||
npm: { | ||
devDependencies: {} | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-default', | ||
npm: { | ||
devDependencies: {} | ||
} | ||
} | ||
] | ||
] | ||
}; | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-env node */ | ||
'use strict'; | ||
|
||
module.exports = function(/* environment, appConfig */) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-env node */ | ||
'use strict'; | ||
|
||
const EmberAddon = require('ember-cli/lib/broccoli/ember-addon'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-env node */ | ||
'use strict'; | ||
|
||
module.exports = { | ||
|
Oops, something went wrong.