diff --git a/packages/cdk-core/package.json b/packages/cdk-core/package.json index ab9db30e..523f236d 100644 --- a/packages/cdk-core/package.json +++ b/packages/cdk-core/package.json @@ -14,7 +14,6 @@ "@nangohq/frontend": "0.33.8", "@types/jsonwebtoken": "9.0.2", "@types/react": "*", - "@usevenice/engine-backend": "workspace:*", "trpc-openapi": "1.2.0" }, "peerDependencies": { diff --git a/packages/cdk-core/verticals/new-mapper.ts b/packages/cdk-core/verticals/new-mapper.ts index 66a3577e..cf50c7c5 100644 --- a/packages/cdk-core/verticals/new-mapper.ts +++ b/packages/cdk-core/verticals/new-mapper.ts @@ -7,12 +7,15 @@ import type { } from '@trpc/server' import {TRPCError} from '@trpc/server' +import {z} from '@usevenice/util' + +// FIXME: This is explicitly bypassing the package system because we have a circular +// dependency here which is not great but .... import type { remoteProcedure, RemoteProcedureContext, trpc, -} from '@usevenice/engine-backend/router/_base' -import {z} from '@usevenice/util' +} from '../../engine-backend/router/_base' export type RouterMap = { [k in keyof TRouter as TRouter[k] extends AnyProcedure