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

feat: run yalc from anywhere #62

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

Conversation

aleclarson
Copy link
Contributor

@aleclarson aleclarson commented Dec 30, 2018

Yalc now looks for the nearest ancestor that contains a package.json file.

I also did some tidying up!

(Probably wanta merge #61 first)

The only relevant commit: d1dbf1a

Fixes #47

and upgrade "husky" to v1.3
Any commands with a --yarn flag will look for a "yarn.lock" file in the working directory. When a lockfile exists, the --yarn flag will be true by default.

Other fixes:
- actually use argv.yarn for the "link" command
- actually use the `getPackageManager` function's argument
- remove unused `showVersion` function
Make the `add` and `link` commands update the "node_modules/.bin" directory.
Yalc now looks for the nearest ancestor that contains a package.json file.

I also did some tidying up!

Fixes wclr#47
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.

None yet

1 participant