browserstack-cypress-cli 1.22.0 → 1.22.1

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 (29) hide show
  1. package/.nyc_output/2807648c-3b13-4cd1-b949-11ce1b846277.json +1 -0
  2. package/.nyc_output/48e04c5a-5723-4547-b9d6-20074786acab.json +1 -0
  3. package/.nyc_output/51e8de95-1005-492b-8e2f-d7c6fc9148e4.json +1 -0
  4. package/.nyc_output/577e3334-ad22-4b05-ac7f-e0038582bb25.json +1 -0
  5. package/.nyc_output/59cc8cf4-849a-4cb5-bc52-0133091e0584.json +1 -0
  6. package/.nyc_output/5fc28c76-8c92-44e9-9bae-ec2e85892509.json +1 -0
  7. package/.nyc_output/5fffbcf8-4572-45c7-948f-38aeb3421a3e.json +1 -0
  8. package/.nyc_output/6b02b68b-ad99-40ff-b34f-218d98a9c773.json +1 -0
  9. package/.nyc_output/6ec27c2e-3529-412c-a82b-d1b8970a52a5.json +1 -0
  10. package/.nyc_output/7540c691-20e7-4eb9-a21e-75f1b22fe6eb.json +1 -0
  11. package/.nyc_output/79dc2aeb-d682-45b3-8430-eea8b886e5ae.json +1 -0
  12. package/.nyc_output/processinfo/2807648c-3b13-4cd1-b949-11ce1b846277.json +1 -0
  13. package/.nyc_output/processinfo/48e04c5a-5723-4547-b9d6-20074786acab.json +1 -0
  14. package/.nyc_output/processinfo/51e8de95-1005-492b-8e2f-d7c6fc9148e4.json +1 -0
  15. package/.nyc_output/processinfo/577e3334-ad22-4b05-ac7f-e0038582bb25.json +1 -0
  16. package/.nyc_output/processinfo/59cc8cf4-849a-4cb5-bc52-0133091e0584.json +1 -0
  17. package/.nyc_output/processinfo/5fc28c76-8c92-44e9-9bae-ec2e85892509.json +1 -0
  18. package/.nyc_output/processinfo/5fffbcf8-4572-45c7-948f-38aeb3421a3e.json +1 -0
  19. package/.nyc_output/processinfo/6b02b68b-ad99-40ff-b34f-218d98a9c773.json +1 -0
  20. package/.nyc_output/processinfo/6ec27c2e-3529-412c-a82b-d1b8970a52a5.json +1 -0
  21. package/.nyc_output/processinfo/7540c691-20e7-4eb9-a21e-75f1b22fe6eb.json +1 -0
  22. package/.nyc_output/processinfo/79dc2aeb-d682-45b3-8430-eea8b886e5ae.json +1 -0
  23. package/.nyc_output/processinfo/index.json +1 -0
  24. package/bin/commands/runs.js +3 -0
  25. package/bin/helpers/checkUploaded.js +1 -1
  26. package/bin/helpers/constants.js +4 -1
  27. package/bin/helpers/readCypressConfigUtil.js +26 -8
  28. package/log/usage.log +11 -0
  29. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96855,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/browserstack-cypress","--version"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924393523,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/2807648c-3b13-4cd1-b949-11ce1b846277.json","externalId":"","uuid":"2807648c-3b13-4cd1-b949-11ce1b846277","files":["/Users/archish/browserstack/browserstack-cypress-cli/bin/runner.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/logger.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/constants.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/config.js"]}
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96856,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924393770,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/48e04c5a-5723-4547-b9d6-20074786acab.json","externalId":"","uuid":"48e04c5a-5723-4547-b9d6-20074786acab","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96798,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/npm","root","-g"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924392726,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/51e8de95-1005-492b-8e2f-d7c6fc9148e4.json","externalId":"","uuid":"51e8de95-1005-492b-8e2f-d7c6fc9148e4","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96857,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/npm","--version"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924394076,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/577e3334-ad22-4b05-ac7f-e0038582bb25.json","externalId":"","uuid":"577e3334-ad22-4b05-ac7f-e0038582bb25","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":96762,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/browserstack/browserstack-cypress-cli/node_modules/.bin/mocha","test/**/*.js","--recursive","--timeout","60000","--exit"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924386931,"ppid":96750,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/59cc8cf4-849a-4cb5-bc52-0133091e0584.json","externalId":"","uuid":"59cc8cf4-849a-4cb5-bc52-0133091e0584","files":["/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/buildArtifacts.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/logger.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/utils.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/usageReporting.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/config.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/constants.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/fileHelpers.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/init.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/capabilityHelper.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/getInitialDetails.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/hashUtil.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/packageInstaller.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/timeComponents.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/zipUpload.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/generateDownloads.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/generateReport.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/info.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/templates/configTemplate.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/runs.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/archiver.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/build.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/syncRunner.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/checkUploaded.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/reporterHTML.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/package-diff.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/stop.js"]}
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96862,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/npm","--version"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924395357,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/5fc28c76-8c92-44e9-9bae-ec2e85892509.json","externalId":"","uuid":"5fc28c76-8c92-44e9-9bae-ec2e85892509","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96860,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/npm","--version"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924394868,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/5fffbcf8-4572-45c7-948f-38aeb3421a3e.json","externalId":"","uuid":"5fffbcf8-4572-45c7-948f-38aeb3421a3e","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96851,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/npm","--version"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924393191,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/6b02b68b-ad99-40ff-b34f-218d98a9c773.json","externalId":"","uuid":"6b02b68b-ad99-40ff-b34f-218d98a9c773","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96779,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/browserstack-cypress","--version"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924392447,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/6ec27c2e-3529-412c-a82b-d1b8970a52a5.json","externalId":"","uuid":"6ec27c2e-3529-412c-a82b-d1b8970a52a5","files":["/Users/archish/browserstack/browserstack-cypress-cli/bin/runner.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/logger.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/constants.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/config.js"]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":96750,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/browserstack/browserstack-cypress-cli/node_modules/.bin/nyc","mocha","test/**/*.js","--recursive","--timeout","60000","--exit"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924384473,"ppid":96747,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/7540c691-20e7-4eb9-a21e-75f1b22fe6eb.json","externalId":"","uuid":"7540c691-20e7-4eb9-a21e-75f1b22fe6eb","files":["/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/generateDownloads.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/generateReport.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/info.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/init.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/runs.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/stop.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/archiver.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/build.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/buildArtifacts.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/capabilityHelper.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/checkUploaded.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/config.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/constants.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/fileHelpers.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/getInitialDetails.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/hashUtil.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/logger.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/package-diff.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/packageInstaller.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/reporterHTML.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/syncRunner.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/timeComponents.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/usageReporting.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/utils.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/zipUpload.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/runner.js","/Users/archish/browserstack/browserstack-cypress-cli/bin/templates/configTemplate.js"]}
@@ -0,0 +1 @@
1
+ {"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","pid":96861,"argv":["/Users/archish/.nvm/versions/node/v12.18.3/bin/node","/Users/archish/.nvm/versions/node/v12.18.3/bin/npm","--version"],"execArgv":[],"cwd":"/Users/archish/browserstack/browserstack-cypress-cli","time":1675924395112,"ppid":96762,"coverageFilename":"/Users/archish/browserstack/browserstack-cypress-cli/.nyc_output/79dc2aeb-d682-45b3-8430-eea8b886e5ae.json","externalId":"","uuid":"79dc2aeb-d682-45b3-8430-eea8b886e5ae","files":[]}
@@ -0,0 +1 @@
1
+ {"processes":{"2807648c-3b13-4cd1-b949-11ce1b846277":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]},"48e04c5a-5723-4547-b9d6-20074786acab":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]},"51e8de95-1005-492b-8e2f-d7c6fc9148e4":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]},"577e3334-ad22-4b05-ac7f-e0038582bb25":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]},"59cc8cf4-849a-4cb5-bc52-0133091e0584":{"parent":null,"children":["2807648c-3b13-4cd1-b949-11ce1b846277","48e04c5a-5723-4547-b9d6-20074786acab","51e8de95-1005-492b-8e2f-d7c6fc9148e4","577e3334-ad22-4b05-ac7f-e0038582bb25","5fc28c76-8c92-44e9-9bae-ec2e85892509","5fffbcf8-4572-45c7-948f-38aeb3421a3e","6b02b68b-ad99-40ff-b34f-218d98a9c773","6ec27c2e-3529-412c-a82b-d1b8970a52a5","79dc2aeb-d682-45b3-8430-eea8b886e5ae"]},"5fc28c76-8c92-44e9-9bae-ec2e85892509":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]},"5fffbcf8-4572-45c7-948f-38aeb3421a3e":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]},"6b02b68b-ad99-40ff-b34f-218d98a9c773":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]},"6ec27c2e-3529-412c-a82b-d1b8970a52a5":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]},"7540c691-20e7-4eb9-a21e-75f1b22fe6eb":{"parent":null,"children":[]},"79dc2aeb-d682-45b3-8430-eea8b886e5ae":{"parent":"59cc8cf4-849a-4cb5-bc52-0133091e0584","children":[]}},"files":{"/Users/archish/browserstack/browserstack-cypress-cli/bin/runner.js":["2807648c-3b13-4cd1-b949-11ce1b846277","6ec27c2e-3529-412c-a82b-d1b8970a52a5","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/logger.js":["2807648c-3b13-4cd1-b949-11ce1b846277","59cc8cf4-849a-4cb5-bc52-0133091e0584","6ec27c2e-3529-412c-a82b-d1b8970a52a5","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/constants.js":["2807648c-3b13-4cd1-b949-11ce1b846277","59cc8cf4-849a-4cb5-bc52-0133091e0584","6ec27c2e-3529-412c-a82b-d1b8970a52a5","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/config.js":["2807648c-3b13-4cd1-b949-11ce1b846277","59cc8cf4-849a-4cb5-bc52-0133091e0584","6ec27c2e-3529-412c-a82b-d1b8970a52a5","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/buildArtifacts.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/utils.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/usageReporting.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/fileHelpers.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/init.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/capabilityHelper.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/getInitialDetails.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/hashUtil.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/packageInstaller.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/failedSpecsDetails.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/specsSummary.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/sync/syncSpecsLogs.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/timeComponents.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/zipUpload.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/generateDownloads.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/generateReport.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/info.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/templates/configTemplate.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/runs.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/archiver.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/build.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/syncRunner.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/checkUploaded.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/reporterHTML.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/downloadBuildStacktrace.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/helpers/package-diff.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"],"/Users/archish/browserstack/browserstack-cypress-cli/bin/commands/stop.js":["59cc8cf4-849a-4cb5-bc52-0133091e0584","7540c691-20e7-4eb9-a21e-75f1b22fe6eb"]},"externalIds":{}}
@@ -102,6 +102,9 @@ module.exports = function run(args, rawArgs) {
102
102
  // set the no-wrap
103
103
  utils.setNoWrap(bsConfig, args);
104
104
 
105
+ // add cypress dependency if missing
106
+ utils.setCypressNpmDependency(bsConfig);
107
+
105
108
  const { packagesInstalled } = await packageInstaller.packageSetupAndInstaller(bsConfig, config.packageDirName, {markBlockStart, markBlockEnd});
106
109
 
107
110
  // set build tag caps
@@ -86,7 +86,7 @@ const checkUploadedMd5 = (bsConfig, args, instrumentBlocks) => {
86
86
  zipUrlPresent: false,
87
87
  packageUrlPresent: false,
88
88
  };
89
- utils.setCypressNpmDependency(bsConfig);
89
+
90
90
  if (args["force-upload"]) {
91
91
  logger.debug("force-upload set to true. Uploading tests and npm packages.");
92
92
  return resolve(obj);
@@ -314,10 +314,13 @@ const allowedFileTypes = [
314
314
  "max",
315
315
  "mjpeg",
316
316
  "y4m",
317
+ "cjs",
318
+ "mjs",
317
319
  "tsx",
318
320
  "pfx",
319
321
  "cfr",
320
- "ico"
322
+ "ico",
323
+ "html"
321
324
  ];
322
325
 
323
326
  const filesToIgnoreWhileUploading = [
@@ -17,10 +17,20 @@ exports.convertTsConfig = (bsConfig, cypress_config_filepath, bstack_node_module
17
17
  const cypress_config_filename = bsConfig.run_settings.cypress_config_filename
18
18
  const working_dir = path.dirname(cypress_config_filepath);
19
19
  const complied_js_dir = path.join(working_dir, config.compiledConfigJsDirName)
20
- cp.execSync(`rm -rf ${config.compiledConfigJsDirName}`, { cwd: working_dir })
21
- cp.execSync(`mkdir ${config.compiledConfigJsDirName}`, { cwd: working_dir })
20
+ if (fs.existsSync(complied_js_dir)) {
21
+ fs.rmdirSync(complied_js_dir, { recursive: true })
22
+ }
23
+ fs.mkdirSync(complied_js_dir, { recursive: true })
24
+
25
+ const typescript_path = path.join(bstack_node_modules_path, 'typescript', 'bin', 'tsc')
22
26
 
23
- let tsc_command = `NODE_PATH=${bstack_node_modules_path} ${bstack_node_modules_path}/typescript/bin/tsc --outDir ${complied_js_dir} --listEmittedFiles true --allowSyntheticDefaultImports --module commonjs --declaration false ${cypress_config_filepath}`
27
+ let tsc_command = `NODE_PATH=${bstack_node_modules_path} node "${typescript_path}" --outDir "${complied_js_dir}" --listEmittedFiles true --allowSyntheticDefaultImports --module commonjs --declaration false "${cypress_config_filepath}"`
28
+
29
+ if (/^win/.test(process.platform)) {
30
+ tsc_command = `set NODE_PATH=${bstack_node_modules_path}&& node "${typescript_path}" --outDir "${complied_js_dir}" --listEmittedFiles true --allowSyntheticDefaultImports --module commonjs --declaration false "${cypress_config_filepath}"`
31
+ }
32
+
33
+
24
34
  let tsc_output
25
35
  try {
26
36
  logger.debug(`Running: ${tsc_command}`)
@@ -54,8 +64,13 @@ exports.convertTsConfig = (bsConfig, cypress_config_filepath, bstack_node_module
54
64
  }
55
65
 
56
66
  exports.loadJsFile = (cypress_config_filepath, bstack_node_modules_path) => {
57
- const require_module_helper_path = `${__dirname}/requireModule.js`
58
- cp.execSync(`NODE_PATH=${bstack_node_modules_path} node ${require_module_helper_path} ${cypress_config_filepath}`)
67
+ const require_module_helper_path = path.join(__dirname, 'requireModule.js')
68
+ let load_command = `NODE_PATH="${bstack_node_modules_path}" node "${require_module_helper_path}" "${cypress_config_filepath}"`
69
+ if (/^win/.test(process.platform)) {
70
+ load_command = `set NODE_PATH=${bstack_node_modules_path}&& node "${require_module_helper_path}" "${cypress_config_filepath}"`
71
+ }
72
+ logger.debug(`Running: ${load_command}`)
73
+ cp.execSync(load_command)
59
74
  const cypress_config = JSON.parse(fs.readFileSync(config.configJsonFileName).toString())
60
75
  if (fs.existsSync(config.configJsonFileName)) {
61
76
  fs.unlinkSync(config.configJsonFileName)
@@ -67,7 +82,7 @@ exports.readCypressConfigFile = (bsConfig) => {
67
82
  const cypress_config_filepath = path.resolve(bsConfig.run_settings.cypressConfigFilePath)
68
83
  try {
69
84
  const cypress_config_filename = bsConfig.run_settings.cypress_config_filename
70
- const bstack_node_modules_path = `${path.resolve(config.packageDirName)}/node_modules`
85
+ const bstack_node_modules_path = path.join(path.resolve(config.packageDirName), 'node_modules')
71
86
  const conf_lang = this.detectLanguage(cypress_config_filename)
72
87
 
73
88
  logger.debug(`cypress config path: ${cypress_config_filepath}`);
@@ -92,7 +107,10 @@ exports.readCypressConfigFile = (bsConfig) => {
92
107
  null
93
108
  )
94
109
  } finally {
95
- const working_dir = path.dirname(cypress_config_filepath);
96
- cp.execSync(`rm -rf ${config.compiledConfigJsDirName}`, { cwd: working_dir })
110
+ const working_dir = path.dirname(cypress_config_filepath)
111
+ const complied_js_dir = path.join(working_dir, config.compiledConfigJsDirName)
112
+ if (fs.existsSync(complied_js_dir)) {
113
+ fs.rmdirSync(complied_js_dir, { recursive: true })
114
+ }
97
115
  }
98
116
  }
package/log/usage.log ADDED
@@ -0,0 +1,11 @@
1
+ {"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"bstack_json\":\"{auth: { \\\"username\\\": [REDACTED], \\\"access_key\\\": [REDACTED] },\\\"run_settings\\\":{\\\"cypress_proj_dir\\\":\\\"random path\\\",\\\"cypressConfigFilePath\\\":\\\"random path\\\",\\\"cypressProjectDir\\\":\\\"random path\\\"}}\",\"run_settings\":{\"cypress_proj_dir\":\"random path\",\"cypressConfigFilePath\":\"random path\",\"cypressProjectDir\":\"random path\"},\"os\":\"darwin\",\"os_version\":\"21.6.0\",\"bstack_json_found_in_pwd\":false,\"cypress_config_file_found_in_pwd\":null,\"cli_version\":\"1.19.3\",\"cli_path\":\"/Users/archish/.nvm/versions/node/v12.18.3/lib/node_modules\",\"npm_version\":\"6.14.6\",\"local_cypress_version\":null,\"ci_environment\":null,\"event_timestamp\":\"1/31/2023, 11:40:03\",\"data\":null,\"cli_args\":\"{\\\"_\\\":[\\\"generate-downloads\\\",\\\"f3c94f7203792d03a75be3912d19354fe0961e53\\\"],\\\"cf\\\":\\\"browserstack.json\\\",\\\"config-file\\\":\\\"browserstack.json\\\",\\\"configFile\\\":\\\"browserstack.json\\\",\\\"$0\\\":\\\"browserstack-cypress\\\"}\",\"message_type\":\"error\",\"error_code\":\"get_initial_details_failed\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2023-01-31T06:10:03.266Z"}
2
+ {"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"bstack_json\":\"{auth: { \\\"username\\\": [REDACTED], \\\"access_key\\\": [REDACTED] },\\\"run_settings\\\":{\\\"cypress_proj_dir\\\":\\\"random path\\\",\\\"cypressConfigFilePath\\\":\\\"random path\\\",\\\"cypressProjectDir\\\":\\\"random path\\\"}}\",\"run_settings\":{\"cypress_proj_dir\":\"random path\",\"cypressConfigFilePath\":\"random path\",\"cypressProjectDir\":\"random path\"},\"os\":\"darwin\",\"os_version\":\"21.6.0\",\"bstack_json_found_in_pwd\":false,\"cypress_config_file_found_in_pwd\":null,\"cli_version\":\"1.19.3\",\"cli_path\":\"/Users/archish/.nvm/versions/node/v12.18.3/lib/node_modules\",\"npm_version\":\"6.14.6\",\"local_cypress_version\":null,\"ci_environment\":null,\"event_timestamp\":\"1/31/2023, 11:40:04\",\"data\":null,\"cli_args\":\"{\\\"_\\\":[\\\"generate-report\\\",\\\"f3c94f7203792d03a75be3912d19354fe0961e53\\\"],\\\"cf\\\":\\\"browserstack.json\\\",\\\"config-file\\\":\\\"browserstack.json\\\",\\\"configFile\\\":\\\"browserstack.json\\\",\\\"$0\\\":\\\"browserstack-cypress\\\"}\",\"message_type\":\"error\",\"error_code\":\"get_initial_details_failed\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2023-01-31T06:10:04.595Z"}
3
+ {"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2023-01-31T06:10:05.953Z"}
4
+ {"level":"info","message":"{\"attempts\":2,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2023-01-31T06:10:08.704Z"}
5
+ {"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"bstack_json\":\"{auth: { \\\"username\\\": [REDACTED], \\\"access_key\\\": [REDACTED] },\\\"run_settings\\\":{\\\"cypress_proj_dir\\\":\\\"random path\\\",\\\"cypressConfigFilePath\\\":\\\"random path\\\",\\\"cypressProjectDir\\\":\\\"random path\\\"}}\",\"run_settings\":{\"cypress_proj_dir\":\"random path\",\"cypressConfigFilePath\":\"random path\",\"cypressProjectDir\":\"random path\"},\"os\":\"darwin\",\"os_version\":\"21.6.0\",\"bstack_json_found_in_pwd\":false,\"cypress_config_file_found_in_pwd\":null,\"cli_version\":\"1.19.3\",\"cli_path\":\"/Users/archish/.nvm/versions/node/v12.18.3/lib/node_modules\",\"npm_version\":\"6.14.6\",\"local_cypress_version\":null,\"ci_environment\":null,\"event_timestamp\":\"1/31/2023, 11:45:33\",\"data\":null,\"cli_args\":\"{\\\"_\\\":[\\\"generate-downloads\\\",\\\"f3c94f7203792d03a75be3912d19354fe0961e53\\\"],\\\"cf\\\":\\\"browserstack.json\\\",\\\"config-file\\\":\\\"browserstack.json\\\",\\\"configFile\\\":\\\"browserstack.json\\\",\\\"$0\\\":\\\"browserstack-cypress\\\"}\",\"message_type\":\"error\",\"error_code\":\"get_initial_details_failed\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2023-01-31T06:15:33.253Z"}
6
+ {"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"bstack_json\":\"{auth: { \\\"username\\\": [REDACTED], \\\"access_key\\\": [REDACTED] },\\\"run_settings\\\":{\\\"cypress_proj_dir\\\":\\\"random path\\\",\\\"cypressConfigFilePath\\\":\\\"random path\\\",\\\"cypressProjectDir\\\":\\\"random path\\\"}}\",\"run_settings\":{\"cypress_proj_dir\":\"random path\",\"cypressConfigFilePath\":\"random path\",\"cypressProjectDir\":\"random path\"},\"os\":\"darwin\",\"os_version\":\"21.6.0\",\"bstack_json_found_in_pwd\":false,\"cypress_config_file_found_in_pwd\":null,\"cli_version\":\"1.19.3\",\"cli_path\":\"/Users/archish/.nvm/versions/node/v12.18.3/lib/node_modules\",\"npm_version\":\"6.14.6\",\"local_cypress_version\":null,\"ci_environment\":null,\"event_timestamp\":\"1/31/2023, 11:45:34\",\"data\":null,\"cli_args\":\"{\\\"_\\\":[\\\"generate-report\\\",\\\"f3c94f7203792d03a75be3912d19354fe0961e53\\\"],\\\"cf\\\":\\\"browserstack.json\\\",\\\"config-file\\\":\\\"browserstack.json\\\",\\\"configFile\\\":\\\"browserstack.json\\\",\\\"$0\\\":\\\"browserstack-cypress\\\"}\",\"message_type\":\"error\",\"error_code\":\"get_initial_details_failed\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2023-01-31T06:15:34.443Z"}
7
+ {"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2023-01-31T06:15:35.939Z"}
8
+ {"level":"info","message":"{\"attempts\":2,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2023-01-31T06:15:38.839Z"}
9
+ {"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"bstack_json\":\"{auth: { \\\"username\\\": [REDACTED], \\\"access_key\\\": [REDACTED] },\\\"run_settings\\\":{\\\"cypress_proj_dir\\\":\\\"random path\\\",\\\"cypressConfigFilePath\\\":\\\"random path\\\",\\\"cypressProjectDir\\\":\\\"random path\\\"}}\",\"run_settings\":{\"cypress_proj_dir\":\"random path\",\"cypressConfigFilePath\":\"random path\",\"cypressProjectDir\":\"random path\"},\"os\":\"darwin\",\"os_version\":\"21.6.0\",\"bstack_json_found_in_pwd\":false,\"cypress_config_file_found_in_pwd\":null,\"cli_version\":\"1.19.3\",\"cli_path\":\"/Users/archish/.nvm/versions/node/v12.18.3/lib/node_modules\",\"npm_version\":\"6.14.6\",\"local_cypress_version\":null,\"ci_environment\":null,\"event_timestamp\":\"2/9/2023, 12:03:13\",\"data\":null,\"cli_args\":\"{\\\"_\\\":[\\\"generate-downloads\\\",\\\"f3c94f7203792d03a75be3912d19354fe0961e53\\\"],\\\"cf\\\":\\\"browserstack.json\\\",\\\"config-file\\\":\\\"browserstack.json\\\",\\\"configFile\\\":\\\"browserstack.json\\\",\\\"$0\\\":\\\"browserstack-cypress\\\"}\",\"message_type\":\"error\",\"error_code\":\"get_initial_details_failed\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2023-02-09T06:33:13.370Z"}
10
+ {"level":"info","message":"Sending {\"event_type\":\"cypress_cli_stats\",\"data\":{\"bstack_json\":\"{auth: { \\\"username\\\": [REDACTED], \\\"access_key\\\": [REDACTED] },\\\"run_settings\\\":{\\\"cypress_proj_dir\\\":\\\"random path\\\",\\\"cypressConfigFilePath\\\":\\\"random path\\\",\\\"cypressProjectDir\\\":\\\"random path\\\"}}\",\"run_settings\":{\"cypress_proj_dir\":\"random path\",\"cypressConfigFilePath\":\"random path\",\"cypressProjectDir\":\"random path\"},\"os\":\"darwin\",\"os_version\":\"21.6.0\",\"bstack_json_found_in_pwd\":false,\"cypress_config_file_found_in_pwd\":null,\"cli_version\":\"1.19.3\",\"cli_path\":\"/Users/archish/.nvm/versions/node/v12.18.3/lib/node_modules\",\"npm_version\":\"6.14.6\",\"local_cypress_version\":null,\"ci_environment\":null,\"event_timestamp\":\"2/9/2023, 12:03:14\",\"data\":null,\"cli_args\":\"{\\\"_\\\":[\\\"generate-report\\\",\\\"f3c94f7203792d03a75be3912d19354fe0961e53\\\"],\\\"cf\\\":\\\"browserstack.json\\\",\\\"config-file\\\":\\\"browserstack.json\\\",\\\"configFile\\\":\\\"browserstack.json\\\",\\\"$0\\\":\\\"browserstack-cypress\\\"}\",\"message_type\":\"error\",\"error_code\":\"get_initial_details_failed\"}} to https://eds.browserstack.com:443/send_event_cy_internal","timestamp":"2023-02-09T06:33:14.206Z"}
11
+ {"level":"info","message":"{\"attempts\":1,\"statusCode\":200,\"body\":\"Bravo\"}","timestamp":"2023-02-09T06:33:15.228Z"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserstack-cypress-cli",
3
- "version": "1.22.0",
3
+ "version": "1.22.1",
4
4
  "description": "BrowserStack Cypress CLI for Cypress integration with BrowserStack's remote devices.",
5
5
  "main": "index.js",
6
6
  "scripts": {