Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: show deprecation info for globalDotEnv and dotEnv #8974

Merged
merged 6 commits into from
Aug 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading