Update names

This commit is contained in:
2024-11-20 14:40:39 +01:00
parent 1f80df68cc
commit 775f2f0b88
3 changed files with 21 additions and 21 deletions

View File

@@ -158,7 +158,7 @@ var setCcVersion = (v) => {
};
var cypressPkg = require2("cypress/package.json");
var pkg = require2("@krivega/cc/package.json");
var pkg = require2("@bart/cc/package.json");
initCapture();
setCypressVersion(cypressPkg.version);
setCcVersion(pkg.version);
@@ -374,7 +374,7 @@ var bootCypress = async (params) => {
try {
const f = fs.readFileSync(tempFilePath, "utf-8");
if (!f) {
throw new Error("Is @krivega/cc/plugin installed?");
throw new Error("Is @bart/cc/plugin installed?");
}
debug5("cypress config '%s': '%s'", tempFilePath, f);
return JSON.parse(f);
@@ -383,7 +383,7 @@ var bootCypress = async (params) => {
info(bold("Cypress stdout:\n"), stdout2);
info(bold("Cypress stderr:\n"), stderr);
throw new ValidationError(`Unable to resolve cypress configuration
- make sure that '@krivega/cc/plugin' is installed
- make sure that '@bart/cc/plugin' is installed
- report the issue together with cypress stdout and stderr
`);
}
@@ -707,7 +707,7 @@ async function getClient() {
"x-cypress-request-attempt": config["axios-retry"]?.retryCount ?? 0,
"x-cypress-version": _cypressVersion ?? "0.0.0",
"x-ccy-version": ccyVerson,
"User-Agent": `@krivega/cc/${ccyVerson}`
"User-Agent": `@bart/cc/${ccyVerson}`
};
if (_runId) {
headers["x-cypress-run-id"] = _runId;
@@ -1417,7 +1417,7 @@ var SpecAfterResult = class _SpecAfterResult {
static getDummyTestAttemptError(attemptState) {
return match4(attemptState).with("failed", () => ({
name: "Error",
message: "[@krivega/cc] Could not get cypress attempt error details",
message: "[@bart/cc] Could not get cypress attempt error details",
stack: "",
codeFrame: null
})).with("skipped", () => ({
@@ -3162,7 +3162,7 @@ async function run(params = {}) {
config,
browser: validatedParams.browser
});
info(`@krivega/cc version: ${dim(_ccVersion)}`);
info(`@bart/cc version: ${dim(_ccVersion)}`);
info(`Cypress version: ${dim(_cypressVersion)}`);
info("Discovered %d spec files", specs.length);
info(