mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-23 06:10:02 +08:00
- 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)
11 lines
520 B
TypeScript
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());
|