@appium/docutils 0.2.2 → 0.3.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.
Files changed (92) hide show
  1. package/LICENSE +1 -1
  2. package/build/lib/builder/deploy.d.ts.map +1 -1
  3. package/build/lib/builder/deploy.js +6 -2
  4. package/build/lib/builder/deploy.js.map +1 -1
  5. package/build/lib/builder/index.d.ts +4 -0
  6. package/build/lib/builder/index.d.ts.map +1 -1
  7. package/build/lib/builder/index.js +4 -0
  8. package/build/lib/builder/index.js.map +1 -1
  9. package/build/lib/builder/nav.d.ts +1 -1
  10. package/build/lib/builder/nav.d.ts.map +1 -1
  11. package/build/lib/builder/nav.js +3 -3
  12. package/build/lib/builder/nav.js.map +1 -1
  13. package/build/lib/builder/reference.d.ts.map +1 -1
  14. package/build/lib/builder/reference.js +1 -19
  15. package/build/lib/builder/reference.js.map +1 -1
  16. package/build/lib/builder/site.d.ts.map +1 -1
  17. package/build/lib/builder/site.js +4 -3
  18. package/build/lib/builder/site.js.map +1 -1
  19. package/build/lib/cli/check.d.ts +19 -0
  20. package/build/lib/cli/check.d.ts.map +1 -0
  21. package/build/lib/cli/check.js +58 -0
  22. package/build/lib/cli/check.js.map +1 -0
  23. package/build/lib/cli/command/build.d.ts +189 -174
  24. package/build/lib/cli/command/build.d.ts.map +1 -1
  25. package/build/lib/cli/command/build.js +56 -38
  26. package/build/lib/cli/command/build.js.map +1 -1
  27. package/build/lib/cli/command/index.d.ts +4 -0
  28. package/build/lib/cli/command/index.d.ts.map +1 -1
  29. package/build/lib/cli/command/index.js +4 -0
  30. package/build/lib/cli/command/index.js.map +1 -1
  31. package/build/lib/cli/command/init.d.ts +156 -139
  32. package/build/lib/cli/command/init.d.ts.map +1 -1
  33. package/build/lib/cli/command/init.js +52 -27
  34. package/build/lib/cli/command/init.js.map +1 -1
  35. package/build/lib/cli/command/validate.d.ts +71 -63
  36. package/build/lib/cli/command/validate.d.ts.map +1 -1
  37. package/build/lib/cli/command/validate.js +31 -20
  38. package/build/lib/cli/command/validate.js.map +1 -1
  39. package/build/lib/cli/index.d.ts.map +1 -1
  40. package/build/lib/cli/index.js +29 -12
  41. package/build/lib/cli/index.js.map +1 -1
  42. package/build/lib/constants.d.ts +4 -0
  43. package/build/lib/constants.d.ts.map +1 -1
  44. package/build/lib/constants.js +5 -1
  45. package/build/lib/constants.js.map +1 -1
  46. package/build/lib/error.d.ts +5 -0
  47. package/build/lib/error.d.ts.map +1 -1
  48. package/build/lib/error.js +5 -0
  49. package/build/lib/error.js.map +1 -1
  50. package/build/lib/fs.d.ts +1 -1
  51. package/build/lib/fs.d.ts.map +1 -1
  52. package/build/lib/fs.js +2 -2
  53. package/build/lib/fs.js.map +1 -1
  54. package/build/lib/index.d.ts +4 -0
  55. package/build/lib/index.d.ts.map +1 -1
  56. package/build/lib/index.js +4 -0
  57. package/build/lib/index.js.map +1 -1
  58. package/build/lib/init.d.ts +12 -5
  59. package/build/lib/init.d.ts.map +1 -1
  60. package/build/lib/init.js +12 -7
  61. package/build/lib/init.js.map +1 -1
  62. package/build/lib/mike.d.ts.map +1 -1
  63. package/build/lib/mike.js +4 -0
  64. package/build/lib/mike.js.map +1 -1
  65. package/build/lib/util.d.ts +4 -1
  66. package/build/lib/util.d.ts.map +1 -1
  67. package/build/lib/util.js.map +1 -1
  68. package/build/lib/validate.d.ts +4 -1
  69. package/build/lib/validate.d.ts.map +1 -1
  70. package/build/lib/validate.js +9 -7
  71. package/build/lib/validate.js.map +1 -1
  72. package/lib/builder/deploy.ts +9 -3
  73. package/lib/builder/index.ts +5 -0
  74. package/lib/builder/nav.ts +2 -3
  75. package/lib/builder/reference.ts +2 -22
  76. package/lib/builder/site.ts +6 -5
  77. package/lib/cli/check.ts +87 -0
  78. package/lib/cli/command/build.ts +61 -43
  79. package/lib/cli/command/index.ts +5 -0
  80. package/lib/cli/command/init.ts +54 -29
  81. package/lib/cli/command/validate.ts +33 -25
  82. package/lib/cli/index.ts +23 -4
  83. package/lib/constants.ts +5 -0
  84. package/lib/error.ts +6 -0
  85. package/lib/fs.ts +6 -3
  86. package/lib/index.ts +5 -0
  87. package/lib/init.ts +23 -6
  88. package/lib/mike.js +5 -0
  89. package/lib/util.ts +4 -1
  90. package/lib/validate.ts +10 -9
  91. package/package.json +8 -10
  92. package/requirements.txt +1 -1
@@ -1,176 +1,191 @@
1
- import { CommandModule, InferredOptionTypes } from 'yargs';
2
- declare const _default: CommandModule<{}, InferredOptionTypes<Readonly<{
3
- reference: {
4
- describe: string;
5
- group: string;
6
- type: "boolean";
7
- default: boolean;
8
- };
9
- site: {
10
- describe: string;
11
- group: string;
12
- type: "boolean";
13
- default: boolean;
14
- };
15
- 'site-dir': {
16
- alias: string;
17
- describe: string;
18
- group: string;
19
- nargs: number;
20
- requiresArg: true;
21
- type: "string";
22
- normalize: true;
23
- implies: string;
24
- defaultDescription: string;
25
- };
26
- 'package-json': {
27
- defaultDescription: string;
28
- describe: string;
29
- group: string;
30
- nargs: number;
31
- normalize: true;
32
- requiresArg: true;
33
- type: "string";
34
- };
35
- title: {
36
- defaultDescription: string;
37
- describe: string;
38
- group: string;
39
- nargs: number;
40
- requiresArg: true;
41
- type: "string";
42
- };
43
- 'tsconfig-json': {
44
- defaultDescription: string;
45
- describe: string;
46
- group: string;
47
- nargs: number;
48
- normalize: true;
49
- requiresArg: true;
50
- type: "string";
51
- };
52
- 'mkdocs-yml': {
53
- defaultDescription: string;
54
- description: string;
55
- group: string;
56
- nargs: number;
57
- normalize: true;
58
- requiresArg: true;
59
- type: "string";
60
- };
61
- 'typedoc-json': {
62
- defaultDescription: string;
63
- describe: string;
64
- group: string;
65
- nargs: number;
66
- normalize: true;
67
- requiresArg: true;
68
- type: "string";
69
- };
70
- all: {
71
- describe: string;
72
- group: string;
73
- implies: string;
74
- type: "boolean";
75
- };
76
- deploy: {
77
- describe: string;
78
- group: string;
79
- type: "boolean";
80
- implies: string;
81
- };
82
- push: {
83
- describe: string;
84
- group: string;
85
- type: "boolean";
86
- implies: string;
87
- };
88
- branch: {
89
- alias: string;
90
- describe: string;
91
- implies: string;
92
- group: string;
93
- type: "string";
94
- requiresArg: true;
95
- nargs: number;
96
- defaultDescription: string;
97
- };
98
- remote: {
99
- alias: string;
100
- describe: string;
101
- implies: string[];
102
- group: string;
103
- type: "string";
104
- requiresArg: true;
105
- nargs: number;
106
- defaultDescription: string;
107
- };
108
- prefix: {
109
- describe: string;
110
- implies: string[];
111
- group: string;
112
- type: "string";
113
- nargs: number;
114
- requiresArg: true;
115
- };
116
- message: {
117
- alias: string;
118
- describe: string;
119
- implies: string;
120
- group: string;
121
- type: "string";
122
- nargs: number;
123
- requiresArg: true;
124
- };
125
- 'deploy-version': {
126
- describe: string;
127
- implies: string;
128
- group: string;
129
- type: "string";
130
- nargs: number;
131
- requiresArg: true;
132
- defaultDescription: string;
133
- };
134
- alias: {
135
- describe: string;
136
- implies: string;
137
- group: string;
138
- type: "string";
139
- nargs: number;
140
- requiresArg: true;
141
- defaultDescription: string;
142
- };
143
- rebase: {
144
- describe: string;
145
- implies: string[];
146
- group: string;
147
- type: "boolean";
148
- };
149
- serve: {
150
- describe: string;
151
- group: string;
152
- type: "boolean";
153
- };
154
- port: {
155
- alias: string;
156
- describe: string;
157
- group: string;
158
- type: "number";
159
- defaultDescription: string;
160
- implies: string;
161
- nargs: number;
162
- requiresArg: true;
163
- };
164
- host: {
165
- alias: string;
166
- describe: string;
167
- group: string;
168
- type: "string";
169
- nargs: number;
170
- requiresArg: true;
171
- implies: string;
172
- defaultDescription: string;
173
- };
174
- }>>>;
1
+ /**
2
+ * Yargs command module for the `build` command.
3
+ * @module
4
+ */
5
+ import type { CommandModule, InferredOptionTypes } from 'yargs';
6
+ declare enum BuildCommandGroup {
7
+ Build = "Build Config:",
8
+ Deploy = "Deployment Config:",
9
+ Serve = "Dev Server Config:",
10
+ BuildPaths = "Custom Paths:"
11
+ }
12
+ declare const _default: CommandModule<object, InferredOptionTypes<{
13
+ readonly reference: {
14
+ readonly describe: "Run TypeDoc command API reference build (Markdown)";
15
+ readonly group: BuildCommandGroup.Build;
16
+ readonly type: "boolean";
17
+ readonly default: true;
18
+ };
19
+ readonly site: {
20
+ readonly describe: "Run MkDocs build (HTML)";
21
+ readonly group: BuildCommandGroup.Build;
22
+ readonly type: "boolean";
23
+ readonly default: true;
24
+ };
25
+ readonly 'site-dir': {
26
+ readonly alias: "d";
27
+ readonly describe: "HTML output directory";
28
+ readonly group: BuildCommandGroup.Build;
29
+ readonly nargs: 1;
30
+ readonly requiresArg: true;
31
+ readonly type: "string";
32
+ readonly normalize: true;
33
+ readonly coerce: (...paths: string[]) => string;
34
+ readonly implies: "site";
35
+ readonly defaultDescription: "(from mkdocs.yml)";
36
+ };
37
+ readonly 'package-json': {
38
+ readonly defaultDescription: "./package.json";
39
+ readonly describe: "Path to package.json";
40
+ readonly group: BuildCommandGroup.BuildPaths;
41
+ readonly nargs: 1;
42
+ readonly normalize: true;
43
+ readonly coerce: (...paths: string[]) => string;
44
+ readonly requiresArg: true;
45
+ readonly type: "string";
46
+ };
47
+ readonly title: {
48
+ readonly defaultDescription: "(extension package name)";
49
+ readonly describe: "Title of the API reference";
50
+ readonly group: BuildCommandGroup.Build;
51
+ readonly nargs: 1;
52
+ readonly requiresArg: true;
53
+ readonly type: "string";
54
+ };
55
+ readonly 'tsconfig-json': {
56
+ readonly defaultDescription: "./tsconfig.json";
57
+ readonly describe: "Path to tsconfig.json";
58
+ readonly group: BuildCommandGroup.BuildPaths;
59
+ readonly nargs: 1;
60
+ readonly normalize: true;
61
+ readonly requiresArg: true;
62
+ readonly coerce: (...paths: string[]) => string;
63
+ readonly type: "string";
64
+ };
65
+ readonly 'mkdocs-yml': {
66
+ readonly defaultDescription: "./mkdocs.yml";
67
+ readonly description: "Path to mkdocs.yml";
68
+ readonly group: BuildCommandGroup.BuildPaths;
69
+ readonly nargs: 1;
70
+ readonly normalize: true;
71
+ readonly requiresArg: true;
72
+ readonly coerce: (...paths: string[]) => string;
73
+ readonly type: "string";
74
+ };
75
+ readonly 'typedoc-json': {
76
+ readonly defaultDescription: "./typedoc.json";
77
+ readonly describe: "Path to typedoc.json";
78
+ readonly group: BuildCommandGroup.BuildPaths;
79
+ readonly nargs: 1;
80
+ readonly normalize: true;
81
+ readonly requiresArg: true;
82
+ readonly coerce: (...paths: string[]) => string;
83
+ readonly type: "string";
84
+ };
85
+ readonly all: {
86
+ readonly describe: "Output all reference docs (not just Appium comands)";
87
+ readonly group: BuildCommandGroup.Build;
88
+ readonly implies: "site";
89
+ readonly type: "boolean";
90
+ };
91
+ readonly deploy: {
92
+ readonly describe: "Commit HTML output to a branch using mike";
93
+ readonly group: BuildCommandGroup.Deploy;
94
+ readonly type: "boolean";
95
+ readonly implies: "site";
96
+ };
97
+ readonly push: {
98
+ readonly describe: "Push after deploy";
99
+ readonly group: BuildCommandGroup.Deploy;
100
+ readonly type: "boolean";
101
+ readonly implies: "deploy";
102
+ };
103
+ readonly branch: {
104
+ readonly alias: "b";
105
+ readonly describe: "Branch to commit to";
106
+ readonly implies: "deploy";
107
+ readonly group: BuildCommandGroup.Deploy;
108
+ readonly type: "string";
109
+ readonly requiresArg: true;
110
+ readonly nargs: 1;
111
+ readonly defaultDescription: "gh-pages";
112
+ };
113
+ readonly remote: {
114
+ readonly alias: "r";
115
+ readonly describe: "Remote to push to";
116
+ readonly implies: readonly ["deploy", "push"];
117
+ readonly group: BuildCommandGroup.Deploy;
118
+ readonly type: "string";
119
+ readonly requiresArg: true;
120
+ readonly nargs: 1;
121
+ readonly defaultDescription: "origin";
122
+ };
123
+ readonly prefix: {
124
+ readonly describe: "Subdirectory within <branch> to commit to";
125
+ readonly implies: readonly ["deploy", "branch"];
126
+ readonly group: BuildCommandGroup.Deploy;
127
+ readonly type: "string";
128
+ readonly nargs: 1;
129
+ readonly requiresArg: true;
130
+ };
131
+ readonly message: {
132
+ readonly alias: "m";
133
+ readonly describe: "Commit message. Use \"%s\" for version placeholder";
134
+ readonly implies: "deploy";
135
+ readonly group: BuildCommandGroup.Deploy;
136
+ readonly type: "string";
137
+ readonly nargs: 1;
138
+ readonly requiresArg: true;
139
+ };
140
+ readonly 'deploy-version': {
141
+ readonly describe: "Version (directory) to deploy build to";
142
+ readonly implies: "deploy";
143
+ readonly group: BuildCommandGroup.Deploy;
144
+ readonly type: "string";
145
+ readonly nargs: 1;
146
+ readonly requiresArg: true;
147
+ readonly defaultDescription: "(derived from package.json)";
148
+ };
149
+ readonly alias: {
150
+ readonly describe: "Alias for the build (e.g., \"latest\"); triggers alias update";
151
+ readonly implies: "deploy";
152
+ readonly group: BuildCommandGroup.Deploy;
153
+ readonly type: "string";
154
+ readonly nargs: 1;
155
+ readonly requiresArg: true;
156
+ readonly defaultDescription: "latest";
157
+ };
158
+ readonly rebase: {
159
+ readonly describe: "Rebase <branch> with remote before deploy";
160
+ readonly implies: readonly ["deploy", "branch", "remote"];
161
+ readonly group: BuildCommandGroup.Deploy;
162
+ readonly type: "boolean";
163
+ };
164
+ readonly serve: {
165
+ readonly describe: "Start development server";
166
+ readonly group: BuildCommandGroup.Serve;
167
+ readonly type: "boolean";
168
+ };
169
+ readonly port: {
170
+ readonly alias: "p";
171
+ readonly describe: "Development server port";
172
+ readonly group: BuildCommandGroup.Serve;
173
+ readonly type: "number";
174
+ readonly defaultDescription: "8000";
175
+ readonly implies: "serve";
176
+ readonly nargs: 1;
177
+ readonly requiresArg: true;
178
+ };
179
+ readonly host: {
180
+ readonly alias: "h";
181
+ readonly describe: "Development server host";
182
+ readonly group: BuildCommandGroup.Serve;
183
+ readonly type: "string";
184
+ readonly nargs: 1;
185
+ readonly requiresArg: true;
186
+ readonly implies: "serve";
187
+ readonly defaultDescription: "localhost";
188
+ };
189
+ }>>;
175
190
  export default _default;
176
191
  //# sourceMappingURL=build.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../lib/cli/command/build.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAU,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6LlE,wBAoCqC"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../lib/cli/command/build.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAC,aAAa,EAAE,mBAAmB,EAAU,MAAM,OAAO,CAAC;AASvE,aAAK,iBAAiB;IACpB,KAAK,kBAAkB;IACvB,MAAM,uBAAuB;IAC7B,KAAK,uBAAuB;IAC5B,UAAU,kBAAkB;CAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuLD,wBAwCyC"}
@@ -1,54 +1,65 @@
1
1
  "use strict";
2
+ /**
3
+ * Yargs command module for the `build` command.
4
+ * @module
5
+ */
2
6
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
7
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
8
  };
5
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
+ const node_path_1 = __importDefault(require("node:path"));
6
11
  const builder_1 = require("../../builder");
7
12
  const constants_1 = require("../../constants");
8
13
  const logger_1 = __importDefault(require("../../logger"));
9
14
  const util_1 = require("../../util");
15
+ const check_1 = require("../check");
10
16
  const log = logger_1.default.withTag('build');
11
- const NAME_GROUP_BUILD = 'Build Options:';
12
- const NAME_GROUP_DEPLOY = 'Deployment Options:';
13
- const NAME_GROUP_SERVE = 'Serve Options:';
14
- const NAME_GROUP_BUILD_PATHS = 'Paths:';
15
- const opts = Object.freeze({
17
+ var BuildCommandGroup;
18
+ (function (BuildCommandGroup) {
19
+ BuildCommandGroup["Build"] = "Build Config:";
20
+ BuildCommandGroup["Deploy"] = "Deployment Config:";
21
+ BuildCommandGroup["Serve"] = "Dev Server Config:";
22
+ BuildCommandGroup["BuildPaths"] = "Custom Paths:";
23
+ })(BuildCommandGroup || (BuildCommandGroup = {}));
24
+ const opts = {
16
25
  reference: {
17
26
  describe: 'Run TypeDoc command API reference build (Markdown)',
18
- group: NAME_GROUP_BUILD,
27
+ group: BuildCommandGroup.Build,
19
28
  type: 'boolean',
20
29
  default: true,
21
30
  },
22
31
  site: {
23
32
  describe: 'Run MkDocs build (HTML)',
24
- group: NAME_GROUP_BUILD,
33
+ group: BuildCommandGroup.Build,
25
34
  type: 'boolean',
26
35
  default: true,
27
36
  },
28
37
  'site-dir': {
29
38
  alias: 'd',
30
39
  describe: 'HTML output directory',
31
- group: NAME_GROUP_BUILD_PATHS,
40
+ group: BuildCommandGroup.Build,
32
41
  nargs: 1,
33
42
  requiresArg: true,
34
43
  type: 'string',
35
44
  normalize: true,
45
+ coerce: node_path_1.default.resolve,
36
46
  implies: 'site',
37
47
  defaultDescription: '(from mkdocs.yml)',
38
48
  },
39
49
  'package-json': {
40
50
  defaultDescription: './package.json',
41
51
  describe: 'Path to package.json',
42
- group: NAME_GROUP_BUILD_PATHS,
52
+ group: BuildCommandGroup.BuildPaths,
43
53
  nargs: 1,
44
54
  normalize: true,
55
+ coerce: node_path_1.default.resolve,
45
56
  requiresArg: true,
46
57
  type: 'string',
47
58
  },
48
59
  title: {
49
60
  defaultDescription: '(extension package name)',
50
61
  describe: 'Title of the API reference',
51
- group: NAME_GROUP_BUILD,
62
+ group: BuildCommandGroup.Build,
52
63
  nargs: 1,
53
64
  requiresArg: true,
54
65
  type: 'string',
@@ -56,45 +67,48 @@ const opts = Object.freeze({
56
67
  'tsconfig-json': {
57
68
  defaultDescription: './tsconfig.json',
58
69
  describe: 'Path to tsconfig.json',
59
- group: NAME_GROUP_BUILD_PATHS,
70
+ group: BuildCommandGroup.BuildPaths,
60
71
  nargs: 1,
61
72
  normalize: true,
62
73
  requiresArg: true,
74
+ coerce: node_path_1.default.resolve,
63
75
  type: 'string',
64
76
  },
65
77
  'mkdocs-yml': {
66
78
  defaultDescription: './mkdocs.yml',
67
79
  description: 'Path to mkdocs.yml',
68
- group: NAME_GROUP_BUILD_PATHS,
80
+ group: BuildCommandGroup.BuildPaths,
69
81
  nargs: 1,
70
82
  normalize: true,
71
83
  requiresArg: true,
84
+ coerce: node_path_1.default.resolve,
72
85
  type: 'string',
73
86
  },
74
87
  'typedoc-json': {
75
88
  defaultDescription: './typedoc.json',
76
89
  describe: 'Path to typedoc.json',
77
- group: NAME_GROUP_BUILD_PATHS,
90
+ group: BuildCommandGroup.BuildPaths,
78
91
  nargs: 1,
79
92
  normalize: true,
80
93
  requiresArg: true,
94
+ coerce: node_path_1.default.resolve,
81
95
  type: 'string',
82
96
  },
83
97
  all: {
84
98
  describe: 'Output all reference docs (not just Appium comands)',
85
- group: NAME_GROUP_BUILD,
99
+ group: BuildCommandGroup.Build,
86
100
  implies: 'site',
87
101
  type: 'boolean',
88
102
  },
89
103
  deploy: {
90
- describe: 'Commit HTML output',
91
- group: NAME_GROUP_DEPLOY,
104
+ describe: 'Commit HTML output to a branch using mike',
105
+ group: BuildCommandGroup.Deploy,
92
106
  type: 'boolean',
93
107
  implies: 'site',
94
108
  },
95
109
  push: {
96
110
  describe: 'Push after deploy',
97
- group: NAME_GROUP_DEPLOY,
111
+ group: BuildCommandGroup.Deploy,
98
112
  type: 'boolean',
99
113
  implies: 'deploy',
100
114
  },
@@ -102,7 +116,7 @@ const opts = Object.freeze({
102
116
  alias: 'b',
103
117
  describe: 'Branch to commit to',
104
118
  implies: 'deploy',
105
- group: NAME_GROUP_DEPLOY,
119
+ group: BuildCommandGroup.Deploy,
106
120
  type: 'string',
107
121
  requiresArg: true,
108
122
  nargs: 1,
@@ -112,7 +126,7 @@ const opts = Object.freeze({
112
126
  alias: 'r',
113
127
  describe: 'Remote to push to',
114
128
  implies: ['deploy', 'push'],
115
- group: NAME_GROUP_DEPLOY,
129
+ group: BuildCommandGroup.Deploy,
116
130
  type: 'string',
117
131
  requiresArg: true,
118
132
  nargs: 1,
@@ -121,16 +135,16 @@ const opts = Object.freeze({
121
135
  prefix: {
122
136
  describe: 'Subdirectory within <branch> to commit to',
123
137
  implies: ['deploy', 'branch'],
124
- group: NAME_GROUP_DEPLOY,
138
+ group: BuildCommandGroup.Deploy,
125
139
  type: 'string',
126
140
  nargs: 1,
127
141
  requiresArg: true,
128
142
  },
129
143
  message: {
130
144
  alias: 'm',
131
- describe: 'Commit message',
145
+ describe: 'Commit message. Use "%s" for version placeholder',
132
146
  implies: 'deploy',
133
- group: NAME_GROUP_DEPLOY,
147
+ group: BuildCommandGroup.Deploy,
134
148
  type: 'string',
135
149
  nargs: 1,
136
150
  requiresArg: true,
@@ -138,7 +152,7 @@ const opts = Object.freeze({
138
152
  'deploy-version': {
139
153
  describe: 'Version (directory) to deploy build to',
140
154
  implies: 'deploy',
141
- group: NAME_GROUP_DEPLOY,
155
+ group: BuildCommandGroup.Deploy,
142
156
  type: 'string',
143
157
  nargs: 1,
144
158
  requiresArg: true,
@@ -147,7 +161,7 @@ const opts = Object.freeze({
147
161
  alias: {
148
162
  describe: 'Alias for the build (e.g., "latest"); triggers alias update',
149
163
  implies: 'deploy',
150
- group: NAME_GROUP_DEPLOY,
164
+ group: BuildCommandGroup.Deploy,
151
165
  type: 'string',
152
166
  nargs: 1,
153
167
  requiresArg: true,
@@ -156,18 +170,18 @@ const opts = Object.freeze({
156
170
  rebase: {
157
171
  describe: 'Rebase <branch> with remote before deploy',
158
172
  implies: ['deploy', 'branch', 'remote'],
159
- group: NAME_GROUP_DEPLOY,
173
+ group: BuildCommandGroup.Deploy,
160
174
  type: 'boolean',
161
175
  },
162
176
  serve: {
163
177
  describe: 'Start development server',
164
- group: NAME_GROUP_SERVE,
178
+ group: BuildCommandGroup.Serve,
165
179
  type: 'boolean',
166
180
  },
167
181
  port: {
168
182
  alias: 'p',
169
183
  describe: 'Development server port',
170
- group: NAME_GROUP_SERVE,
184
+ group: BuildCommandGroup.Serve,
171
185
  type: 'number',
172
186
  defaultDescription: '8000',
173
187
  implies: 'serve',
@@ -177,25 +191,29 @@ const opts = Object.freeze({
177
191
  host: {
178
192
  alias: 'h',
179
193
  describe: 'Development server host',
180
- group: NAME_GROUP_SERVE,
194
+ group: BuildCommandGroup.Serve,
181
195
  type: 'string',
182
196
  nargs: 1,
183
197
  requiresArg: true,
184
198
  implies: 'serve',
185
199
  defaultDescription: 'localhost',
186
200
  },
187
- });
201
+ };
188
202
  exports.default = {
189
203
  command: 'build',
190
- describe: 'Build Appium extension documentation',
191
- builder: (yargs) => yargs.options(opts).check((argv) => {
192
- // either this method doesn't provide camel-cased props, or the types are wrong.
193
- if (argv.deploy === true && argv['site-dir']) {
194
- log.error(`--site-dir is unsupported when running "${constants_1.NAME_BIN} deploy"; use --prefix if needd, but remember that the default behavior is to deploy to the root of the branch (${argv.branch}) instead of a subdirectory`);
195
- return false;
196
- }
197
- return true;
198
- }),
204
+ describe: 'Build Appium extension documentation using TypeDoc & MkDocs',
205
+ builder(yargs) {
206
+ return yargs
207
+ .options(opts)
208
+ .check(async (argv) => {
209
+ // either this method doesn't provide camel-cased props, or the types are wrong.
210
+ if (argv.deploy === true && argv['site-dir']) {
211
+ return `--site-dir is unsupported when running "${constants_1.NAME_BIN} deploy"; use --prefix if needed, but remember that the default behavior is to deploy to the root of the branch (${argv.branch}) instead of a subdirectory`;
212
+ }
213
+ return await (0, check_1.checkMissingPaths)(opts, BuildCommandGroup.BuildPaths, argv);
214
+ })
215
+ .epilog('For help with further configuration, see:\n - MkDocs: https://www.mkdocs.org\n - TypeDoc: https://typedoc.org\n - Mike: https://github.com/jimporter/mike');
216
+ },
199
217
  async handler(args) {
200
218
  const stop = (0, util_1.stopwatch)('build');
201
219
  log.debug('Build command called with args: %O', args);
@@ -1 +1 @@
1
- {"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../lib/cli/command/build.ts"],"names":[],"mappings":";;;;;AACA,2CAA+E;AAC/E,+CAAyC;AACzC,0DAAkC;AAClC,qCAAqC;AAErC,MAAM,GAAG,GAAG,gBAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpC,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAC1C,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAChD,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAC1C,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AAExC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC;IACzB,SAAS,EAAE;QACT,QAAQ,EAAE,oDAAoD;QAC9D,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;KACd;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,yBAAyB;QACnC,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;KACd;IACD,UAAU,EAAE;QACV,KAAK,EAAE,GAAG;QACV,QAAQ,EAAE,uBAAuB;QACjC,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,CAAC;QACR,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,IAAI;QACf,OAAO,EAAE,MAAM;QACf,kBAAkB,EAAE,mBAAmB;KACxC;IACD,cAAc,EAAE;QACd,kBAAkB,EAAE,gBAAgB;QACpC,QAAQ,EAAE,sBAAsB;QAChC,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,CAAC;QACR,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,QAAQ;KACf;IACD,KAAK,EAAE;QACL,kBAA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