Skip to content

Commit aa1d305

Browse files
roodboiclaude
andcommitted
docs(env): deprecation marker on legacy v2 env migrator
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 644f818 commit aa1d305

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/lib/project-env-config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,6 +1946,14 @@ function removeLegacyComposeEnvFileEntries(opts: {
19461946
return kept.length > 0 ? kept : undefined;
19471947
}
19481948

1949+
/**
1950+
* Migrates a legacy v2 `.env`-based project env layout to the v3
1951+
* `hack.env.*.yaml` config system.
1952+
*
1953+
* @deprecated v2→v3 migration path. TODO(remove: v3.2) together with its
1954+
* callers in commands/project.ts, commands/doctor.ts, commands/session.ts,
1955+
* and commands/env.ts (`maybeMigrateLegacyProjectEnv`).
1956+
*/
19491957
export async function migrateLegacyProjectEnv(opts: {
19501958
readonly projectRoot: string;
19511959
readonly projectDir: string;

0 commit comments

Comments
 (0)