Skip to content

Commit 10f2904

Browse files
committed
chore: update ember-cli string utils
1 parent a3b730e commit 10f2904

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

addon/ng2/blueprints/component/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var Blueprint = require('ember-cli/lib/models/blueprint');
44
var dynamicPathParser = require('../../utilities/dynamic-path-parser');
55
var addBarrelRegistration = require('../../utilities/barrel-management');
66
var getFiles = Blueprint.prototype.files;
7-
const stringUtils = require('ember-cli/lib/utilities/string');
7+
const stringUtils = require('ember-cli-string-utils');
88

99
module.exports = {
1010
description: '',
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
2-
"dependencies": {},
3-
"devDependencies": {},
42
"ambientDevDependencies": {
5-
"angular-protractor": "github:DefinitelyTyped/DefinitelyTyped/angular-protractor/angular-protractor.d.ts#17fa1e5f269189f7f8e0f53f8c443e6c2eac562c",
6-
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#26c98c8a9530c44f8c801ccc3b2057e2101187ee",
7-
"selenium-webdriver": "github:DefinitelyTyped/DefinitelyTyped/selenium-webdriver/selenium-webdriver.d.ts#a83677ed13add14c2ab06c7325d182d0ba2784ea"
3+
"angular-protractor": "registry:dt/angular-protractor#1.5.0+20160425143459",
4+
"jasmine": "registry:dt/jasmine#2.2.0+20160412134438",
5+
"selenium-webdriver": "registry:dt/selenium-webdriver#2.44.0+20160317120654"
86
},
97
"ambientDependencies": {
10-
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#6697d6f7dadbf5773cb40ecda35a76027e0783b2"
8+
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654"
119
}
1210
}

addon/ng2/blueprints/ng2/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const path = require('path');
2-
const stringUtils = require('ember-cli/lib/utilities/string');
2+
const stringUtils = require('ember-cli-string-utils');
33

44
module.exports = {
55
description: '',

addon/ng2/blueprints/route/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const fs = require('fs');
44
const path = require('path');
55
const dynamicPathParser = require('../../utilities/dynamic-path-parser');
6-
const stringUtils = require('ember-cli/lib/utilities/string');
6+
const stringUtils = require('ember-cli-string-utils');
77
const Blueprint = require('ember-cli/lib/models/blueprint');
88

99

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"broccoli-writer": "^0.1.1",
4040
"chalk": "^1.1.3",
4141
"ember-cli": "2.5.0",
42+
"ember-cli-string-utils": "^1.0.0",
4243
"exit": "^0.1.2",
4344
"fs-extra": "^0.30.0",
4445
"glob": "^7.0.3",

tests/e2e/e2e_workflow.spec.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ describe('Basic end-to-end Workflow', function () {
4545
it('Can create new project using `ng new test-project`', function () {
4646
this.timeout(4200000);
4747

48-
return ng(['new', 'test-project', '--silent']).then(function () {
49-
expect(existsSync(path.join(root, 'test-project')));
50-
});
48+
sh.exec('ng new test-project', { silent: true });
49+
expect(existsSync(path.join(root, 'test-project')));
5150
});
5251

5352
it('Can change current working directory to `test-project`', function () {

0 commit comments

Comments
 (0)