Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto add #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Auto add #23

wants to merge 3 commits into from

Conversation

benallfree
Copy link

@benallfree benallfree commented Nov 24, 2017

This adds a wml aa command which scans through existing source links and checks to see if those same packages are contained within the node_modules/ of the current project. If it finds them, it will auto-link them.

$ wml aa
Scanning for @miriamjs/ioc
Scanning for @miriamjs/chai-throw-async
Scanning for @miriamjs/mock-http-server
Error: link already exists miriam/ioc -> ./node_modules/@miriamjs/ioc
Error: link already exists miriam/chai-throw-async -> ./node_modules/@miriamjs/chai-throw-async
Adding @miriam/mock-http-server -> ./node_modules/@miriamjs/mock-http-server

This command is very helpful when a watched package is depended upon by multiple other packages.

@sytolk
Copy link

sytolk commented Mar 19, 2018

I need this too 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants