Repository navigation
chore(deps-dev): upgrade eslint to 10 and typescript to 6 - #28
Merged
Merged
Conversation
Replaces Dependabot's grouped PR (#22), which did not install: it moved typescript to ^7.0.2 while leaving typescript-eslint at ^8.67.0, whose peer range is >=4.8.4 <6.1.0. That is not a grouping mistake — 8.70.0 is the latest typescript-eslint and no release supports TypeScript 7 yet, so 6.0.3 is as far as this can go today. TypeScript 6 surfaced two pre-existing problems in tsconfig.json that would otherwise have shipped broken type declarations: - rootDirs (plural, for virtual source roots) was doing nothing useful. Without an explicit rootDir, TS 6 emits declarations to dist/src/** and produces no dist/index.d.ts at all, so the "types" entry in package.json would point at a missing file. - moduleResolution: node (node10) is deprecated in 6 and stops working in 7. Under bundler resolution TypeScript checks the side-effect SCSS import, hence the ambient declaration in src/scss.d.ts. Also picks up the in-range updates for autoprefixer, globals, rollup, sass and typescript-eslint. Verified: eslint, tsc --noEmit and rollup all clean, and dist/ is byte-identical to the published 0.1.5 tarball. Refs #9, #22 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
TimG1804
added a commit
that referenced
this pull request
Sep 18, 2026
Replaces Dependabot's grouped PR (#22), which did not install: it moved typescript to ^7.0.2 while leaving typescript-eslint at ^8.67.0, whose peer range is >=4.8.4 <6.1.0. That is not a grouping mistake — 8.70.0 is the latest typescript-eslint and no release supports TypeScript 7 yet, so 6.0.3 is as far as this can go today. TypeScript 6 surfaced two pre-existing problems in tsconfig.json that would otherwise have shipped broken type declarations: - rootDirs (plural, for virtual source roots) was doing nothing useful. Without an explicit rootDir, TS 6 emits declarations to dist/src/** and produces no dist/index.d.ts at all, so the "types" entry in package.json would point at a missing file. - moduleResolution: node (node10) is deprecated in 6 and stops working in 7. Under bundler resolution TypeScript checks the side-effect SCSS import, hence the ambient declaration in src/scss.d.ts. Also picks up the in-range updates for autoprefixer, globals, rollup, sass and typescript-eslint. Verified: eslint, tsc --noEmit and rollup all clean, and dist/ is byte-identical to the published 0.1.5 tarball. Refs #9, #22
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.
Supersedes #22, which does not install. That PR moved
typescriptto^7.0.2while leavingtypescript-eslintat^8.67.0, whose peer range is>=4.8.4 <6.1.0, sonpm cifails withERESOLVE.This is not a grouping mistake that can be fixed by regrouping:
8.70.0isthe current
typescript-eslintrelease and no version supports TypeScript 7yet.
6.0.3is as far as this can go today.tsconfig changes
TypeScript 6 surfaced two pre-existing problems that would otherwise have
shipped broken type declarations:
rootDirs→rootDir. The plural form is for virtual source roots andwas doing nothing here. Without an explicit
rootDir, TS 6 emitsdeclarations to
dist/src/**and produces nodist/index.d.tsat all —so
"types": "dist/index.d.ts"would point at a missing file and thepublished package would carry no types.
moduleResolution: node→bundler.node10is deprecated in 6 andstops working in 7. Under bundler resolution TypeScript also checks the
side-effect SCSS import, hence the one-line ambient declaration in
src/scss.d.ts.Also included
In-range updates for
autoprefixer,globals,rollup,sassandtypescript-eslint.Verification
eslint,tsc --noEmitandrollupall run clean, and the builtdist/isbyte-identical to the published
0.1.5tarball — the upgrade changes thetoolchain, not the artifact.
Refs #9