Skip to content

dox_migration: export loadEnv from a public env.dart - #34

Merged
necessarylion merged 1 commit into
mainfrom
migration-production-confirm
Nov 2, 2026
Merged

necessarylion merged 1 commit into
mainfrom
migration-production-confirm

Conversation

@mydoxie

@mydoxie mydoxie commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Problem

The dox CLI needs to read APP_ENV the same way the Migrator does. The reader, loadEnv, is in src, which is private. Importing from src can break the CLI when the file moves.

Fix

New file packages/dox-migration/lib/env.dart exports loadEnv. It is a new library, so apps that import dox_migration.dart get no new names. Changelog line under ## Unreleased. No version bump.

Used by dartondox/dox-cli#9 (same branch name, for sibling CI).

@necessarylion
necessarylion merged commit e6fd79a into main Nov 2, 2026
2 checks passed
@necessarylion
necessarylion deleted the migration-production-confirm branch November 2, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants