This release promotes Node.js 16 to be the default runtime in fresh-node.
Get started by installing, updating, or learning more, at:
https://gerrit.wikimedia.org/g/fresh#fresh-environment
Changelog:
https://gerrit.wikimedia.org/g/fresh/+/22.09.1/CHANGELOG.md
Node.js 16 is now the default environment for the fresh-node command. This addresses an
issue with Vue.js development using Vite 3, which did not work well under Node.js 14.
(Thanks Lucas Werkmeister, T314051 <https://phabricator.wikimedia.org/T314051>).
Note that most projects still test on Node.js 14 in WMF CI. [1] If you find that some of
your tests don't yet pass under Node.js 16, fret not! Node.js 14 and 12 remain
available via the bundled fresh-node14 and fresh-node12 commands.
If you encounter problems in Fresh with Node.js 16 or experience other issues, let us know
on Phabricator at
https://phabricator.wikimedia.org/tag/fresh/. This is also where you can
browse previous tasks.
Fresh is a fast way to create 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
--
Timo Tijhof
[1]
https://phabricator.wikimedia.org/T314470