Skip to content

netlify-cms-core react dependency #2673

@boombang

Description

@boombang

Describe the bug
According to https://www.netlifycms.org/blog/2019/07/netlify-cms-gatsby-plugin-4-0-0/ instead of netlify-cms we need to use netlify-cms-app package as it has React as a peer dependency. But netlify-cms-app also has netlify-cms-core dependency https://github.com/netlify/netlify-cms/blob/master/packages/netlify-cms-app/package.json#L33 which has React as a dependency, not a peer one https://github.com/netlify/netlify-cms/blob/master/packages/netlify-cms-core/package.json#L39
Because of that I still have multiple instances of React.

Expected behavior
In the package.json of netlify-cms-core react is set as a peer dependency

Screenshots
image

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