Skip to content

Commit

Permalink
feat: added configurations for nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikaMolino committed May 10, 2024
1 parent 2ab4d44 commit 1179c48
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions lib/cli_brick_configurations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import 'package:devmy_cli/src/devmy_cli.dart';
final cliConfiguration = CliConfiguration(
new$: NewCommand(
brick: GitPath('https://github.com/acadevmy/scaffold-brick'),
description:
'Easily create a Devmy scaffold masterpiece',
description: 'Easily create a Devmy scaffold masterpiece',
),
applications: [
ApplicationCommand(
Expand All @@ -18,19 +17,20 @@ final cliConfiguration = CliConfiguration(
ApplicationCommand(
name: 'next',
brick: GitPath('https://github.com/acadevmy/next-application-brick'),
description:
'Generate a fully-equipped Nextjs project in your workspace',
description: 'Generate a fully-equipped Nextjs project in your workspace',
questions: [
Question(
isOptional: true,
prompt:
'Which styling system would you like to use in your Next.js project?',
addonNames: ['next/tailwind']),
isOptional: true,
prompt:
'Which UI component library would you like to integrate into your Next.js project?',
addonNames: ['next/shadcnui'],
),
Question(
isOptional: true,
prompt:
'Which state management solution would you like to use in your Next.js project?',
addonNames: ['next/zustand']),
isOptional: true,
prompt:
'Which state management solution would you like to use in your Next.js project?',
addonNames: ['next/zustand'],
),
],
),
ApplicationCommand(
Expand All @@ -40,14 +40,15 @@ final cliConfiguration = CliConfiguration(
),
],
addons: [
AddonCommand(
name: 'next/tailwind',
brick: GitPath("https://github.com/acadevmy/next-tailwind-addon-brick"),
description: "Enhance your Next.js project with Tailwind CSS"),
AddonCommand(
name: 'next/zustand',
brick: GitPath("https://github.com/acadevmy/next_zustand_addon_brick"),
brick: GitPath("https://github.com/acadevmy/next-zustand-addon-brick"),
description: "Integrating Zustand with Next.js",
),
AddonCommand(
name: 'next/shadcnui',
brick: GitPath("https://github.com/acadevmy/next-shacnui-addon-brick"),
description: "Customizable UI for Next.js with ShadcnUI.",
),
],
);

0 comments on commit 1179c48

Please sign in to comment.