Skip to content

Commit 28f98a5

Browse files
authored
[heft-config-file] Let null reset properties (#5195)
* [heft-config-file] Let null reset properties * Update extends documentation * fix change files --------- Co-authored-by: David Michon <[email protected]>
1 parent 5baf098 commit 28f98a5

File tree

44 files changed

+198
-19
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+198
-19
lines changed

apps/api-extractor/config/heft.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/**
88
* Optionally specifies another JSON config file that this file extends from. This provides a way for standard
99
* settings to be shared across multiple projects.
10+
*
11+
* To delete an inherited setting, set it to `null` in this file.
1012
*/
1113
"extends": "decoupled-local-node-rig/profiles/default/config/heft.json",
1214

apps/heft/src/schemas/heft-legacy.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121

2222
"extends": {
23-
"description": "Optionally specifies another JSON config file that this file extends from. This provides a way for standard settings to be shared across multiple projects.",
23+
"description": "Optionally specifies another JSON config file that this file extends from. This provides a way for standard settings to be shared across multiple projects. To delete an inherited setting, set it to `null` in this file.",
2424
"type": "string"
2525
},
2626

apps/heft/src/schemas/heft.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
},
105105

106106
"extends": {
107-
"description": "Optionally specifies another JSON config file that this file extends from. This provides a way for standard settings to be shared across multiple projects.",
107+
"description": "Optionally specifies another JSON config file that this file extends from. This provides a way for standard settings to be shared across multiple projects. To delete an inherited setting, set it to `null` in this file.",
108108
"type": "string"
109109
},
110110

apps/heft/src/schemas/node-service.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414

1515
"extends": {
16-
"description": "Optionally specifies another JSON config file that this file extends from. This provides a way for standard settings to be shared across multiple projects.",
16+
"description": "Optionally specifies another JSON config file that this file extends from. This provides a way for standard settings to be shared across multiple projects. To delete an inherited setting, set it to `null` in this file.",
1717
"type": "string"
1818
},
1919

apps/heft/src/schemas/templates/heft.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/**
88
* Optionally specifies another JSON config file that this file extends from. This provides a way for standard
99
* settings to be shared across multiple projects.
10+
*
11+
* To delete an inherited setting, set it to `null` in this file.
1012
*/
1113
// "extends": "base-project/config/heft.json",
1214

apps/lockfile-explorer-web/config/heft.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/**
88
* Optionally specifies another JSON config file that this file extends from. This provides a way for standard
99
* settings to be shared across multiple projects.
10+
*
11+
* To delete an inherited setting, set it to `null` in this file.
1012
*/
1113
"extends": "local-web-rig/profiles/app/config/heft.json",
1214

apps/lockfile-explorer/config/heft.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/**
88
* Optionally specifies another JSON config file that this file extends from. This provides a way for standard
99
* settings to be shared across multiple projects.
10+
*
11+
* To delete an inherited setting, set it to `null` in this file.
1012
*/
1113
"extends": "local-node-rig/profiles/default/config/heft.json",
1214

apps/lockfile-explorer/config/node-service.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
/**
99
* Optionally specifies another JSON config file that this file extends from. This provides a way for standard
1010
* settings to be shared across multiple projects.
11+
*
12+
* To delete an inherited setting, set it to `null` in this file.
1113
*/
1214
// "extends": "base-project/config/serve-command.json",
1315

build-tests-samples/heft-web-rig-library-tutorial/config/api-extractor.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* Optionally specifies another JSON config file that this file extends from. This provides a way for
99
* standard settings to be shared across multiple projects.
1010
*
11+
* To delete an inherited setting, set it to `null` in this file.
12+
*
1113
* If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains
1214
* the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be
1315
* resolved using NodeJS require().

build-tests/heft-fastify-test/config/node-service.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
/**
99
* Optionally specifies another JSON config file that this file extends from. This provides a way for standard
1010
* settings to be shared across multiple projects.
11+
*
12+
* To delete an inherited setting, set it to `null` in this file.
1113
*/
1214
// "extends": "base-project/config/serve-command.json",
1315

0 commit comments

Comments
 (0)