You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: replace fs-extra, node-watch, meow and rimraf with Node builtins
These build scripts predate much of what is now in the Node standard
library. On Node 24 each maps to a builtin: fs-extra to fs.cpSync/rmSync/
mkdirSync recursive, rimraf to fs.rmSync plus fs.globSync for the one
--glob case, meow to util.parseArgs, and node-watch to fs.watch recursive
(which works on Linux since Node 19, and the watched src dir is small).
shx stays for now: its only use is the update-ufuzzy script, which goes
away together with the vendored file in the uFuzzy build-copy change, so
that removal lives there rather than here.
Note: AI-assisted (Claude Code). Manually verified by running yarn clean and a from-scratch yarn build so every rewritten script executed, checking fs.globSync('*.lock') matches and removes the right files, and confirming Node 19+ recursive watch on Linux before dropping node-watch.
"compress_env_installer:osx": "rimraf ./env_installer/jlab_server.tar.gz && cd ./env_installer/jlab_server_extracted && tar -czf ../jlab_server.tar.gz . && cd -",
45
+
"compress_env_installer:osx": "node scripts/rm.js ./env_installer/jlab_server.tar.gz && cd ./env_installer/jlab_server_extracted && tar -czf ../jlab_server.tar.gz . && cd -",
0 commit comments