Skip to content

micro as a peerDependency #31

@tinchoz49

Description

@tinchoz49

Hi everyone, how are you?

What do you think about define micro as a peerDependency?

For example, in my case I'm using micro 8.0.4 in production but when I run micro-dev I have two differents intances of micro working on (8.0.4 and 8.0.2) because how NPM resolve my dependencies.

This is a problem when micro uses some kind of internal state behaviour like this one: https://github.com/zeit/micro/blob/master/lib/index.js#L114

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions