Skip to content

Export the default library item generated by vex init --lib #100

Closed

Description

@LunaStev

Problem

vex init --lib currently generates a private greet function. Wave dependencies expose public declarations, so the default library scaffold does not demonstrate an API that another package can import.

Scope

Keep this change limited to the library source template and its tests. Transactional initialization remains tracked in #33.

Acceptance criteria

  • Generate pub fun greet() for vex init --lib.
  • Keep the binary project template unchanged.
  • Add a regression test for the exact generated library source.
  • Verify that a generated library can be referenced as a local path dependency under the current wavec contract.
  • Update user documentation only where it displays the generated source.

Split from #33.

Activity

  1. added
    bug
    good first issue
    ui/ux
    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

    buggood first issueui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions