Skip to content

Commit ee7abe4

Browse files
committed
further remove files
1 parent 59c0f63 commit ee7abe4

File tree

12 files changed

+3
-389
lines changed

12 files changed

+3
-389
lines changed

packages/angular-cli/ember-cli/bin/ember

Lines changed: 0 additions & 35 deletions
This file was deleted.

packages/angular-cli/ember-cli/lib/cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var commands = requireAsHash('../commands/*.js', Command);
88
var Task = require('../models/task');
99
var tasks = requireAsHash('../tasks/*.js', Task);
1010
var CLI = require('./cli');
11-
var packageConfig = require('../../package.json');
11+
var packageConfig = require('../../../package.json');
1212
var debug = require('debug')('ember-cli:cli/index');
1313
var merge = require('lodash/merge');
1414
var path = require('path');

packages/angular-cli/ember-cli/lib/errors/silent.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/angular-cli/ember-cli/lib/models/blueprint.js

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,72 +1065,6 @@ Blueprint.prototype.addBowerPackagesToProject = function(packages, installOption
10651065
});
10661066
};
10671067

1068-
/**
1069-
Used to add an addon to the project's `package.json` and run it's
1070-
`defaultBlueprint` if it provides one.
1071-
1072-
Generally, this would be done from the `afterInstall` hook, to
1073-
ensure that a package that is required by a given blueprint is
1074-
available.
1075-
1076-
@method addAddonToProject
1077-
@param {Object} options
1078-
@return {Promise}
1079-
*/
1080-
Blueprint.prototype.addAddonToProject = function(options) {
1081-
return this.addAddonsToProject({
1082-
packages: [options],
1083-
extraArgs: options.extraArgs || {},
1084-
blueprintOptions: options.blueprintOptions || {}
1085-
});
1086-
};
1087-
1088-
/**
1089-
Used to add multiple addons to the project's `package.json` and run their
1090-
`defaultBlueprint` if they provide one.
1091-
1092-
Generally, this would be done from the `afterInstall` hook, to
1093-
ensure that a package that is required by a given blueprint is
1094-
available.
1095-
1096-
@method addAddonsToProject
1097-
@param {Object} options
1098-
@return {Promise}
1099-
*/
1100-
Blueprint.prototype.addAddonsToProject = function (options) {
1101-
var taskOptions = {
1102-
packages: [],
1103-
extraArgs: options.extraArgs || [],
1104-
blueprintOptions: options.blueprintOptions || {}
1105-
};
1106-
1107-
var packages = options.packages;
1108-
if (packages && packages.length) {
1109-
taskOptions.packages = packages.map(function (pkg) {
1110-
if (typeof pkg === 'string') {
1111-
return pkg;
1112-
}
1113-
1114-
if (!pkg.name) {
1115-
throw new SilentError('You must provide a package `name` to addAddonsToProject');
1116-
}
1117-
1118-
if (pkg.target) {
1119-
pkg.name += '@' + pkg.target;
1120-
}
1121-
1122-
return pkg.name;
1123-
});
1124-
} else {
1125-
throw new SilentError('You must provide package to addAddonsToProject');
1126-
}
1127-
1128-
var installText = (packages.length > 1) ? 'install addons' : 'install addon';
1129-
this._writeStatusToUI(chalk.green, installText, taskOptions['packages'].join(', '));
1130-
1131-
return this.taskFor('addon-install').run(taskOptions);
1132-
};
1133-
11341068
/**
11351069
Used to retrieve a task with the given name. Passes the new task
11361070
the standard information available (like `ui`, `analytics`, `project`, etc).

packages/angular-cli/ember-cli/lib/tasks/addon-install.js

Lines changed: 0 additions & 81 deletions
This file was deleted.

packages/angular-cli/ember-cli/lib/tasks/bower-install.js

Lines changed: 0 additions & 57 deletions
This file was deleted.

packages/angular-cli/ember-cli/lib/tasks/build-watch.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/angular-cli/ember-cli/lib/tasks/build.js

Lines changed: 0 additions & 52 deletions
This file was deleted.

packages/angular-cli/ember-cli/lib/tasks/git-init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var Promise = require('../../lib/ext/promise');
44
var Task = require('../models/task');
55
var exec = Promise.denodeify(require('child_process').exec);
66
var path = require('path');
7-
var pkg = require('../../package.json');
7+
var pkg = require('../../../package.json');
88
var fs = require('fs');
99
var template = require('lodash/template');
1010

packages/angular-cli/ember-cli/lib/utilities/version-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var getRepoInfo = require('git-repo-info');
77
module.exports = {
88
emberCLIVersion: function emberCLIVersion() {
99
var gitPath = path.join(__dirname, '..','..','.git');
10-
var output = [require('../../package.json').version];
10+
var output = [require('../../../package.json').version];
1111

1212
if (existsSync(gitPath)) {
1313
var repoInfo = getRepoInfo(gitPath);

packages/angular-cli/ember-cli/package.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)