1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/tests/specs/add
Nathan Whitaker 51f5f5789b
feat(add): Add npm packages to package.json if present (#25477)
Closes https://github.com/denoland/deno/issues/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
2024-09-06 17:18:13 +00:00
..
add_with_subpath feat(add): strip package subpath when adding a package (#25419) 2024-09-04 12:55:30 +00:00
dist_tag feat: deno remove (#24952) 2024-08-12 16:17:25 -04:00
error_import_map_field fix(add): error when config file contains importMap field (#25115) 2024-08-20 16:32:01 -04:00
missing_npm_specifier chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
no_root_export fix(add): Handle packages without root exports (#25102) 2024-08-21 15:23:32 -07:00
package_json_and_deno_json feat(add): Add npm packages to package.json if present (#25477) 2024-09-06 17:18:13 +00:00