Interface: ProjectGraphExternalNode

A node describing an external dependency name has as form of:

  • npm:packageName for root dependencies or
  • npm:packageName@version for nested transitive dependencies

This is vital for our node discovery to always point to root dependencies, while allowing tracking of the full tree of different nested versions

Table of contents

Properties

Properties

data

data: Object

Type declaration

NameType
hash?string
packageNamestring
versionstring

name

name: `npm:${string}`


type

type: "npm"