chore(): update ember-cli to 2.4.2

This commit is contained in:
jkuri 2016-03-18 23:08:51 +01:00
parent e32fd1cd7a
commit 6fa059be26
4 changed files with 8 additions and 6 deletions

View File

@ -24,7 +24,7 @@
"angular-cli": "0.0.*",
"angular-cli-github-pages": "^0.2.0",
"clang-format": "^1.0.35",
"ember-cli-inject-live-reload": "^1.3.0",
"ember-cli-inject-live-reload": "^1.4.0",
"jasmine-core": "^2.3.4",
"jasmine-spec-reporter": "^2.4.0",
"karma": "^0.13.15",

View File

@ -40,7 +40,7 @@ module.exports = function(options) {
const oldStdoutWrite = process.stdout.write;
process.stdout.write = function(line) {
line = line.toString();
if (line.match(/version:|warning:/)) {
if (line.match(/version:|WARNING:/)) {
return;
}
line = line.replace(/ember-cli(?!.com)/g, 'angular-cli')

View File

@ -36,7 +36,7 @@
"broccoli-merge-trees": "^1.1.1",
"broccoli-writer": "^0.1.1",
"chalk": "^1.1.1",
"ember-cli": "1.13.15",
"ember-cli": "2.4.2",
"exit": "^0.1.2",
"fs-extra": "^0.26.6",
"leek": "0.0.21",

View File

@ -53,7 +53,7 @@ describe('Acceptance: ng init', function() {
});
expected.forEach(function (file, index) {
expected[index] = file.replace(/__name__/g, 'angular-cli');
expected[index] = file.replace(/__name__/g, 'tmp');
});
removeIgnored(expected);
@ -101,7 +101,7 @@ describe('Acceptance: ng init', function() {
return ng([
'init',
'--skip-npm',
'--skip-bower',
'--skip-bower'
]).then(confirmBlueprinted);
});
@ -114,7 +114,9 @@ describe('Acceptance: ng init', function() {
return ng([
'init',
'--skip-npm',
'--skip-bower'
'--skip-bower',
'--name',
'tmp'
]);
})
.then(confirmBlueprinted)