Skip to content

feat(packs): rank the pack queue by direct use in applications - #43

Merged
lucasbraum merged 3 commits into
mainfrom
claude/packs-queue-direct-use
Oct 7, 2026
Merged

lucasbraum merged 3 commits into
mainfrom
claude/packs-queue-direct-use

Conversation

@lucasbraum

@lucasbraum lucasbraum commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

packs/queue.json ranked by npm downloads × breaking majors. That put libraries everything pulls in transitively on top (undici, google-auth-library), and listed packages that upgrade together as separate entries (react, react-dom). pnpm packs:queue now ranks by what app developers declare and how much a major breaks:

score = direct-use repositories × log2(1 + breaking changes), × 0.9 with a partial official codemod. Weekly downloads only break ties.

  1. Direct use. The number of sample repositories that declare one of the entry's packages in a package.json (dependencies, devDependencies, optionalDependencies). The sample is the 2 repositories in fixtures/corpus.json plus 50 public TypeScript applications pinned to commits in scripts/packs-queue-sample.ts (cal.com, twenty, dub, plane, outline, immich, n8n, posthog, grafana, sentry, …). Only manifests are read: each repository is fetched shallow and blobless at its commit, and only package.json/pnpm-workspace.yaml are checked out. Nothing is installed or run. Results are cached in ~/.cache/uptide/queue-sample. npm: aliases count as the aliased package, catalog: entries are resolved from pnpm catalogs, and example/template/fixture/test manifests are skipped.

  2. One entry per upgrade, named after its hub. Two packages join one entry when:

    • list's group logic (dependencyGroups) finds an exact pin they move together;
    • one is the @types package of the other;
    • one is a facade that re-exports the other at the same version and shares its release history (react-router-dom → react-router, motion → framer-motion);
    • they are released in lockstep (react + react-dom, next + eslint-config-next + @next/*).

    Two of list's rules are narrower here: a scope family links only members released in lockstep, and a peer link attaches only a plugin to its host. react-router keeps its own entry and says it needs react moved.

  3. Breaking changes.

    • from is the major most of the repositories still behind declare; to is the latest. ≥3 sample repositories must be behind.
    • Changes come from the type-surface diff check runs (diffPackage). Distinct changes count: a change repeated across many exports counts once (same kind and before/after text, with the symbol's own name taken out), and each removed or renamed export counts once. lucide-react 1 is 102 distinct changes, not 7,587. Entries carry breaking: { total, distinct, guide }.
    • Where types understate the break: GUIDES records the official migration guide for 22 top-40 entries: its link, which sections were counted, and every item. An item is every heading in those sections with no heading under it, with instruction subheadings like "How to update" left out. When the guide lists more items than distinct type changes (CSS, configuration, runtime behavior), the entry is scored on the guide's count and says "type diff understates". tailwindcss 4 has 31 items against 8 type changes; express 5 has 32 against 1.
    • At least 10 counted changes are needed to enter. The score counts up to 16,383 (log2 = 14), which also lets the ranking stop diffing once nothing left can place.
    • A package without types is read through its @types member when the group has one. A package no diff measures (no types at from, or a diff failure) enters only when its guide or changelog lists API changes. It is marked "not measured" and scored on max(10, items listed). eslint 10 lists 21, prettier 3 lists 18 and @babel/core 8 lists 15. nodemailer 10, jsdom 30, cross-env 10 and turbo 2 list none.
    • date-fns counts only its main entry's exports (MAIN_ENTRY_ONLY), because the diff does not match v4's subpath modules yet. Its entry says so.
  4. Codemods. An official codemod that covers the upgrade end to end drops the entry; none qualified. A partial one is linked in codemod and counts 0.9: it leaves the manual work a pack does, and a pack can run it as one of its rules. The five partial ones (next, react, tailwindcss, eslint, express) come from each project's own upgrade guide.

  5. Out: zod, stripe and ai (and anything grouped with them), packages declared in fewer than 3 sample repositories, and typescript and @types/node (NOT_A_PACK: a compiler and the runtime).

Entries gain members, repos, reposBehind, breaking and codemod. weeklyDownloads stays, and breakingMajors2y is gone. docs/packs.md describes the ranking.

Network: api.npmjs.org is not reachable from the environment this ran in, so downloads come from registry.npmjs.org's search results, which carry the same weekly count. The script needs only github.com and registry.npmjs.org.

The new top 15

With a "why it's worth a pack" for each entry: this comment.

# Entry Repos using it directly Behind from → to Breaking: total / distinct / guide Score
1 react (+ react-dom, @types/react, …) 48 17 18 → 19 1,645 / 739 / 18 411.8 (codemod ×0.9)
2 vitest (+ @vitest/*) 39 31 4 → 5 332 / 276 / 34 316.4
3 date-fns 39 17 3 → 4 143 / 123 / – (main entry only) 271.2
4 vite (+ plugins) 35 18 7 → 8 49 / 40 / 14 187.5
5 recharts 20 14 2 → 3 688 / 659 / 4 187.3
6 ioredis 24 22 5 → 6 976 / 191 / – 182.0
7 lucide-react 27 21 0.x → 1 7,587 / 102 / – 180.5
8 @sentry/core (+ @sentry/*) 22 21 10 → 11 295 / 289 / 98 180.0
9 @prisma/client (+ adapters) 14 8 6 → 7 5,261 / 4,403 / 16 169.5
10 @typescript-eslint/utils (+ parser, plugin) 20 8 6 → 8 468 / 237 / 7 157.9
11 tailwindcss 35 18 3 → 4 8 / 8 / 31, type diff understates 157.5 (codemod ×0.9)
12 react-day-picker 22 21 9 → 10 134 / 133 / 9 155.5
13 openai 16 16 4 → 7 1,299 / 825 / 18 155.0
14 next (+ eslint-config-next, @next/*) 27 10 15 → 16 75 / 74 / 15 151.4 (codemod ×0.9)
15 react-router (+ react-router-dom) 23 21 6 → 8 103 / 83 / 9 147.0

prettier is #16 (not measured, 18 guide items) and eslint #18 (not measured, 21 guide items, codemod ×0.9). express is #27 (32 guide items against 1 type change, type diff understates), just outside the 25 entries queue.json keeps.

How it was verified

  • pnpm packs:queue runs end to end against the pinned sample: 52 repositories and 1,340 packages declared in ≥3 of them. The diffs are cached in ~/.cache/uptide/queue-diff, and a rerun from cache takes under 30 s.
  • Guide counts come from the guides' own sources: the docs repositories on GitHub, fetched raw. They were counted with the rule above, and the item lists are in GUIDES.
  • pnpm lint is clean, and queue.json is written through the repository's Biome. The two scripts typecheck under --strict with the source condition. Repository typecheck and tests don't cover scripts/, and no package code changed.
  • Each grouping rule was checked against the cases that broke earlier drafts:
    • coincidental x.0.0 versions linked rehype-slug with ioredis;
    • optional peers linked openai with ws;
    • plugin peers fused eslint with tailwindcss;
    • eslint-config-next 16.4.0 pins globals 16.4.0, which looked like a facade.
  • Found along the way: Uptide's diff crashed on i18next 23 → 26 and type-fest 4 → 5. That is fixed separately in fix(check): read a type alias's body after its type parameters, not at a default's =  #44. Until it merges, the script reports both as diff failures and leaves them out.

Checklist

  • Tests for the change: no test covers scripts/, so the generated file and the run output above are the check
  • pnpm lint passes (typecheck and tests are unaffected: only scripts/, packs/ and docs/ change)
  • README and docs updated if behavior changed (docs/packs.md)
  • No changeset: scripts and data only (no-changeset label)
  • No new dependency
  • No private code, names or paths in fixtures, tests or docs: the sample is public repositories at public commits
  • The rules in CONTRIBUTING.md ("Rules that do not bend") still hold: nothing from a sample repository is installed or executed

🤖 Generated with Claude Code

https://claude.ai/code/session_01B2T8GmEVnZwfNrugajEMqi

packs/queue.json ranked by npm downloads times breaking majors, which put
what everything pulls in transitively on top (undici,
google-auth-library) and listed packages that move together as separate
entries (react and react-dom).

`pnpm packs:queue` now counts how many repositories declare a package
directly: fixtures/corpus.json plus 50 public TypeScript applications
pinned in scripts/packs-queue-sample.ts. It reads only their manifests,
fetched shallow and blobless and cached, and installs or runs nothing.
Downloads only break ties, read from registry search for tied entries.

Packages that upgrade together are one entry named after the hub,
using list's links (exact pins, peers), @types with their runtime
package, facades with what they re-export (react-router-dom with
react-router), and lockstep releases (react and react-dom, next and
eslint-config-next). Families link only when released in lockstep, and
peer links attach only plugins to their hosts.

An entry needs at least 3 sample repositories using it and 3 behind its
latest major. It also needs a breaking change in the type surface between
the two majors, from the same diff check runs. Partial official
codemods are linked and count half. zod, stripe and ai are excluded.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B2T8GmEVnZwfNrugajEMqi
Signed-off-by: Claude <[email protected]>
@lucasbraum lucasbraum added the no-changeset Change needs no release note label Oct 7, 2026 — with Claude
score = direct-use repositories × log2(1 + breaking type changes), so a
major that rewrites an API outranks one that renames an option, and a
widely used package still outranks a rarely used one.

- A partial official codemod counts 0.9, not 0.5: it leaves the manual
  work a pack does, and a pack can run it as one of its rules.
- At least 10 measured breaking changes to enter (counted up to 16,383,
  which bounds the score and lets the ranking stop diffing early).
- A package the diff cannot measure (no types at `from`, or a diff
  failure) enters only when its changelog, recorded in CHANGELOGS, lists
  API changes. It is marked "not measured" and scored as 10, the least
  a measured entry can have. Recorded: prettier 3, eslint 10 and
  @babel/core 8 list API changes. nodemailer 10, jsdom 30, cross-env 10
  and turbo 2 list none.
- date-fns counts only its main entry's exports until the diff matches
  v4's subpath modules, and the entry says so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B2T8GmEVnZwfNrugajEMqi
Signed-off-by: Claude <[email protected]>

Copy link
Copy Markdown
Collaborator Author

Re-ranked at c85f305 with the new scoring:

  • score = direct-use repos × log2(1 + breaking type changes);
  • a partial official codemod counts 0.9;
  • an entry needs at least 10 measured breaking changes;
  • packages the diff can't measure enter only when their changelog lists API changes. They are marked "not measured" and scored as 10, the least a measured entry can have;
  • date-fns counts its main entry's exports only.

New top 15

# Entry (members) Repos using it directly Behind from → to Breaking (score) Why it's worth a pack
1 react (+ react-dom, @types/react, @types/react-dom, react-is) 48 / 52 17 18 → 19 1,645 via @types/react (461.6, partial codemod ×0.9) Removed types (ReactChild, VFC, …), ref and act changes. The official codemod covers part of it, and a pack can run that codemod as a rule and migrate what it leaves.
2 lucide-react 27 21 0.x → 1 7,587 (348.0) 7,455 of them are one type change repeated across every icon, and 131 icons were removed or renamed. The renames are a rule table; the count overstates the work.
3 vitest (+ @vitest/coverage-v8, -istanbul, ui, browser-playwright) 39 31 4 → 5 332 (326.8) Assertion and snapshot types moved out of @vitest/expect, plus config and type changes. In test code of most repos.
4 date-fns 39 17 3 → 4 143, main entry only (279.6) Generic signatures on interval/option types (Interval, EachDayOfIntervalOptions, …). Counted on the main entry only: the diff does not match v4's subpath modules yet, so the entry says so. Calls with plain Dates mostly compile, so a pack mostly confirms sites.
5 ioredis 24 22 5 → 6 976 (238.4) Nearly all are command signatures on ChainableCommander. Mechanical if call sites break, and the compiler shows which do.
6 vite (+ @vitejs/plugin-react, vite-plugin-inspect) 35 18 7 → 8 49 (197.5) Rollup → Rolldown: rollupOptions, esbuild → oxc, plugin context types. Config and plugins.
7 recharts 20 14 2 → 3 688 (188.6) Removed component props across Pie, Brush, Line, Treemap, Area and the axes. A real API migration in chart code.
8 @sentry/core (+ @sentry/browser, -node, -nextjs, -nestjs, -react, -profiling-node) 22 21 10 → 11 295 (180.6) Removed integrations and options (ExpressIntegration, client options). Lockstep SDK family, one pack.
9 @typescript-eslint/utils (+ eslint-plugin, parser) 20 8 6 → 8 468 (177.5) TSESLint, ESLint, CLIEngine and ASTUtils removals. It matters to repos with custom lint rules; the hub is utils because the plugin re-exports it.
10 @prisma/client (+ @prisma/adapter-pg, @prisma/instrumentation) 14 8 6 → 7 5,261 (173.1) Generated-client and driver-adapter changes in v7. Data access code.
11 openai 16 16 4 → 7 1,299 (165.5) Resources removed from or moved on the OpenAI client (993 removals) across three majors. Every repo using it is behind.
12 react-day-picker 22 21 9 → 10 134 (155.7) Deprecated UI keys and props removed (DeprecatedUI, PropsBase). Mostly the shadcn calendar component.
13 react-router (+ react-router-dom, @types/react-router-dom) 23 21 6 → 8 103 (154.1) Package rename (react-router-dom folded in), Await/data-route types, and it needs react moved. No official codemod.
14 next (+ eslint-config-next, @next/mdx, @next/bundle-analyzer, @next/third-parties) 27 10 15 → 16 75 (151.8, partial codemod ×0.9) Metadata types, NextConfig and redirect APIs. Async request APIs are behavior the type diff doesn't see; the codemod covers config, middleware → proxy and stabilized APIs.
15 jose 20 4 5 → 6 178 (149.7) Error classes and JWT/JWE builder signatures. Only 4 repos are behind, so most have already migrated.

Just below: @faker-js/faker (16), @opentelemetry/core (17), undici (18), googleapis (19: only 8 repos, but 13,792 changes), prettier (20, not measured), marked (21), pino (22), eslint (23, not measured, partial codemod), bullmq (24), posthog-node (25).

The ones you expected

Package Position Why
react 1
date-fns 4 Main entry only.
react-router 13
next 14 10 of 27 repos behind. Most of the v16 break is runtime behavior (async request APIs, caching) that a type diff doesn't count.
eslint 23 No types at v8, so not measured. The changelog lists API changes (eslintrc removed, Linter methods, LintMessage#nodeType), so it enters scored as 10.
tailwindcss out Only 8 breaking type changes. v4's break is CSS and config (@theme, renamed utilities), which a type diff can't see, so the 10-change floor removes it.
express out 1 breaking change measured through @types/express 4 → 5. Express 5's breaks (path syntax, removed method signatures, promise handling) are mostly not in its types.

tailwindcss and express show the limit of the measure: their breaks are in config, CSS and runtime behavior, not types. If you want them in, the same changelog route could apply to packages whose type surface understates the break: a recorded changelog entry scored as 10. I haven't done that, since your rule limits it to packages without types.

Measurement notes

  • Left out on the 10-change floor:

    Package Breaking changes
    dotenv 4
    chalk 1
    husky 4
    framer-motion 6
    tailwind-merge 8
    @testing-library/react 5
    clsx 0
    uuid 0
  • Not measured, changelog lists no API change: nodemailer 10 (Node 20), jsdom 30 (Node 22), cross-env 10 (CLI only) and turbo 2 (turbo.json and CLI). Their changelogs are recorded in CHANGELOGS with an empty list and a link.

  • Diff bug: i18next 23 → 26 and type-fest 4 → 5 fail inside Uptide's diff ("Manipulation error: A syntax error was inserted."), a bug in core, not missing types. The script now reports diff failures apart from missing types. Both are left out until fixed or until their changelogs are recorded. I'll file the diff bug separately.


Generated by Claude Code

…ypes understate

- A change repeated across many exports counts once. A change's shape
  is its kind and its before and after text with the symbol's own name
  taken out, and each removed or renamed export counts once. So
  lucide-react 1 is 102 distinct changes (92 removed or renamed icons,
  10 shapes), not 7,587. Entries show both numbers (`breaking.total`,
  `breaking.distinct`).
- Where the official migration guide lists breaking changes the type
  diff cannot see (CSS, configuration, runtime behavior), the entry is
  scored on max(distinct type changes, items the guide lists) and marked
  "type diff understates". GUIDES records the guide link, the sections
  counted and every item for 22 top-40 entries. tailwindcss 4 (31 items
  against 8 type changes) enters at #11. express 5 (32 against 1) is
  #27. Packages no diff measures are scored on their guide's items too
  (eslint 10: 21, prettier 3: 18).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B2T8GmEVnZwfNrugajEMqi
Signed-off-by: Claude <[email protected]>

Copy link
Copy Markdown
Collaborator Author

Re-ranked at d169074:

  • Distinct changes: a change repeated across many exports counts once (same kind and before/after text, with the symbol's own name taken out), and each removed or renamed export counts once. Entries now carry breaking: { total, distinct, guide }.
  • Guide counts: where the official migration guide lists more breaking changes than the type diff sees, the entry is scored on max(distinct, guide items) and marked "type diff understates".
  • Recorded guides: GUIDES holds 22 top-40 entries, each with its link, which sections were counted, and every item. The count is reproducible: every heading in those sections with no heading under it, with instruction subheadings like "How to update" left out.

New top 15

# Entry (members) Repos using it directly Behind from → to Breaking: total / distinct / guide (score) Why it's worth a pack
1 react (+ react-dom, @types/react, @types/react-dom, react-is) 48 / 52 17 18 → 19 1,645 / 739 / 18 (411.8, codemod ×0.9) Removed types and APIs (701 removed or renamed) plus ref, act and JSX namespace changes. A pack can run the official codemod as a rule and migrate what it leaves.
2 vitest (+ @vitest/*) 39 31 4 → 5 332 / 276 / 34 (316.4) Assertion and snapshot types moved, and 34 guide items (clearMocks on by default, hoisted mocks, removed sequential, browser locators). In the test code of most repos.
3 date-fns 39 17 3 → 4 143 / 123 / no guide (271.2), main entry only Generic signatures on interval and option types. Only the main entry counts until the diff matches v4's subpath modules, and the entry says so. Calls with plain Dates mostly compile, so a pack mostly confirms sites.
4 vite (+ @vitejs/plugin-react, vite-plugin-inspect) 35 18 7 → 8 49 / 40 / 14 (187.5) Rollup → Rolldown and esbuild → Oxc: rollupOptions, esbuild options, manualChunks, CommonJS interop. Mostly config and plugins.
5 recharts 20 14 2 → 3 688 / 659 / 4 (187.3) 590 removed component props across Pie, Brush, Line, Area and the axes, plus CategoricalChartState gone. A real API migration in chart code.
6 ioredis 24 22 5 → 6 976 / 191 / no guide (182.0) Command signatures, which repeat a few shapes: 976 changes but 191 distinct. Mechanical where call sites break.
7 lucide-react 27 21 0.x → 1 7,587 / 102 / no guide (180.5) 92 icons removed or renamed, and one type change repeated over every icon (now counted once). A rename table is a natural pack.
8 @sentry/core (+ @sentry/browser, -node, -nextjs, -nestjs, -react, -profiling-node) 22 21 10 → 11 295 / 289 / 98 (180.0) Removed integrations and options, sendDefaultPii → dataCollection, span streaming by default, renamed span attributes. Lockstep SDK family, one pack.
9 @prisma/client (+ @prisma/adapter-pg, @prisma/instrumentation) 14 8 6 → 7 5,261 / 4,403 / 16 (169.5) The generated client leaves the package (4,403 removed exports), and driver adapters, ESM, config and middleware removal are in the 16 guide items.
10 @typescript-eslint/utils (+ parser, eslint-plugin) 20 8 6 → 8 468 / 237 / 7 (157.9) TSESLint, ESLint, CLIEngine, ASTUtils removals and rule renames (ban-types). It matters to repos with custom lint rules.
11 tailwindcss 35 18 3 → 4 8 / 8 / 31, type diff understates (157.5, codemod ×0.9) The guide lists 31 breaking items the types can't see: removed @tailwind directives, renamed utilities, default border and ring changes, @apply in components, the JS config. The official upgrade tool covers part of it.
12 react-day-picker 22 21 9 → 10 134 / 133 / 9 (155.5) Removed props, hooks and type aliases, plus the CSS import and onSelect changes the guide lists. Mostly the shadcn calendar component.
13 openai 16 16 4 → 7 1,299 / 825 / 18, guide covers 4 → 5 (155.0) Resources removed from or moved on the client, path parameters, httpAgent → fetchOptions, runTools events. Every repo using it is behind.
14 next (+ eslint-config-next, @next/*) 27 10 15 → 16 75 / 74 / 15 (151.4, codemod ×0.9) Metadata and config types. The guide's 15 breaking items (async request APIs, image defaults, removed next lint, AMP and runtime config) are mostly runtime, so the type count is still higher; the codemod covers part of them.
15 react-router (+ react-router-dom) 23 21 6 → 8 103 / 83 / 9, guide covers 7 → 8 (147.0) The package rename, Await and data-route types, and v8 future flags. It needs react moved. No official codemod.

Next: prettier #16 (not measured, 18 guide items), jose #17, eslint #18 (not measured, 21 guide items, codemod ×0.9), @opentelemetry/core #19, @faker-js/faker #20, then undici, googleapis, marked, bullmq, posthog-node. express is #27: 21 repos, 32 guide items against 1 type change ("type diff understates"), 95.3 against 96.7 for #25.

What moved and why


Generated by Claude Code

lucasbraum added a commit that referenced this pull request Oct 7, 2026
…t a default's ` = ` (#44)

## What and why

**Fixes:** `check` (and `diffPackage`) died with `Manipulation error: A
syntax error was inserted.` on `i18next` 23 → 26 and `type-fest` 4 → 5,
so those upgrades could not be analyzed at all. It was found while
ranking `packs/queue.json` (#43). No issue was filed.

**Root cause.** Both packages contain the same construct: a type alias
that changed between versions and whose type parameters have defaults.
The compat program in `packages/core/src/adapters/typescript/compat.ts`
declares each changed alias's old and new body as `type __a_N<params> =
body` and adds it with `addStatements`. `bodyFor` (case `'type'`) took
the body from the first `' = '` in the signature. With a default, that
`' = '` sits inside the type-parameter list, so the generated alias
repeated the tail of its own parameter list:

- type-fest: `type __a_1<Array_ extends readonly unknown[], Start
extends number = never, End extends number = never> = never, End extends
number = never> = ...`
- i18next: `type __a_0<TOptions = object> = object> =
i18nextMod.BackendModule<TOptions>;`

ts-morph throws only when the broken alias's body contains a template
literal type: type-fest's `CamelCase<Type, Options extends
CamelCaseOptions = {}>`, i18next's `TFunctionReturn<…, ActualNS extends
Namespace = NsByTOptions<Ns, TOpt>, ActualKey = KeyWithContext<Key,
TOpt>>`. Without one, the broken alias didn't crash. It compiled to an
error type and its comparison was silently lost. That second effect is
fixed too.

The recursion cut from #31 and the shared-state reset
from #32 are not involved; the mis-split predates both.

**Fix** (`compat.ts` only, no try/catch around it): a new `aliasBody()`
finds the `>` that closes the type-parameter list and takes the alias's
own `' = '` after it. The bracket-depth scan is shared with
`headerTypeParams` and `countParams`, and it now ignores the `>` of `=>`
and text inside string and template literals. The old scanners
miscounted a `=>` inside a parameter's constraint or default.

## How it was verified

- Reproduced with `diffPackage` before the fix: `type-fest ERROR
Manipulation error: A syntax error was inserted.` (at `index.d.ts:233`)
and `i18next ERROR …` (at `index.d.mts:64`). After: type-fest 4.41.0 →
5.10.0 gives 194 changes, and i18next 23.16.8 → 26.4.2 gives 115.
- Two regression fixtures, no network, following the `recursion.test.ts`
/ `fixtures/deps/*-vN` convention. Both fail on main's `compat.ts` with
the manipulation error and pass now:
- `fixtures/deps/slice-v1`/`-v2` model type-fest: a re-exporting entry,
`CamelCase<Type, Options extends CamelCaseOptions = {}>` over a template
literal, and `Slice<Array_, Start extends number = never, End extends
number = never>`. Result: `type breaking CamelCase` and `widened
additive Slice`.
- `fixtures/deps/backend-v1`/`-v2` model i18next: aliases over a
namespace import, `BackendModule<TOptions = object>` → `<Options =
object>`, and a `Lookup<…>` with defaulted parameters over a template
literal. Result: `type breaking Lookup`. The checker finds
`BackendModule`'s parameter rename equivalent.
- `pnpm lint` (601 files, no fixes), `pnpm typecheck` (3/3), `pnpm test`
(uptide 345/345; core 876 passed, 15 skipped, the existing env-gated
ones).
- Pack tests are unchanged. Each line is predicted/expected/false
positives/false negatives, identical to main:

  | Pack | Repository | Result |
  | --- | --- | --- |
  | zod (`PASS zod: verified`) | storefront | 38/38/0/0 |
  | | AwesomeIntune | 12/15/0/3 |
  | | PATH | 39/51/0/12 |
  | | band-sdk | 29/37/0/8 |
  | stripe (`PASS stripe: verified`) | storefront | 4/4/0/0 |
  | | unkey | 13/15/0/2 |
  | | saas-starter | 1/1/0/0 |
  | ai (`PASS ai: verified`) | chatbot | 27/27/0/0 |
  | | morphic | 20/34/0/14 |

## Checklist

- [x] Tests for the change (a bug fix starts with a failing test):
`alias-defaults.test.ts`, both cases failing before the fix
- [x] `pnpm lint && pnpm typecheck && pnpm test` pass
- [x] README and docs updated if behavior changed: no doc describes this
internal step
- [x] Changeset added (`.changeset/alias-default-params.md`, patch)
- [x] No new dependency
- [x] No private code, names or paths in fixtures, tests or docs: the
fixtures are minimal models, not copies of the packages
- [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]>
@lucasbraum
lucasbraum merged commit 992fea4 into main Oct 7, 2026
7 checks passed
@lucasbraum
lucasbraum deleted the claude/packs-queue-direct-use branch October 7, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changeset Change needs no release note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants