Skip to content

Commit

Permalink
Postinstall: Use npx for yarn1 users (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Evening committed Sep 5, 2023
1 parent cdffa45 commit 4783a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/postinstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type PackageManagers = "npm" | "pnpm" | "yarn1" | "yarn2";
const PACKAGE_MANAGER_TO_COMMAND: Record<PackageManagers, string> = {
npm: "npx",
pnpm: "pnpm dlx",
yarn1: "yarn dlx",
yarn1: "npx",
yarn2: "yarn dlx",
};

Expand Down

0 comments on commit 4783a52

Please sign in to comment.