-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
|
||
# dependencies | ||
/bower_components/ | ||
/node_modules/ | ||
|
||
# misc | ||
/coverage/ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ | |
/node_modules/ | ||
|
||
# misc | ||
/.env* | ||
/.pnp* | ||
/.sass-cache | ||
/connect.lock | ||
/coverage/ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ language: node_js | |
node_js: | ||
# we recommend testing addons with the same minimum supported node version as Ember CLI | ||
# so that your addon works for all apps | ||
- "6" | ||
- "8" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
knownasilya
Author
Contributor
|
||
|
||
sudo: false | ||
dist: trusty | ||
|
@@ -20,6 +20,12 @@ env: | |
# See https://git.io/vdao3 for details. | ||
- JOBS=1 | ||
|
||
branches: | ||
only: | ||
- master | ||
# npm version tags | ||
- /^v\d+\.\d+\.\d+/ | ||
|
||
jobs: | ||
fail_fast: true | ||
allow_failures: | ||
|
@@ -38,17 +44,12 @@ jobs: | |
# we recommend new addons test the current and previous LTS | ||
# as well as latest stable release (bonus points to beta/canary) | ||
- stage: "Additional Tests" | ||
env: EMBER_TRY_SCENARIO=ember-lts-2.16 | ||
- env: EMBER_TRY_SCENARIO=ember-lts-2.18 | ||
env: EMBER_TRY_SCENARIO=ember-lts-2.18 | ||
- env: EMBER_TRY_SCENARIO=ember-lts-3.4 | ||
- env: EMBER_TRY_SCENARIO=ember-release | ||
- env: EMBER_TRY_SCENARIO=ember-beta | ||
- env: EMBER_TRY_SCENARIO=ember-canary | ||
- env: EMBER_TRY_SCENARIO=ember-default-with-jquery | ||
|
||
before_install: | ||
- npm config set spin false | ||
- npm install -g npm@4 | ||
- npm --version | ||
|
||
script: | ||
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# How To Contribute | ||
|
||
## Installation | ||
|
||
* `git clone <repository-url>` | ||
* `cd my-addon` | ||
* `npm install` | ||
|
||
## Linting | ||
|
||
* `npm run lint:hbs` | ||
* `npm run lint:js` | ||
* `npm run lint:js -- --fix` | ||
|
||
## Running tests | ||
|
||
* `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 | ||
|
||
## Running the dummy application | ||
|
||
* `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/). |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,34 +31,34 @@ | |
"rsvp": "^4.7.0" | ||
}, | ||
"devDependencies": { | ||
"@ember/optional-features": "^0.6.3", | ||
"broccoli-asset-rev": "^2.7.0", | ||
"ember-cli": "~3.5.0", | ||
"ember-cli-dependency-checker": "^3.0.0", | ||
"ember-cli-eslint": "^4.2.3", | ||
"ember-cli-htmlbars": "^3.0.0", | ||
"ember-cli-htmlbars-inline-precompile": "^1.0.3", | ||
"@ember/optional-features": "^0.7.0", | ||
"broccoli-asset-rev": "^3.0.0", | ||
"ember-cli": "~3.10.1", | ||
"ember-cli-dependency-checker": "^3.1.0", | ||
"ember-cli-eslint": "^5.1.0", | ||
"ember-cli-htmlbars": "^3.0.1", | ||
"ember-cli-htmlbars-inline-precompile": "^2.1.0", | ||
"ember-cli-inject-live-reload": "^1.8.2", | ||
"ember-cli-sri": "^2.1.1", | ||
"ember-cli-template-lint": "^1.0.0-beta.1", | ||
"ember-cli-uglify": "^2.1.0", | ||
"ember-disable-prototype-extensions": "^1.1.3", | ||
"ember-export-application-global": "^2.0.0", | ||
"ember-load-initializers": "^1.1.0", | ||
"ember-load-initializers": "^2.0.0", | ||
"ember-maybe-import-regenerator": "^0.1.6", | ||
"ember-qunit": "^3.4.1", | ||
"ember-qunit": "^4.4.1", | ||
"ember-resolver": "^5.0.1", | ||
"ember-source": "~3.5.0", | ||
"ember-source": "~3.10.0", | ||
"ember-source-channel-url": "^1.1.0", | ||
"ember-try": "^1.0.0", | ||
"eslint-plugin-ember": "^5.2.0", | ||
"eslint-plugin-node": "^7.0.1", | ||
"eslint-plugin-ember": "^6.2.0", | ||
"eslint-plugin-node": "^9.0.1", | ||
"loader.js": "^4.7.0", | ||
"qunit-dom": "^0.8.0", | ||
"qunit-dom": "^0.8.4", | ||
"standard-version": "^4.4.0" | ||
}, | ||
"engines": { | ||
"node": "6.* || 8.* || >= 10.*" | ||
"node": "8.* || >= 10.*" | ||
This comment has been minimized.
Sorry, something went wrong.
GreatWizard
|
||
}, | ||
"ember-addon": { | ||
"configPath": "tests/dummy/config" | ||
|
@knownasilya FYI this should be considered a breaking change and released in a major (or pre-1.0 in a minor) version. it looks like this was released in v0.2.2 though, which is now breaking a lot of depending packages where CI is still running on Node.js 6 :-/