Skip to content

Commit 3db1a18

Browse files
clydinfilipesilva
authored andcommitted
refactor(@angular/cli): dead code/settings removal
1 parent 8e69b3b commit 3db1a18

File tree

7 files changed

+2
-348
lines changed

7 files changed

+2
-348
lines changed
Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,5 @@
1-
interface IWebpackDevServerConfigurationOptions {
2-
contentBase?: boolean | string | string[];
3-
hot?: boolean;
4-
historyApiFallback?: {[key: string]: any} | boolean;
5-
compress?: boolean;
6-
proxy?: {[key: string]: string};
7-
staticOptions?: any;
8-
quiet?: boolean;
9-
noInfo?: boolean;
10-
lazy?: boolean;
11-
filename?: string;
12-
watchOptions?: {
13-
aggregateTimeout?: number;
14-
poll?: number;
15-
};
16-
publicPath?: string;
17-
headers?: { [key: string]: string };
18-
stats?: { [key: string]: boolean } | string | boolean;
19-
inline?: boolean;
20-
https?: boolean;
21-
key?: string;
22-
cert?: string;
23-
overlay?: boolean | { errors: boolean, warnings: boolean };
24-
public?: string;
25-
disableHostCheck?: boolean;
26-
}
27-
281
declare module 'yargs-parser' {
292
const parseOptions: any;
303
const yargsParser: <T = any>(args: string | string[], options?: parseOptions) => T;
314
export = yargsParser;
325
}
33-
34-
35-
declare module 'opn' {
36-
export default function(url: string, options?: any): Promise<any>;
37-
}

packages/@angular/cli/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
"compilerOptions": {
55
"outDir": "../../../dist/@angular/cli",
66
"rootDir": ".",
7-
"baseUrl": "",
8-
"paths": {
9-
"@ngtools/json-schema": [ "../../../dist/@ngtools/json-schema/src" ],
10-
"@ngtools/webpack": [ "../../../dist/@ngtools/webpack/src" ]
11-
}
7+
"baseUrl": ""
128
}
139
}

packages/@angular/cli/utilities/bundle-calculator.ts

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

packages/@angular/cli/utilities/is-directory.ts

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

packages/@angular/cli/utilities/strip-bom.ts

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

tests/acceptance/bundle-calculator.spec.ts

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

tsconfig.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,9 @@
2727
"types": [
2828
"jasmine",
2929
"node"
30-
],
31-
"paths": {
32-
"@ngtools/json-schema": [ "./packages/@ngtools/json-schema/src" ],
33-
"@ngtools/logger": [ "./packages/@ngtools/logger/src" ],
34-
"@ngtools/webpack": [ "./packages/@ngtools/webpack/src" ]
35-
}
30+
]
3631
},
3732
"exclude": [
38-
"packages/@angular/cli/blueprints/*/files/**/*",
3933
"dist/**/*",
4034
"node_modules/**/*",
4135
"tmp/**/*"

0 commit comments

Comments
 (0)