Skip to content

Commit

Permalink
chore: show deprecation info for globalDotEnv and dotEnv (#8974)
Browse files Browse the repository at this point in the history
Co-authored-by: Dimitri Mitropoulos <[email protected]>
  • Loading branch information
devy-bee and dimitropoulos authored Aug 17, 2024
1 parent 219c114 commit 5057f92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/turbo-types/src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ export interface RootSchema extends BaseSchema {
globalPassThroughEnv?: null | Array<EnvWildcard>;

/**
* @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<AnchoredUnixPath>;
Expand Down Expand Up @@ -224,11 +224,11 @@ export interface Pipeline {
passThroughEnv?: null | Array<EnvWildcard>;

/**
* @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<AnchoredUnixPath>;
Expand Down

0 comments on commit 5057f92

Please sign in to comment.