Skip to content

Select plugins in setup wizard #1244

@matejchalk

Description

@matejchalk

User story

We provide a list of official plugins for easy integration. They are a key part of a quickstart user journey. When using the setup wizard, users should be able to select which plugins they want to integrate.

Plugin bindings

We can pre-select plugins based on some basic information from the user's repository. For example, we can pre-select the ESLint plugin if we find an eslint.config.js file, or pre-select the Coverage plugin if we find a vitest.config.ts or jest.config.js file. This logic should be defined by each plugin individually.

The pre-selection is only a hint for convenience. Ultimately, the user decides what they're gonna use.

Acceptance criteria

  • The user can select any subset of our official plugins using a multi-select prompt.
    • At least 1 plugin must be selected.
  • Alternatively, the enabled plugins may be specified as a CLI argument.
  • Each plugin decides whether it's pre-selected in the prompt, or not.
    • The plugin-specific logic is not in scope of this issue. This issue is only concerned with the general mechanism of invoking plugin-provided async callback functions.
  • The user may un-select pre-selected plugins or add additional plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions