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
In the context of changesets/changesets#1407 I found myself wondering if calling npx binary-name to invoke an already installed package is a valid pattern even in a pnpm monorepo, since it seems to have the same effect and is just basically handing over immediately to node anyway.
Perhaps if it is ill-advised and the call should always be pnpm binary-name or pnpm exec binary-name. Thoughts?
Note I am deliberately NOT trying to execute the equivalent of pnpm dlx binary-name.
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
-
In the context of changesets/changesets#1407 I found myself wondering if calling
npx binary-name
to invoke an already installed package is a valid pattern even in a pnpm monorepo, since it seems to have the same effect and is just basically handing over immediately to node anyway.Perhaps if it is ill-advised and the call should always be
pnpm binary-name
orpnpm exec binary-name
. Thoughts?Note I am deliberately NOT trying to execute the equivalent of
pnpm dlx binary-name
.Beta Was this translation helpful? Give feedback.
All reactions