Skip to content

Commit e0f7422

Browse files
committed
refactor(generators): description
1 parent 7d2b1d1 commit e0f7422

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

generators/components/src/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { join } from 'node:path'
44

55
const generator = (plop: NodePlopAPI): void => {
66
plop.setGenerator('component', {
7-
description: 'Create a components',
7+
description: 'Create a file structure for a new ui component',
88
prompts: [
99
{
1010
type: 'list',
@@ -19,7 +19,7 @@ const generator = (plop: NodePlopAPI): void => {
1919
actions: (data) => [
2020
{
2121
type: 'addMany',
22-
base: `./templates/${data?.type}`,
22+
base: `./templates`,
2323
destination: join(process.cwd(), 'src'),
2424
templateFiles: `./templates/${data?.type}/**/*`,
2525
force: true,

0 commit comments

Comments
 (0)