diff --git a/pkg/npm/api/contacts/types.ts b/pkg/npm/api/contacts/types.ts index dffacec76..09defdda0 100644 --- a/pkg/npm/api/contacts/types.ts +++ b/pkg/npm/api/contacts/types.ts @@ -1,4 +1,4 @@ -import { Path, Patp } from ".."; +import { Path, Patp } from "../lib"; import { Resource } from "../groups"; export type ContactUpdate = diff --git a/pkg/npm/api/graph/types.ts b/pkg/npm/api/graph/types.ts index 6a8972bc4..4118cd167 100644 --- a/pkg/npm/api/graph/types.ts +++ b/pkg/npm/api/graph/types.ts @@ -1,4 +1,4 @@ -import { Patp } from ".."; +import { Patp } from "../lib"; import BigIntOrderedMap from "../lib/BigIntOrderedMap"; import BigIntArrayOrderedMap from "../lib/BigIntArrayOrderedMap"; diff --git a/pkg/npm/api/groups/update.ts b/pkg/npm/api/groups/update.ts index f4747af67..646ba6581 100644 --- a/pkg/npm/api/groups/update.ts +++ b/pkg/npm/api/groups/update.ts @@ -1,4 +1,4 @@ -import { PatpNoSig, Path, Jug, ShipRank, Enc } from '..'; +import { PatpNoSig, Path, Jug, ShipRank, Enc } from '../lib'; import { roleTags } from './index'; export type RoleTags = typeof roleTags[number]; diff --git a/pkg/npm/api/invite/lib.ts b/pkg/npm/api/invite/lib.ts index 7a0852781..a5a5ca94a 100644 --- a/pkg/npm/api/invite/lib.ts +++ b/pkg/npm/api/invite/lib.ts @@ -1,4 +1,4 @@ -import { Poke, Serial } from ".."; +import { Poke, Serial } from "../lib"; import { InviteUpdate, InviteUpdateAccept, InviteUpdateDecline } from "./types"; export const inviteAction = (data: T): Poke => ({ diff --git a/pkg/npm/api/invite/types.ts b/pkg/npm/api/invite/types.ts index de73435c5..b3515bb43 100644 --- a/pkg/npm/api/invite/types.ts +++ b/pkg/npm/api/invite/types.ts @@ -1,4 +1,4 @@ -import { Serial, PatpNoSig, Path } from '..'; +import { Serial, PatpNoSig, Path } from '../lib'; import { Resource } from "../groups"; export type InviteUpdate = diff --git a/pkg/npm/api/tsconfig.json b/pkg/npm/api/tsconfig.json index f6ba7154d..ad058f16c 100644 --- a/pkg/npm/api/tsconfig.json +++ b/pkg/npm/api/tsconfig.json @@ -1,7 +1,6 @@ { - "include": ["*.ts"], - "exclude": ["node_modules", "dist", "@types"], "compilerOptions": { + "baseUrl": ".", "outDir": "./dist", "module": "ES2020", "noImplicitAny": true, @@ -13,7 +12,8 @@ "declaration": true, "sourceMap": true, "strict": false, - "noErrorTruncation": true, - "allowJs": true - } -} \ No newline at end of file + "noErrorTruncation": true + }, + "exclude": ["node_modules", "./dist/**/*", "@types"], + "include": ["./*.ts"] +}