2.1.2 • Published 7 years ago

persistent-package-linker v2.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Persistent package linker (ppl)

In npm@>=5 packages linked via npm link are lost if npm install is called, this package tries to fix that.

NOTE: Doesn't work with npm@>=5.1 <5.8 because of a bug introduced in v5.1, this bug has been fixed in v5.8.0.

NOTE: Requires npm@>=5.4 to work when installing local modules with their file path.

Installation

npm install -g persistent-package-linker

Usage

Link current package

ppl link 

same as original npm link (but some internal diffrences)

Link package

ppl link <package>

internally adds the package name to package-links.json and calls npm link <package>

Link all saved packages

ppl link-file

Links all packages stored in the package-links.json file.

package-links.json

Linked packages are stored in this file to be linked after each call to npm install. This file can be put in .gitignore

Known issues

  • relinks packages for all dependencies, not very efficient but works
2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.11.0

7 years ago

0.10.0

8 years ago

0.9.0

8 years ago

0.8.0

8 years ago

0.7.0

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago