From cf231c35b895e1b27622bf31f396d4162d0ac683 Mon Sep 17 00:00:00 2001 From: Mathis Pinsault Date: Thu, 20 Aug 2026 16:19:44 +0200 Subject: [PATCH] release 0.10.1 --- .changeset/erase-type-imports.md | 7 ------- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 .changeset/erase-type-imports.md diff --git a/.changeset/erase-type-imports.md b/.changeset/erase-type-imports.md deleted file mode 100644 index 1d9d00d..0000000 --- a/.changeset/erase-type-imports.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@maastrich/hashup": patch ---- - -Erase type-only imports in `.ts` / `.mts` / `.cts` files before import extraction. Previously only `.tsx` / `.jsx` went through esbuild, so `import type { X } from "pkg/types"` in a plain `.ts` file was walked like a value import — and, when the specifier had no runtime module (a types-only package export), counted as unresolved. All TypeScript now goes through esbuild with `verbatimModuleSyntax` semantics: `import type` / `export type` / `import { type X }` vanish, every value import (unused or side-effect) is kept. - -Hashes of entries whose `.ts` graph contained type-only edges to real files change, since those files no longer contribute. diff --git a/CHANGELOG.md b/CHANGELOG.md index 37e44b1..ecc05c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # @maastrich/hashup +## 0.10.1 + +### Patch Changes + +- 2adf97b: Erase type-only imports in `.ts` / `.mts` / `.cts` files before import extraction. Previously only `.tsx` / `.jsx` went through esbuild, so `import type { X } from "pkg/types"` in a plain `.ts` file was walked like a value import — and, when the specifier had no runtime module (a types-only package export), counted as unresolved. All TypeScript now goes through esbuild with `verbatimModuleSyntax` semantics: `import type` / `export type` / `import { type X }` vanish, every value import (unused or side-effect) is kept. + + Hashes of entries whose `.ts` graph contained type-only edges to real files change, since those files no longer contribute. + ## 0.10.0 ### Minor Changes diff --git a/package.json b/package.json index 475e015..900a310 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@maastrich/hashup", - "version": "0.10.0", + "version": "0.10.1", "private": false, "description": "Resolves every import and produces a fully deterministic hash for any entry file.", "keywords": [