Skip to content

Commit dbe8323

Browse files
committed
Merge pull request #367 from NativeScript/totev/sysinfo
Emit system information of every run of the CLI
2 parents 70385e5 + 6cca1f9 commit dbe8323

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

lib/definitions/osenv.d.ts

-3
This file was deleted.

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,17 @@
3636
"iconv-lite": "0.4.4",
3737
"ios-sim-portable": "1.0.4",
3838
"lockfile": "1.0.0",
39-
"lodash": "3.2.0",
40-
"log4js": "0.6.9",
39+
"lodash": "3.6.0",
40+
"log4js": "0.6.22",
4141
"marked": "0.3.3",
4242
"marked-terminal": "1.2.0",
4343
"mkdirp": "0.3.5",
4444
"mute-stream": "0.0.4",
45+
"node-inspector": "0.7.4",
4546
"node-uuid": "1.4.1",
4647
"npm": "2.6.1",
47-
"osenv": "0.1.0",
4848
"open": "0.0.4",
49+
"osenv": "0.1.0",
4950
"plist": "1.1.0",
5051
"plistlib": "0.2.1",
5152
"progress-stream": "0.5.0",
@@ -58,11 +59,10 @@
5859
"shelljs": "0.3.0",
5960
"tabtab": "https://github.com/Icenium/node-tabtab/tarball/master",
6061
"temp": "0.8.1",
61-
"unzip": "0.1.9",
62+
"winreg": "0.0.12",
63+
"xcode": "https://github.com/NativeScript/node-xcode/archive/NativeScript-0.9.tar.gz",
6264
"xmlhttprequest": "https://github.com/telerik/node-XMLHttpRequest/tarball/master",
63-
"yargs": "1.2.2",
64-
"node-inspector": "0.7.4",
65-
"xcode": "https://github.com/NativeScript/node-xcode/archive/NativeScript-0.9.tar.gz"
65+
"yargs": "1.2.2"
6666
},
6767
"analyze": true,
6868
"devDependencies": {

test/stubs.ts

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import path = require("path");
77

88
export class LoggerStub implements ILogger {
99
setLevel(level: string): void {}
10+
getLevel(): string { return undefined; }
1011
fatal(...args: string[]): void {}
1112
error(...args: string[]): void {}
1213
warn(...args: string[]): void {}
@@ -146,6 +147,10 @@ export class FileSystemStub implements IFileSystem {
146147
return [];
147148
}
148149

150+
tryExecuteFileOperation(path: string, operation: () => IFuture<any>, enoentErrorMessage?: string): IFuture<void> {
151+
return undefined;
152+
}
153+
149154
isRelativePath(path: string): boolean {
150155
return false;
151156
}

0 commit comments

Comments
 (0)