Skip to content

Commit c1a3b06

Browse files
chore(@turbo/types): add noUpdateNotifier to types
1 parent 1ba1b4a commit c1a3b06

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

packages/turbo-types/schemas/schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@
9797
"boundaries": {
9898
"$ref": "#/definitions/RootBoundariesConfig",
9999
"description": "Configuration for `turbo boundaries`. Allows users to restrict a package's dependencies and dependents"
100+
},
101+
"noUpdateNotifier": {
102+
"type": "boolean",
103+
"description": "When set to `true`, disables the update notification that appears when a new version of `turbo` is available.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#noupdatenotifier",
104+
"default": false
100105
}
101106
},
102107
"additionalProperties": false,

packages/turbo-types/schemas/schema.v2.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@
9797
"boundaries": {
9898
"$ref": "#/definitions/RootBoundariesConfig",
9999
"description": "Configuration for `turbo boundaries`. Allows users to restrict a package's dependencies and dependents"
100+
},
101+
"noUpdateNotifier": {
102+
"type": "boolean",
103+
"description": "When set to `true`, disables the update notification that appears when a new version of `turbo` is available.\n\nDocumentation: https://turborepo.com/docs/reference/configuration#noupdatenotifier",
104+
"default": false
100105
}
101106
},
102107
"additionalProperties": false,

packages/turbo-types/src/types/config-v2.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,15 @@ export interface RootSchema extends BaseSchema {
181181
* Configuration for `turbo boundaries`. Allows users to restrict a package's dependencies and dependents
182182
*/
183183
boundaries?: RootBoundariesConfig;
184+
185+
/**
186+
* When set to `true`, disables the update notification that appears when a new version of `turbo` is available.
187+
*
188+
* Documentation: https://turborepo.com/docs/reference/configuration#noupdatenotifier
189+
*
190+
* @defaultValue `false`
191+
*/
192+
noUpdateNotifier?: boolean;
184193
}
185194

186195
export interface Pipeline {

0 commit comments

Comments
 (0)