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

Use default values from yarn and npm #2

Open
4 tasks
langpavel opened this issue Dec 22, 2018 · 0 comments
Open
4 tasks

Use default values from yarn and npm #2

langpavel opened this issue Dec 22, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@langpavel
Copy link
Member

langpavel commented Dec 22, 2018

Feature request

Now defaults are read from git config. Do this with yarn and npm too.

Read defauts for package.json from yarn.
Yarn is reading npm config too

yarn config get is everything needed

All in one command can be yarn config list --json filtering inspect messages.
See jsonlines.org:

{"type":"info","data":"yarn config"}
{"type":"inspect","data":{ /* YARN config here... */ }
{"type":"info","data":"npm config"}
{"type":"inspect","data":{ /* NPM config here... */ "init.license":"MIT"}}
  • init-author-name, init.author.name, username
  • init-author-email, init.author.email, email
  • init-author-url
  • init-license, init.license

Resources

@langpavel langpavel added the enhancement New feature or request label Dec 22, 2018
@langpavel langpavel self-assigned this Dec 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant