Skip to content
This repository was archived by the owner on Dec 31, 2022. It is now read-only.

Commit 82e810f

Browse files
authored
Merge pull request #189 from st-h/master
remove installation of deprecated package
2 parents e54a6b3 + 614a7dc commit 82e810f

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

blueprints/component-test/index.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
const path = require('path');
44
const stringUtil = require('ember-cli-string-utils');
5-
const isPackageMissing = require('ember-cli-is-package-missing');
65
const getPathOption = require('ember-cli-get-component-path-option');
76

87
const useTestFrameworkDetector = require('../test-framework-detector');
@@ -62,17 +61,5 @@ module.exports = useTestFrameworkDetector({
6261
componentPathName: componentPathName,
6362
friendlyTestDescription: friendlyTestDescription,
6463
};
65-
},
66-
67-
afterInstall: function(options) {
68-
if (
69-
!options.dryRun &&
70-
options.testType === 'integration' &&
71-
isPackageMissing(this, 'ember-cli-htmlbars-inline-precompile')
72-
) {
73-
return this.addPackagesToProject([
74-
{ name: 'ember-cli-htmlbars-inline-precompile', target: '^0.3.1' },
75-
]);
76-
}
77-
},
64+
}
7865
});

blueprints/helper-test/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22

33
const stringUtils = require('ember-cli-string-utils');
4-
const isPackageMissing = require('ember-cli-is-package-missing');
54

65
const useTestFrameworkDetector = require('../test-framework-detector');
76

@@ -40,13 +39,5 @@ module.exports = useTestFrameworkDetector({
4039
dasherizedModulePrefix: stringUtils.dasherize(options.project.config().modulePrefix),
4140
testType: testType
4241
};
43-
},
44-
45-
afterInstall: function(options) {
46-
if (!options.dryRun && options.testType === 'integration' && isPackageMissing(this, 'ember-cli-htmlbars-inline-precompile')) {
47-
return this.addPackagesToProject([
48-
{ name: 'ember-cli-htmlbars-inline-precompile', target: '^0.3.1' }
49-
]);
50-
}
5142
}
5243
});

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"chalk": "^3.0.0",
2323
"ember-cli-babel": "^7.0.0",
2424
"ember-cli-get-component-path-option": "^1.0.0",
25-
"ember-cli-is-package-missing": "^1.0.0",
2625
"ember-cli-normalize-entity-name": "^1.0.0",
2726
"ember-cli-path-utils": "^1.0.0",
2827
"ember-cli-string-utils": "^1.1.0",
@@ -44,7 +43,6 @@
4443
"ember-cli-dependency-checker": "3.2.0",
4544
"ember-cli-eslint": "5.1.0",
4645
"ember-cli-htmlbars": "4.2.3",
47-
"ember-cli-htmlbars-inline-precompile": "3.0.1",
4846
"ember-cli-inject-live-reload": "2.0.2",
4947
"ember-cli-qunit": "4.4.0",
5048
"ember-cli-shims": "1.2.0",

0 commit comments

Comments
 (0)