Skip to content

Add ability to define dependy on a group of tasks / group of dependencies #272

Open

Description

@brokenmass

example:
dependsOn: ['^#build'],

possibly:
allow name wildcards dependsOn: ['libraries*#build'],
allow 'categories' dependsOn: ['__dependencies__*#build'],
allow task wildcards dependsOn: ['^#build:*'],

Activity

  1. changed the title [-]Add ability to defined dependy on a task on every dependency / devDependency package.[/-] [+]Add ability to define dependy on a task on every dependency / devDependency package.[/+] on Mar 18, 2026
  2. changed the title [-]Add ability to define dependy on a task on every dependency / devDependency package.[/-] [+]Add ability to define dependy on a group of tasks / group of dependencies[/+] on Mar 18, 2026
  3. wan9chi commented on Apr 3, 2026

    @wan9chi
    Member

    This is on our radar and high priority.

  4. jasonkuhrt commented on Nov 2, 2026

    @jasonkuhrt
    Contributor

    Written by an AI agent (Claude) on behalf of @jasonkuhrt.

    A use case: a task that needs a task in every workspace package, whether or not it depends on those packages. Our workspace-wide type check needs generate in every package that defines it. Today we keep two hand-written lists of those producers, and a package that adds a generator has to be added to them by hand.

    The draft RFC in #322 covers it with the vp run vocabulary, { "recursive": "generate" }, which would run generate in every workspace package that defines it, skipping the packages that don't. vp run -r generate nested inside the task isn't a substitute, because nested runs aren't deduplicated, by design (#323).

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

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions