🛠 Tooling: Figure out strategy with resolveBin
#1992
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, this
resolveBin
function is used to get the paths to binaries to execute:create-typescript-app/src/utils/resolveBin.ts
Lines 1 to 7 in 666e3fa
create-typescript-app/src/blocks/blockCSpell.ts
Lines 81 to 88 in 666e3fa
I don't love having a weird, rather-untestable function sitting around in the commands. It would be nice to figure out a cleaner approach than this... but I don't know what that would look like. 🤔
Additional Info
IIRC I'd added the
resolveBin
in there to work even if the project wasn't able to install its own dependencies. As in, it should usecreate-typescript-app/node_modules/
as the resolution root, not the generated package's.Whatever solution is resolved here will likely need to be pushed up to Bingo. Other templates will have this issue as well.
🎁
The text was updated successfully, but these errors were encountered: