nextui-org / nextui-cli

⌨️ A CLI tool that unlocks seamless NextUI integration.
MIT License
40 stars 14 forks source link

feat: init remove command #15

Closed winchesHe closed 5 months ago

winchesHe commented 5 months ago

📝 Description

1、Main

Remove the selected component

If there are no any ohters NextUI components then remove @nextui-org/system @nextui-org/theme, remove tailwind, .npmrc (only pnpm) too

https://github.com/nextui-org/nextui-cli/assets/96854855/9a6ed52a-4bfd-4307-943f-6e8c6ddede25

2、Remove all

https://github.com/nextui-org/nextui-cli/assets/96854855/1bab0bba-7cf1-4bb7-b2b9-2c9675d4b6f1

3、Illegal Components check

image

4、Warn when there are no NextUI Components

![Uploading image.png…]()

✅ Type of change

winchesHe commented 5 months ago

WIP: Testing

jrgarciadev commented 5 months ago

@winchesHe could you please fix the conflicts?