Skip to content

Commit

Permalink
easter egg for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
omeraplak committed May 12, 2022
1 parent bc11d4b commit 8f2daad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superplate-cli",
"version": "1.5.0",
"version": "1.5.1",
"description": "The frontend boilerplate with superpowers",
"license": "MIT",
"repository": {
Expand Down
12 changes: 11 additions & 1 deletion src/saofile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,17 @@ const saoConfig: GeneratorConfig = {
}

if (canUsePnpm) {
pmQuestionChoises.push({ message: "PnPM", value: "pnpm" });
pmQuestionChoises.push({
message: "pnpm"
.split("")
.map((v) =>
Math.round(Math.random())
? v.toUpperCase()
: v.toLowerCase(),
)
.join(""),
value: "pnpm",
});
}

return [
Expand Down

0 comments on commit 8f2daad

Please sign in to comment.