Implement pnpm and pnpx support

This commit is contained in:
Sander Declerck 2025-07-17 10:08:49 +02:00
parent 21cdefadde
commit f10749923a
No known key found for this signature in database
14 changed files with 754 additions and 145 deletions

View file

@ -0,0 +1,13 @@
export function matchesCommand(args, ...commandArgs) {
if (args.length < commandArgs.length) {
return false;
}
for (var i = 0; i < commandArgs.length; i++) {
if (args[i].toLowerCase() !== commandArgs[i].toLowerCase()) {
return false;
}
}
return true;
}