Description
Tooling Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
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 use create-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.
🎁