Skip to content

Plugin depending on another plugin #1938

@pksunkara

Description

@pksunkara

What problem does this feature solve?

Some plugins might want to depend on other plugins. Currently, there is no way to do this.

What does the proposed API look like?

If the package.json dependencies of vue-cli-plugin-a contains vue-cli-plugin-b, then:

  1. vue add a will run vue add b and then vue add a
  2. vue invoke a will run vue invoke b and then vue invoke a (Optionally configured by a)

We can do this multiple deep levels.

Issues

  1. If a depends on b and c, what's the order of b and c to be run?
  2. What about circular dependencies?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy