@unotest/web 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,6 +30,13 @@ declare function scenarioInRootDiagnostic(file: string, cwd: string): LintDiagno
30
30
  * returns argv with the flag removed. An explicit shell `UNOTEST_ENV` is left
31
31
  * untouched when `--env` is absent. */
32
32
  declare function applyEnvFlag(args: string[]): string[];
33
+ /** Argv as the subcommand sees it.
34
+ *
35
+ * `bundle` owns its own `--env`: it names an environment ON A BOX, not a
36
+ * local `.env.<name>` overlay. Consuming it globally left `bundle push
37
+ * --run --env prod` refusing to run with "--run needs --env" — the command
38
+ * the box manual and every CI job use. */
39
+ declare function commandArgs(rawArgs: string[]): string[];
33
40
  declare function main(argv: string[]): void;
34
41
 
35
- export { applyEnvFlag, extraPositionalsError, main, scenarioInRootDiagnostic, scenarioNameFromPath, scenarioNotFoundMessage };
42
+ export { applyEnvFlag, commandArgs, extraPositionalsError, main, scenarioInRootDiagnostic, scenarioNameFromPath, scenarioNotFoundMessage };