Skip to content

Keep browser-edge builds path-safe and dry-run friendly #159

@RasputinKaiser

Description

@RasputinKaiser

The browser-edge target currently resolves the default dist/ directory relative to the current process instead of ctx.projectDir, and its build path shells out through execSync to create the output dir and run zip.\n\nThat makes validation/dry-run contexts less predictable:\n\n- ctx.dryRun still reaches source-file validation and shell packaging work\n- project-relative sourceDir values can point at the wrong directory depending on where the CLI process was launched\n- shell command construction is less consistent with the shared target adapter exec pattern\n\nProposed fix:\n\n- resolve relative source directories from ctx.projectDir\n- emit a deterministic dry-run package plan artifact before touching source files or invoking zip\n- use the shared exec helper for real zip packaging\n- add tests for dry-run planning and real package command resolution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions