Open NullVoxPopuli opened 7 months ago
This is because of sort-package-json, if it's an issue then we should probably open an issue up there https://github.com/keithamus/sort-package-json
what if a repo doesn't use that specific package for sorting?
Maybe just sorting the dev dependencies would be less noisy?
Something like:
const { devDependencies: sortedDevDependencies } = sortPackageJson({
devDependencies: pkg.devDependencies
});
pkg.devDependencies = sortedDevDependencies;
Normally :shrug: , but this has an impact on
exports
, since the order of those matters. (types must come before default, but alphabetically, types is after default)