build: pin typescript to ^6.0.3 so eslint can run - #12
Merged
Conversation
typescript-eslint (via @schplitt/eslint-config) does not support TS 7.0 yet, and loading the flat config under TS 7 on Node 26 also triggers a Node ESM loader assertion — together they make `pnpm lint` crash at config-load before reading any file. Pin the catalog to the latest 6.x (6.0.3, same as iso4); `pnpm lint` now runs clean, and build/test/typecheck still pass. Also regenerates a stale `types/iso4` API snapshot (`export type *`, matching the re-export source) that current tsdown emits regardless of TS version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
pnpm lintcurrently crashes at config load, before reading any source file. Two stacked toolchain problems, both from the catalog pinningtypescript ^7.0.2:typescript-eslint(pulled in by@schplitt/eslint-config) does not support TS 7.0 yet — it errors out.ERR_INTERNAL_ASSERTION.Proof it's config-load (not code):
eslint --print-config <file>fails identically.Change
Pin the catalog
typescriptto^6.0.3(latest 6.x — the same version iso4 uses).pnpm lintnow runs and passes.Also regenerates one stale API snapshot (
types/iso4→export type *, matching the re-export source) that current tsdown emits regardless of TS version — unrelated to the pin, just a drift the build corrects.No changeset: TypeScript is a dev-only dependency; no published-package behavior change.
Validation (all under TS 6.0.3)
pnpm lint— exit 0 (was crashing)pnpm buildpnpm typecheckpnpm test:run— durable-isolates 27, durable-workflows 19Note
This is independent of the vocabulary-rename PR (#11). Once this lands, #11 rebases onto main and becomes lint-checkable too.