If you want to remove a package using Yarn should you:
yarn remove [package]
or
package.json
and run yarn install
Do both work the same? Will #2 update yarn.lock
?
if you run yarn remove [package] it will remove the package from node_modules and also yarn.lock
if you go manually deleted form package.json and run yarn install none of the package is install . yarn.lock files did not updated