create-revo 2.0.8 → 3.0.0

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 CHANGED
@@ -1,110 +1,244 @@
1
- # revo
1
+ # create-revo
2
2
 
3
- **revo** is a modern project setup tool that supports both **React** and **Next.js** projects. It's designed to streamline your workflow by providing clean project structures, pre-configured with **TypeScript** and **Tailwind CSS**, so you can focus on building amazing applications.
3
+ **create-revo** is a fast, minimal project setup tool for **React** and **Next.js** projects. Get started with modern, production-ready templates in seconds.
4
4
 
5
5
  ---
6
6
 
7
- ## 🚀 Features
7
+ ## Features
8
8
 
9
- - **Two Framework Options**: Choose between React (Vite) or Next.js
10
- - **TypeScript Ready**: Pre-configured TypeScript for type safety
11
- - **Tailwind CSS**: Fully configured for utility-first styling right out of the box
12
- - **Latest Dependencies**: Always uses the latest versions of all packages
13
- - **Interactive Setup**: Simple CLI with progress indicators
14
- - **Clean Project Structure**: Thoughtfully organized file structure for maintainable code
9
+ - **Two Framework Options**: React (Vite) or Next.js
10
+ - **TypeScript Ready**: Pre-configured TypeScript setup
11
+ - **Tailwind CSS**: Fully configured utility-first styling
12
+ - **Latest Versions**: React 19, Next.js 16, and latest dependencies
13
+ - **Fast Setup**: Project created in ~200ms
14
+ - **Clean Structure**: Organized, maintainable project structure
15
+ - **CLI Flags**: Skip prompts with command-line options
15
16
 
16
17
  ---
17
18
 
18
19
  ## 📦 What You Get
19
20
 
20
- ### React Template (Vite)
21
- 1. **React 18** with TypeScript
22
- 2. **Vite** for lightning-fast development
23
- 3. **Tailwind CSS** for styling
24
- 4. **ESLint** for code quality
25
- 5. **Motion** for animations
21
+ ### React Template
22
+ - **React 19** with TypeScript
23
+ - **Vite 6** for lightning-fast development
24
+ - **Tailwind CSS 3** for styling
25
+ - **ESLint 9** for code quality
26
+ - **Framer Motion** for animations
27
+ - **Lenis** for smooth scrolling
28
+ - **React Router 7** for routing
29
+ - **Revoicons** for icons
26
30
 
27
31
  ### Next.js Template
28
- 1. **Next.js 15** with App Router
29
- 2. **TypeScript** for type safety
30
- 3. **Tailwind CSS** for styling
31
- 4. **ESLint** for code quality
32
- 5. **Optimized** for production
32
+ - **Next.js 16** with App Router
33
+ - **React 19** with TypeScript
34
+ - **Tailwind CSS 4** for styling
35
+ - **ESLint 9** for code quality
36
+ - **Framer Motion** for animations
37
+ - **Lenis** for smooth scrolling
38
+ - **Revoicons** for icons
33
39
 
34
40
  ---
35
41
 
36
- ## 🛠️ Installation
37
-
38
- ### Prerequisites
39
- Make sure you have Node.js (>=14.x) and npm/yarn installed.
42
+ ## Quick Start
40
43
 
41
44
  ### Create a New Project
42
45
 
43
- **Option 1: With project name**
44
46
  ```bash
45
- npx create-revo my-awesome-project
47
+ npx create-revo my-app
48
+ ```
49
+
50
+ Then follow the prompts to select your template.
51
+
52
+ ### With Template Flag (Skip Prompt)
53
+
54
+ **React Template:**
55
+ ```bash
56
+ npx create-revo my-app --template react
57
+ # or
58
+ npx create-revo my-app -t react
59
+ ```
60
+
61
+ **Next.js Template:**
62
+ ```bash
63
+ npx create-revo my-app --template next
64
+ # or
65
+ npx create-revo my-app -t next
46
66
  ```
47
67
 
48
- **Option 2: Interactive mode (will prompt for project name)**
68
+ ### Interactive Mode
69
+
49
70
  ```bash
50
71
  npx create-revo
51
72
  ```
52
73
 
53
- ### Choose Your Template
54
- You'll be prompted to choose between:
55
- 1. **React.js** - Vite + TypeScript + Tailwind CSS
56
- 2. **Next.js** - App Router + TypeScript + Tailwind CSS
74
+ You'll be prompted for:
75
+ 1. Project name
76
+ 2. Template choice (React or Next.js)
77
+
78
+ ---
79
+
80
+ ## 🛠️ CLI Options
57
81
 
58
- ### Navigate to Your Project
59
82
  ```bash
60
- cd [project-name]
83
+ create-revo <project-name> [options]
61
84
  ```
62
85
 
63
- ### Install Dependencies
86
+ ### Options
87
+
88
+ | Flag | Alias | Description |
89
+ |------|-------|-------------|
90
+ | `--template <type>` | `-t` | Template type: `react` or `next` |
91
+ | `--help` | `-h` | Show help message |
92
+ | `--version` | `-v` | Show version number |
93
+
94
+ ### Examples
95
+
64
96
  ```bash
65
- npm install
97
+ # Interactive mode
98
+ npx create-revo
99
+
100
+ # With project name
101
+ npx create-revo my-app
102
+
103
+ # With template
104
+ npx create-revo my-app -t react
105
+
106
+ # Show help
107
+ npx create-revo --help
108
+
109
+ # Show version
110
+ npx create-revo --version
66
111
  ```
67
112
 
68
113
  ---
69
114
 
70
- ## 🏃 Getting Started
115
+ ## 📁 Project Structure
71
116
 
117
+ ### React Template
118
+ ```
119
+ my-app/
120
+ ├── public/
121
+ ├── src/
122
+ │ ├── assets/
123
+ │ ├── components/
124
+ │ ├── pages/
125
+ │ ├── App.tsx
126
+ │ ├── main.tsx
127
+ │ └── index.css
128
+ ├── .gitignore
129
+ ├── package.json
130
+ ├── tsconfig.json
131
+ ├── vite.config.ts
132
+ └── tailwind.config.js
133
+ ```
72
134
 
73
- ### Start the Development Server
74
-
135
+ ### Next.js Template
75
136
  ```
76
- npm run dev
137
+ my-app/
138
+ ├── public/
139
+ ├── src/
140
+ │ ├── app/
141
+ │ │ ├── layout.tsx
142
+ │ │ └── page.tsx
143
+ │ └── components/
144
+ ├── .gitignore
145
+ ├── package.json
146
+ ├── tsconfig.json
147
+ └── tailwind.config.ts
77
148
  ```
78
149
 
79
- ### Build for Production
150
+ ---
80
151
 
152
+ ## 🏃 Development
153
+
154
+ After creating your project:
155
+
156
+ ```bash
157
+ cd my-app
158
+ npm install
159
+ npm run dev
81
160
  ```
82
- npm run build
83
- ```
84
161
 
85
- ### Preview Production Build
162
+ Your app will be running at:
163
+ - **React (Vite)**: http://localhost:7350
164
+ - **Next.js**: http://localhost:7350
165
+
166
+ ---
167
+
168
+ ## 📜 Available Scripts
86
169
 
170
+ ### React Template
171
+ ```bash
172
+ npm run dev # Start development server
173
+ npm run build # Build for production
174
+ npm run preview # Preview production build
175
+ npm run lint # Run ESLint
87
176
  ```
88
- npm run preview
177
+
178
+ ### Next.js Template
179
+ ```bash
180
+ npm run dev # Start development server
181
+ npm run build # Build for production
182
+ npm start # Start production server
183
+ npm run lint # Run ESLint
89
184
  ```
90
185
 
91
186
  ---
92
187
 
93
- ## 🌟 Feedback & Support
188
+ ## 🌟 Why create-revo?
189
+
190
+ - **Fast**: Creates projects in ~200ms
191
+ - **Minimal**: No unnecessary bloat or features
192
+ - **Modern**: Latest versions of React, Next.js, and dependencies
193
+ - **Simple**: Clean, straightforward CLI
194
+ - **Flexible**: Choose your framework and package manager
94
195
 
95
- If you like revo or have suggestions for improvement, let me know!
96
- You can reach out to me on [Twitter](https://twitter.com/MaybeTarun).
196
+ ---
197
+
198
+ ## 🔧 Package Managers
97
199
 
98
- Happy coding with revo! 🎉
200
+ create-revo works with all major package managers:
201
+
202
+ ```bash
203
+ # npm
204
+ npx create-revo my-app
205
+
206
+ # yarn
207
+ yarn create revo my-app
208
+
209
+ # pnpm
210
+ pnpm create revo my-app
211
+
212
+ # bun
213
+ bunx create-revo my-app
214
+ ```
215
+
216
+ The CLI automatically detects your package manager and shows the appropriate commands.
99
217
 
100
218
  ---
101
219
 
102
220
  ## 🙏 Credits
103
221
 
104
- revo is built on top of amazing open-source tools. A big shoutout to:
222
+ Built with amazing open-source tools:
223
+
224
+ - [React](https://react.dev/) - UI library
225
+ - [Next.js](https://nextjs.org/) - React framework
226
+ - [Vite](https://vitejs.dev/) - Build tool
227
+ - [Tailwind CSS](https://tailwindcss.com/) - CSS framework
228
+ - [TypeScript](https://www.typescriptlang.org/) - Type safety
229
+ - [Framer Motion](https://www.framer.com/motion/) - Animations
230
+ - [Lenis](https://lenis.studiofreight.com/) - Smooth scrolling
231
+
232
+ ---
233
+
234
+ ## 📝 License
235
+
236
+ MIT
237
+
238
+ ---
239
+
240
+ ## 🌟 Feedback & Support
241
+
242
+ If you like create-revo or have suggestions, reach out on [Twitter](https://twitter.com/MaybeTarun).
105
243
 
106
- - [React](https://react.dev/) - The library for building user interfaces
107
- - [Next.js](https://nextjs.org/) - The React framework for production
108
- - [Vite](https://vitejs.dev/) - The lightning-fast frontend build tool
109
- - [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework for rapid UI development
110
- - [TypeScript](https://www.typescriptlang.org/) - Typed JavaScript at any scale
244
+ Happy coding! 🚀