diff --git a/bun.lockb b/bun.lockb index 18156dd..2428720 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 89b592c..72aa80e 100644 --- a/package.json +++ b/package.json @@ -42,14 +42,17 @@ "@vitest/coverage-v8": "^2.1.1", "copyfiles": "^2.4.1", "del-cli": "^5.1.0", - "effect-errors": "^1.7.11", + "effect-errors": "^1.7.12", "readme-package-icons": "^1.1.15", - "typescript": "^5.6.2", + "ts-patch": "^3.2.1", + "typescript": "5.5.4", + "typescript-transform-paths": "^3.5.1", "vite-tsconfig-paths": "^5.0.1", "vitest": "^2.1.1", "vitest-mock-extended": "^2.0.2" }, "scripts": { + "prepare": "ts-patch install -s", "update-deps": "bunx npm-check-updates --root --format group -i", "copy-package": "copyfiles package.json ./dist/", "copy-readme": "copyfiles README.md ./dist/", diff --git a/tsconfig.cjs.json b/tsconfig.cjs.json index 505e356..2d0828d 100644 --- a/tsconfig.cjs.json +++ b/tsconfig.cjs.json @@ -7,6 +7,10 @@ "./vite.config.mts" ], "compilerOptions": { + "plugins": [ + { "transform": "typescript-transform-paths" }, + { "transform": "typescript-transform-paths", "afterDeclarations": true } + ], "module": "CommonJS", "moduleResolution": "Node", "outDir": "dist/cjs", diff --git a/tsconfig.esm.json b/tsconfig.esm.json index f599545..1ae5a5b 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -7,6 +7,10 @@ "./vite.config.mts" ], "compilerOptions": { + "plugins": [ + { "transform": "typescript-transform-paths" }, + { "transform": "typescript-transform-paths", "afterDeclarations": true } + ], "module": "NodeNext", "moduleResolution": "NodeNext", "outDir": "dist/esm",