doc-detective-common 3.0.0-dev.3 → 3.0.0-dev.4
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.
package/package.json
CHANGED
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
}
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
|
-
"
|
|
36
|
-
"description": "Path of the
|
|
35
|
+
"output": {
|
|
36
|
+
"description": "Path of the directory in which to store the output of Doc Detective commands. If a file path is specified, Doc Detective attempts to honor the file name specified, but file path behavior is controlled by the configured reporters.",
|
|
37
37
|
"type": "string",
|
|
38
38
|
"default": "."
|
|
39
39
|
},
|
|
@@ -8747,7 +8747,7 @@
|
|
|
8747
8747
|
{},
|
|
8748
8748
|
{
|
|
8749
8749
|
"input": ".",
|
|
8750
|
-
"
|
|
8750
|
+
"output": ".",
|
|
8751
8751
|
"recursive": true,
|
|
8752
8752
|
"loadVariables": ".env",
|
|
8753
8753
|
"fileTypes": [
|
package/src/schemas/schemas.json
CHANGED
|
@@ -264,8 +264,8 @@
|
|
|
264
264
|
}
|
|
265
265
|
]
|
|
266
266
|
},
|
|
267
|
-
"
|
|
268
|
-
"description": "Path of the
|
|
267
|
+
"output": {
|
|
268
|
+
"description": "Path of the directory in which to store the output of Doc Detective commands. If a file path is specified, Doc Detective attempts to honor the file name specified, but file path behavior is controlled by the configured reporters.",
|
|
269
269
|
"type": "string",
|
|
270
270
|
"default": "."
|
|
271
271
|
},
|
|
@@ -8979,7 +8979,7 @@
|
|
|
8979
8979
|
{},
|
|
8980
8980
|
{
|
|
8981
8981
|
"input": ".",
|
|
8982
|
-
"
|
|
8982
|
+
"output": ".",
|
|
8983
8983
|
"recursive": true,
|
|
8984
8984
|
"loadVariables": ".env",
|
|
8985
8985
|
"fileTypes": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
-
"
|
|
25
|
-
"description": "Path of the
|
|
24
|
+
"output": {
|
|
25
|
+
"description": "Path of the directory in which to store the output of Doc Detective commands. If a file path is specified, Doc Detective attempts to honor the file name specified, but file path behavior is controlled by the configured reporters.",
|
|
26
26
|
"type": "string",
|
|
27
27
|
"default": "."
|
|
28
28
|
},
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
{},
|
|
334
334
|
{
|
|
335
335
|
"input": ".",
|
|
336
|
-
"
|
|
336
|
+
"output": ".",
|
|
337
337
|
"recursive": true,
|
|
338
338
|
"loadVariables": ".env",
|
|
339
339
|
"fileTypes": ["markdown"]
|
package/src/validate.js
CHANGED
|
@@ -321,7 +321,7 @@ function transformToSchemaKey({
|
|
|
321
321
|
const transformedObject = {
|
|
322
322
|
loadVariables: object.envVariables,
|
|
323
323
|
input: object?.runTests?.input || object.input,
|
|
324
|
-
|
|
324
|
+
output: object?.runTests?.output || object.output,
|
|
325
325
|
recursive: object?.runTests?.recursive || object.recursive,
|
|
326
326
|
relativePathBase: object.relativePathBase,
|
|
327
327
|
detectSteps: object?.runTests?.detectSteps,
|
|
@@ -391,7 +391,7 @@ function transformToSchemaKey({
|
|
|
391
391
|
const transformedAction = transformToSchemaKey({
|
|
392
392
|
currentSchema: `${action.action}_v2`,
|
|
393
393
|
targetSchema: "step_v3",
|
|
394
|
-
object:
|
|
394
|
+
object: action,
|
|
395
395
|
});
|
|
396
396
|
return transformedAction;
|
|
397
397
|
}
|