Skip to content

Commit

Permalink
Merge pull request #23474 from backstage/freben/templar
Browse files Browse the repository at this point in the history
tweak the cli template descriptions a bit for clarity
  • Loading branch information
Rugvip committed Mar 11, 2024
2 parents 3938ab9 + f39dfd3 commit 580dcf8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/yellow-mirrors-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---

Tweak the descriptions of the CLI templates
3 changes: 2 additions & 1 deletion packages/cli/src/lib/new/factories/backendModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ type Options = {

export const backendModule = createFactory<Options>({
name: 'backend-module',
description: 'A new backend module',
description:
'A new backend module that extends an existing backend plugin with additional features',
optionsDiscovery: async () => ({
codeOwnersPath: await getCodeownersFilePath(paths.targetRoot),
}),
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/src/lib/new/factories/nodeLibraryPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ type Options = {

export const nodeLibraryPackage = createFactory<Options>({
name: 'node-library',
description: 'A new node-library package',
description:
'A new node-library package, exporting shared functionality for backend plugins and modules',
optionsDiscovery: async () => ({
codeOwnersPath: await getCodeownersFilePath(paths.targetRoot),
}),
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/src/lib/new/factories/webLibraryPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ type Options = {

export const webLibraryPackage = createFactory<Options>({
name: 'web-library',
description: 'A new web-library package',
description:
'A new web-library package, exporting shared functionality for frontend plugins',
optionsDiscovery: async () => ({
codeOwnersPath: await getCodeownersFilePath(paths.targetRoot),
}),
Expand Down

0 comments on commit 580dcf8

Please sign in to comment.