Skip to content

fix(list): monorepo output — one row per package, priority tiers, names never truncated - #34

Merged
lucasbraum merged 3 commits into
mainfrom
fix/list-monorepo
Oct 6, 2026
Merged

lucasbraum merged 3 commits into
mainfrom
fix/list-monorepo

Conversation

@lucasbraum

Copy link
Copy Markdown
Collaborator

Monorepo fixes for list, found on supabase/supabase at 53a637a (pnpm, 28 workspaces). Supabase is a public repo, so its real output is pasted below. Builds on #33.

What changed

1. Names are never truncated. The name column fits the longest name, up to 45 characters. A longer name gets its own line, and the row continues under it. On a narrow terminal, trailing columns are dropped instead of names being cut, and the same rule applies to check, which shares the table code. The HTML report never truncated names. Group headings always keep their target and move the command to the next line when the line is too long. On supabase, @tanstack/* previously lost both its target and its command.

2. One row per package. When workspaces are on different versions, the package still gets one row: ai 5.0.52, 7.0.59 → 7.0.128 … 2 versions in 2 workspaces. Usage is counted once across the repo.

  • Where the note goes: the spread note is the last column. If the terminal is too narrow for it, it goes on a dim line under the row so it is never lost.
  • More than two versions: the cell shows the oldest and the newest (1.6.0 … 4.2.0 → 4.5.0), and the note gives the count.
  • JSON: each package gains versions: [{ version, workspaces }]. current is the oldest outdated version, and change, majorGap and tier describe it. plan still has one row per installed version, so saved check results keep matching.
  • New signal, version drift: the same package on different majors across workspaces. It ranks below unsupported and above blocking, because aligning the workspaces is a cheap consolidation win. On supabase it flags next (15.x and 16.x across 7 workspaces), @next/*, libpg-query and @ai-sdk/openai.
  • Signals on a merged row: a security signal covers the advisories of any installed version, and its fix is the first clean version above all of them. A deprecation is shown when any outdated version is deprecated.

3. major ×2 → 2 majors behind in list and check, in the terminal and HTML. JSON keeps the numeric majorGap.

4. Compilers and bundlers are tooling. typescript, @swc/core, esbuild, @babel/core, vite and webpack count as tooling even when a script imports them. A major on one of them shows under TOOLING even while the section is collapsed:

TOOLING  53 packages, used by scripts and config · --all
  typescript     6.0.2 → 7.0.2
    compiler major: check build and tsconfig

For vite and webpack the reason reads bundler major: check build config.

5. PRIORITIES has two tiers.

  • Urgent: advisories and deprecations. Shows a count, then up to five rows.
  • Worth planning: unsupported, drift, blocking and majors behind. Collapsed to its count until --all.

JSON gets priorities[].tier. The HTML report shows Urgent open and Worth planning in a collapsed <details>.

6. Corpus. The repo had no corpus list, so this PR adds fixtures/corpus.json. It lists public repos at pinned commits: supabase at 53a637a359ece4777e699292b3bb83421f1d63ad for list, and documenso at 80823ed for check pino (from #31).

Not requested, fixed along the way:

  • A family group whose majors all collapse to the same label printed → @supabase/* 2 · @supabase/* 0. It now prints the majors alone, → 2.x · 0.x, as it also does when the per-package label would run past 64 characters.
  • check's major ×9 also reads 9 majors behind, for consistency with list.

supabase/supabase, before → after (COLUMNS=120)

PRIORITIES:

PRIORITIES  most urgent first · advisories checked for 377 packages
  simple-git        dev · 3 advisories (1 critical), needs 4.0.1 (major)
    npx uptide check simple-git --target [email protected]
  smol-toml         1 advisory (1 moderate), fixed in 1.9.0 (minor, same major)
    npx uptide check smol-toml --target [email protected]
  katex             1 advisory (1 low), fixed in 0.18.2 (minor, same major)
    npx uptide check katex --target [email protected]
  jsrsasign         deprecated: This package is no longer maintained.
    npx uptide check jsrsasign
  lucide-vue-next   deprecated: Package deprecated. Please use @lucide/vue instead.
    npx uptide check lucide-vue-next
  + 79 more · --all
PRIORITIES  most urgent first · advisories checked for 377 packages
  Urgent  10 · advisories, deprecations
    simple-git        dev · 3 advisories (1 critical), needs 4.0.1 (major)
      npx uptide check simple-git --target [email protected]
    smol-toml         1 advisory (1 moderate), fixed in 1.9.0 (minor, same major)
      npx uptide check smol-toml --target [email protected]
    katex             1 advisory (1 low), fixed in 0.18.2 (minor, same major)
      npx uptide check katex --target [email protected]
    jsrsasign         deprecated: This package is no longer maintained.
      npx uptide check jsrsasign
    lucide-vue-next   deprecated: Package deprecated. Please use @lucide/vue instead.
      npx uptide check lucide-vue-next
    + 5 more · --all
  Worth planning  73 · unsupported, drift, blocking, majors behind · --all

A group: every installed version was a row, and every name was truncated to 12 characters:

ai + @ai-sd…   7 packages   → ai 7 · @ai-sdk/amazon-bedrock 5 · @ai-sdk/* 4 · @ai-sdk/mcp 2
  @ai-sdk/ama…         5.0.55 → 5.0.106   patch      1 file       1 call
  @ai-sdk/mcp          2.0.31 → 2.0.67    patch      1 file       1 call
  @ai-sdk/ope…          2.0.2 → 4.0.84    major ×2   2 files      1 call        3 refs
  @ai-sdk/ope…         4.0.41 → 4.0.84    patch      2 files      1 call        3 refs
  @ai-sdk/rea…         4.0.62 → 4.0.131   patch      8 files      2 calls       20 refs
  ai                   5.0.52 → 7.0.128   major ×2   53 files     75 calls      185 refs
  ai                   7.0.59 → 7.0.128   patch      53 files     75 calls      185 refs
@tanstack/*    8 packages
ai + @ai-sdk/*   5 packages   → ai 7 · @ai-sdk/amazon-bedrock 5 · @ai-sdk/* 4 · @ai-sdk/mcp 2
    npx uptide check --group ai
  @ai-sdk/amazon-bedrock                            5.0.55 → 5.0.106   patch             1 file       1 call
  @ai-sdk/mcp                                       2.0.31 → 2.0.67    patch             1 file       1 call
  @ai-sdk/openai                             2.0.2, 4.0.41 → 4.0.84    2 majors behind   2 files      1 call
    2 versions in 2 workspaces
  @ai-sdk/react                                     4.0.62 → 4.0.131   patch             8 files      2 calls
  ai                                        5.0.52, 7.0.59 → 7.0.128   2 majors behind   53 files     75 calls
    2 versions in 2 workspaces
@tanstack/*    8 packages   → 9.x · 5.x · 3.x · 1.x · 0.x   npx uptide check --group tanstack

Packages: next, lucide-react, openai and shiki each had several rows:

PACKAGES
  next                15.5.25 → 16.3.8    major      1305 files   2279 calls    825 refs
  lucide-react        0.436.0 → 1.52.0    major      1276 files   3165 calls    667 refs
  lucide-react        0.511.0 → 1.52.0    major      1276 files   3165 calls    667 refs
...
  openai              4.104.0 → 7.28.0    major ×3   14 files     8 calls       22 refs
  openai                5.9.0 → 7.28.0    major ×2   14 files     8 calls       22 refs
  shiki                 1.6.0 → 4.5.0     major ×3   13 files     11 calls      28 refs
  shiki                3.13.0 → 4.5.0     major      13 files     11 calls      28 refs
PACKAGES
  next                                     15.5.25, 16.3.6 → 16.3.8    major             1305 files   2279 calls
    2 versions in 7 workspaces
  lucide-react                            0.436.0, 0.511.0 → 1.52.0    major             1276 files   3165 calls
    2 versions in 11 workspaces
  sonner                                             1.5.0 → 2.0.8     major             755 files    1436 calls
...
  openai                                    4.104.0, 5.9.0 → 7.28.0    3 majors behind   14 files     8 calls
    2 versions in 6 workspaces
  shiki                                      1.6.0 … 4.2.0 → 4.5.0     3 majors behind   13 files     11 calls
    4 versions in 6 workspaces

Totals: 296 → 272 outdated rows (24 duplicate rows merged), 122 → 116 major.

Full output, before
uptide list · supabase · pnpm · 12s

296 outdated   122 major   111 minor   63 patch   15 groups   55 tooling

PRIORITIES  most urgent first · advisories checked for 377 packages
  simple-git        dev · 3 advisories (1 critical), needs 4.0.1 (major)
    npx uptide check simple-git --target [email protected]
  smol-toml         1 advisory (1 moderate), fixed in 1.9.0 (minor, same major)
    npx uptide check smol-toml --target [email protected]
  katex             1 advisory (1 low), fixed in 0.18.2 (minor, same major)
    npx uptide check katex --target [email protected]
  jsrsasign         deprecated: This package is no longer maintained.
    npx uptide check jsrsasign
  lucide-vue-next   deprecated: Package deprecated. Please use @lucide/vue instead.
    npx uptide check lucide-vue-next
  + 79 more · --all

GROUPS  upgrade together
@sentry/*      3 packages   → 11.x   npx uptide check --group sentry
  @sentry/nex…        10.59.0 → 11.4.0    major      59 files     91 calls      36 refs
  @sentry/rea…        10.59.0 → 11.4.0    major      5 files      8 calls       50 refs
  @sentry/tan…        10.59.0 → 11.4.0    major      3 files      2 calls       2 refs
ai + @ai-sd…   7 packages   → ai 7 · @ai-sdk/amazon-bedrock 5 · @ai-sdk/* 4 · @ai-sdk/mcp 2
  @ai-sdk/ama…         5.0.55 → 5.0.106   patch      1 file       1 call
  @ai-sdk/mcp          2.0.31 → 2.0.67    patch      1 file       1 call
  @ai-sdk/ope…          2.0.2 → 4.0.84    major ×2   2 files      1 call        3 refs
  @ai-sdk/ope…         4.0.41 → 4.0.84    patch      2 files      1 call        3 refs
  @ai-sdk/rea…         4.0.62 → 4.0.131   patch      8 files      2 calls       20 refs
  ai                   5.0.52 → 7.0.128   major ×2   53 files     75 calls      185 refs
  ai                   7.0.59 → 7.0.128   patch      53 files     75 calls      185 refs
@tanstack/*    8 packages
  @tanstack/d…          0.6.1 → 0.8.5     minor      0 files
    referenced by configuration
  @tanstack/r…         0.10.7 → 0.10.13   patch      1 file       1 call
  @tanstack/r…         0.10.0 → 0.13.0    minor      10 files     5 calls       12 refs
  @tanstack/r…         5.83.0 → 5.104.1   minor      793 files    1106 calls    148 refs
  @tanstack/r…         5.90.2 → 5.104.1   minor      2 files      2 calls
  @tanstack/r…        1.167.0 → 1.167.2   patch      1 file       1 call
  @tanstack/r…         8.21.3 → 9.2.6     major      27 files     39 calls      62 refs
  @tanstack/r…         3.14.3 → 3.14.13   patch      3 files      3 calls       4 refs
react-router + @react-router/*   7 packages   → 8.x   npx uptide check --group react-router
  @react-rout…         7.18.4 → 8.4.0     major      3 files      3 calls
  @react-rout…         7.18.4 → 8.4.0     major      0 files
    required by @react-router/dev
    required by @react-router/serve
  react-router         7.18.2 → 8.4.0     major      18 files     50 calls      11 refs
  @react-rout…         7.18.4 → 8.4.0     major      peer of @react-router/fs-routes
  @react-rout…         7.18.4 → 8.4.0     major      peer of @react-router/dev
    used by package scripts
  react                19.2.6 → 19.3.0    minor      peer of react-dom, react-router
  react-dom            19.2.6 → 19.3.0    minor      peer of react-router
@stripe/*      2 packages   → @stripe/stripe-js 10 · @stripe/react-stripe-js 7   npx uptide check --group stripe
  @stripe/rea…          6.1.0 → 7.0.0     major      9 files      13 calls
  @stripe/str…          9.1.0 → 10.0.0    major      12 files     6 calls       28 refs
@octokit/*     7 packages
  @octokit/au…          7.1.5 → 8.3.1     major      5 files                    6 refs
  @octokit/co…          6.1.4 → 7.0.8     major      8 files      8 calls
  @octokit/co…          7.0.6 → 7.0.8     patch      8 files      8 calls
  @octokit/gr…          8.2.1 → 9.0.5     major      0 files
    required by @octokit/core
  @octokit/pl…          4.0.0 → 6.0.0     major ×2   1 file                     1 ref
  @octokit/pl…          8.1.0 → 8.1.1     patch      2 files                    2 refs
  @octokit/re…         21.1.1 → 22.0.1    major      0 files
    no static imports, script/bin usage, configuration references, stylesheet imports or HTML assets found
@vercel/*      2 packages   → @vercel/functions 3 · @vercel/config 0   npx uptide check --group vercel
  @vercel/con…          0.2.1 → 0.10.0    minor      1 file       6 calls       6 refs
  @vercel/fun…          2.1.0 → 3.9.11    major      2 files      3 calls
@graphql-code…   3 packages   → @graphql-codegen/cli 7 · @graphql-codegen/* 6   npx uptide check --group graphql-codegen
  @graphql-co…          5.0.5 → 7.4.4     major ×2   2 files                    2 refs
  @graphql-co…          4.1.6 → 6.1.1     major ×2   0 files
    no static imports, script/bin usage, configuration references, stylesheet imports or HTML assets found
  @graphql-co…          4.5.0 → 6.1.0     major ×2   0 files
    no static imports, script/bin usage, configuration references, stylesheet imports or HTML assets found
vitest + @vitest/*   3 packages   → 5.x   npx uptide check --group vitest
  vitest                5.0.0 → 5.0.3     patch      865 files    30112 calls   49 refs
  @vitest/cov…          5.0.0 → 5.0.3     patch      peer of vitest
  @vitest/ui            5.0.0 → 5.0.3     patch      peer of vitest
@supabase/*    8 packages   → @supabase/* 2 · @supabase/* 0   npx uptide check --group supabase
  @supabase/a…        2.116.0 → 2.117.2   minor      18 files     5 calls       25 refs
  @supabase/c…          0.9.0 → 0.11.1    minor      3 files      5 calls       6 refs
  @supabase/m…         0.12.0 → 0.13.0    minor      4 files      2 calls       13 refs
  @supabase/p…        2.116.0 → 2.117.2   minor      2 files                    4 refs
  @supabase/r…        2.116.0 → 2.117.2   minor      1 file       1 call        2 refs
  @supabase/s…         0.1.96 → 0.1.97    patch      303 files                  516 refs
  @supabase/s…          0.1.6 → 0.1.8     patch      4 files      7 calls       16 refs
  @supabase/s…        2.116.0 → 2.117.2   minor      152 files    69 calls      189 refs
@testing-li…   2 packages   → @testing-library/user-event 14 · @testing-library/dom 10
  @testing-li…         10.4.1 → 10.4.2    patch      9 files      59 calls
  @testing-li…         14.6.1 → 14.6.7    patch      116 files    570 calls     3 refs
radix-ui       2 packages   → 1.x   npx uptide check --group radix-ui
  @radix-ui/r…          1.1.1 → 1.1.5     patch      1 file       1 call
  radix-ui              1.4.3 → 1.7.0     minor      68 files     214 calls     419 refs
lexical + @lexical/*   8 packages   → 0.x   npx uptide check --group lexical
  @lexical/co…         0.51.0 → 0.52.0    minor      1 file                     1 ref
  @lexical/he…         0.51.0 → 0.52.0    minor      1 file       1 call
  @lexical/li…         0.51.0 → 0.52.0    minor      1 file                     1 ref
  @lexical/li…         0.51.0 → 0.52.0    minor      1 file                     2 refs
  @lexical/ma…         0.51.0 → 0.52.0    minor      3 files      7 calls       1 ref
  @lexical/re…         0.51.0 → 0.52.0    minor      1 file       11 calls      1 ref
  @lexical/ri…         0.51.0 → 0.52.0    minor      1 file                     2 refs
  lexical              0.51.0 → 0.52.0    minor      3 files                    4 refs
@modelconte…   2 packages   → @modelcontextprotocol/server 2 · @modelcontextprotocol/sdk 1
  @modelconte…         1.29.0 → 1.32.1    minor      2 files      2 calls
  @modelconte…          2.0.0 → 2.3.1     minor      2 files      4 calls
@graphiql/*    3 packages   → 0.x   npx uptide check --group graphiql
  @graphiql/r…         0.37.3 → 0.39.1    minor      1 file       1 call        2 refs
  @graphiql/t…         0.11.3 → 0.12.1    minor      2 files      2 calls       1 ref
  @graphiql/t…          0.9.1 → 0.12.1    minor      2 files      2 calls       1 ref

PACKAGES
  next                15.5.25 → 16.3.8    major      1305 files   2279 calls    825 refs
  lucide-react        0.436.0 → 1.52.0    major      1276 files   3165 calls    667 refs
  lucide-react        0.511.0 → 1.52.0    major      1276 files   3165 calls    667 refs
  sonner                1.5.0 → 2.0.8     major      755 files    1436 calls    45 refs
  zod                 3.25.76 → 4.6.5     major      325 files    3246 calls    665 refs   verified
  @hookform/r…          3.3.1 → 5.9.1     major ×2   180 files    192 calls
  framer-moti…        11.18.2 → 14.0.0    major ×3   166 files    518 calls     25 refs
  nuqs                 1.19.1 → 2.10.1    major      155 files    477 calls     112 refs
  msw                  2.11.3 → 3.0.2     major      113 files    569 calls     10 refs
  next-seo              6.5.0 → 7.3.0     major      66 files     66 calls
  recharts             2.15.4 → 3.10.1    major      36 files     182 calls     31 refs
  @heroicons/…          1.0.6 → 2.2.0     major      31 files     35 calls      13 refs
  date-fns             2.30.0 → 4.4.0     major ×2   22 files     64 calls
  swiper               12.1.2 → 14.3.0    major ×2   21 files     39 calls      14 refs
  mdast-util-…          1.3.1 → 2.1.0     major      19 files     35 calls
  unist-util-…          4.1.2 → 5.1.0     major      18 files     22 calls      3 refs
  mdast-util-…          2.0.1 → 3.0.0     major      17 files     59 calls      6 refs
  mdast-util-…          1.5.0 → 2.2.0     major      17 files     44 calls
  @dnd-kit/so…          8.0.0 → 10.0.0    major ×2   17 files     27 calls      19 refs
  graphql             16.11.0 → 17.0.2    major      16 files     68 calls      85 refs
  next-mdx-re…          1.1.7 → 2.1.12    major      14 files     11 calls      6 refs
  openai              4.104.0 → 7.28.0    major ×3   14 files     8 calls       22 refs
  openai                5.9.0 → 7.28.0    major ×2   14 files     8 calls       22 refs
  shiki                 1.6.0 → 4.5.0     major ×3   13 files     11 calls      28 refs
  shiki                3.13.0 → 4.5.0     major      13 files     11 calls      28 refs
  react-inter…          9.8.2 → 11.0.1    major ×2   12 files     12 calls
  @hcaptcha/r…         1.12.0 → 2.2.0     major      12 files     11 calls      13 refs
  next-router…         0.9.13 → 1.0.5     major      11 files     16 calls      13 refs
  micromark-e…          1.0.1 → 3.0.0     major ×2   10 files     22 calls
  mdast-util-…          2.0.2 → 3.1.0     major      10 files     18 calls
  js-yaml              3.15.2 → 5.4.3     major ×2   9 files      9 calls       1 ref
  micromark-e…          2.0.3 → 3.0.0     major      8 files      9 calls
  react-error…         4.0.13 → 6.1.6     major ×2   7 files      7 calls       1 ref
  mdast-util-…          2.1.4 → 3.2.0     major      7 files                    36 refs
  jotai                 2.8.1 → 3.0.1     major      6 files      9 calls
  remark               14.0.3 → 15.0.1    major      6 files      7 calls
  h3                  1.15.11 → 2.0.1     major      5 files      19 calls      2 refs
  libpg-query          15.2.0 → 18.1.5    major ×3   5 files      14 calls      36 refs
  libpg-query          17.6.0 → 18.1.5    major      5 files      14 calls      36 refs
  dotenv               16.3.1 → 18.0.5    major ×2   5 files      5 calls
  dotenv               16.5.0 → 18.0.5    major ×2   5 files      5 calls
  react-day-p…         9.11.1 → 10.0.2    major      5 files      1 call        5 refs
  globby               13.2.2 → 16.2.4    major ×3   4 files      6 calls
  ejs                  3.1.10 → 7.0.1     major ×4   4 files      5 calls
  unist-util-…          5.1.3 → 6.0.2     major      4 files      4 calls       1 ref
  react-synta…         15.6.6 → 16.1.1    major      3 files      31 calls      28 refs
  react-simpl…   4.0.0-beta.6 → 5.0.5     major      3 files      18 calls
  unist-build…          3.0.0 → 4.0.0     major      3 files      7 calls       2 refs
  unist-build…          3.0.1 → 4.0.0     major      3 files      7 calls       2 refs
  @dagrejs/da…          1.0.4 → 3.1.1     major ×2   3 files      6 calls
  cronstrue            2.50.0 → 3.29.0    major      3 files      4 calls
  mdast-util-…          3.2.0 → 4.0.0     major      3 files      4 calls
  typed.js             2.0.16 → 3.0.0     major      3 files      3 calls       2 refs
  @vueuse/core         14.1.0 → 15.0.0    major      2 files      2 calls
  eslint               9.37.0 → 10.12.0   major      2 files      2 calls       2 refs
  graphiql              4.0.2 → 5.4.0     major      2 files      2 calls       3 refs
  mdast-util-…          6.1.1 → 7.1.0     major      2 files      2 calls
  use-debounce          7.0.1 → 10.1.1    major ×3   2 files      2 calls
  rehype-slug           5.1.0 → 6.0.0     major      2 files                    2 refs
  streamdown            1.3.0 → 2.7.0     major      2 files                    3 refs
  rimraf                4.4.1 → 6.1.3     major ×2   1 file       3 calls
  chalk                 5.3.0 → 6.0.1     major      1 file       2 calls
  mermaid             11.17.2 → 12.1.0    major      1 file       2 calls
  @vercel/og            0.6.2 → 1.0.3     major      1 file       1 call
  chokidar              4.0.3 → 5.0.0     major      1 file       1 call
  cobe                  0.6.5 → 2.0.1     major ×2   1 file       1 call
  cron-parser           4.9.0 → 5.10.1    major      1 file       1 call
  hast-util-h…          2.0.1 → 3.0.0     major      1 file       1 call
  mdast-util-…         12.3.0 → 13.2.1    major      1 file       1 call
  react-dropz…         14.3.8 → 20.1.2    major ×6   1 file       1 call        2 refs
  react-grid-…          1.4.2 → 2.3.0     major      1 file       1 call        4 refs
  simple-git           3.36.0 → 4.0.2     major      1 file       1 call        2 refs
  ts-morph             22.0.0 → 28.0.0    major ×6   1 file       1 call        9 refs
  typescript            6.0.2 → 7.0.2     major      1 file       1 call
  react-resiz…          3.0.5 → 4.0.2     major      1 file
  remark-emoji          3.1.2 → 5.0.2     major ×2   1 file                     1 ref
  vue-router            4.5.1 → 5.3.1     major      1 file                     1 ref
  + 88 minor/patch · --all

TOOLING  55 packages, used by scripts and config · --all

POSSIBLY UNUSED  9 packages, no usage found by Uptide's scan; verify before removing · --all

17 packages not checked: non-registry source (workspace) · --all

Usage is a syntax scan, no type analysis.
Generic analysis is the default; verified means a migration pack is available.
Next  npx uptide check simple-git --target [email protected]
Full output, after
uptide list · supabase · pnpm · 10s

272 outdated   116 major   99 minor   57 patch   15 groups   53 tooling

PRIORITIES  most urgent first · advisories checked for 377 packages
  Urgent  10 · advisories, deprecations
    simple-git        dev · 3 advisories (1 critical), needs 4.0.1 (major)
      npx uptide check simple-git --target [email protected]
    smol-toml         1 advisory (1 moderate), fixed in 1.9.0 (minor, same major)
      npx uptide check smol-toml --target [email protected]
    katex             1 advisory (1 low), fixed in 0.18.2 (minor, same major)
      npx uptide check katex --target [email protected]
    jsrsasign         deprecated: This package is no longer maintained.
      npx uptide check jsrsasign
    lucide-vue-next   deprecated: Package deprecated. Please use @lucide/vue instead.
      npx uptide check lucide-vue-next
    + 5 more · --all
  Worth planning  73 · unsupported, drift, blocking, majors behind · --all

GROUPS  upgrade together
@sentry/*      3 packages   → 11.x   npx uptide check --group sentry
  @sentry/nextjs                                   10.59.0 → 11.4.0    major             59 files     91 calls
  @sentry/react                                    10.59.0 → 11.4.0    major             5 files      8 calls
  @sentry/tanstackstart-react                      10.59.0 → 11.4.0    major             3 files      2 calls
ai + @ai-sdk/*   5 packages   → ai 7 · @ai-sdk/amazon-bedrock 5 · @ai-sdk/* 4 · @ai-sdk/mcp 2
    npx uptide check --group ai
  @ai-sdk/amazon-bedrock                            5.0.55 → 5.0.106   patch             1 file       1 call
  @ai-sdk/mcp                                       2.0.31 → 2.0.67    patch             1 file       1 call
  @ai-sdk/openai                             2.0.2, 4.0.41 → 4.0.84    2 majors behind   2 files      1 call
    2 versions in 2 workspaces
  @ai-sdk/react                                     4.0.62 → 4.0.131   patch             8 files      2 calls
  ai                                        5.0.52, 7.0.59 → 7.0.128   2 majors behind   53 files     75 calls
    2 versions in 2 workspaces
@tanstack/*    8 packages   → 9.x · 5.x · 3.x · 1.x · 0.x   npx uptide check --group tanstack
  @tanstack/devtools-vite                            0.6.1 → 0.8.5     minor             0 files
    referenced by configuration
  @tanstack/react-devtools                          0.10.7 → 0.10.13   patch             1 file       1 call
  @tanstack/react-hotkeys                           0.10.0 → 0.13.0    minor             10 files     5 calls
  @tanstack/react-query                             5.83.0 → 5.104.1   minor             793 files    1106 calls
  @tanstack/react-query-devtools                    5.90.2 → 5.104.1   minor             2 files      2 calls
  @tanstack/react-router-devtools                  1.167.0 → 1.167.2   patch             1 file       1 call
  @tanstack/react-table                             8.21.3 → 9.2.6     major             27 files     39 calls
  @tanstack/react-virtual                           3.14.3 → 3.14.13   patch             3 files      3 calls
react-router + @react-router/*   7 packages   → 8.x   npx uptide check --group react-router
  @react-router/fs-routes                           7.18.4 → 8.4.0     major             3 files      3 calls
  @react-router/node                                7.18.4 → 8.4.0     major             0 files
    required by @react-router/dev
    required by @react-router/serve
  react-router                                      7.18.2 → 8.4.0     major             18 files     50 calls
  @react-router/dev                                 7.18.4 → 8.4.0     major             peer of @react-router/fs-routes
  @react-router/serve                               7.18.4 → 8.4.0     major             peer of @react-router/dev
    used by package scripts
  react                                             19.2.6 → 19.3.0    minor             peer of react-dom, react-router
  react-dom                                         19.2.6 → 19.3.0    minor             peer of react-router
@stripe/*      2 packages   → @stripe/stripe-js 10 · @stripe/react-stripe-js 7   npx uptide check --group stripe
  @stripe/react-stripe-js                            6.1.0 → 7.0.0     major             9 files      13 calls
  @stripe/stripe-js                                  9.1.0 → 10.0.0    major             12 files     6 calls
@octokit/*     6 packages   → 22.x · 9.x · 8.x · 7.x · 6.x   npx uptide check --group octokit
  @octokit/auth-app                                  7.1.5 → 8.3.1     major             5 files
  @octokit/core                               6.1.4, 7.0.6 → 7.0.8     major             8 files      8 calls
    2 versions in 2 workspaces
  @octokit/graphql                                   8.2.1 → 9.0.5     major             0 files
    required by @octokit/core
  @octokit/plugin-paginate-graphql                   4.0.0 → 6.0.0     2 majors behind   1 file
  @octokit/plugin-retry                              8.1.0 → 8.1.1     patch             2 files
  @octokit/rest                                     21.1.1 → 22.0.1    major             0 files
    no static imports, script/bin usage, configuration references, stylesheet imports or HTML assets found
@vercel/*      2 packages   → @vercel/functions 3 · @vercel/config 0   npx uptide check --group vercel
  @vercel/config                                     0.2.1 → 0.10.0    minor             1 file       6 calls
  @vercel/functions                                  2.1.0 → 3.9.11    major             2 files      3 calls
@graphql-codegen/*   3 packages   → @graphql-codegen/cli 7 · @graphql-codegen/* 6
    npx uptide check --group graphql-codegen
  @graphql-codegen/cli                               5.0.5 → 7.4.4     2 majors behind   2 files
  @graphql-codegen/typescript                        4.1.6 → 6.1.1     2 majors behind   0 files
    no static imports, script/bin usage, configuration references, stylesheet imports or HTML assets found
  @graphql-codegen/typescript-resolvers              4.5.0 → 6.1.0     2 majors behind   0 files
    no static imports, script/bin usage, configuration references, stylesheet imports or HTML assets found
vitest + @vitest/*   3 packages   → 5.x   npx uptide check --group vitest
  vitest                                             5.0.0 → 5.0.3     patch             865 files    30112 calls
  @vitest/coverage-v8                                5.0.0 → 5.0.3     patch             peer of vitest
  @vitest/ui                                         5.0.0 → 5.0.3     patch             peer of vitest
@supabase/*    8 packages   → 2.x · 0.x   npx uptide check --group supabase
  @supabase/auth-js                                2.116.0 → 2.117.2   minor             18 files     5 calls
  @supabase/config                                   0.9.0 → 0.11.1    minor             3 files      5 calls
  @supabase/mcp-server-supabase                     0.12.0 → 0.13.0    minor             4 files      2 calls
  @supabase/postgrest-js                           2.116.0 → 2.117.2   minor             2 files
  @supabase/realtime-js                            2.116.0 → 2.117.2   minor             1 file       1 call
  @supabase/shared-types                            0.1.96 → 0.1.97    patch             303 files
  @supabase/sql-to-rest                              0.1.6 → 0.1.8     patch             4 files      7 calls
  @supabase/supabase-js                            2.116.0 → 2.117.2   minor             152 files    69 calls
@testing-library/*   2 packages   → @testing-library/user-event 14 · @testing-library/dom 10
    npx uptide check --group testing-library
  @testing-library/dom                              10.4.1 → 10.4.2    patch             9 files      59 calls
  @testing-library/user-event                       14.6.1 → 14.6.7    patch             116 files    570 calls
radix-ui       2 packages   → 1.x   npx uptide check --group radix-ui
  @radix-ui/react-use-escape-keydown                 1.1.1 → 1.1.5     patch             1 file       1 call
  radix-ui                                           1.4.3 → 1.7.0     minor             68 files     214 calls
lexical + @lexical/*   8 packages   → 0.x   npx uptide check --group lexical
  @lexical/code                                     0.51.0 → 0.52.0    minor             1 file
  @lexical/headless                                 0.51.0 → 0.52.0    minor             1 file       1 call
  @lexical/link                                     0.51.0 → 0.52.0    minor             1 file
  @lexical/list                                     0.51.0 → 0.52.0    minor             1 file
  @lexical/markdown                                 0.51.0 → 0.52.0    minor             3 files      7 calls
  @lexical/react                                    0.51.0 → 0.52.0    minor             1 file       11 calls
  @lexical/rich-text                                0.51.0 → 0.52.0    minor             1 file
  lexical                                           0.51.0 → 0.52.0    minor             3 files
@modelcontextprotocol/*   2 packages   → @modelcontextprotocol/server 2 · @modelcontextprotocol/sdk 1
    npx uptide check --group modelcontextprotocol
  @modelcontextprotocol/sdk                         1.29.0 → 1.32.1    minor             2 files      2 calls
  @modelcontextprotocol/server                       2.0.0 → 2.3.1     minor             2 files      4 calls
@graphiql/*    2 packages   → 0.x   npx uptide check --group graphiql
  @graphiql/react                                   0.37.3 → 0.39.1    minor             1 file       1 call
  @graphiql/toolkit                          0.9.1, 0.11.3 → 0.12.1    minor             2 files      2 calls
    2 versions in 2 workspaces

PACKAGES
  next                                     15.5.25, 16.3.6 → 16.3.8    major             1305 files   2279 calls
    2 versions in 7 workspaces
  lucide-react                            0.436.0, 0.511.0 → 1.52.0    major             1276 files   3165 calls
    2 versions in 11 workspaces
  sonner                                             1.5.0 → 2.0.8     major             755 files    1436 calls
  zod                                              3.25.76 → 4.6.5     major             325 files    3246 calls
  @hookform/resolvers                                3.3.1 → 5.9.1     2 majors behind   180 files    192 calls
  framer-motion                                    11.18.2 → 14.0.0    3 majors behind   166 files    518 calls
  nuqs                                      1.19.1 … 2.8.1 → 2.10.1    major             155 files    477 calls
    3 versions in 3 workspaces
  msw                                               2.11.3 → 3.0.2     major             113 files    569 calls
  next-seo                                           6.5.0 → 7.3.0     major             66 files     66 calls
  recharts                                          2.15.4 → 3.10.1    major             36 files     182 calls
  @heroicons/react                            1.0.6, 2.1.3 → 2.2.0     major             31 files     35 calls
    2 versions in 2 workspaces
  date-fns                                          2.30.0 → 4.4.0     2 majors behind   22 files     64 calls
  swiper                                            12.1.2 → 14.3.0    2 majors behind   21 files     39 calls
  mdast-util-from-markdown                    1.3.1, 2.0.2 → 2.1.0     major             19 files     35 calls
    2 versions in 4 workspaces
  unist-util-visit                            4.1.2, 5.0.0 → 5.1.0     major             18 files     22 calls
    3 versions in 7 workspaces
  mdast-util-mdx                                     2.0.1 → 3.0.0     major             17 files     59 calls
  mdast-util-to-markdown                             1.5.0 → 2.2.0     major             17 files     44 calls
  @dnd-kit/sortable                                  8.0.0 → 10.0.0    2 majors behind   17 files     27 calls
  graphql                                          16.11.0 → 17.0.2    major             16 files     68 calls
  next-mdx-remote-client                             1.1.7 → 2.1.12    major             14 files     11 calls
  openai                                    4.104.0, 5.9.0 → 7.28.0    3 majors behind   14 files     8 calls
    2 versions in 6 workspaces
  shiki                                      1.6.0 … 4.2.0 → 4.5.0     3 majors behind   13 files     11 calls
    4 versions in 6 workspaces
  react-intersection-observer                        9.8.2 → 11.0.1    2 majors behind   12 files     12 calls
  @hcaptcha/react-hcaptcha                          1.12.0 → 2.2.0     major             12 files     11 calls
  next-router-mock                                  0.9.13 → 1.0.5     major             11 files     16 calls
  micromark-extension-mdxjs                          1.0.1 → 3.0.0     2 majors behind   10 files     22 calls
  mdast-util-gfm                                     2.0.2 → 3.1.0     major             10 files     18 calls
  js-yaml                                           3.15.2 → 5.4.3     2 majors behind   9 files      9 calls
  micromark-extension-gfm                            2.0.3 → 3.0.0     major             8 files      9 calls
  react-error-boundary                              4.0.13 → 6.1.6     2 majors behind   7 files      7 calls
  mdast-util-mdx-jsx                                 2.1.4 → 3.2.0     major             7 files
  jotai                                              2.8.1 → 3.0.1     major             6 files      9 calls
  remark                                            14.0.3 → 15.0.1    major             6 files      7 calls
    2 versions in 5 workspaces
  h3                                               1.15.11 → 2.0.1     major             5 files      19 calls
  libpg-query                               15.2.0, 17.6.0 → 18.1.5    3 majors behind   5 files      14 calls
    2 versions in 3 workspaces
  dotenv                                    16.3.1, 16.5.0 → 18.0.5    2 majors behind   5 files      5 calls
    2 versions in 3 workspaces
  react-day-picker                                  9.11.1 → 10.0.2    major             5 files      1 call
  globby                                            13.2.2 → 16.2.4    3 majors behind   4 files      6 calls
  ejs                                               3.1.10 → 7.0.1     4 majors behind   4 files      5 calls
  unist-util-visit-parents                           5.1.3 → 6.0.2     major             4 files      4 calls
  react-syntax-highlighter                          15.6.6 → 16.1.1    major             3 files      31 calls
  react-simple-maps                           4.0.0-beta.6 → 5.0.5     major             3 files      18 calls
  unist-builder                               3.0.0, 3.0.1 → 4.0.0     major             3 files      7 calls
    2 versions in 2 workspaces
  @dagrejs/dagre                                     1.0.4 → 3.1.1     2 majors behind   3 files      6 calls
  cronstrue                                         2.50.0 → 3.29.0    major             3 files      4 calls
  mdast-util-to-string                               3.2.0 → 4.0.0     major             3 files      4 calls
  typed.js                                          2.0.16 → 3.0.0     major             3 files      3 calls
  @vueuse/core                                      14.1.0 → 15.0.0    major             2 files      2 calls
  eslint                                            9.37.0 → 10.12.0   major             2 files      2 calls
  graphiql                                    4.0.2, 5.2.2 → 5.4.0     major             2 files      2 calls
    2 versions in 2 workspaces
  mdast-util-toc                                     6.1.1 → 7.1.0     major             2 files      2 calls
  use-debounce                                       7.0.1 → 10.1.1    3 majors behind   2 files      2 calls
  rehype-slug                                        5.1.0 → 6.0.0     major             2 files
    2 versions in 5 workspaces
  streamdown                                         1.3.0 → 2.7.0     major             2 files
  rimraf                                      4.4.1, 6.0.1 → 6.1.3     2 majors behind   1 file       3 calls
    2 versions in 3 workspaces
  chalk                                              5.3.0 → 6.0.1     major             1 file       2 calls
  mermaid                                          11.17.2 → 12.1.0    major             1 file       2 calls
  @vercel/og                                         0.6.2 → 1.0.3     major             1 file       1 call
  chokidar                                           4.0.3 → 5.0.0     major             1 file       1 call
  cobe                                               0.6.5 → 2.0.1     2 majors behind   1 file       1 call
  cron-parser                                        4.9.0 → 5.10.1    major             1 file       1 call
  hast-util-has-property                             2.0.1 → 3.0.0     major             1 file       1 call
  mdast-util-to-hast                                12.3.0 → 13.2.1    major             1 file       1 call
  react-dropzone                                    14.3.8 → 20.1.2    6 majors behind   1 file       1 call
  react-grid-layout                                  1.4.2 → 2.3.0     major             1 file       1 call
  simple-git                                        3.36.0 → 4.0.2     major             1 file       1 call
  ts-morph                                          22.0.0 → 28.0.0    6 majors behind   1 file       1 call
  react-resizable                                    3.0.5 → 4.0.2     major             1 file
  remark-emoji                                       3.1.2 → 5.0.2     2 majors behind   1 file
  vue-router                                         4.5.1 → 5.3.1     major             1 file
  + 77 minor/patch · --all

TOOLING  53 packages, used by scripts and config · --all
  typescript                                         6.0.2 → 7.0.2     major             1 file       1 call
    compiler major: check build and tsconfig
  @babel/core                                       7.29.7 → 8.0.6     major             0 files
    compiler major: check build and tsconfig

POSSIBLY UNUSED  9 packages, no usage found by Uptide's scan; verify before removing · --all

17 packages not checked: non-registry source (workspace) · --all

Usage is a syntax scan, no type analysis.
Generic analysis is the default; verified means a migration pack is available.
Next  npx uptide check simple-git --target [email protected]

Checks

  • New tests:
    • core: a test with ai at 5.x and 7.x across 3 workspaces and typescript imported by a codegen script, plus unit tests for drift, tiers and security across several installed versions.
    • cli: tests for the multi-version row and its narrow fallback, long-name wrapping, tiers with and without --all, a build-tool major under collapsed TOOLING, and group labels that collide.
  • Snapshots updated after review (nest list design, check summary, HTML render); the smoke checker now expects 8 majors behind.
  • pnpm test: core 849 passed, cli 327 passed. Typecheck and biome are clean.
  • The HTML report on supabase renders the tiers and multi-version rows.
  • Changeset: uptide minor, because the JSON shape changes (one entry per package).

🤖 Generated with Claude Code

lucasbraum and others added 3 commits October 6, 2026 00:05
…ated

Found on supabase/supabase (pnpm, 28 workspaces):
- One row per package: workspaces on different versions share it (`5.0.52, 7.0.59 →
  7.0.128`, `2 versions in 3 workspaces`), usage counted once. JSON `packages[].versions`.
- Version drift (different majors across workspaces) is a priority signal, below
  unsupported and above blocking.
- PRIORITIES: Urgent (advisories, deprecations) with a count, then Worth planning collapsed
  to its count until --all. JSON `priorities[].tier`.
- The name column fits the longest name up to 45 characters, then the name gets its own
  line; narrow terminals drop trailing columns instead of truncating names.
- `major ×2` reads `2 majors behind` in list and check.
- Compilers and bundlers are tooling even when a script imports them; a major on one shows
  under the collapsed TOOLING with why.
- Group headings keep their target, and a family reaching several majors no longer prints
  the same label twice.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Lucas Braum <[email protected]>
…inst

supabase/supabase at 53a637a (list on a large pnpm monorepo) and documenso/documenso at
80823ed (check pino, #31).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Lucas Braum <[email protected]>
A synthetic fixture installs invented packages at different versions across three
workspaces (fixtures/repos/list-accuracy/version-drift). Against it:
- list --json, the terminal and the HTML report: one row per package, with versions[];
- check --group: each member checked once;
- plan: one row per installed version, as before;
- telemetry: each package counted once;
- smoke: the list assertions move to check-output.mjs (listReportFailures), so the container
  and a fast test run the same check, now also one entry per package and a coherent
  versions[].
The GitHub Action never reads list's report (it takes names from the PR), so it is unaffected.

The changeset lists the JSON shape change under "Breaking for JSON consumers", with how to
expand entries back to one per installed version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Lucas Braum <[email protected]>
@lucasbraum
lucasbraum merged commit 089f7b9 into main Oct 6, 2026
5 checks passed
@lucasbraum
lucasbraum deleted the fix/list-monorepo branch October 6, 2026 15:24
lucasbraum added a commit that referenced this pull request Oct 7, 2026
… writing to /repo (#40)

## What and why

Two tests failed in a cloud container, which runs as root with
`NODE_PATH` set, but not in CI. **CI on `main` is green.** The latest
run on 3e7f744 (#37) passed, and the last red run on
`main` was 089f7b9 (#34), already followed by green
runs. So no merge let a red `main` through. Both failures were
environment-dependent: CI passes them by accident rather than by design.

1. **`fix.test.ts` › checks workspace source under its own resolution
mode** — a code bug. `resolveCompiler` loaded `typescript` with
`createRequire(...)`, and Node's resolution also searches `NODE_PATH`
and the global folders. In the container `NODE_PATH` holds a global
TypeScript 6.0.2, so a repository without its own compiler was verified
with TS 6, which reports TS5107 (`moduleResolution: node10` deprecated).
In CI `NODE_PATH` is unset and the bundled 5.9 compiler is used, so the
test passes there. The same thing would happen to any user with a global
TypeScript on `NODE_PATH`. Now `consumerCompilerDir` takes
`node_modules/typescript` from the repository or the nearest ancestor
that has one, else the bundled compiler.
2. **`cli.test.ts` › uptide verify › ends with the summary and the next
commands** — a test bug. `fixReport()` set `prBody:
'/repo/.uptide/pr-body.md'`, and `fix` writes `report.html` next to the
stored run. On a CI runner (non-root) creating `/repo` fails silently,
so the engine's `html` path survives. As root the write succeeds,
replaces `html`, the assertion fails, and `/repo/.uptide/` is left
behind. Now each report gets a fresh temporary directory. The test
asserts the absolute path of its own stored run outside the working
directory. One formatter assertion now matches its line regardless of
column padding, since the padding depends on path lengths.

No test was skipped.

## How it was verified

- New `compiler.test.ts` cases: a workspace finds the root's
`node_modules/typescript`; a repository without TypeScript gets the
bundled compiler. The second case fails on the old `resolveCompiler` in
the container (where it got the global 6.0.2) and passes now.
- In the container, which has `NODE_PATH` and runs as root: core 852
passed (3 files skipped, as before), CLI 343/343, `pnpm lint` and `pnpm
typecheck` clean. `/repo/.uptide/report.html` kept its old timestamp
across the CLI run, so nothing writes there anymore.

## Checklist

- [x] Tests for the change (the compiler fix starts with a test that
fails)
- [x] `pnpm lint && pnpm typecheck && pnpm test` pass
- [x] README and docs updated if behavior changed (no doc describes
compiler resolution beyond "the consumer's TypeScript", which is now
what it does)
- [x] Changeset added (`.changeset/consumer-compiler-only.md`, patch)
- [x] No new dependency
- [x] No private code, names or paths in fixtures, tests or docs
- [x] The rules in CONTRIBUTING.md ("Rules that do not bend") still hold

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01B2T8GmEVnZwfNrugajEMqi

---
_Generated by [Claude
Code](https://claude.ai/code/session_01B2T8GmEVnZwfNrugajEMqi)_

---------

Signed-off-by: Claude <[email protected]>
Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant