Config: resolvePalamedesConfigPath
Functions, types, and exports for Config: resolvePalamedesConfigPath.
Page outline
Resolve an adapter's configPath option against its project root.
Every adapter uses this rule: a relative configPath resolves from
projectRoot, and an absolute one stays as written. Returns undefined
when no config path is set, so callers keep automatic config discovery.
import { resolvePalamedesConfigPath } from "@palamedes/config"
resolvePalamedesConfigPath(projectRoot: string, configPath: string | undefined): string | undefined
Parameters
| Name | Type | Required |
|---|---|---|
projectRoot | string | Yes |
configPath | string | undefined | Yes |
Returns
string | undefined
Last updated: November 1, 2026