chore: add images lint#2534
Conversation
|
🗑️ Preview for this PR was deleted. |
a34561c to
d4951c0
Compare
|
Hmm thinking about it more, i would maybe skip this from the deps if its only supposed to be called locally. Can you run npx howfat … to see? |
Includes: Seems pretty fat. I tried to find a slim alternative just for conversion to WebP, but I didn't find anything nice (gave it 5mins) which would be mantained, packaged, and published to npm. Claude suggests that sharp is the go-to library and it has a sharp-cli package, so maybe that... At the same time, one can easily use many C programs to do that, e.g. But that's without optimization. I think, for now, we can just leave it with When I think about it, I should also amend the message so that it warns people they'll need to update their markdown markup, too (from .png to .webp). |
|
Ok, I'd remove it from the project deps, and suggest |
54f01a2 to
7710404
Compare
B4nan
left a comment
There was a problem hiding this comment.
the lockfile changes look a bit weird, are you using corepack or did you install some pnpm version manually? this usually happens when you use wrong version, corepack will resolve to the right one automatically.
otherwise looks good
|
|
Hmm since I'm not adding or removing deps now, the lockfile should stay clean. I'll just checkout it with git. I think it's a leftover after a merge conflict I had with master. |
Fix #1549