You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm add <pkg> should be a separate command from install (right now it's aliased) & be the only way you "add" a package to your project. npm install would then no longer accept arguments (as of v9). This clear delineation will help ensure we can focus on the correct functionality for each of these use cases individually (while also reintroducing v6 behavior).
Exit Criteria
npm add function is decoupled from install
install no longer supports positional arguments
npm add requires declaration of a <pkg>
tests are written to cover the functionality & use cases
documentation is updated to cover the functionality & use cases
The text was updated successfully, but these errors were encountered:
darcyclarke
changed the title
New npm add command
feat(add): New command to add individual packages without reifying entire tree
Mar 23, 2022
darcyclarke
changed the title
feat(add): New command to add individual packages without reifying entire tree
feat(add): New command to add packages without reifying entire tree
Mar 23, 2022
Summary
npm add <pkg>
should be a separate command frominstall
(right now it's aliased) & be the only way you "add" a package to your project.npm install
would then no longer accept arguments (as ofv9
). This clear delineation will help ensure we can focus on the correct functionality for each of these use cases individually (while also reintroducingv6
behavior).Exit Criteria
npm add
function is decoupled frominstall
install
no longer supports positional argumentsnpm add
requires declaration of a<pkg>
The text was updated successfully, but these errors were encountered: