Skip to content

Commit

Permalink
refactor(www): use pnpx instead of pnpm dlx
Browse files Browse the repository at this point in the history
  • Loading branch information
fellipeutaka committed Aug 16, 2024
1 parent 655141b commit f21e3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/src/lib/rehype-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const rehypeCommand = () => (tree: UnistTree) => {
const npmCommand = node.properties.__rawString__;
node.properties.__npmCommand__ = npmCommand;
node.properties.__yarnCommand__ = npmCommand;
node.properties.__pnpmCommand__ = npmCommand.replace("npx", "pnpm dlx");
node.properties.__pnpmCommand__ = npmCommand.replace("npx", "pnpx");
node.properties.__bunCommand__ = npmCommand.replace("npx", "bunx");
}
});
Expand Down

0 comments on commit f21e3ee

Please sign in to comment.