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

feat(add): New command to add packages without reifying entire tree #464

Open
5 tasks
Tracked by #536
darcyclarke opened this issue Mar 18, 2022 · 0 comments
Open
5 tasks
Tracked by #536
Labels

Comments

@darcyclarke
Copy link
Contributor

darcyclarke commented Mar 18, 2022

Summary

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
@darcyclarke darcyclarke mentioned this issue Mar 18, 2022
32 tasks
@darcyclarke darcyclarke changed the title New npm add command feat(add): New command to add individual packages without reifying entire tree Mar 23, 2022
@darcyclarke 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
@darcyclarke darcyclarke mentioned this issue Aug 22, 2022
46 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant