Skip to content

Commit

Permalink
switch to using the constants
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed Feb 13, 2025
1 parent b50861b commit d9ea60f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions crates/turborepo-filewatch/src/package_watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ enum State {
const INVALIDATION_PATHS: &[&str] = &[
"package.json",
"pnpm-workspace.yaml",
"pnpm-lock.yaml",
"package-lock.json",
"yarn.lock",
"bun.lockb",
package_manager::pnpm::LOCKFILE,
package_manager::npm::LOCKFILE,
package_manager::yarn::LOCKFILE,
package_manager::bun::LOCKFILE_BINARY,
];

impl Subscriber {
Expand Down
12 changes: 6 additions & 6 deletions crates/turborepo-repository/src/package_manager/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
mod bun;
mod npm;
mod npmrc;
mod pnpm;
mod yarn;
mod yarnrc;
pub mod bun;
pub mod npm;
pub mod npmrc;
pub mod pnpm;
pub mod yarn;
pub mod yarnrc;

use std::{
backtrace,
Expand Down

0 comments on commit d9ea60f

Please sign in to comment.