diff --git a/bun.lockb b/bun.lockb index 1d4fb537..15738b64 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/clap/package.json b/packages/clap/package.json index 92447360..47fc4c0d 100644 --- a/packages/clap/package.json +++ b/packages/clap/package.json @@ -9,7 +9,7 @@ "description": "Types and helpers to manipulate .clap files", "scripts": { "build": "bun build ./src/index.ts --outfile=dist/index.js --external=yaml && bun run build:declaration", - "build:declaration": "tsc --emitDeclarationOnly --project tsconfig.types.json", + "build:declaration": "tspc --emitDeclarationOnly --project tsconfig.types.json", "postbuild": "rimraf tsconfig.types.tsbuildinfo && bun run build:declaration", "publish": "npm publish --access public" }, @@ -23,7 +23,9 @@ "yaml": "^2.5.0" }, "dependencies": { - "pure-uuid": "^1.8.1" + "pure-uuid": "^1.8.1", + "ts-patch": "^3.2.1", + "typescript-transform-paths": "^3.4.11" }, "repository": { "type": "git", diff --git a/packages/clap/tsconfig.types.json b/packages/clap/tsconfig.types.json index a6a3f211..be423f92 100644 --- a/packages/clap/tsconfig.types.json +++ b/packages/clap/tsconfig.types.json @@ -6,8 +6,7 @@ "declaration": true, "outDir": "./dist", "rootDir": "./src", + "plugins": [{ "transform": "typescript-transform-paths", "afterDeclarations": true }] }, - "include": [ - "src/**/*.ts" - ] + "include": ["src/**/*.ts"] }