Skip to content

Commit 5ad5679

Browse files
committed
feat(cli): add termui create command with 4 starter templates
Adds `termui create <project-name>` command that scaffolds new TermUI projects from minimal, cli, dashboard, and wizard templates. Also refactors adapter modules, updates init/add/update/diff commands, and bumps version to 1.1.8. Gitignores .tmp/ and __tmp_*/ scratch directories.
1 parent fc885c2 commit 5ad5679

18 files changed

Lines changed: 1815 additions & 157 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ coverage/
4949
# Local scratch
5050
scratch/
5151
tmp/
52+
.tmp/
53+
__tmp_*/
5254

5355
# Claude AI context
5456
.claude/

docs/api/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Add one or more components from the registry.
2323
```sh
2424
npx termui add spinner
2525
npx termui add table select progress-bar
26-
npx termui add --all # install all 91 components
26+
npx termui add --all # install all 101 components
2727
```
2828
2929
---
@@ -73,7 +73,7 @@ Available themes: `default`, `dracula`, `nord`, `catppuccin`, `monokai`, `solari
7373
7474
### `npx termui preview`
7575
76-
Interactive component gallery in the terminal. Browse all 91+ components with live prop editing.
76+
Interactive component gallery in the terminal. Browse all 101 components with live prop editing.
7777
7878
```sh
7979
npx termui preview

package.json

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
{
22
"name": "termui",
33
"private": false,
4-
"version": "1.1.7",
4+
"version": "1.1.8",
5+
"description": "A TypeScript/React terminal UI framework with 100+ components, 8 themes, and a shadcn-style CLI",
6+
"keywords": [
7+
"terminal",
8+
"tui",
9+
"cli",
10+
"react",
11+
"ink",
12+
"typescript",
13+
"components"
14+
],
15+
"license": "MIT",
16+
"homepage": "https://github.com/Arindam200/termui#readme",
17+
"repository": {
18+
"type": "git",
19+
"url": "https://github.com/Arindam200/termui.git"
20+
},
21+
"bugs": {
22+
"url": "https://github.com/Arindam200/termui/issues"
23+
},
524
"type": "module",
625
"bin": {
726
"termui": "./dist/cli.js"
@@ -189,5 +208,9 @@
189208
"engines": {
190209
"node": ">=18.0.0"
191210
},
192-
"packageManager": "pnpm@9.0.0"
211+
"packageManager": "pnpm@9.0.0",
212+
"author": {
213+
"name": "Arindam Majumder",
214+
"url": "https://github.com/Arindam200"
215+
}
193216
}

0 commit comments

Comments
 (0)