Skip to content

Commit

Permalink
change all "package" to "<type> package"
Browse files Browse the repository at this point in the history
  • Loading branch information
cchang-vassar committed Aug 7, 2024
1 parent e95fd1d commit aa2ae75
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions templates/cli/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async function runPrompts() {
});

const name = await input({
message: "What do you want to call this package?",
message: `What do you want to call this ${type == "plugin" ? "plugin" : "extension"} package?`,
required: true,
transformer: (input) => {
// convert to hyphen case
Expand All @@ -73,12 +73,14 @@ async function runPrompts() {
});

const description = await input({
message: "Enter a brief description of the package",
message: `Enter a brief description of the ${
type == "plugin" ? "plugin" : "extension"
} package.`,
required: true,
});

const author = await input({
message: "Who is the author of this package?",
message: `Who is the author of this ${type == "plugin" ? "plugin" : "extension"} package?`,
required: true,
});

Expand Down

0 comments on commit aa2ae75

Please sign in to comment.