Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/erase-type-imports.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
Loading