You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn tsc --version returns 5.6.2, which is expected. However, I'm not able to figure out how to run bin for the aliased tsc4 - something similar to yarn tsc4 --version (which doesn't work). Is there a syntax to specify specific dependency to run the binary? So far the only way I was able to find is yarn dlx -p tsc4@npm:[email protected] tsc, but it seems to invoke temporary installation each time.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Say I have 2 typescript versions installed in package.json
yarn tsc --version
returns5.6.2
, which is expected. However, I'm not able to figure out how to run bin for the aliasedtsc4
- something similar toyarn tsc4 --version
(which doesn't work). Is there a syntax to specify specific dependency to run the binary? So far the only way I was able to find isyarn dlx -p tsc4@npm:[email protected] tsc
, but it seems to invoke temporary installation each time.Beta Was this translation helpful? Give feedback.
All reactions