Skip to content

Commit

Permalink
fix: missing bun.lock (#9958)
Browse files Browse the repository at this point in the history
### Description

In #9950 (comment)
it was observed that `bun.lock` is missing from this list.

I started by exposing and then consuming the constants right from the
source (d9ea60f) and then added
`bun.lock` to the list in (c5840db)

### Testing Instructions

`bun.lock` should now invalidate. With
#9783 being released, this is
expected behavior.
  • Loading branch information
dimitropoulos authored Feb 13, 2025
1 parent ba3d6fd commit a6dc26e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
9 changes: 5 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,11 @@ 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,
package_manager::bun::LOCKFILE,
];

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 a6dc26e

Please sign in to comment.