@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.
- package/CHANGELOG.md +183 -0
- package/README.md +45 -6
- package/dist/config/schema.d.ts +12 -12
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.d.ts +8 -1
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.js +1 -1
- package/dist/runner/install-chromium.js +1 -1
- package/dist/runner/prepare-fix.js +1 -1
- package/dist/runner/scaffold-workspace.js +1 -1
- package/dist/runner/serve-fixture.js +1 -1
- package/dist/runner/web-runner-adapter.js +1 -1
- package/package.json +8 -8
package/dist/runner/cli.d.ts
CHANGED
|
@@ -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 };
|