Skip to content

Create .vex/deps only when dependency resolution needs it #102

Closed

Description

@LunaStev

Problem

vex init creates an empty .vex/deps directory even when the new package has no dependencies. Managed dependency state should appear only when resolution actually needs it.

Scope

This issue only changes when the managed checkout directory is created. Transactional initialization remains tracked in #33.

Acceptance criteria

  • vex init no longer creates an empty .vex/deps directory.
  • Commands that resolve Git dependencies still create the directory when needed.
  • Commands with no Git dependencies do not create it as a side effect.
  • --locked, --offline, and dry-run behavior do not gain unexpected filesystem mutations.
  • Add regression tests for initialization and first dependency resolution.

Split from #33.

Activity

  1. added
    enhancement
    good first issue
    dependencies
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesenhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions