Notoriously Psychedelic Modules

    persistent-package-linker
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.2 • Public • Published

    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

    Keywords

    none

    Install

    npm i persistent-package-linker

    DownloadsWeekly Downloads

    1

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    58 kB

    Total Files

    48

    Last publish

    Collaborators

    • ties_s