Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use import.meta.dirname in vite.config.ts, as __dirname is unsupported by Vite's native config loader. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It was never registered in vite.config.ts; the library build does not need a React transform since TSX is handled by esbuild/oxc natively. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rename the outDir option to outDirs. The emitted declaration file set is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TypeScript 7 is not yet supported by typescript-eslint (<6.1) or ts-jest (<7). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ock to v4 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lugin-react-refresh to v0.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eslint.config.js imports it directly, but it was only available as a transitive dependency of eslint 9. ESLint 10 no longer ships it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The example app's CRA build output was being linted locally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The example resolved its own react-query (5.90) while the linked library resolved the root one (5.104), loading two copies. A QueryClient from one with a QueryObserver from the other fails with "query.isFetched is not a function". Link it like react and react-dom. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vite 8.3.2 (and its rolldown 1.2.12) and globals 17.13.0 were published less than 24h before this update. Stick to releases that have been out for at least a day, in line with pnpm's default minimumReleaseAge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Brings all dev dependencies up to their latest versions, except where blocked upstream (see below). One commit per upgrade so each is easy to review or revert.
Majors
vite.config.tsnow usesimport.meta.dirname(__dirnameis unsupported by Vite's native config loader)outDiroption renamed tooutDirs. Emitted.d.tsfile set is unchanged; verified a consumer typechecks againstdist/with bothnode10andbundlerresolutionPlus all minor/patch updates (react 19.3, @tanstack/react-query 5.104, jest 30.5, typescript-eslint 8.71, prettier 3.9, …).
Other changes
@vitejs/plugin-react— it was never registered invite.config.ts@eslint/js—eslint.config.jsimports it, but it was only present transitively via eslint 9 (eslint 10 drops it)**/build— the example app's local CRA build output was being lintedHeld back
typescript-eslintrequires<6.1,ts-jestrequires<7eslint-plugin-react7.37.5 (latest) crashes on it (context.getFilenameremoved) — tried and reverted.nvmrc); kept on latest 24.xminimumReleaseAge(see #69)Notes
vite-plugin-dts5 doesn't forward itstypescriptpeer tounplugin-dts(yarn peer warning). Harmless with thenode-moduleslinker.example/(CRA / react-scripts 5) is not touched here.Verification
Clean
yarn install --immutable, thenyarn lint,yarn test(94/94) andyarn buildall pass with no warnings.🤖 Generated with Claude Code