Documentation
    Preparing search index...

    Removes duplicated dependency and peerDependency entries leaving only the peerDependencies behind.

    The point of this is to let peerDependencies install locally too by defining them twice, once as a peerDependency, and once as a normal dependency. This step will remove the one that was meant to only be present locally.

    Implements

    • PakkFeature
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    order: 5

    The higher the number the later the feature will be invoked within each step.

    The only real use of this is to make sure the sorting of the packageJson file happens last.

    Methods

    • A final, synchronous step to modify the packageJson file. The returned object will replace the original one completely, no merging is happening. postprocess steps are happening sequentially, in order the subplugins are defined.

      Parameters

      Returns Replace