bdy 1.8.6-dev → 1.8.7-dev
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/distTs/package.json
CHANGED
|
@@ -21,7 +21,6 @@ commandVtExec.option('--skipDiscovery', texts_js_1.OPTION_EXEC_SKIP_DISCOVERY);
|
|
|
21
21
|
commandVtExec.option('--oneByOne', texts_js_1.OPTION_EXEC_ONE_BY_ONE);
|
|
22
22
|
commandVtExec.option('--parallel', texts_js_1.OPTION_EXEC_PARALLEL);
|
|
23
23
|
commandVtExec.action(async (command, options) => {
|
|
24
|
-
output_1.default.normal(JSON.stringify({ command, options }));
|
|
25
24
|
(0, context_1.setOptions)(options);
|
|
26
25
|
try {
|
|
27
26
|
const browserPath = await (0, browser_1.getBrowserPath)();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.debug = exports.browserPath = exports.commitDetails = exports.invokerId = exports.executionId = exports.actionId = exports.pipelineId = exports.baseCommit = exports.commit = exports.branch = exports.ci = exports.buildId = exports.token = exports.parallel = exports.skipDiscovery = exports.oneByOne = exports.cliVersion = void 0;
|
|
3
|
+
exports.debug = exports.browserPath = exports.commitDetails = exports.invokerId = exports.executionId = exports.actionId = exports.pipelineId = exports.baseCommit = exports.commit = exports.branch = exports.ci = exports.cliId = exports.buildId = exports.token = exports.parallel = exports.skipDiscovery = exports.oneByOne = exports.cliVersion = void 0;
|
|
4
4
|
exports.setOptions = setOptions;
|
|
5
5
|
exports.setBrowserPath = setBrowserPath;
|
|
6
6
|
exports.setCiAndCommitInfo = setCiAndCommitInfo;
|
|
@@ -13,6 +13,7 @@ exports.skipDiscovery = false;
|
|
|
13
13
|
exports.parallel = false;
|
|
14
14
|
exports.token = process.env.SNAPSHOTS_TOKEN || '';
|
|
15
15
|
exports.buildId = process.env.SNAPSHOTS_BUILD_ID || (0, uuid_1.v4)();
|
|
16
|
+
exports.cliId = (0, uuid_1.v4)();
|
|
16
17
|
exports.ci = ciInfo_js_1.CI.NONE;
|
|
17
18
|
exports.debug = (process.env.SNAPSHOTS_DEBUG || '').toLowerCase() === 'true';
|
|
18
19
|
function setOptions(options) {
|
|
@@ -70,6 +70,7 @@ async function sendSnapshot(snapshot) {
|
|
|
70
70
|
executionId: context_js_1.executionId,
|
|
71
71
|
invokerId: context_js_1.invokerId,
|
|
72
72
|
commitDetails: context_js_1.commitDetails,
|
|
73
|
+
cliId: context_js_1.cliId,
|
|
73
74
|
};
|
|
74
75
|
const formData = createFormData(info, files);
|
|
75
76
|
const [message] = await sendRequest({
|
|
@@ -100,6 +101,7 @@ async function sendSnapshots(snapshots) {
|
|
|
100
101
|
executionId: context_js_1.executionId,
|
|
101
102
|
invokerId: context_js_1.invokerId,
|
|
102
103
|
commitDetails: context_js_1.commitDetails,
|
|
104
|
+
cliId: context_js_1.cliId,
|
|
103
105
|
};
|
|
104
106
|
const formData = createFormData(info, files);
|
|
105
107
|
const [message] = await sendRequest({
|
|
@@ -150,6 +152,7 @@ async function sendStorybook(snapshots, filePaths) {
|
|
|
150
152
|
executionId: context_js_1.executionId,
|
|
151
153
|
invokerId: context_js_1.invokerId,
|
|
152
154
|
commitDetails: context_js_1.commitDetails,
|
|
155
|
+
cliId: context_js_1.cliId,
|
|
153
156
|
};
|
|
154
157
|
const files = filePaths.map((file) => ({
|
|
155
158
|
id: file,
|