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
fix: make prepare and normalize have feature parity with legacy packages
Due to npm/cli#6470, I added `read-package-json` and
`read-package-json-fast` to this repo as dev deps to run the new tests
from #31 against those packages. I found a few discrepancies which I
fixed in this PR.
Full list of changes are as follows:
**`normalize` / `read-package-json-fast`**
- convert `bundleDependencies: false` to `[]`
**`prepare` / `read-package-json`**
- ignore `directories.bin` if `bin` is present
- walk up filesystem to look for git directory
- log a warning for inaccessible bin entries but dont delete
These changes will be tracked in npm/statusboard#487 to see if they
should be made as breaking changes with npm 10.
These legacy tests can be removed once we have decided to make these
breaking changes.
Ref: npm/cli#6470Fixes: #35
0 commit comments