-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make
prepare
have feature parity with legacy read-package-json
Full list of changes are as follows: - 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 changes are tested by including `read-package-json` as a dev dependency and running the `test/prepare.js` test suite against both packages. This test can be removed once we have decided to make these breaking changes. Ref: npm/cli#6470 Fixes: #35
- Loading branch information
1 parent
adb0c17
commit 3730d67
Showing
3 changed files
with
597 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.