![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Well this is the tool for you! ...at least if you like to live in the terminal :)
You no longer have to make the choice between starting lots of watcher terminals or jumbling up all your watcher jobs in one.
Alarmist will start everything in parallel (when it can) and provide a clean interface highlighting failures but allowing you to focus on the particular tests you're interested in at the moment.
Enabling you to experiment with a new feature or get down and dirty debugging a failing test without being unduly distracted by failures you don't care about right now!
npm install --save-dev alarmist
Execute a job
alarmist-job -n name my-command [args...]
Monitor jobs
alarmist-monitor my-watch-command [args...]
Jobs will appear on first run and can be expanded (one at a time) to display logs
NB. By default many commands will not produce colored output when run like this, however many commands also have options to force colors. Eg. many node CLI tools use the chalk
library and so will have a --color
option or support the FORCE_COLOR=true
environment variable
All the logs and status files will also be captured in the .alarmist
working directory with the following structure
.
└── .alarmist/
├── ui.log - internal UI logging for debug purposes
├── monitor.log - the monitor command's log
├── control.sock - unix socket or windows named pipe information that jobs use to notify the monitor on status change
├── log.sock - unix socket or windows named pipe information that jobs use to pipe logs to the monitor
└── jobs/
└── [name]
├── last-run - the last run number
└── [run number]/
├── run.log - the job run's log
└── status.json - the job run's status
NB. The .alarmist
working directory will be reset every time the monitor is started
The following packages provide helpers and can be installed with npm.
alarmist-npm
- a simple wrapper for running npm scriptsalarmist-webpack
- a wrapper for the webpack watcher to take advantage of fast incremental buildspackage.json
configurationThis will use chokidar
for watching and the npm-run-all
package to parallelize the watcher tasks.
npm install --save-dev chokidar npm-run-all webpack alarmist alarmist-npm alarmist-webpack
Then to watch parallel eslint, nyc/mocha and webpack jobs (other configuration not shown here)
...
"scripts": {
"cmd:lint": "eslint .",
"cmd:test": "nyc mocha",
"cmd:coverage": "nyc report -r text && nyc check-coverage",
"alarmist:lint": "chokidar \"+(src|test)/**/*\" -c \"alarmist-npm cmd:lint\"",
"alarmist:test": "chokidar \"+(src|test)/**/*\" -c \"alarmist-npm cmd:test\"",
"alarmist:coverage": "chokidar \"coverage/lcov.info\" -c \"alarmist-npm cmd:coverage\"",
"alarmist:build": "alarmist-webpack -n cmd:build",
"start": "alarmist-monitor run-p alarmist:lint alarmist:test alarmist:coverage alarmist:build",
...
}
...
Create your own custom watchers, jobs, etc using the NodeJS API
Run tests, etc before pushing changes/opening a PR
npm test
- lint and testnpm run build
- run tests then buildnpm run watch
- watch for changes and run buildnpm run ci
- run build and submit coverage to coverallsnpm start
- use alarmist to monitor its own build tasks in parallel :)FAQs
Monitor parallel jobs
We found that alarmist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.