Skip to content

Define package aliases and multiple-version coexistence #58

Open

Description

@LunaStev

Motivation

Vex currently requires the dependency key, source package name, and Wave import namespace to be identical. The graph also allows only one source/version requirement per package name. This prevents intentional renaming and coexistence of incompatible versions.

Design questions

  • Is the manifest dependency key the import namespace or package identity?
  • How does Vex pass aliases through --dep=<name>=<path>?
  • Can two aliases point to different versions of the same package?
  • How are package self-name validation and diagnostics preserved?
  • What identity is recorded in vex.lock and metadata?

Acceptance criteria

  • Publish an alias and package-identity model compatible with Wave imports.
  • Preserve deterministic conflict and cycle detection.
  • Make tree output distinguish alias, package name, version, and source.
  • Add tests for one rename, two versions, transitive aliases, and collisions.
  • Do not introduce registry semantics.

Activity

  1. added
    discussion
    feature request
    dependencies
    wave compatibility
    on Sep 18, 2026
  2. self-assigned this
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependenciesdiscussionfeature requestwave compatibility

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions