Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

mm-plugin install conflicts with existing package.json #38

Closed
danfinlay opened this issue Nov 5, 2019 · 2 comments
Closed

mm-plugin install conflicts with existing package.json #38

danfinlay opened this issue Nov 5, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@danfinlay
Copy link
Contributor

Steps to reproduce:

  • Start with your own package.json
  • yarn add mm-plugin -D to install mm-plugin as a dev dependency
  • run yarn mm-plugin init to run the mm-plugin

Problems:

  • Notice all of the mm-plugin (dev dependencies) are flattened and added to dependencies
  • Notice undefined is added as a prefix to all dependency versions.

Found by @whymarrh

@danfinlay danfinlay added the bug Something isn't working label Nov 5, 2019
@rekmarks
Copy link
Member

rekmarks commented Nov 5, 2019

This is due to mm-plugin using the init module of from the npm CLI. Working on a fix.

@rekmarks
Copy link
Member

rekmarks commented Nov 5, 2019

Fixed by 436b635

@rekmarks rekmarks closed this as completed Nov 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants