@microsoft/type2docfx 1.3.2-dev.1175153.0 → 1.3.2-dev.1181637.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,6 @@
5
5
  // --------------------------------------------------------------------
6
6
 
7
7
  using System.Reflection;
8
- [assembly: AssemblyVersion("1.0.02223.185")]
9
- [assembly: AssemblyFileVersion("1.0.02223.185")]
10
- [assembly: AssemblyInformationalVersion("1.0.02223.185")]
8
+ [assembly: AssemblyVersion("1.0.02228.186")]
9
+ [assembly: AssemblyFileVersion("1.0.02228.186")]
10
+ [assembly: AssemblyInformationalVersion("1.0.02228.186")]
@@ -4,6 +4,6 @@
4
4
  // </auto-generated>
5
5
  // --------------------------------------------------------------------
6
6
 
7
- #define ASSEMBLY_VERSION "1.0.02223.185"
8
- #define ASSEMBLY_FILE_VERSION "1.0.02223.185"
9
- #define ASSEMBLY_INFORMATIONAL_VERSION "1.0.02223.185"
7
+ #define ASSEMBLY_VERSION "1.0.02228.186"
8
+ #define ASSEMBLY_FILE_VERSION "1.0.02228.186"
9
+ #define ASSEMBLY_INFORMATIONAL_VERSION "1.0.02228.186"
@@ -1 +1 @@
1
- 02223
1
+ 02228
@@ -1 +1 @@
1
- b4d5fbd6
1
+ e7178919
@@ -1 +1 @@
1
- 1.0.02223.185
1
+ 1.0.02228.186
@@ -1 +1 @@
1
- 1.0.2223.185
1
+ 1.0.2228.186
@@ -1 +1 @@
1
- 1.0.02223185
1
+ 1.0.02228186
@@ -1 +1 @@
1
- 185
1
+ 186
@@ -1 +1 @@
1
- 1.0.02223.185
1
+ 1.0.02228.186
@@ -1 +1 @@
1
- 1.0.02223185
1
+ 1.0.02228186
@@ -1,5 +1,5 @@
1
1
  <root>
2
2
  <versions>
3
- <version name="filever" value="1.0.02223.185" />
3
+ <version name="filever" value="1.0.02228.186" />
4
4
  </versions>
5
5
  </root>
package/dist/cli.js CHANGED
@@ -2,6 +2,7 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  var commander_1 = require("commander");
5
+ var error_1 = require("./common/error");
5
6
  var main_1 = require("./main");
6
7
  var pjson = require('../package.json');
7
8
  commander_1.program
@@ -17,7 +18,19 @@ commander_1.program
17
18
  console.log('Error: The input file path and output folder path is not specified!');
18
19
  commander_1.program.help();
19
20
  }
20
- main_1.run(input, output);
21
+ try {
22
+ main_1.run(input, output);
23
+ }
24
+ catch (err) {
25
+ if (err instanceof error_1.UserError) {
26
+ console.error(err.message);
27
+ process.exit(1);
28
+ }
29
+ else {
30
+ console.error(err);
31
+ process.exit(2);
32
+ }
33
+ }
21
34
  })
22
35
  .parse(process.argv);
23
36
  //# sourceMappingURL=cli.js.map
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;AAEA,uCAAoC;AACpC,+BAA6B;AAC7B,IAAI,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,mBAAO;KACF,OAAO,CAAC,MAAI,KAAK,CAAC,OAAS,CAAC;KAC5B,WAAW,CAAC,kDAAkD,CAAC;KAC/D,QAAQ,CAAC,SAAS,EAAE,sCAAsC;IACtC,uCAAuC;IACvC,kCAAkC;IAClC,kIAAkI,CAAC;KACvJ,QAAQ,CAAC,gBAAgB,EAAE,mDAAmD,CAAC;KAC/E,MAAM,CAAC,UAAU,KAAa,EAAE,MAAc;IAC3C,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,EAAE;QACnB,OAAO,CAAC,GAAG,CAAC,qEAAqE,CAAC,CAAC;QACnF,mBAAO,CAAC,IAAI,EAAE,CAAC;KAClB;IAED,UAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AACvB,CAAC,CAAC;KACD,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;AAEA,uCAAoC;AACpC,wCAA2C;AAC3C,+BAA6B;AAC7B,IAAI,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,mBAAO;KACF,OAAO,CAAC,MAAI,KAAK,CAAC,OAAS,CAAC;KAC5B,WAAW,CAAC,kDAAkD,CAAC;KAC/D,QAAQ,CAAC,SAAS,EAAE,sCAAsC;IACtC,uCAAuC;IACvC,kCAAkC;IAClC,kIAAkI,CAAC;KACvJ,QAAQ,CAAC,gBAAgB,EAAE,mDAAmD,CAAC;KAC/E,MAAM,CAAC,UAAU,KAAa,EAAE,MAAc;IAC3C,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,EAAE;QACnB,OAAO,CAAC,GAAG,CAAC,qEAAqE,CAAC,CAAC;QACnF,mBAAO,CAAC,IAAI,EAAE,CAAC;KAClB;IAED,IAAI;QACA,UAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;KACpB;IAAC,OAAO,GAAG,EAAE;QACZ,IAAI,GAAG,YAAY,iBAAS,EAAE;YAC5B,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC3B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjB;aAAM;YACL,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACnB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjB;KACF;AACP,CAAC,CAAC;KACD,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/type2docfx",
3
- "version": "1.3.2-dev.1175153.0",
3
+ "version": "1.3.2-dev.1181637.0",
4
4
  "description": "A tool to convert json format output from TypeDoc to schema driven reference model for DocFx to consume.",
5
5
  "main": "./dist/main.js",
6
6
  "bin": {