We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3e4c55 + f618e19 commit 97ef2afCopy full SHA for 97ef2af
apps/web/src/lib/rehype-npm-command.ts
@@ -74,7 +74,7 @@ export function rehypeNpmCommand() {
74
"npx",
75
"pnpm dlx",
76
);
77
- node.properties["__yarnCommand__"] = npmCommand;
+ node.properties["__yarnCommand__"] = npmCommand.replace("npx", "yarn");
78
node.properties["__npmCommand__"] = npmCommand;
79
node.properties["__bunCommand__"] = npmCommand.replace(
80
0 commit comments