From 5057f925f6e9102d3f3c1e8a2d1bf912ea91d624 Mon Sep 17 00:00:00 2001 From: Devy <168729019+devy-bee@users.noreply.github.com> Date: Sun, 18 Aug 2024 04:43:12 +0900 Subject: [PATCH] chore: show deprecation info for globalDotEnv and dotEnv (#8974) Co-authored-by: Dimitri Mitropoulos --- packages/turbo-types/src/types/config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/turbo-types/src/types/config.ts b/packages/turbo-types/src/types/config.ts index a3cd584446321..0d588d43b157d 100644 --- a/packages/turbo-types/src/types/config.ts +++ b/packages/turbo-types/src/types/config.ts @@ -105,11 +105,11 @@ export interface RootSchema extends BaseSchema { globalPassThroughEnv?: null | Array; /** + * @deprecated as of Turborepo 2.0.0. Consider using {@link RootSchema.globalDependencies} instead. + * * A priority-ordered (most-significant to least-significant) array of project-anchored * Unix-style paths to `.env` files to include in the global hash. * - * Documentation: https://turbo.build/repo/docs/reference/configuration#globalDotEnv - * * @defaultValue `null` */ globalDotEnv?: null | Array; @@ -224,11 +224,11 @@ export interface Pipeline { passThroughEnv?: null | Array; /** + * @deprecated as of Turborepo 2.0.0. Consider using {@link Pipeline.inputs} instead. + * * A priority-ordered (most-significant to least-significant) array of workspace-anchored * Unix-style paths to `.env` files to include in the task hash. * - * Documentation: https://turbo.build/repo/docs/reference/configuration#dotEnv - * * @defaultValue `null` */ dotEnv?: null | Array;