rc.18 drift alarm false-positives on the template's own typescript peer-dep literal
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- build-system, tooling
Direzione di ricerca
Start with packageObjectNeedsCatalogRefs in the scaffold and upgrade ref-rewrite detection, then compare it with the root package.json migration that writes peerDependencies.typescript. Run pnpm exec bos upgrade --check in a fresh rc.18 child and confirm the false positive. Done means the migration and check agree on the peer dependency and repeated checks do not reintroduce drift.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
bos upgrade --check reports updatesAvailable: true on an rc.18 child with zero actual deltas, failing child CI's platform-drift alarm. The trigger is the root package.json:
- The rc.18 upgrade's root-package migration (matching the published template bytes) writes
peerDependencies.typescript: "^7.0.2"— a literal, exactly like the parent repo's ownpackage.jsonat the release tag. - The same check's ref-rewrite detection (
packageObjectNeedsCatalogRefs, scaffold/upgrade) counts any non-catalog:entry for an inherited-catalog package as pending drift — andtypescriptis in the inherited catalog. - Result: the migration normalizes away from
catalog:and the alarm immediately flags it. Template and alarm disagree; settingpeerDependencies.typescript: "catalog:"locally flips the alarm back to green (verified in a fresh worktree both ways).
Repro (fresh checkout of any rc.18 child)
pnpm install --frozen-lockfile --ignore-scripts
pnpm exec bos upgrade --check; echo $?
# exit 1 — packages from==to, no catalog deltas; only ref-rewrite detection fires
# JSON: { "packages": [ everything-dev from==to, every-plugin from==to ], "updatesAvailable": true }
Then set peerDependencies.typescript: "catalog:" → exit 0.
Suggested fix
Either (a) normalize the root package migration's typescript peer dep to catalog: (aligning template bytes with the check), or (b) make the ref-rewrite detection treat peerDependencies as literal-tolerant (peer-dep authors legitimately pin floors) — or filter typescript specifically. Also worth noting the alarm's run-to-run state: with catalog: the next upgrade may re-normalize to the literal again, re-tripping it — pick one direction for the template bytes and make the check agree with it.
- Lingua principale
- TypeScript
- Stelle
- 5
- Fork
- 3
- Merge medio
- 9h 55m
- PR unite (30g)
- 108
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NEARBuilders/everything-dev
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NEARBuilders/everything-dev#400 ·
I maintainer di solito rispondono entro 1 giorno
-
Parent runtime republished with react 19.2.9 shared deps breaks rc.16-pinned children (SSR composition fails)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
NEARBuilders/everything-dev#546 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
NEARBuilders/everything-dev#531 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
NEARBuilders/everything-dev#526 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
NEARBuilders/everything-dev#518 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di NEARBuilders/everything-dev
Issue simili
-
area:agent-view area:tui bug platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
anthropics/claude-code#104558 ·
I maintainer di solito rispondono entro 1 giorno
-
updater
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
UniversityOfHelsinkiCS/oodikone#5141 ·
-
maintanance
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
inmanta/web-console#7606 ·
I maintainer di solito rispondono entro 1 giorno
-
bug skills
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
equinor/fusion-framework#5846 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100