nx/docs/generated/devkit/ProjectGraphExternalNode.md
Juri Strumpflohner b51676a89a
docs(core): restructure guides into technologies sections (#31288)
Updates the docs structure, navigation etc to be easier + better suited
for showing Nx technology support beyond just TS.

**Notes:**

- API (`/nx-api`) tab is removed from the navigation (i.e. menu bar),
but pages still remain for now until we update references in `*.md`
files.
- Redirects are set up `/nx-api` to go to their respect new location
e.g. `/technologies` or `/reference/core-api`
- Old URLs still exist in the sitemap for now, but majority of them will
be redirected -- a follow-up PR can remove them.

**Preview:**
https://nx-dev-git-nx-dev-polyglot-docs-restructure-nrwl.vercel.app/docs

---------

Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2025-05-29 14:55:34 -04:00

45 lines
948 B
Markdown

# 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
- [data](/reference/core-api/devkit/documents/ProjectGraphExternalNode#data): Object
- [name](/reference/core-api/devkit/documents/ProjectGraphExternalNode#name): string
- [type](/reference/core-api/devkit/documents/ProjectGraphExternalNode#type): string
## Properties
### data
**data**: `Object`
#### Type declaration
| Name | Type |
| :------------ | :------- |
| `hash?` | `string` |
| `packageName` | `string` |
| `version` | `string` |
---
### name
**name**: `string`
---
### type
**type**: `string`