docs(docs): R5.7 owner decision C6 (tsx optional peer), pre-merge note
This commit is contained in:
1 parent
cd69f0ea11
commit
27bf59cd4b
2 files changed
+34
-3
No files matched your search
@@ -29,7 +29,8 @@ C5. **Historical reproducibility.** The documentation names the reference commit
|
||||
sha256 of the artifacts; the procedure is rehearsed once; the old engine is not reintroduced in the current tree.
|
||||
|
||||
C6. **Dependencies and scripts.** The two packages' own dependencies leave the lockfile through `pnpm install`; `@xmldom/xmldom`
|
||||
and `tsx` are gone; root `prettier` stays (used by `pnpm format` and `db:types`); `pnpm import:equine` stays the Rust pipeline;
|
||||
is gone; no workspace manifest declares `tsx`, no script runs it, and the lockfile may keep it only as a transitive optional peer
|
||||
the package manager resolves itself (Clarification C6 below); root `prettier` stays (used by `pnpm format` and `db:types`); `pnpm import:equine` stays the Rust pipeline;
|
||||
`import:equine:legacy` and `assets:upload:legacy` are removed; no other dependency changes major version; the lockfile installs
|
||||
with `--frozen-lockfile`.
|
||||
|
||||
@@ -48,3 +49,22 @@ seed integrity suites, and the absence of any import of the deleted packages, al
|
||||
|
||||
C10. **Limits.** Branch only; no merge, no release, no deploy, no Supabase DEV data change, no migration, no new feature; no
|
||||
seed byte changed.
|
||||
|
||||
## Clarification C6 (owner, 2026-10-25, brief « Validation R5.7 et dernière vérification pré-fusion » §1)
|
||||
|
||||
The first wording read « `@xmldom/xmldom` and `tsx` are gone ». The owner accepts explicitly that `tsx` stays named in
|
||||
`pnpm-lock.yaml` when it is only an optional peer dependency of Vite. The objective C6 checks is: no old TypeScript pipeline
|
||||
active; no functional import from `packages/anatomy` or `packages/domain`; no script kept that requires them; no direct `tsx`
|
||||
dependency left without use; legitimate transitive or optional references of the package manager may stay. The lockfile is
|
||||
not edited by hand and no override or exclusion is added to drop the name.
|
||||
|
||||
Measured path (`pnpm why tsx -r`, 2026-10-25): `tsx` 4.23.15 is reached only as the `peer` of `vite` 7.3.6 (vite declares
|
||||
`tsx: ^4.8.1` under `peerDependencies` with `peerDependenciesMeta.tsx.optional: true`), through `vite`, `vitest`,
|
||||
`@vitest/mocker`, `vite-node`, `@tailwindcss/vite` and `@vitejs/plugin-react-swc` in the devDependencies of `apps/app`,
|
||||
`packages/core-wasm` and `packages/supabase`; its snapshot block carries `optional: true`; no importer lists it; no
|
||||
`node_modules/.bin/tsx` is linked.
|
||||
|
||||
The exception does not hide a consumer: `r5.census.test.ts` still fails if a manifest declares `tsx` (any dependency field),
|
||||
if a manifest script names `tsx`, `@faunosteo/{anatomy,domain}` or `packages/{anatomy,domain}` or ends in `:legacy`, if an importer block lists `tsx`, if the
|
||||
`tsx` snapshot loses `optional: true`, or if any app, Vite, glue or Supabase-package source imports a deleted package; the
|
||||
verifier checks these probes, not the lockfile name.
|
||||
Reference in new issue
Block a user