Resolve a deterministic dotenv target across paths based on scope/privacy selectors.
Selection rules, in tiers (each tier searches every path, in search order, before the next):
an existing target file (<target>);
the env-specific template (<target>.<templateExtension>);
scope: 'env' only: the shared env template, named like the target with
sharedEnvTemplateToken in place of the env name (.env.env.local.template).
So an existing target in any path beats a template in any path, and an env-specific
template in any path beats the shared one. For a template match, targetPath is the
target filename in the template's directory. Throws, listing every candidate checked,
when nothing matches.
Resolve a deterministic dotenv target across
pathsbased on scope/privacy selectors.Selection rules, in tiers (each tier searches every path, in search order, before the next):
<target>);<target>.<templateExtension>);scope: 'env'only: the shared env template, named like the target withsharedEnvTemplateTokenin place of the env name (.env.env.local.template).So an existing target in any path beats a template in any path, and an env-specific template in any path beats the shared one. For a template match,
targetPathis the target filename in the template's directory. Throws, listing every candidate checked, when nothing matches.