From 6baf682d57f161ef96dd3ab96a62ee93c2015f7d Mon Sep 17 00:00:00 2001 From: Mike North Date: Mon, 3 Aug 2015 09:58:27 -0700 Subject: [PATCH] Update ember-cli to 1.13.6 --- .npmignore | 1 + bower.json | 6 +++--- ember-cli-build.js | 17 +++++++++++++++++ package.json | 2 +- tests/.jshintrc | 5 +++-- tests/dummy/app/templates/application.hbs | 2 +- tests/helpers/start-app.js | 1 - 7 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 ember-cli-build.js diff --git a/.npmignore b/.npmignore index 49996f5a..d522ca2b 100644 --- a/.npmignore +++ b/.npmignore @@ -10,5 +10,6 @@ dist/ .npmignore **/.gitkeep bower.json +ember-cli-build.js Brocfile.js testem.json diff --git a/bower.json b/bower.json index f1c439b2..2ca7c869 100644 --- a/bower.json +++ b/bower.json @@ -4,10 +4,10 @@ "ember": "1.10.0", "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3", "ember-cli-test-loader": "ember-cli-test-loader#0.1.3", - "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.4", - "ember-qunit": "0.3.3", + "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5", + "ember-qunit": "0.4.7", "ember-qunit-notifications": "0.0.7", - "ember-resolver": "~0.1.15", + "ember-resolver": "~0.1.18", "jquery": "^1.11.1", "loader.js": "ember-cli/loader.js#3.2.0", "qunit": "~1.17.1" diff --git a/ember-cli-build.js b/ember-cli-build.js new file mode 100644 index 00000000..d37d64cd --- /dev/null +++ b/ember-cli-build.js @@ -0,0 +1,17 @@ +/* global require, module */ +var EmberApp = require('ember-cli/lib/broccoli/ember-addon'); + +module.exports = function(defaults) { + var app = new EmberApp(defaults, { + // Add options here + }); + + /* + This build file specifes the options for the dummy test app of this + addon, located in `/tests/dummy` + This build file does *not* influence how the addon or the app using it + behave. You most likely want to be modifying `./index.js` or app's build file + */ + + return app.toTree(); +}; diff --git a/package.json b/package.json index f5c58258..48c16d42 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "license": "MIT", "devDependencies": { "broccoli-asset-rev": "^2.0.2", - "ember-cli": "0.2.7", + "ember-cli": "1.13.6", "ember-cli-app-version": "0.3.3", "ember-cli-babel": "^5.0.0", "ember-cli-content-security-policy": "0.4.0", diff --git a/tests/.jshintrc b/tests/.jshintrc index ea8b88f6..6ec0b7c1 100644 --- a/tests/.jshintrc +++ b/tests/.jshintrc @@ -26,7 +26,7 @@ "node": false, "browser": false, "boss": true, - "curly": false, + "curly": true, "debug": false, "devel": false, "eqeqeq": true, @@ -47,5 +47,6 @@ "strict": false, "white": false, "eqnull": true, - "esnext": true + "esnext": true, + "unused": true } diff --git a/tests/dummy/app/templates/application.hbs b/tests/dummy/app/templates/application.hbs index 05eb936c..f8bc38e7 100644 --- a/tests/dummy/app/templates/application.hbs +++ b/tests/dummy/app/templates/application.hbs @@ -1,3 +1,3 @@ -

Welcome to Ember.js

+

Welcome to Ember

{{outlet}} diff --git a/tests/helpers/start-app.js b/tests/helpers/start-app.js index 16cc7c39..0f7aab1a 100644 --- a/tests/helpers/start-app.js +++ b/tests/helpers/start-app.js @@ -1,6 +1,5 @@ import Ember from 'ember'; import Application from '../../app'; -import Router from '../../router'; import config from '../../config/environment'; export default function startApp(attrs) {