True when running from a monorepo workspace link (pnpm/bun/yarn `dev:link`).
(realEntry: string)
| 41 | |
| 42 | /** True when running from a monorepo workspace link (pnpm/bun/yarn `dev:link`). */ |
| 43 | function isWorkspaceLink(realEntry: string): boolean { |
| 44 | const normalized = normalizePath(realEntry); |
| 45 | // Resolved path lands inside the repo, typically .../packages/cli/... |
| 46 | // A real global install never contains `/packages/` because npm publish |
| 47 | // collapses the package into a flat tarball. |
| 48 | return normalized.includes("/packages/cli/"); |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * True when invoked via `npx hyperframes` / `bunx hyperframes`. These don't |
no test coverage detected