Skip to content

chore: replace expo-module-scripts with direct tooling - #335

Merged
hassankhan merged 1 commit into
mainfrom
@hassankhan/chore/replace-expo-module-scripts
Oct 19, 2026
Merged

hassankhan merged 1 commit into
mainfrom
@hassankhan/chore/replace-expo-module-scripts

Conversation

@hassankhan

@hassankhan hassankhan commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Why

expo-module-scripts stops at 56.x on npm and its replacement is private to expo/expo. Nothing here needs it beyond tsc, jest and eslint.

How

  • Shared tsconfig.base.json, jest.config.base.js and eslintrc.base.js at the root; packages reference them.
  • Package scripts call tsc, eslint src, jest and rm -rf build directly.
  • Tests use @swc/jest, as expo/expo does. Lint stays on ESLint 8 and universe for now; oxlint follows in a separate PR.
  • Drop the expo-module-scripts catalog entry and the babel-preset-expo package extension.

Test Plan

Build, lint and tests pass for all packages. Build output is identical to the previous config for three packages checked. Lockfile shrinks by about 800 lines.

@hassankhan
hassankhan added this pull request to stack #336 October 19, 2026 14:59
@hassankhan hassankhan changed the title chore: replace expo-module-scripts with direct tooling chore: replace expo-module-scripts with direct tooling Oct 19, 2026
@hassankhan
hassankhan requested a review from kitten October 19, 2026 15:28
Base automatically changed from @hassankhan/chore/upgrade-pnpm to main October 19, 2026 15:35
expo-module-scripts stops at 56.x on npm and its successor is private
to expo/expo. The packages only used it for tsc, jest and eslint.

Shared tsconfig.base.json, jest.config.base.js and eslintrc.base.js now
live at the root and packages reference them. Package scripts call
tsc, eslint, jest and rm -rf build directly. Tests run through
@swc/jest, as in expo/expo. Lint stays on ESLint 8 with universe for
now; the oxlint move is a separate change.

Also drops the expo-module-scripts catalog entry and the
babel-preset-expo package extension, adds the missing jest.config.js to
react-native-adjust, and makes the plugin generator copy jest and
eslint configs from the template.
@hassankhan
hassankhan force-pushed the @hassankhan/chore/replace-expo-module-scripts branch from bd46485 to d4cc491 Compare October 19, 2026 15:35
@hassankhan
hassankhan merged commit 3765a79 into main Oct 19, 2026
3 checks passed
@hassankhan
hassankhan deleted the @hassankhan/chore/replace-expo-module-scripts branch October 19, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants