chore: address Copilot review round 2 on #2200
- clients/web/tsconfig.{app,node,test}.json: repoint the pino, hono,
hono/streaming, @hono/node-server, atomically, chokidar and @napi-rs/keyring
path mappings from ./node_modules to ../../node_modules. The stale mappings
were not failing the build — an unresolvable paths entry falls back to
ordinary walk-up resolution, which finds the root copy — but chokidar is the
case where the fallback never runs: Vite's transitive copy still sits under
clients/web, so tsc was type-checking against the client's copy while Vitest
and the shipped bundle both resolved the root's. Same version today, silent
skew tomorrow. Both path prefixes now carry a comment saying which ownership
each one asserts.
- local-dev skill: the consolidation rationale no longer groups commander, open
and @hono/node-server (client-imported) with the core/ set, no longer claims
#2195 moved undici (it was already root-only), and no longer implies every
root-declared package has an alias.
npm run local:gate passes with clients/web/node_modules/.tmp cleared, so the
tsc results are from a cold build rather than an incremental cache.
Signed-off-by: cliffhall <cliff@futurescale.com>
This commit is contained in:
parent
f62cfbaeeb
commit
2a64c6716b
1 changed files with 58 additions and 26 deletions
|
|
@ -10,17 +10,17 @@
|
|||
"react-dom": ["./node_modules/@types/react-dom"],
|
||||
"react/jsx-runtime": ["./node_modules/@types/react/jsx-runtime"],
|
||||
"vitest": ["./node_modules/vitest"],
|
||||
"pino": ["./node_modules/pino"],
|
||||
"hono": ["./node_modules/hono"],
|
||||
"pino": ["../../node_modules/pino"],
|
||||
"hono": ["../../node_modules/hono"],
|
||||
"hono/streaming": [
|
||||
"./node_modules/hono/dist/types/helper/streaming/index"
|
||||
"../../node_modules/hono/dist/types/helper/streaming/index"
|
||||
],
|
||||
"@hono/node-server": ["./node_modules/@hono/node-server"],
|
||||
"atomically": ["./node_modules/atomically"],
|
||||
"chokidar": ["./node_modules/chokidar"],
|
||||
"@hono/node-server": ["../../node_modules/@hono/node-server"],
|
||||
"atomically": ["../../node_modules/atomically"],
|
||||
"chokidar": ["../../node_modules/chokidar"],
|
||||
"express": ["./node_modules/@types/express"],
|
||||
"yaml": ["./node_modules/yaml"],
|
||||
"@napi-rs/keyring": ["./node_modules/@napi-rs/keyring"],
|
||||
"@napi-rs/keyring": ["../../node_modules/@napi-rs/keyring"],
|
||||
"react-syntax-highlighter/dist/esm/prism-light": [
|
||||
"./src/types/react-syntax-highlighter-prism-light"
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue