@expcat/tigercat-cli 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -74
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -88,77 +88,8 @@ tigercat doctor --json
|
|
|
88
88
|
template dependency compatibility, and the supported version compatibility matrix. JSON output is
|
|
89
89
|
designed for CI and automated diagnostics.
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### `tigercat create <name>`
|
|
94
|
-
|
|
95
|
-
Create a new project with Tigercat pre-configured.
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
tigercat create my-app --template vue3
|
|
99
|
-
tigercat create my-app --template react
|
|
100
|
-
tigercat create my-app --template vue3 --dry-run
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
### `tigercat add <component>`
|
|
104
|
-
|
|
105
|
-
Add a component to your project with import boilerplate.
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
tigercat add Button
|
|
109
|
-
tigercat add Form Input Select DatePicker
|
|
110
|
-
tigercat add --framework react --install --snippet src/tigercat-components.ts
|
|
111
|
-
tigercat add Button --dry-run
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### `tigercat playground`
|
|
115
|
-
|
|
116
|
-
Launch an interactive playground for testing components.
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
tigercat playground
|
|
120
|
-
tigercat playground --template react
|
|
121
|
-
tigercat playground --template react --no-open
|
|
122
|
-
tigercat playground --template react --dry-run
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
### `tigercat generate docs`
|
|
126
|
-
|
|
127
|
-
Generate API documentation from component type definitions.
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
tigercat generate docs
|
|
131
|
-
tigercat generate docs --output ./docs/api
|
|
132
|
-
tigercat generate docs --output ./docs/api --dry-run
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### `tigercat generate test`
|
|
136
|
-
|
|
137
|
-
Generate Vue and/or React starter test templates for a component.
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
tigercat generate test Button --framework both
|
|
141
|
-
tigercat generate test Button --framework vue3
|
|
142
|
-
tigercat generate test Button --framework react --dry-run
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### `tigercat generate doc-template`
|
|
146
|
-
|
|
147
|
-
Generate a component documentation page template.
|
|
148
|
-
|
|
149
|
-
```bash
|
|
150
|
-
tigercat generate doc-template Button
|
|
151
|
-
tigercat generate doc-template Button --output docs/components --dry-run
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### `tigercat doctor`
|
|
155
|
-
|
|
156
|
-
Check whether the current project has compatible Node, pnpm, Tailwind CSS, Tigercat peer dependencies, and template tooling.
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
tigercat doctor
|
|
160
|
-
tigercat doctor --json
|
|
161
|
-
```
|
|
91
|
+
The full command matrix for agents is
|
|
92
|
+
[cli.md](https://github.com/expcat/Tigercat/blob/main/skills/tigercat/references/cli.md).
|
|
162
93
|
|
|
163
94
|
## Windows Support
|
|
164
95
|
|
|
@@ -181,9 +112,8 @@ For local (non-global) installs, run via `npx tigercat`, `pnpm exec tigercat`, o
|
|
|
181
112
|
`bunx tigercat`. The `#!/usr/bin/env node` shebang in the built output is used by all
|
|
182
113
|
three package managers to locate the Node.js runtime.
|
|
183
114
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
> `scripts/utils/pnpm.mjs`).
|
|
115
|
+
On Windows, spawn pnpm with `shell: true` when using Corepack; repo scripts
|
|
116
|
+
already do this via `scripts/utils/pnpm.mjs`.
|
|
187
117
|
|
|
188
118
|
## License
|
|
189
119
|
|
package/dist/index.js
CHANGED
|
@@ -43,11 +43,11 @@ function readFileSafe(filePath) {
|
|
|
43
43
|
|
|
44
44
|
// src/constants.ts
|
|
45
45
|
var CLI_NAME = "tigercat";
|
|
46
|
-
var CLI_VERSION = "2.1.
|
|
46
|
+
var CLI_VERSION = "2.1.4";
|
|
47
47
|
var TEMPLATES = ["vue3", "react"];
|
|
48
48
|
var TEMPLATE_VERSIONS = {
|
|
49
49
|
// Tigercat packages (use caret on latest major)
|
|
50
|
-
tigercat: "^2.1.
|
|
50
|
+
tigercat: "^2.1.4",
|
|
51
51
|
// Frameworks
|
|
52
52
|
vue: "^3.5.39",
|
|
53
53
|
react: "^19.2.7",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI tooling for Tigercat UI library — project scaffolding, component generation, and more",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
|
-
"node": ">=22.
|
|
37
|
+
"node": ">=22.13.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"commander": "^15.0.0",
|