diff --git a/lib/cli_brick_configurations.dart b/lib/cli_brick_configurations.dart index e3a31b2..f2bfa55 100644 --- a/lib/cli_brick_configurations.dart +++ b/lib/cli_brick_configurations.dart @@ -42,6 +42,12 @@ final cliConfiguration = CliConfiguration( brick: GitPath('https://github.com/acadevmy/next-application-brick'), description: 'Generate a fully-equipped Nextjs project in your workspace', questions: [ + Question( + isOptional: true, + prompt: + 'Which template would you like to configure for your Next.js project?', + addonNames: ['next/commerce'], + ), Question( isOptional: true, prompt: @@ -108,6 +114,12 @@ final cliConfiguration = CliConfiguration( ), ], addons: [ + AddonCommandDefinition( + name: 'next/commerce', + brick: GitPath("https://github.com/acadevmy/nextjs-commerce-addon-brick"), + description: "Configures the scaffold to support the ecommerce setup in your Next.js project.", + ), + AddonCommandDefinition( name: 'next/zustand', brick: GitPath("https://github.com/acadevmy/next-zustand-addon-brick"),