Skip to content

Commit

Permalink
Updated ember-cli to v2.11.1
Browse files Browse the repository at this point in the history
- Ran `ember init`  and updated blueprints
- Updated tests to get assert from chai
  • Loading branch information
jrjohnson committed Mar 15, 2017
1 parent 1d79733 commit 3d53527
Show file tree
Hide file tree
Showing 29 changed files with 273 additions and 154 deletions.
14 changes: 0 additions & 14 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,8 @@ insert_final_newline = true
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

[*.hbs]
insert_final_newline = false
indent_style = space
indent_size = 2

[*.css]
indent_style = space
indent_size = 2

[*.html]
indent_style = space
indent_size = 2

[*.{diff,md}]
trim_trailing_whitespace = false
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
Expand All @@ -13,7 +13,7 @@
/connect.lock
/coverage/*
/libpeerconnection.log
npm-debug.log
npm-debug.log*
testem.log

tests/fixtures/dist/index.json
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"strict": false,
"white": false,
"eqnull": true,
"esnext": true,
"esversion": 6,
"unused": true
}
19 changes: 11 additions & 8 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
bower_components/
tests/
tmp/

/bower_components
/config/ember-try.js
/dist
/tests
/tmp
**/.gitkeep
.bowerrc
.editorconfig
.ember-cli
.gitignore
.jshintrc
.watchmanconfig
.travis.yml
.npmignore
**/.gitkeep
bower.json
Brocfile.js
testem.json
ember-cli-build.js
testem.js
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
---
language: node_js
node_js:
- "0.12"
- "4"
- "6"

sudo: false

cache:
directories:
- node_modules
- $HOME/.npm

before_install:
- "npm config set spin false"
- "npm install -g npm@^2"
- npm config set spin false

install:
- npm install -g bower
- npm install
- bower install

script:
- npm test
3 changes: 3 additions & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignore_dirs": ["tmp", "dist"]
}
21 changes: 0 additions & 21 deletions Brocfile.js

This file was deleted.

16 changes: 2 additions & 14 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
{
"name": "ember-cli-deploy-json-config",
"dependencies": {
"ember": "1.11.1",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-data": "1.0.0-beta.16.1",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.4",
"ember-qunit": "0.3.1",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.15",
"jquery": "^1.11.1",
"loader.js": "ember-cli/loader.js#3.2.0",
"qunit": "~1.17.1"
}
}
"dependencies": {}
}
5 changes: 1 addition & 4 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
machine:
node:
version: 0.12.0
version: 4

dependencies:
pre:
- npm install -g bower
override:
- npm i
- bower i
91 changes: 91 additions & 0 deletions config/ember-try.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/*jshint node:true*/
module.exports = {
scenarios: [
{
name: 'ember-lts-2.4',
bower: {
dependencies: {
'ember': 'components/ember#lts-2-4'
},
resolutions: {
'ember': 'lts-2-4'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
name: 'ember-lts-2.8',
bower: {
dependencies: {
'ember': 'components/ember#lts-2-8'
},
resolutions: {
'ember': 'lts-2-8'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
name: 'ember-release',
bower: {
dependencies: {
'ember': 'components/ember#release'
},
resolutions: {
'ember': 'release'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
name: 'ember-beta',
bower: {
dependencies: {
'ember': 'components/ember#beta'
},
resolutions: {
'ember': 'beta'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
name: 'ember-canary',
bower: {
dependencies: {
'ember': 'components/ember#canary'
},
resolutions: {
'ember': 'canary'
}
},
npm: {
devDependencies: {
'ember-source': null
}
}
},
{
name: 'ember-default',
npm: {
devDependencies: {}
}
}
]
};
1 change: 1 addition & 0 deletions config/environment.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*jshint node:true*/
'use strict';

module.exports = function(/* environment, appConfig */) {
Expand Down
18 changes: 18 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*jshint node:true*/
/* global require, module */
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');

module.exports = function(defaults) {
var app = new EmberAddon(defaults, {
// Add options here
});

/*
This build file specifies 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();
};
69 changes: 38 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,61 @@
"name": "ember-cli-deploy-json-config",
"version": "0.3.0",
"description": "An ember-cli-deploy plugin to convert index.html to json config",
"keywords": [
"ember-addon",
"ember-cli-deploy-plugin"
],
"license": "MIT",
"author": "Aaron Chambers and the ember-cli-deploy team",
"directories": {
"doc": "doc",
"test": "tests"
},
"repository": "https://github.com/ember-cli-deploy/ember-cli-deploy-json-config",
"scripts": {
"start": "ember server",
"build": "ember build",
"start": "ember server",
"test": "node tests/runner.js"
},
"repository": "https://github.com/ember-cli-deploy/ember-cli-deploy-json-config",
"engines": {
"node": ">= 0.10.0"
"dependencies": {
"chalk": "^1.0.0",
"cheerio": "^0.19.0",
"ember-cli-babel": "^5.1.7",
"ember-cli-deploy-plugin": "^0.2.2",
"rsvp": "^3.0.18"
},
"author": "Aaron Chambers and the ember-cli-deploy team",
"license": "MIT",
"devDependencies": {
"broccoli-asset-rev": "^2.0.2",
"broccoli-asset-rev": "^2.4.5",
"chai": "^2.2.0",
"chai-as-promised": "^5.0.0",
"ember-cli": "0.2.3",
"ember-cli-app-version": "0.3.3",
"ember-cli-content-security-policy": "0.4.0",
"ember-cli-dependency-checker": "0.0.8",
"ember-cli-htmlbars": "0.7.4",
"ember-cli-ic-ajax": "0.1.1",
"ember-cli-inject-live-reload": "^1.3.0",
"ember-cli-qunit": "0.3.10",
"ember-cli-release": "1.0.0-beta.1",
"ember-cli-uglify": "1.0.1",
"ember-data": "1.0.0-beta.16.1",
"ember-disable-prototype-extensions": "^1.0.0",
"ember-export-application-global": "^1.0.2",
"ember-try": "0.0.4",
"ember-ajax": "^2.4.1",
"ember-cli": "2.11.1",
"ember-cli-app-version": "^2.0.0",
"ember-cli-dependency-checker": "^1.3.0",
"ember-cli-htmlbars": "^1.1.1",
"ember-cli-htmlbars-inline-precompile": "^0.3.6",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-jshint": "^2.0.1",
"ember-cli-qunit": "^3.0.1",
"ember-cli-release": "^0.2.9",
"ember-cli-shims": "^1.0.2",
"ember-cli-sri": "^2.1.0",
"ember-cli-test-loader": "^1.1.0",
"ember-cli-uglify": "^1.2.0",
"ember-data": "^2.11.0",
"ember-disable-prototype-extensions": "^1.1.0",
"ember-export-application-global": "^1.0.5",
"ember-load-initializers": "^0.6.0",
"ember-resolver": "^2.0.3",
"ember-source": "~2.11.0",
"github": "^0.2.4",
"glob": "^5.0.5",
"loader.js": "^4.0.10",
"mocha": "^2.2.4",
"multiline": "^1.0.2"
},
"keywords": [
"ember-addon",
"ember-cli-deploy-plugin"
],
"dependencies": {
"chalk": "^1.0.0",
"cheerio": "^0.19.0",
"ember-cli-babel": "^5.0.0",
"ember-cli-deploy-plugin": "^0.2.2",
"rsvp": "^3.0.18"
"engines": {
"node": ">= 0.12.0"
},
"ember-addon": {
"configPath": "tests/dummy/config"
Expand Down
6 changes: 4 additions & 2 deletions testem.json → testem.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
/*jshint node:true*/
module.exports = {
"framework": "qunit",
"test_page": "tests/index.html?hidepassed",
"disable_watching": true,
"launch_in_ci": [
"PhantomJS"
],
"launch_in_dev": [
"PhantomJS",
"Chrome"
]
}
};
3 changes: 2 additions & 1 deletion tests/.jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@
"strict": false,
"white": false,
"eqnull": true,
"esnext": true
"esversion": 6,
"unused": true
}
Loading

0 comments on commit 3d53527

Please sign in to comment.