Commit c5922ce
fix(deps): don't auto-install detox & react-native (#5620)
@codeceptjs/detox-helper was listed under optionalDependencies, which
npm/pnpm install by default. It hard-depends on detox and react-native,
so every codeceptjs install pulled in those heavy packages (and the
dtrace-provider build script) even though core never requires the Detox
helper — it is a user-configured external helper.
Move it to devDependencies (still needed for in-repo helper docs
generation). Users who need the Detox helper install it separately.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a70c814 commit c5922ce
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 140 | | |
144 | 141 | | |
| 142 | + | |
145 | 143 | | |
146 | 144 | | |
147 | 145 | | |
| |||
0 commit comments