Skip to content

Commit

Permalink
Merge branch 'main' of github.com:nextui-org/nextui-cli into origin/m…
Browse files Browse the repository at this point in the history
…ian-mr
  • Loading branch information
winchesHe committed Sep 17, 2024
2 parents 1c4b6ad + 6ab7e42 commit 72f9924
Show file tree
Hide file tree
Showing 21 changed files with 3,574 additions and 2,859 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ jobs:
with:
token: ${{ secrets.PAT }}
path: nextui
branch: sync-docs-${{ steps.get_version.outputs.version }}
branch: sync-docs-${{ steps.get_version.outputs.version }}-${{ github.run_id }}
title: "docs: sync api from nextui-cli v${{ steps.get_version.outputs.version }}"
body: Sync api from nextui-cli.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
## [0.3.4](https://github.com/nextui-org/nextui-cli/compare/v0.3.3...v0.3.4) (2024-07-28)

### Bug Fixes

- add debug mode and tailwindcss content mess repair ([#95](https://github.com/nextui-org/nextui-cli/issues/95)) ([57601eb](https://github.com/nextui-org/nextui-cli/commit/57601eb15ddb440403f9d5aa78847cd3cd89855e))
- fixing lint:fix script ([#93](https://github.com/nextui-org/nextui-cli/issues/93)) ([54414d5](https://github.com/nextui-org/nextui-cli/commit/54414d5bdd09906fbc0fd824842c18bbd110b7b1))

### Features

- change to use pnpm 9 ([#92](https://github.com/nextui-org/nextui-cli/issues/92)) ([d0552ac](https://github.com/nextui-org/nextui-cli/commit/d0552ac489014cd5b1ea93ed4cf983cb65d83066))

## [0.3.3](https://github.com/nextui-org/nextui-cli/compare/v0.3.2...v0.3.3) (2024-07-23)

### Bug Fixes

- doctor command match the darkMode ([#91](https://github.com/nextui-org/nextui-cli/issues/91)) ([4840cb0](https://github.com/nextui-org/nextui-cli/commit/4840cb0cd0581d6b17e37bc1220bd1ad61b16a4d))
- fixing lint:fix script ([#93](https://github.com/nextui-org/nextui-cli/issues/93)) ([54414d5](https://github.com/nextui-org/nextui-cli/commit/54414d5bdd09906fbc0fd824842c18bbd110b7b1))
- improve output readablility ([#90](https://github.com/nextui-org/nextui-cli/issues/90)) ([c7d5682](https://github.com/nextui-org/nextui-cli/commit/c7d56821c49b6bacc5b0297fc071e30c0aabe0c8))
- path error in window ([#89](https://github.com/nextui-org/nextui-cli/issues/89)) ([124aeb0](https://github.com/nextui-org/nextui-cli/commit/124aeb035f5b054f0ee82e340389e93931f5d83a))

### Features

- change to use pnpm 9 ([#92](https://github.com/nextui-org/nextui-cli/issues/92)) ([d0552ac](https://github.com/nextui-org/nextui-cli/commit/d0552ac489014cd5b1ea93ed4cf983cb65d83066))
- **upgrade:** add -w write option to upgrade command ([#82](https://github.com/nextui-org/nextui-cli/issues/82)) ([39804e0](https://github.com/nextui-org/nextui-cli/commit/39804e0a393970c04fff2c50bb1ea807f651b8a3))

## [0.3.2](https://github.com/nextui-org/nextui-cli/compare/v0.3.1...v0.3.2) (2024-06-14)

### Bug Fixes
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Usage: nextui [command]
Options:
-v, --version Output the current version
--no-cache Disable cache, by default data will be cached for 30m after the first request
-h, --help Display help information for commands
-h --help Display help information for commands

Commands:
init [options] [projectName] Initializes a new project
Expand All @@ -52,7 +52,7 @@ Commands:
list [options] Lists all components, showing status, descriptions, and versions
env [options] Displays debugging information for the local environment
doctor [options] Checks for issues in the project
help [command] display help for command
help [command] Display help for command
```
## Commands
Expand Down Expand Up @@ -130,7 +130,7 @@ nextui add [components...] [options]
- `-p --packagePath` [string] The path to the package.json file
- `-tw --tailwindPath` [string] The path to the tailwind.config file file
- `-app --appPath` [string] The path to the App.tsx file
- `--prettier` [boolean] Add prettier format in the add content which required installed prettier - (default: false)
- `--prettier` [boolean] Add prettier format in the add content which required installed prettier - (default: `false`)
- `--addApp` [boolean] Add App.tsx file content which required provider (default: `false`)
##### Example
Expand Down Expand Up @@ -207,8 +207,8 @@ nextui upgrade [components...] [options]
- `-p --packagePath` [string] The path to the package.json file
- `-a --all` [boolean] Upgrade all the NextUI components (default: `false`)
- `-w --write` [boolean] Write the upgrade commands to a file instead of executing them (default: `false`)
- `-h, --help` Display help for command
- `-w --write` [boolean] Write the upgrade version to package.json file (default: `false`)
- `-h --help` Display help for command
##### Example
Expand Down Expand Up @@ -268,7 +268,7 @@ nextui remove [components...] [options]
- `-p --packagePath` [string] The path to the package.json file
- `-a --all` [boolean] Remove all the NextUI components (default: `false`)
- `-tw --tailwindPath` [string] The path to the tailwind.config file file
- `--prettier` [boolean] Add prettier format in the add content which required installed prettier - (default: false)
- `--prettier` [boolean] Add prettier format in the add content which required installed prettier - (default: `false`)
##### Example
Expand Down Expand Up @@ -336,7 +336,7 @@ Current installed components:
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Package │ Version │ Status │ Docs │
│───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│
│ @nextui-org/autocomplete │ 2.0.10 🚀latest │ newPost │ https://nextui.org/docs/components/autocomplete │
│ @nextui-org/autocomplete │ 2.0.10 🚀latest │ stable │ https://nextui.org/docs/components/autocomplete │
│ @nextui-org/badge │ 2.0.24 🚀latest │ stable │ https://nextui.org/docs/components/badge │
│ @nextui-org/button │ 2.0.27 🚀latest │ stable │ https://nextui.org/docs/components/button │
│ @nextui-org/chip │ 2.0.25 🚀latest │ stable │ https://nextui.org/docs/components/chip │
Expand Down Expand Up @@ -426,7 +426,7 @@ Current installed components:
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Package │ Version │ Status │ Docs │
│───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│
│ @nextui-org/autocomplete │ 2.0.10 🚀latest │ newPost │ https://nextui.org/docs/components/autocomplete │
│ @nextui-org/autocomplete │ 2.0.10 🚀latest │ stable │ https://nextui.org/docs/components/autocomplete │
│ @nextui-org/badge │ 2.0.24 🚀latest │ stable │ https://nextui.org/docs/components/badge │
│ @nextui-org/button │ 2.0.27 🚀latest │ stable │ https://nextui.org/docs/components/button │
│ @nextui-org/chip │ 2.0.25 🚀latest │ stable │ https://nextui.org/docs/components/chip │
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": false,
"type": "module",
"license": "MIT",
"version": "0.3.2",
"version": "0.3.4",
"homepage": "https://github.com/nextui-org/nextui-cli#readme",
"description": "A CLI tool that unlocks seamless NextUI integration",
"keywords": [
Expand Down Expand Up @@ -49,7 +49,7 @@
"sync:docs": "tsx src/scripts/sync/sync.ts",
"clean:cache": "tsx src/scripts/cache/clean.ts",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . -max-warnings=0 --fix",
"lint:fix": "eslint . --max-warnings=0 --fix",
"check:prettier": "prettier --check .",
"check:types": "tsc --noEmit",
"changelog": "npx conventional-changelog -p angular -i CHANGELOG.md -s --commit-path .",
Expand All @@ -68,6 +68,7 @@
"find-up": "7.0.0",
"gradient-string": "2.0.2",
"ora": "8.0.1",
"pathe": "1.1.2",
"tar": "6.2.1"
},
"devDependencies": {
Expand Down Expand Up @@ -98,8 +99,8 @@
"typescript": "5.2.2"
},
"engines": {
"pnpm": ">=8.x",
"pnpm": ">=9.x",
"node": ">=18.17.x"
},
"packageManager": "pnpm@8.7.6"
"packageManager": "pnpm@9.6.0"
}
Loading

0 comments on commit 72f9924

Please sign in to comment.