After updating from Visual Studio 2019 to Visual Studio 2022 package.json no longer automatically triggers npm to update packages.
After updating from Visual Studio 2019 to Visual Studio 2022 package.json no longer automatically triggers npm to update packages.
Select the project > show the properties window (F4) > change the setting "Restore On Save" in the "npm" section