In my node.js project, I had using yarn installed the dependency @nestjs/jwt, now I want to uninstall it since I am not using it.
I run yarn remove @nestjs/jwt. It was successful. I checked my package.json, it was removed. But when I check the yarn.lock file, it is still showing. Why is that?
My git add -p yarn.lock shows me:
-"@nestjs/jwt@8.0.0", "@nestjs/jwt@^8.0.0":
+"@nestjs/jwt@^8.0.0":
version "8.0.0"
resolved "https://registry.yarnpkg.com/@nestjs/jwt/-/jwt-8.0.0.tgz#6c811c17634252dd1qcd5dabf409db4692b812da"
integrity sha512-fz2LQgYY2zmuD8S+8UE215anwKyXlnB/1FwJMLVR47clNfMeFMK8WCxmn6xd0hF5JKuV1crO6FVabb1qWzDxqQ==