Unverified Commit 157551dc authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix missing TypeScript declaration files in npm package



Add hash: false option to tsdown configuration to ensure .d.ts files
are generated with predictable names (e.g., mod.d.ts instead of
mod-C3OG1oK4.d.ts), making them properly discoverable by the package
exports defined in package.json.

Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent 20855e1b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8,6 +8,9 @@ Version 1.6.14

To be released.

 -  Fixed a bug where TypeScript declaration files (*.d.ts*) were not included
    in the npm package, causing type errors when importing the package.


Version 1.6.13
--------------
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ export default [
      "./x/hono.ts",
      "./x/sveltekit.ts",
    ],
    hash: false,
    dts: true,
    platform: "neutral",
    external: [/^node:/],
@@ -36,6 +37,7 @@ export default [
        )
        .map((f) => f.replace(sep, "/")),
    ],
    hash: false,
    dts: true,
    external: [/^node:/],
    inputOptions: {