Skip to content

Commit eb498d1

Browse files
authored
fix(plugins): drop unused gitBranch re-export from the package entry (#3923)
`@trigger.dev/plugins` re-exported `sanitizeBranchName`/`isValidGitBranchName` from `@trigger.dev/core` as a convenience forwarder. Nothing actually imports them through this package — every consumer (webapp, `@trigger.dev/rbac`, …) imports them directly from `@trigger.dev/core/v3/utils/gitBranch`. Removing the forwarder keeps the package entry free of **runtime** core imports (only type re-exports + `buildJwtAbility` remain), so consumers that bundle `@trigger.dev/plugins` from source don't pull an unrelated core subpath into their build. No behavior change; the helpers remain available from `@trigger.dev/core` where they're defined.
1 parent f48c897 commit eb498d1

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)