From 1705b6e7a6e277c62e7751066f54d3f4b7ab7b36 Mon Sep 17 00:00:00 2001 From: erikamolino Date: Thu, 25 Jul 2024 11:54:31 +0200 Subject: [PATCH] feat: add next/dynamic-route --- lib/cli_brick_configurations.dart | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/cli_brick_configurations.dart b/lib/cli_brick_configurations.dart index a6f4f71..1ec4dc5 100644 --- a/lib/cli_brick_configurations.dart +++ b/lib/cli_brick_configurations.dart @@ -42,6 +42,12 @@ final cliConfiguration = CliConfiguration( 'Which state management solution would you like to use in your Next.js project?', addonNames: ['next/zustand'], ), + Question( + isOptional: true, + prompt: + 'Would you like to add a dynamic route to your Next.js project?', + addonNames: ['next/dynamic-route'], + ), ], aliases: ['next'], ), @@ -75,6 +81,12 @@ final cliConfiguration = CliConfiguration( brick: GitPath("https://github.com/acadevmy/next-shacnui-addon-brick"), description: "Customizable UI for Next.js with ShadcnUI.", ), + AddonCommandDefinition( + name: 'next/dynamic-route', + brick: + GitPath("https://github.com/acadevmy/next-dynamic-route-addon-brick"), + description: "Create a dynamic route for your Next.js project", + ), AddonCommandDefinition( name: 'angular/tailwind', brick: