Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
feat: parse package invocation with yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
lachrist committed Feb 17, 2023
1 parent ec80423 commit ea1f465
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/command/node/package.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,15 @@ const findScriptIndex = (tokens, index) => {
const executables = [
["node"],
["npm", "exec"],
["npm", "x"],
["npx"],
["npm.cmd", "exec"],
["npm", "x"],
["npm.cmd", "x"],
["npx"],
["npx.cmd"],
["yarn", "exec"],
["yarn.cmd", "exec"],
["yarn", "node"],
["yarn.cmd", "node"],
[],
];

Expand Down

0 comments on commit ea1f465

Please sign in to comment.