Skip to content

Commit 15c7fa9

Browse files
buenaflorclaude
andcommitted
build: Remove bash dependency from melos format scripts
Replace bash -c conditionals with plain `dart format .` which formats the entire package directory without needing a shell wrapper. Also fix incorrect barrel file reference in flutter AGENTS.md. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8b1bbd0 commit 15c7fa9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

melos.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ scripts:
3535
dirExists: lib
3636

3737
format:
38-
run: melos exec -- bash -c 'dart format lib $([ -d test ] && echo test)'
38+
run: melos exec -- dart format .
3939
description: Apply formatting to all packages.
4040
packageFilters:
4141
dirExists: lib
4242

4343
format:check:
44-
run: melos exec --fail-fast -- bash -c 'dart format --set-exit-if-changed lib $([ -d test ] && echo test)'
44+
run: melos exec --fail-fast -- dart format --set-exit-if-changed .
4545
description: Check formatting of all packages.
4646
packageFilters:
4747
dirExists: lib

packages/flutter/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Flutter SDK with native integrations across all platforms.
66

77
`lib/sentry_flutter.dart` is the public barrel file. Changes here affect all downstream packages and users.
88

9-
- Every new public type must be exported from `lib/sentry.dart`
9+
- Every new public type must be exported from `lib/sentry_flutter.dart`
1010

1111
## Native Code
1212

0 commit comments

Comments
 (0)