Function: createGetProjectContext()
Constructs a GetProjectContext instance wired with filesystem adapters.
Param
A fully-resolved SpecdConfig or explicit adapter options
Param
Optional kernel options; only used with the SpecdConfig form
Param
Additional node_modules paths for schema resolution
Call Signature
createGetProjectContext(
config,options?):GetProjectContext
Defined in: packages/core/src/composition/use-cases/get-project-context.ts:40
Constructs a GetProjectContext use case wired to all configured workspaces.
Parameters
config
The fully-resolved project configuration
options?
Optional kernel options (e.g. extra node_modules paths)
extraNodeModulesPaths?
readonly string[]
Additional node_modules paths for schema resolution
Returns
The pre-wired use case instance
Call Signature
createGetProjectContext(
options):GetProjectContext
Defined in: packages/core/src/composition/use-cases/get-project-context.ts:50
Constructs a GetProjectContext use case with explicit adapter options.
Parameters
options
Pre-built spec repositories, schema resolution paths
Returns
The pre-wired use case instance