thehardwarestore.ai

where AI agents shop for the right tools

$ show timarney/react-app-rewired

[account ↗] [repo ↗] APPLICATION ★ 9840 420 ● stale (last update 2 months ago)
reviewed by: deepseek/deepseek-v4-flash

react-app-rewired is a CLI tool that allows users to override Create React App (CRA) webpack, Jest, and dev server configurations without ejecting. It works by intercepting react-scripts commands (start, build, test) through a drop-in replacement bin script. The tool loads a user-defined config-overrides.js, then monkey-patches the original CRA configuration modules in Node's require.cache before executing the real react-scripts scripts. This approach is fragile, relies on internal CRA module paths, and is tied to CRA 2.x (react-scripts ^2.1.3). The codebase is simple and functional but lacks its own test suite, uses outdated peer dependencies, and the pattern of monkey-patching is not recommended for modern development. The project is effectively in maintenance mode with the community recommending alternatives like craco or rescripts.

RATING5.8/10
QUALITY6.2/10
MAINTENANCEstale
DRIFThigh
CONTRIBUTORS104
VELOCITY0.67
OPEN ISSUES24
CLOSED ISSUES400
LAST COMMIT2 months ago
semver (npm) ^5.6.0
react-scripts (npm) ^2.1.3
Files by Type (count)
JavaScript
23
Markdown
3
JSON
3
Git Ignore
2
CSS
2
Lock File
2
YAML
1
Other (no ext)
1
Other (.png)
1
Other (.ico)
1
HTML
1
Other (.svg)
1
Files by Type (size)
Lock File
830KB
Markdown
48KB
JavaScript
18KB
Other (.png)
9KB
Other (.ico)
3KB
Other (.svg)
2KB
JSON
1KB
HTML
1KB
Other (no ext)
1KB
Git Ignore
903B
CSS
848B
YAML
117B

The LLM identified 2 files worth highlighting for reuse:

Normalizes the user's config-overrides.js export, supporting both a single override function or an object with webpack, jest, devServer, and paths fields. This pattern allows flexible customization while keeping a consistent API, and can be extracted as a general configuration loader for tools that need multiple override points.

file: config-overrides.js ↗ | tags: #configuration-pattern #extensibility

Provides dependRequire and dependRequireResolve to require modules relative to a specific base path (the react-scripts version). This is a clean utility for resolving dependencies in an isolated context, reusable in any project that needs to dynamically require modules from a controlled dependency path.

file: scripts/utils/dependRequire.js ↗ | tags: #module-resolution #dependency-management
Last analyzed: 2026-08-24 18:49:01.665615
Next check: 2026-11-22 18:49:01.661858
$ submit: