Skip to content

Commit ed58d06

Browse files
DavertMikDavertMikclaude
authored
fix(deps): don't auto-install detox & react-native (#5620) (#5621)
@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: DavertMik <davert@testomat.io> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent bc8211c commit ed58d06

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,9 @@
137137
"xpath": "0.0.34",
138138
"zod": "^4.1.11"
139139
},
140-
"optionalDependencies": {
141-
"@codeceptjs/detox-helper": "1.1.14"
142-
},
143140
"devDependencies": {
144141
"@apollo/server": "^5",
142+
"@codeceptjs/detox-helper": "1.1.14",
145143
"@codeceptjs/expect-helper": "^4.0.0-beta.5",
146144
"@codeceptjs/mock-request": "0.3.1",
147145
"@eslint/eslintrc": "3.3.3",

0 commit comments

Comments
 (0)