@react-grab/cli 0.1.0-beta.1 → 0.1.0-beta.11

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.
Files changed (4) hide show
  1. package/README.md +19 -19
  2. package/dist/cli.cjs +2493 -3203
  3. package/dist/cli.js +2493 -3202
  4. package/package.json +2 -4
package/README.md CHANGED
@@ -5,7 +5,7 @@ Interactive CLI to install React Grab in your project.
5
5
  ## Usage
6
6
 
7
7
  ```bash
8
- npx @react-grab/cli
8
+ npx grab
9
9
  ```
10
10
 
11
11
  ### Interactive Mode (default)
@@ -13,7 +13,7 @@ npx @react-grab/cli
13
13
  Running without options starts the interactive wizard:
14
14
 
15
15
  ```bash
16
- npx @react-grab/cli
16
+ npx grab
17
17
  ```
18
18
 
19
19
  ### Non-Interactive Mode
@@ -22,44 +22,44 @@ Pass options to skip prompts:
22
22
 
23
23
  ```bash
24
24
  # Auto-detect everything and install without prompts
25
- npx @react-grab/cli -y
25
+ npx grab -y
26
26
 
27
27
  # Specify framework
28
- npx @react-grab/cli -f next -r app -y
28
+ npx grab -f next -r app -y
29
29
 
30
30
  # Use specific package manager
31
- npx @react-grab/cli -p pnpm -y
31
+ npx grab -p pnpm -y
32
32
  ```
33
33
 
34
34
  ## Options
35
35
 
36
- | Option | Alias | Description | Choices |
37
- | ------------------- | ----- | --------------------------------------------- | --------------------------------------------------------------------- |
38
- | `--framework` | `-f` | Framework to configure | `next`, `vite`, `webpack` |
39
- | `--package-manager` | `-p` | Package manager to use | `npm`, `yarn`, `pnpm`, `bun` |
40
- | `--router` | `-r` | Next.js router type | `app`, `pages` |
41
- | `--yes` | `-y` | Skip all confirmation prompts | - |
42
- | `--skip-install` | - | Skip package installation (only modify files) | - |
43
- | `--help` | `-h` | Show help | - |
44
- | `--version` | `-v` | Show version | - |
36
+ | Option | Alias | Description | Choices |
37
+ | ------------------- | ----- | --------------------------------------------- | ---------------------------- |
38
+ | `--framework` | `-f` | Framework to configure | `next`, `vite`, `webpack` |
39
+ | `--package-manager` | `-p` | Package manager to use | `npm`, `yarn`, `pnpm`, `bun` |
40
+ | `--router` | `-r` | Next.js router type | `app`, `pages` |
41
+ | `--yes` | `-y` | Skip all confirmation prompts | - |
42
+ | `--skip-install` | - | Skip package installation (only modify files) | - |
43
+ | `--help` | `-h` | Show help | - |
44
+ | `--version` | `-v` | Show version | - |
45
45
 
46
46
  ## Examples
47
47
 
48
48
  ```bash
49
49
  # Interactive setup
50
- npx @react-grab/cli
50
+ npx grab
51
51
 
52
52
  # Quick install with auto-detection
53
- npx @react-grab/cli -y
53
+ npx grab -y
54
54
 
55
55
  # Next.js App Router
56
- npx @react-grab/cli -f next -r app -y
56
+ npx grab -f next -r app -y
57
57
 
58
58
  # Vite with pnpm
59
- npx @react-grab/cli -f vite -p pnpm -y
59
+ npx grab -f vite -p pnpm -y
60
60
 
61
61
  # Only modify files (skip npm install)
62
- npx @react-grab/cli --skip-install -y
62
+ npx grab --skip-install -y
63
63
  ```
64
64
 
65
65
  ## Supported Frameworks