@coherent.js/cli 1.0.0-beta.2 → 1.0.0-beta.5
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 -12
- package/dist/index.cjs +2101 -11612
- package/dist/index.js +582 -276
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Command-line interface for Coherent.js projects. Scaffold new applications, gene
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# Install globally
|
|
9
|
-
|
|
9
|
+
pnpm add -g @coherent.js/cli
|
|
10
10
|
|
|
11
11
|
# Create a new project
|
|
12
12
|
coherent create my-app
|
|
@@ -23,24 +23,16 @@ coherent dev
|
|
|
23
23
|
### Global Installation (Recommended)
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
npm install -g @coherent.js/cli
|
|
27
|
-
# or
|
|
28
|
-
yarn global add @coherent.js/cli
|
|
29
|
-
# or
|
|
30
26
|
pnpm add -g @coherent.js/cli
|
|
31
27
|
```
|
|
32
28
|
|
|
33
29
|
### Local Installation
|
|
34
30
|
|
|
35
31
|
```bash
|
|
36
|
-
npm install --save-dev @coherent.js/cli
|
|
37
|
-
# or
|
|
38
|
-
yarn add --dev @coherent.js/cli
|
|
39
|
-
# or
|
|
40
32
|
pnpm add -D @coherent.js/cli
|
|
41
33
|
|
|
42
|
-
# Use with
|
|
43
|
-
|
|
34
|
+
# Use with pnpm
|
|
35
|
+
pnpm exec coherent create my-app
|
|
44
36
|
```
|
|
45
37
|
|
|
46
38
|
## 🛠️ Commands
|
|
@@ -381,7 +373,7 @@ test('Button renders correctly', () => {
|
|
|
381
373
|
|
|
382
374
|
Run tests with:
|
|
383
375
|
```bash
|
|
384
|
-
|
|
376
|
+
pnpm test
|
|
385
377
|
# or if using the CLI
|
|
386
378
|
coherent test
|
|
387
379
|
```
|