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

Method getWorkspacePackages

src/resolution/types.ts:274–274  ·  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

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

Callers 8

isExternalImportFunction · 0.80
resolveAliasedImportFunction · 0.80
isRepositoryModuleFunction · 0.80
workspacePackageDirOfMethod · 0.80
arkuiEmitterEdgesFunction · 0.80
arkuiRouterEdgesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected