mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-26 09:21:51 +08:00
refactor(@angular/cli): remove unused 'get-caller-file' ember-cli dep
This commit is contained in:
parent
8397bfa9a5
commit
453fc8054a
@ -59,7 +59,6 @@
|
|||||||
"extract-text-webpack-plugin": "3.0.0",
|
"extract-text-webpack-plugin": "3.0.0",
|
||||||
"file-loader": "^0.10.0",
|
"file-loader": "^0.10.0",
|
||||||
"fs-extra": "^4.0.0",
|
"fs-extra": "^4.0.0",
|
||||||
"get-caller-file": "^1.0.0",
|
|
||||||
"glob": "^7.0.3",
|
"glob": "^7.0.3",
|
||||||
"heimdalljs": "^0.2.4",
|
"heimdalljs": "^0.2.4",
|
||||||
"heimdalljs-logger": "^0.1.9",
|
"heimdalljs-logger": "^0.1.9",
|
||||||
|
@ -4,7 +4,6 @@ const nopt = require('nopt');
|
|||||||
const chalk = require('chalk');
|
const chalk = require('chalk');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const camelize = require('ember-cli-string-utils').camelize;
|
const camelize = require('ember-cli-string-utils').camelize;
|
||||||
const getCallerFile = require('get-caller-file');
|
|
||||||
const printCommand = require('../utilities/print-command');
|
const printCommand = require('../utilities/print-command');
|
||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
||||||
const EOL = require('os').EOL;
|
const EOL = require('os').EOL;
|
||||||
@ -84,7 +83,7 @@ let Command = CoreObject.extend({
|
|||||||
* @type String
|
* @type String
|
||||||
* @example `new` or `generate`
|
* @example `new` or `generate`
|
||||||
*/
|
*/
|
||||||
this.name = this.name || path.basename(getCallerFile(), '.js');
|
this.name = this.name || '<undefined>';
|
||||||
|
|
||||||
logger.info('initialize: name: %s, name: %s', this.name);
|
logger.info('initialize: name: %s, name: %s', this.name);
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
"extract-text-webpack-plugin": "3.0.0",
|
"extract-text-webpack-plugin": "3.0.0",
|
||||||
"file-loader": "^0.10.0",
|
"file-loader": "^0.10.0",
|
||||||
"fs-extra": "^4.0.0",
|
"fs-extra": "^4.0.0",
|
||||||
"get-caller-file": "^1.0.0",
|
|
||||||
"glob": "^7.0.3",
|
"glob": "^7.0.3",
|
||||||
"heimdalljs": "^0.2.4",
|
"heimdalljs": "^0.2.4",
|
||||||
"heimdalljs-logger": "^0.1.9",
|
"heimdalljs-logger": "^0.1.9",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user