From 0b606b4f48456ecfac5973073bbd2848061afe97 Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Fri, 12 Jun 2026 13:08:03 +0100 Subject: [PATCH] fix(plugins): drop unused gitBranch re-export from the package entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @trigger.dev/plugins re-exported sanitizeBranchName/isValidGitBranchName from @trigger.dev/core purely as a convenience forwarder. Nothing imports them through this package — every consumer imports them directly from @trigger.dev/core/v3/utils/gitBranch. Removing the forwarder keeps the package entry free of runtime core imports, so consumers that bundle it from source don't drag an unrelated core subpath into their build. --- packages/plugins/src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/plugins/src/index.ts b/packages/plugins/src/index.ts index 8d031b36d0..d23a608ab8 100644 --- a/packages/plugins/src/index.ts +++ b/packages/plugins/src/index.ts @@ -18,8 +18,3 @@ export type { } from "./rbac.js"; export { buildJwtAbility } from "./rbac.js"; - -// Convenience re-exports — give plugin authors one import surface -// without reaching into @trigger.dev/core directly. Both helpers live in -// core; this is purely a forwarder. -export { sanitizeBranchName, isValidGitBranchName } from "@trigger.dev/core/v3/utils/gitBranch";