Skip to content

Commit 235a48e

Browse files
authored
Merge branch 'master' into push-to-github-with-token
2 parents d94042c + 142c518 commit 235a48e

File tree

27 files changed

+146
-176
lines changed

27 files changed

+146
-176
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"json-loader": "^0.5.4",
7676
"karma-sourcemap-loader": "^0.3.7",
7777
"karma-webpack": "^1.8.0",
78-
"leek": "0.0.21",
7978
"less": "^2.7.1",
8079
"less-loader": "^2.2.3",
8180
"loader-utils": "^0.2.16",

packages/angular-cli/bin/ng

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ process.title = 'angular-cli';
66

77
const resolve = require('resolve');
88
const packageJson = require('../package.json');
9-
const Leek = require('leek');
109
const Version = require('../upgrade/version').Version;
1110

1211

@@ -35,18 +34,9 @@ resolve('angular-cli', { basedir: process.cwd() },
3534
cli({
3635
cliArgs: process.argv.slice(2),
3736
inputStream: process.stdin,
38-
outputStream: process.stdout,
39-
Leek: CustomLeek
37+
outputStream: process.stdout
4038
}).then(function (result) {
4139
var exitCode = typeof result === 'object' ? result.exitCode : result;
4240
process.exit(exitCode);
4341
});
44-
45-
function CustomLeek(options) {
46-
options.trackingCode = packageJson.trackingCode;
47-
options.globalName = packageJson.name;
48-
options.name = packageJson.name;
49-
options.version = packageJson.version;
50-
return new Leek(options);
51-
}
5242
});

packages/angular-cli/commands/doc.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const DocCommand = Command.extend({
1515

1616
const docTask = new DocTask({
1717
ui: this.ui,
18-
analytics: this.analytics,
1918
project: this.project
2019
});
2120

packages/angular-cli/commands/e2e.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const E2eCommand = Command.extend({
1111

1212
const e2eTask = new E2eTask({
1313
ui: this.ui,
14-
analytics: this.analytics,
1514
project: this.project
1615
});
1716

packages/angular-cli/commands/github-pages-deploy.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ const githubPagesDeployCommand = Command.extend({
109109

110110
const buildTask = new WebpackBuild({
111111
ui: this.ui,
112-
analytics: this.analytics,
113112
cliProject: this.project,
114113
target: options.target,
115114
environment: options.environment,
@@ -133,7 +132,6 @@ const githubPagesDeployCommand = Command.extend({
133132

134133
const createGithubRepoTask = new CreateGithubRepo({
135134
ui: this.ui,
136-
analytics: this.analytics,
137135
project: this.project
138136
});
139137

packages/angular-cli/commands/init.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const InitCommand: any = Command.extend({
3939

4040
const installBlueprint = new this.tasks.InstallBlueprint({
4141
ui: this.ui,
42-
analytics: this.analytics,
4342
project: this.project
4443
});
4544

@@ -57,7 +56,6 @@ const InitCommand: any = Command.extend({
5756
if (!commandOptions.skipNpm) {
5857
npmInstall = new NpmInstall({
5958
ui: this.ui,
60-
analytics: this.analytics,
6159
project: this.project
6260
});
6361
}
@@ -66,7 +64,6 @@ const InitCommand: any = Command.extend({
6664
if (commandOptions.linkCli) {
6765
linkCli = new LinkCli({
6866
ui: this.ui,
69-
analytics: this.analytics,
7067
project: this.project
7168
});
7269
}

packages/angular-cli/commands/lint.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export default Command.extend({
88
run: function () {
99
const lintTask = new LintTask({
1010
ui: this.ui,
11-
analytics: this.analytics,
1211
project: this.project
1312
});
1413

packages/angular-cli/commands/new.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,10 @@ const NewCommand = Command.extend({
7272
}
7373

7474
const createAndStepIntoDirectory =
75-
new this.tasks.CreateAndStepIntoDirectory({ ui: this.ui, analytics: this.analytics });
75+
new this.tasks.CreateAndStepIntoDirectory({ ui: this.ui });
7676

7777
const initCommand = new InitCommand({
7878
ui: this.ui,
79-
analytics: this.analytics,
8079
tasks: this.tasks,
8180
project: Project.nullProject(this.ui, this.cli)
8281
});

packages/angular-cli/commands/serve.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ const ServeCommand = Command.extend({
135135

136136
const serve = new ServeWebpackTask({
137137
ui: this.ui,
138-
analytics: this.analytics,
139138
project: this.project,
140139
});
141140

packages/angular-cli/commands/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const NgCliTestCommand = TestCommand.extend({
3939

4040
const testTask = new TestTask({
4141
ui: this.ui,
42-
analytics: this.analytics,
4342
project: this.project
4443
});
4544

0 commit comments

Comments
 (0)