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

Create .npmyrc automatically #3

Closed
obenjiro opened this issue Jul 21, 2017 · 8 comments
Closed

Create .npmyrc automatically #3

obenjiro opened this issue Jul 21, 2017 · 8 comments

Comments

@obenjiro
Copy link

obenjiro commented Jul 21, 2017

Create .npmyrc automatically upon calling

npmy [path] [--include=pattern]
@RubaXa
Copy link
Contributor

RubaXa commented Jul 21, 2017

I think better add flag --save, m?

@obenjiro
Copy link
Author

Do no care too much about format. Just want this feature

RubaXa added a commit that referenced this issue Jul 29, 2017
@RubaXa
Copy link
Contributor

RubaXa commented Jul 29, 2017

Done, try npm i -g npmy@"0.4.1+issue-3"

@RubaXa
Copy link
Contributor

RubaXa commented Aug 2, 2017

@AiBoy ?

@obenjiro
Copy link
Author

obenjiro commented Aug 2, 2017

@RubaXa sry, had really busy days.

Dosn't work for me :/ Maybe i'm missing something

mkdir a;
mkdir b;
cd a/
npm init
vim package.json  # add "dependencies": { "b": "*" },
cd ../b
npm init
cd ../a
npmy add ../b

RubaXa added a commit that referenced this issue Aug 2, 2017
@RubaXa
Copy link
Contributor

RubaXa commented Aug 2, 2017

npmy --add=../b

@obenjiro
Copy link
Author

obenjiro commented Aug 2, 2017

@RubaXa

NPMy (ctrl+c -> exit)
 - tmp: /var/folders/8t/6z0hngy16fsc4xcdxd8rw5zh0000gn/T
 - add: ../b
---------------------
 - Added 1 packages
{
  "b": "/Users/USER/Sites/test/b"
}
 /Users/USER/Sites/test/a
   /
(node:51433) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Object.entries is not a function

RubaXa added a commit that referenced this issue Aug 2, 2017
@RubaXa
Copy link
Contributor

RubaXa commented Aug 2, 2017

:], try npm i -g npmy@"0.5.0-without-entries"

@RubaXa RubaXa closed this as completed Sep 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants