TLDR: fresh-node now supports a one-off "command" invocation mode.
Learn more or install:
https://gerrit.wikimedia.org/g/fresh
Changelog:
https://gerrit.wikimedia.org/g/fresh/+/23.05.1/CHANGELOG.md
Each of the fresh-node scripts now supports a positional "command" argument, to
run a single command without launching a shell first. For example: fresh-node -- npm
install. Thanks *Gergő Tisza* and *Kosta Harlan* for their contributions!
fresh-node16 has been upgraded to include Firefox 102.10.0esr and Chromium 112. The same
container has been in use in WMF CI for npm tests in most repos since 12 April 2023. The
welcome text saw a make-over this release, featuring a new mimalistic look. I hope this
will make the environment feel even snappier. By consensing this baseline, timely warnings
about enabled mount points and environment exposure should stand out more. *Before*
<https://phabricator.wikimedia.org/F36989286> / *After*
<https://phabricator.wikimedia.org/F36989285>
Fresh is a fast way to launch isolated environments from your terminal. These can be used
to work more responsibly with 'npm' developer tools such as ESLint, QUnit, Grunt,
Selenium, and more. Example guide:
https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing. To report issues or browse
past and current tasks, check Phabricator at
https://phabricator.wikimedia.org/tag/fresh/.
--
Timo Tijhof,
Principal Engineer,
Wikimedia Foundation.