Files
scriptc/tests/fixtures/npm-static/nested/main.ts
Chris Tate 5d25bdb004 Vercel CLI source ladder: five frontend fixes from the typecheck gate
- workspace-linked untyped dists register before the tsc gate and take the node_modules-JS island treatment (errors suppressed, out of userFiles)
- bare '.' and '..' specifiers resolve as relative directory imports (corpus 2386, coverage fixture dot-parent, SEMANTICS 362)
- TS default imports of supported builtins pass under the project's adopted interop knobs (corpus 2387)
- benign-cycle admission accepts d.ts-rooted callable arguments — promisify(fs.readFile) at a cycle member's top level (SEMANTICS 363)
- --npm-static auto probes runtime JS from the importing file's realm, not the entry's (nested-realm fixture)
2026-07-22 20:57:56 -05:00

11 lines
520 B
TypeScript

// The auto probe's resolution ANCHOR: shouty is installed only in
// inner/'s own node_modules — visible from the importing file's walk-up,
// invisible from this entry's (the pnpm-monorepo shape: vercel's CLI deps
// live in packages/cli/node_modules while the driver entry sits outside).
// auto must probe the runtime JS from the file that IMPORTS the package,
// or eligibility answers "no runtime JS entry resolves" for a perfectly
// ordinary install.
import { run } from "./inner/app.ts";
console.log(run());