From 66b0dea4aaef90b79f235b0d6896cc27c23cff51 Mon Sep 17 00:00:00 2001 From: Matt Fulp <8397318+fulpm@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:44:17 -0400 Subject: [PATCH] remove path alias --- codegen/templates/client/trainee.njk | 6 +++--- src/client/base.ts | 2 +- src/client/trainee.ts | 6 +++--- src/client/worker/client.ts | 4 ++-- tsconfig.base.json | 5 +---- 5 files changed, 10 insertions(+), 13 deletions(-) diff --git a/codegen/templates/client/trainee.njk b/codegen/templates/client/trainee.njk index ee19162..a31631a 100644 --- a/codegen/templates/client/trainee.njk +++ b/codegen/templates/client/trainee.njk @@ -1,9 +1,9 @@ /** * NOTE: This file is auto generated, do not modify manually. */ -import type { Session, Trainee } from "@/types"; -import type * as schemas from "@/types/schemas"; -import type * as shims from "@/types/shims"; +import type { Session, Trainee } from "../types"; +import type * as schemas from "../types/schemas"; +import type * as shims from "../types/shims"; import { AbstractHowsoClient } from "./base"; export interface LabelResponse { diff --git a/src/client/base.ts b/src/client/base.ts index 773c45d..e46dc5d 100644 --- a/src/client/base.ts +++ b/src/client/base.ts @@ -1,4 +1,4 @@ -import type { FeatureAttributesIndex, Trainee } from "@/types"; +import type { FeatureAttributesIndex, Trainee } from "../types"; import { DEFAULT_ERROR_MESSAGE, HowsoError, HowsoValidationError } from "./errors"; import type { CacheMap } from "./utilities/cache"; diff --git a/src/client/trainee.ts b/src/client/trainee.ts index e283446..b2a41a5 100644 --- a/src/client/trainee.ts +++ b/src/client/trainee.ts @@ -1,9 +1,9 @@ /** * NOTE: This file is auto generated, do not modify manually. */ -import type { Session, Trainee } from "@/types"; -import type * as schemas from "@/types/schemas"; -import type * as shims from "@/types/shims"; +import type { Session, Trainee } from "../types"; +import type * as schemas from "../types/schemas"; +import type * as shims from "../types/shims"; import { AbstractHowsoClient } from "./base"; export interface LabelResponse { diff --git a/src/client/worker/client.ts b/src/client/worker/client.ts index 0e48d12..90afb0d 100644 --- a/src/client/worker/client.ts +++ b/src/client/worker/client.ts @@ -1,5 +1,3 @@ -import type { FeatureAttributesIndex, Session, Trainee, TrainResponse } from "@/types"; -import type * as schemas from "@/types/schemas"; import { AmalgamError, type AmalgamCommand, @@ -8,6 +6,8 @@ import { type AmalgamResponseBody, } from "@howso/amalgam-lang"; import { v4 as uuid } from "uuid"; +import type { FeatureAttributesIndex, Session, Trainee, TrainResponse } from "../../types"; +import type * as schemas from "../../types/schemas"; import { ClientCache, ExecuteResponse } from "../base"; import { HowsoError, RequiredError } from "../errors"; import { TraineeClient } from "../trainee"; diff --git a/tsconfig.base.json b/tsconfig.base.json index 91a554f..42dc279 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -14,10 +14,7 @@ "skipLibCheck": true, "strict": true, "target": "ESNext", - "useDefineForClassFields": true, - "paths": { - "@/*": ["./src/*"] - } + "useDefineForClassFields": true }, "references": [{ "path": "./tsconfig.node.json" }] }