🛠 Tooling: Refactor imageSize
to properly use Bingo Inputs
#1993
Labels
area: tooling
Managing the repository's maintenance
status: in discussion
Not yet ready for implementation or a pull request
Tooling Report Checklist
main
branch of the repository.Overview
Right now in CTA,
image-size
is used to get the size of a logo image on disk:create-typescript-app/src/options/readLogoSizing.ts
Line 39 in 666e3fa
This is one of the last pieces of Base options getting that doesn't use
take
the proper way. Which makes it a bit harder to test internally.Putting in
status: in discussion
to see if there's a good way to, say, have it use Bingo's plumbing for file system access. Which is tricky, asimageSize
takes in a file path or buffer data, whilebingo-fs
only deals in strings...Additional Info
I really don't want to complicate
bingo-fs
with binary/buffer data concepts 😬. It's really nice having everything just be strings...🎁
The text was updated successfully, but these errors were encountered: