Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(add): Add npm packages to package.json if present (#25477)
Closes #25321 Ended up being a larger refactoring, since we're now juggling (potentially) two config files in the same `add`, instead of choosing one. I don't love the shape of the code, but I think it's good enough Some smaller side improvements: - `deno remove` supports `jsonc` - `deno install --dev` will be a really simple change - if `deno remove` removes the last import/dependency in the `imports`/`dependencies`/`devDependencies` field, it removes the field instead of leaving an empty object
- Loading branch information