docs(core): nx.json extends property (#15393)
This commit is contained in:
parent
7df4b2237b
commit
a5a64cd5be
@ -6,6 +6,7 @@ The following is an expanded version showing all options. Your `nx.json` will li
|
||||
|
||||
```json {% fileName="nx.json" %}
|
||||
{
|
||||
"extends": "nx/presets/npm.json",
|
||||
"npmScope": "happyorg",
|
||||
"affected": {
|
||||
"defaultBase": "main"
|
||||
@ -48,6 +49,10 @@ The following is an expanded version showing all options. Your `nx.json` will li
|
||||
}
|
||||
```
|
||||
|
||||
### Extends
|
||||
|
||||
Some presets use the `extends` property to hide some default options in a separate json file. The json file specified in the `extends` property is located in your `node_modules` folder. The Nx preset files are specified in [the `nx` package](https://github.com/nrwl/nx/tree/master/packages/nx/presets).
|
||||
|
||||
### NPM Scope
|
||||
|
||||
Tells Nx what prefix to use when generating library imports.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user