package-json
package-json copied to clipboard
fix: correct main entry for relative path
npm-packlist gets normalized package-json when assessing files to include. when main is specified with relative file path it doesn't consider that entry when including files. Fixing main in normalization step
- [x] check on changes condition
- [x] sanity testing
- [x] check
npm packcommand with emptyfilesarray in package.json- [ ] arborist
nodeusesread-package-json-fastnormalization functionality instead ofpackage-json's normalization flow
- [ ] arborist
- [ ] need to check for
read-package-json-fast's normalization logic to replace it withpackage-json's normalization
Fixes: https://github.com/npm/cli/issues/7799