ni / javascript-styleguide

JavaScript and TypeScript Style Guide
MIT License
9 stars 9 forks source link

Angular peer dependencies in non-Angular projects #41

Closed TrevorKarjanis closed 3 years ago

TrevorKarjanis commented 3 years ago

Since we now have a significant number of dependencies that won't be needed for non-Angular projects, what do you think of updating the "Installation" section of README.md to provide more explicit guidance about using npm view vs npx install-peerdeps?

I'm thinking something like a note in the install-peerdeps section saying "For non-Angular projects, this will install a significant number of unneeded dependencies"

Moved from a comment from @jattasNI in PR#40.

TrevorKarjanis commented 3 years ago

It has been identified that a future version of npm may install sub-peer dependencies which would support changing the organization of the rules package. @rajsite will verify the behavior, and then we'll make a proposal for packaging and documentation.

TrevorKarjanis commented 3 years ago

The process and validity test for npm v7's automatic peer dependency installation can be found in RFC 25.