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>
45 lines
948 B
Markdown
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`
|