Skip to content

Add ability to inject middleware so addons can become much smarter #638

@ndelangen

Description

@ndelangen

Currently addons have access to the 'Manager App' and the 'Preview Area'.

Adding an ability to inject custom (express) middleware would open up even more opportunities for creative addon-creators.

These custom middlewares can provide storybook with new features by enabling additional data retrieval for addons.

Some data examples of data:

  • unit tests
  • package / dependencies version & updates
  • package dependency graph
  • git & other system integrations

I don't think it's all that hard to implement via config.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions