From 80064da674900a89d7c17308e48f02aeda74ba98 Mon Sep 17 00:00:00 2001 From: Thomas Winkler Date: Fri, 30 Aug 2024 17:38:55 +0200 Subject: [PATCH] Removed fileadapter import from index.ts. Fixed imports of "cumulocity-cypress". --- src/contrib/ajv.ts | 2 +- src/index.ts | 1 - src/lib/commands/requires.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/contrib/ajv.ts b/src/contrib/ajv.ts index 524d182..d90c061 100644 --- a/src/contrib/ajv.ts +++ b/src/contrib/ajv.ts @@ -3,7 +3,7 @@ import _ from "lodash"; import Ajv, { AnySchemaObject, SchemaObject } from "ajv"; import addFormats from "ajv-formats"; -import { C8ySchemaMatcher } from "cumulocity-cypress"; +import { C8ySchemaMatcher } from "cumulocity-cypress/shared/c8ypact/schema"; import draft06Schema from "ajv/lib/refs/json-schema-draft-06.json"; diff --git a/src/index.ts b/src/index.ts index 5fa28a8..5a838b3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,6 @@ export * from "./lib/pact/runner"; export * from "./lib/pact/fetchclient"; export * from "./lib/pact/cypresspact"; export * from "./shared/auth"; -export * from "./shared/c8ypact/fileadapter"; export * from "./shared/versioning"; export { registerDefaultLocales, registerLocale } from "./lib/locale/locale"; export { diff --git a/src/lib/commands/requires.ts b/src/lib/commands/requires.ts index 4dca42d..990fec7 100644 --- a/src/lib/commands/requires.ts +++ b/src/lib/commands/requires.ts @@ -1,7 +1,7 @@ import { C8yRequireConfigOption, isVersionSatisfyingRequirements, -} from "cumulocity-cypress"; +} from "cumulocity-cypress/shared/versioning"; import * as semver from "semver"; import { getShellVersionFromEnv, getSystemVersionFromEnv } from "../utils";