MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getWorkspacePackages

Method getWorkspacePackages

src/resolution/types.ts:157–157  ·  view source on GitHub ↗

* Monorepo workspace member packages, keyed by declared package name. * Returns `null` for single-package repos (no `workspaces` field). * Lets the resolver treat `@scope/ui/sub` as a local import into the * member's directory instead of an external npm package (#629).

()

Source from the content-addressed store, hash-verified

155 * member's directory instead of an external npm package (#629).
156 */
157 getWorkspacePackages?(): import('./workspace-packages').WorkspacePackages | null;
158 /**
159 * Re-exports declared by a file (`export { x } from './other'`,
160 * `export * from './other'`). Empty array when the file has none.

Callers 4

isExternalImportFunction · 0.80
resolveAliasedImportFunction · 0.80
arkuiEmitterEdgesFunction · 0.80
arkuiRouterEdgesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected