serverless-cloudformation-changesets icon indicating copy to clipboard operation
serverless-cloudformation-changesets copied to clipboard

Serverless itself is a dependency?

Open ronkorving opened this issue 4 years ago • 0 comments

Looking at my node_modules tree, and package.json of serverless-cloudformation-changesets, I noticed that serverless is a (non-dev) dependency. I think this was probably intended to be a peer-dependency? It seems it is needlessly injecting serverless framework as a subdependency in my node_modules tree, when I already have one.

See also output from npm ls serverless:

$ npm ls serverless
[email protected] /Users/ronkorving/Projects/myproject
├── [email protected]
└─┬ [email protected]
  └── [email protected]

ronkorving avatar Sep 14 '21 05:09 ronkorving