Skip to content

pub workspace add #4718

@sigurdm

Description

@sigurdm

New command to add a package into the current workspace.

> dart pub workspace add [pkgs/blah]

Would:

  • Complain if [pkgs/blah] is already has resolution: workspace
  • resolve [pkgs/blah] as a glob relative to the current package
  • add [pkgs/blah] to the workspace of the current package.
  • change all the resolved packages to have resolution: workspace

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions