Closed JounQin closed 6 months ago
Latest commit: 7f261f698baece3202324ac41c38ad62030c0170
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Hi!
I don’t want to review. I trust you with this stuff.
Btw, if you wondered what package-real.json was for: I got obsessed with making npm packages smaller, so I generated a smaller package.json without all the crap that doesn’t matter in an npm package (scripts, devDependencies). That’s also why I truncated the readme file – I personally never read readmes on npmjs.com since they are always out of date. eslint-config-prettier has a lot of downloads, so we quickly reach terabytes of wasted bytes. (I didn’t minify the code, since that makes debugging and auditing harder.) But these things are up to you now.
@lydell
I know what does the real
file do, I've changed to use clean-pkg-json
for this purpose.
For readme, I think it helps to read on npmjs or in node_modules
directly.
Small size is great, but I think that doesn't need to be so strict.
Cheers. 🍻
Thanks for sharing clean-pkg-json! Looks great.
Regarding the readme: I find it kind of ironic that the readme is almost twice as big as index.js
+ bin/*
😄 But again, it’s up to you.
I'll merge this PR as-is then.
close #277