From fe401341af30c1d8b61be9a663be33618de25509 Mon Sep 17 00:00:00 2001 From: jason Date: Sat, 14 Mar 2026 15:28:30 -0500 Subject: [PATCH] js fixes --- shared/src/auth/types.ts | 3 +-- shared/src/index.ts | 12 ++++++------ shared/tsconfig.json | 3 ++- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/shared/src/auth/types.ts b/shared/src/auth/types.ts index e3be583..7b88566 100644 --- a/shared/src/auth/types.ts +++ b/shared/src/auth/types.ts @@ -1,4 +1,4 @@ -import type { PermissionKey } from "./permissions"; +import type { PermissionKey } from "./permissions.js"; export interface AuthUser { id: string; @@ -18,4 +18,3 @@ export interface LoginResponse { token: string; user: AuthUser; } - diff --git a/shared/src/index.ts b/shared/src/index.ts index df4b390..96793ec 100644 --- a/shared/src/index.ts +++ b/shared/src/index.ts @@ -1,6 +1,6 @@ -export * from "./auth/permissions"; -export * from "./auth/types"; -export * from "./common/api"; -export * from "./company/types"; -export * from "./files/types"; -export * from "./gantt/types"; +export * from "./auth/permissions.js"; +export * from "./auth/types.js"; +export * from "./common/api.js"; +export * from "./company/types.js"; +export * from "./files/types.js"; +export * from "./gantt/types.js"; diff --git a/shared/tsconfig.json b/shared/tsconfig.json index 58206ea..b15c9a1 100644 --- a/shared/tsconfig.json +++ b/shared/tsconfig.json @@ -1,6 +1,8 @@ { "extends": "../tsconfig.base.json", "compilerOptions": { + "module": "NodeNext", + "moduleResolution": "NodeNext", "outDir": "dist", "rootDir": "src", "declaration": true @@ -9,4 +11,3 @@ "src" ] } -