Skip to content

Update globby 15.0.0 → 16.2.0 (major)#19897

Open
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/pnpm/globby-16.2.0
Open

Update globby 15.0.0 → 16.2.0 (major)#19897
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/pnpm/globby-16.2.0

Conversation

@depfu
Copy link
Copy Markdown
Contributor

@depfu depfu bot commented Apr 3, 2026

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ globby (15.0.0 → 16.2.0) · Repo

Release Notes

16.2.0


v16.1.1...v16.2.0

16.1.1

  • Fix negation patterns with absolute filesystem paths 72e9916

v16.1.0...v16.1.1

16.1.0


v16.0.0...v16.1.0

16.0.0

Breaking

  • Respect parent .gitignore files when gitignore option is enabled b9a9a84
    • When {gitignore: true}, Globby now searches for .gitignore files up to the Git repo root (if detected). This matches Git's actual behavior where parent .gitignore patterns apply to subdirectories. Previously, only .gitignore files within the glob search path were considered. This change could break existing code that relied on the previous, more limited behavior.

Improvements

  • Support negation-only patterns 1273541
  • Respect custom fs implementation from options c2eb272
  • Add some more options to isGitIgnored functions e794ff9
  • Improve error message for invalid cwd option 7535e6d

Fixes

  • Fix {gitignore: true} performance issue fcb07c3
  • Fix bundler compatibility e6c72c9
  • Fix parent directory patterns with gitignore option 11dd2df
  • Fix ignore patterns with parent directory references a58d117
  • Fix types for stats option c10f600

v15.0.0...v16.0.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 30 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Apr 3, 2026
@depfu depfu bot requested a review from a team as a code owner April 3, 2026 17:44
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 3, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 6f3c41df-20bc-4146-8f82-c48dc11a03aa

📥 Commits

Reviewing files that changed from the base of the PR and between 6ccedca and 8d3db05.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • packages/@tailwindcss-upgrade/package.json
✅ Files skipped from review due to trivial changes (1)
  • packages/@tailwindcss-upgrade/package.json

Walkthrough

This change updates the globby dependency in the @tailwindcss-upgrade package from version ^15.0.0 to ^16.2.0. The update modifies the package.json file with a single-line change. No code within the package itself was altered, and no exported or public entities were affected by this dependency version bump. The change updates the resolved behavior and API surface available at install and runtime.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the main change: updating the globby dependency from version 15.0.0 to 16.2.0, which matches the changeset.
Description check ✅ Passed The description is directly related to the changeset, providing detailed release notes, commit history, and upgrade information for the globby dependency update.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
packages/@tailwindcss-upgrade/package.json (1)

34-34: Verify file discovery behavior in monorepo scenarios with globby v16.

globby v16 changes how gitignore: true resolves parent .gitignore files—it now searches up to the Git repository root. This code already acknowledges this at Line 103 with a comment, but there are no dedicated tests validating file discovery behavior in nested/monorepo cwd cases. Consider adding a test to ensure CSS files are discovered as expected when the tool runs from a subdirectory within a monorepo.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/`@tailwindcss-upgrade/package.json at line 34, Add a
unit/integration test that verifies file discovery when running from a nested
cwd in a monorepo with globby v16: create a test (e.g.,
discoverCssFilesInMonorepo or findFilesFromNestedCwd) that sets up a repo-like
fixture with a parent .gitignore and CSS files at different levels, run the
module function that uses globby (the code path that constructs the globby call)
with gitignore: true and cwd pointed to a subdirectory, and assert that the
expected CSS files are returned; this ensures the code that calls globby (the
file-discovery logic) behaves correctly with globby v16’s upward .gitignore
resolution.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@packages/`@tailwindcss-upgrade/package.json:
- Line 34: Add a unit/integration test that verifies file discovery when running
from a nested cwd in a monorepo with globby v16: create a test (e.g.,
discoverCssFilesInMonorepo or findFilesFromNestedCwd) that sets up a repo-like
fixture with a parent .gitignore and CSS files at different levels, run the
module function that uses globby (the code path that constructs the globby call)
with gitignore: true and cwd pointed to a subdirectory, and assert that the
expected CSS files are returned; this ensures the code that calls globby (the
file-discovery logic) behaves correctly with globby v16’s upward .gitignore
resolution.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 783ba83b-314a-479d-aa65-f0de6a2cd914

📥 Commits

Reviewing files that changed from the base of the PR and between d7fc281 and 6ccedca.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • packages/@tailwindcss-upgrade/package.json

@RobinMalfait
Copy link
Copy Markdown
Member

@depfu rebase

@depfu depfu bot force-pushed the depfu/update/pnpm/globby-16.2.0 branch from 6ccedca to 8d3db05 Compare April 3, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant