Skip to content

Commit 0b606b4

Browse files
committed
fix(plugins): drop unused gitBranch re-export from the package entry
@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.
1 parent f48c897 commit 0b606b4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/plugins/src/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,3 @@ export type {
1818
} from "./rbac.js";
1919

2020
export { buildJwtAbility } from "./rbac.js";
21-
22-
// Convenience re-exports — give plugin authors one import surface
23-
// without reaching into @trigger.dev/core directly. Both helpers live in
24-
// core; this is purely a forwarder.
25-
export { sanitizeBranchName, isValidGitBranchName } from "@trigger.dev/core/v3/utils/gitBranch";

0 commit comments

Comments
 (0)