Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Automatically execute 'link' directly after 'install' #17312

Open
dkern opened this issue Jun 19, 2017 · 2 comments
Open

Automatically execute 'link' directly after 'install' #17312

dkern opened this issue Jun 19, 2017 · 2 comments

Comments

@dkern
Copy link

dkern commented Jun 19, 2017

ReOpen issue after @npm-robot closed the original #15999

What's the feature?

Actuelly it seems like there is no build-in way to execute binary linking on installation. It would nice to have a way to run npm link directly after/with npm install too. Maybe with an additional parameter like npm install -l.

What problem is the feature intended to solve?

Currently the only way to do this is to execute npm install and afterward npm link. It is even no solution to create a custom script, like npm install && npm link, because then everyone needs to know the call and cant just use install. It's not possible to use postinstall with npm link too, beacuse this would result in a loop.

Is the absence of this feature blocking you or your team? If so, how?

Hard to say. Lets say it would be easier with such feature! ;)

Is this feature similar to an existing feature in another tool?

I would say yes. It's just the execution of npm link after installation with an parameter on npm install. No new functionallity in general.

Is this a feature you're prepared to implement, with support from the npm CLI team?

No.

@nettiopsu
Copy link

Can be a very nice feature if e.g. source codes are located in different from npm catalogue git servers

@dkern
Copy link
Author

dkern commented Jun 28, 2018

Over a year without any reaction ... 😞

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

No branches or pull requests

2 participants