Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serverless itself is a dependency? #27

Open
ronkorving opened this issue Sep 14, 2021 · 0 comments
Open

Serverless itself is a dependency? #27

ronkorving opened this issue Sep 14, 2021 · 0 comments

Comments

@ronkorving
Copy link

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
myproject@0.0.1 /Users/ronkorving/Projects/myproject
├── serverless@2.58.0
└─┬ serverless-cloudformation-changesets@0.0.2
  └── serverless@1.83.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant