Financial-Times / n-test

A CLI tool and module for lightweight testing of web applications in browsers, designed for FT.com
4 stars 2 forks source link

Update to npm 7 #173

Closed ivomurrell closed 3 years ago

ivomurrell commented 3 years ago

We are moving to npm 7 so we are ready to migrate away from bower. There don't appear to be any breaking changes as part of the migration for this repository, so it was as simple as pinning a new npm version with volta (you can also update your npm globally to test the changes) and making sure CircleCI uses the right npm version too. We have added a preinstall script to the package.json that will make sure that npm 7 is selected when running an install.