mirror of
https://github.com/TanStack/table.git
synced 2026-11-16 18:57:04 +00:00
* build: Upgrade dependencies within the release-age window Upgrade every workspace dependency except TypeScript to the newest release that meets minimumReleaseAge, and migrate the code that the upgrades break: Babel 8 options in Ember configs, the Vitest 5 bench API, angular-pacer injectDebouncer, and Hotkeys adapters in the cell-selection and spreadsheet examples. * build: Address review findings on the dependency upgrade Document the semver traps for octane, pacer devtools, and preact-form, drop Babel options that Babel 8 ignores, raise Node engines to Babel 8's minimum, take eslint-plugin-ember 13.10.1, and dedupe the lockfile.
2.4 KiB
2.4 KiB
Agent Instructions
Before analyzing or changing this repository, read and follow
CONTRIBUTING.md. Its contribution, development, testing,
pull request, and changeset requirements apply to AI-assisted work as well as
human-authored work.
Keep every change focused on one topic. Understand and verify all generated code, run the required checks, and provide a concise pull request description that follows the repository template.
Packages that cannot be upgraded yet
Leave these pins alone during routine dependency bumps. They are either
intentionally deferred or need a manual version choice that ncu gets wrong.
- TypeScript — keep
6.0.3. Do not bump it as part of a general upgrade. - Highest semver is not the real latest.
ncucan pick a version that outranks the package'slatestdist-tag. Checknpm view <name> dist-tagsand take the newest release on thelatestline that meetsminimumReleaseAge:octane:1.0.3is an unrelated 2015 release. Use the 0.x line. Octane peers on an exact@tsrx/oxcversion, so set@tsrx/oxcto that exact version even whenncuoffers a newer one.@tanstack/react-pacer-devtoolsand@tanstack/solid-pacer-devtools:0.14.0is an old release that lacks thepacerDevtoolsPluginexport the Form and Router examples use.@tanstack/preact-form:1.33.xsits abovelatestand removescreateFormHookContextsandwithForm, which the Preact Form example uses.
- Babel 8 peer warnings —
@rollup/plugin-babeland some transitive Babel 7 plugins still declare@babel/core@^7peers. The Ember toolchain (@nullvoxpopuli/ember-vite) supports Babel 8, and Ember builds and tests pass on it, so thesepnpm peers checkwarnings are expected. Do not pin Babel back to 7 because of them. @tanstack/intent— keep0.4.0. The 0.5 checker compiles TS and JS fences without framework TypeScript configuration or surrounding context. It rejects valid Preact and Lit examples, class-member excerpts, and deliberately wrong examples. 0.5.6 still reports 64 such errors. 0.5 can skip a fence with ano-checkfence property or expect one withexpect-error, but the repository's snippet checker only accepts barets/tsxfences after askill-snippet:checkmarker. Keep the repository's content and annotated-snippet checks enabled while this migration is deferred.