Skip to content

Commit 64c930b

Browse files
committed
fix: Regenerate schemas from Rust source for daemon deprecation
1 parent 5b33e20 commit 64c930b

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

crates/turborepo-schema-gen/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ fn generate_root_schema_interface() -> String {
639639
cacheDir?: RelativeUnixPath;
640640
641641
/**
642-
* Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.
642+
* Deprecated: The daemon is no longer used for `turbo run` and this option will be removed in version 3.0.
643643
*
644644
* Documentation: https://turborepo.dev/docs/reference/configuration#daemon
645645
*

crates/turborepo-turbo-json/src/raw.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,8 @@ pub struct RawTurboJson {
369369
#[ts(optional, rename = "dangerouslyDisablePackageManagerCheck")]
370370
pub allow_no_package_manager: Option<Spanned<bool>>,
371371

372-
/// Turborepo runs a background process to pre-calculate some expensive
373-
/// operations. This standalone process (daemon) is a performance
374-
/// optimization, and not required for proper functioning of `turbo`.
372+
/// Deprecated: The daemon is no longer used for `turbo run` and this
373+
/// option will be removed in version 3.0.
375374
///
376375
/// Documentation: https://turborepo.dev/docs/reference/configuration#daemon
377376
#[serde(skip_serializing_if = "Option::is_none")]

packages/turbo-types/schemas/schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
},
5151
"daemon": {
5252
"description": "Deprecated: The daemon is no longer used for `turbo run` and this option will be removed in version 3.0.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#daemon",
53-
"deprecated": true,
5453
"anyOf": [
5554
{
5655
"$ref": "#/definitions/Boolean"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export interface RootSchema extends BaseSchema {
156156
cacheDir?: RelativeUnixPath;
157157

158158
/**
159-
* Turborepo runs a background process to pre-calculate some expensive operations. This standalone process (daemon) is a performance optimization, and not required for proper functioning of `turbo`.
159+
* Deprecated: The daemon is no longer used for `turbo run` and this option will be removed in version 3.0.
160160
*
161161
* Documentation: https://turborepo.dev/docs/reference/configuration#daemon
162162
*

0 commit comments

Comments
 (0)