From: Chris Duncan Date: Thu, 17 Jul 2025 15:48:56 +0000 (-0700) Subject: Emit types to new ignored directory. X-Git-Tag: v0.10.5~56^2~14 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=bc9f8c2754a9aad6ac2ed80426cd3582fd73e915;p=libnemo.git Emit types to new ignored directory. --- diff --git a/.gitignore b/.gitignore index 85b739b..4b89421 100644 --- a/.gitignore +++ b/.gitignore @@ -68,6 +68,7 @@ env.* # esbuild build/ dist/ +types/ # IDE .vscode diff --git a/package.json b/package.json index a972b4c..59d5519 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,6 @@ "test:coverage:report": "npm run test:coverage -- --test-reporter=lcov --test-reporter-destination=coverage.info && genhtml coverage.info --output-directory test/coverage && rm coverage.info && xdg-open test/coverage/index.html" }, "imports": { - "#dist/*": "./dist/*", "#src/*": "./src/*", "#types": "./src/types.d.ts", "#workers": "./src/lib/workers/index.js" diff --git a/tsconfig.json b/tsconfig.json index 8cb6067..09e3191 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "moduleResolution": "Bundler", "declaration": true, "emitDeclarationOnly": true, - "declarationDir": "./dist/types", + "declarationDir": "./types", "alwaysStrict": true, "downlevelIteration": false, "esModuleInterop": true,