Skip to content

Commit

Permalink
feat: add next/commerce addon
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikaMolino authored Nov 26, 2024
1 parent 6f68a13 commit 4c5ec16
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/cli_brick_configurations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit 4c5ec16

Please sign in to comment.