projxo 1.0.2 β 1.2.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 +290 -371
- package/index.js +67 -11
- package/package.json +3 -2
- package/src/cli.js +11 -0
- package/src/commands/list.js +252 -0
- package/src/commands/open.js +119 -0
- package/src/commands/recent.js +156 -0
- package/src/handlers/projectCreator.js +18 -0
- package/src/storage/database.js +149 -0
- package/src/storage/debug-storage.js +99 -0
- package/src/storage/projects.js +273 -0
package/Readme.md
CHANGED
|
@@ -1,483 +1,450 @@
|
|
|
1
1
|
# ProjXO
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
**One command, Any framework**
|
|
4
|
+
|
|
5
|
+
> **Quick project setup and management CLI for modern web frameworks**
|
|
6
|
+
> Create projects in seconds. Never lose track of them again.
|
|
5
7
|
|
|
6
8
|
[](https://www.npmjs.com/package/projxo)
|
|
7
9
|
[](https://opensource.org/licenses/MIT)
|
|
8
10
|
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
## π
|
|
13
|
+
## π Quick Start
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Install globally
|
|
17
|
+
npm install -g projxo
|
|
18
|
+
|
|
19
|
+
# Create a new project
|
|
20
|
+
pxo
|
|
21
|
+
|
|
22
|
+
# List all your projects
|
|
23
|
+
pxo list
|
|
24
|
+
|
|
25
|
+
# Open a project quickly
|
|
26
|
+
pxo open my-app
|
|
27
|
+
|
|
28
|
+
# List all your recently accessed projects
|
|
29
|
+
pxo recent
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**That's it!** Pick your framework, name your project, and start coding.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## β¨ What is ProjXO?
|
|
12
37
|
|
|
13
|
-
|
|
38
|
+
**Create projects. Track them. Never lose them.**
|
|
39
|
+
|
|
40
|
+
ProjXO eliminates the repetitive setup process for new projects. Instead of:
|
|
14
41
|
|
|
15
42
|
```bash
|
|
16
|
-
# The old way (too many steps!)
|
|
17
43
|
npx create-vite my-app
|
|
18
44
|
cd my-app
|
|
19
45
|
npm install
|
|
20
46
|
code .
|
|
47
|
+
# Wait... where did I save that other project?
|
|
21
48
|
```
|
|
22
49
|
|
|
23
|
-
|
|
50
|
+
You get:
|
|
24
51
|
|
|
25
52
|
```bash
|
|
26
|
-
pxo
|
|
53
|
+
pxo # Create & track projects
|
|
54
|
+
pxo list # See all your projects
|
|
55
|
+
pxo open my-app # Open instantly
|
|
56
|
+
pxo recent # See all recent projects
|
|
27
57
|
```
|
|
28
58
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## β¨ Features
|
|
34
|
-
|
|
35
|
-
- **π― One Command Setup** - Interactive CLI guides you through everything
|
|
36
|
-
- **β‘ Latest Tools** - Uses current best practices (Vite, not deprecated CRA)
|
|
37
|
-
- **π¨ Multiple Frameworks** - React, Next.js, Angular, React Native
|
|
38
|
-
- **π§ IDE Integration** - Auto-opens in VS Code, Cursor, WebStorm, etc.
|
|
39
|
-
- **π Cross-Platform** - Works on macOS, Windows, and Linux
|
|
40
|
-
- **π¨ Zero Config** - No setup files, no configuration needed
|
|
59
|
+
**One command. Zero hassle.**
|
|
41
60
|
|
|
42
61
|
---
|
|
43
62
|
|
|
44
63
|
## π¦ Installation
|
|
45
64
|
|
|
46
|
-
### Global Installation (Recommended)
|
|
47
|
-
|
|
48
65
|
```bash
|
|
49
66
|
npm install -g projxo
|
|
50
67
|
```
|
|
51
68
|
|
|
52
|
-
|
|
69
|
+
**Requirements:**
|
|
53
70
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
```
|
|
71
|
+
- Node.js >= 14.0.0
|
|
72
|
+
- npm >= 6.0.0
|
|
57
73
|
|
|
58
|
-
|
|
74
|
+
---
|
|
59
75
|
|
|
60
|
-
|
|
61
|
-
npx projxo
|
|
62
|
-
```
|
|
76
|
+
## π οΈ Available Commands
|
|
63
77
|
|
|
64
|
-
|
|
78
|
+
| Command | Alias | Description |
|
|
79
|
+
|---------|-------|-------------|
|
|
80
|
+
| `pxo` | - | Create a new project with interactive setup |
|
|
81
|
+
| `pxo list` | `pxo ls` | Browse and manage all tracked projects |
|
|
82
|
+
| `pxo recent [limit]` | - | Browse recently accessed projects |
|
|
83
|
+
| `pxo open <project-name>` | - | Quick open project by name |
|
|
84
|
+
| `pxo --version` | `pxo -V` | Show version number |
|
|
85
|
+
| `pxo --help` | `pxo -h` | Display help information |
|
|
65
86
|
|
|
66
|
-
|
|
87
|
+
---
|
|
67
88
|
|
|
68
|
-
### Create
|
|
89
|
+
### Create New Project
|
|
69
90
|
|
|
70
91
|
```bash
|
|
71
92
|
pxo
|
|
72
93
|
```
|
|
73
94
|
|
|
74
|
-
|
|
95
|
+
**Interactive prompts guide you through:**
|
|
75
96
|
|
|
76
|
-
1.
|
|
77
|
-
2.
|
|
78
|
-
3.
|
|
79
|
-
4.
|
|
80
|
-
5. Create the project and open it
|
|
97
|
+
1. Framework selection (React, Next.js, Angular, React Native)
|
|
98
|
+
2. Project name
|
|
99
|
+
3. Location
|
|
100
|
+
4. IDE preference
|
|
81
101
|
|
|
82
|
-
|
|
102
|
+
#### **Supported frameworks:**
|
|
83
103
|
|
|
84
|
-
|
|
104
|
+
- **React + Vite** (JavaScript or TypeScript)
|
|
105
|
+
- **Next.js** (App Router, TypeScript)
|
|
106
|
+
- **Angular** (Latest version)
|
|
107
|
+
- **React Native** (Expo)
|
|
85
108
|
|
|
86
|
-
|
|
109
|
+
#### **Supported IDEs:**
|
|
87
110
|
|
|
88
|
-
|
|
111
|
+
ProjXO auto-opens projects in your preferred IDE:
|
|
89
112
|
|
|
90
|
-
|
|
113
|
+
- **VS Code** (`code`)
|
|
114
|
+
- **Cursor** (`cursor`)
|
|
115
|
+
- **WebStorm** (`webstorm`)
|
|
116
|
+
- **IntelliJ IDEA** (`idea`)
|
|
117
|
+
- **Sublime Text** (`subl`)
|
|
118
|
+
- **Atom** (`atom`)
|
|
91
119
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
```
|
|
120
|
+
**Setup command-line tools:**
|
|
121
|
+
|
|
122
|
+
**VS Code:**
|
|
96
123
|
|
|
97
|
-
|
|
124
|
+
1. Open Command Palette (`Cmd/Ctrl+Shift+P`)
|
|
125
|
+
2. Type: "Shell Command: Install 'code' command in PATH"
|
|
98
126
|
|
|
99
|
-
|
|
100
|
-
- Vite 5+
|
|
101
|
-
- ESLint configuration
|
|
102
|
-
- Fast Refresh
|
|
127
|
+
**Other IDEs:** Check your IDE's documentation for CLI setup.
|
|
103
128
|
|
|
104
|
-
|
|
129
|
+
---
|
|
105
130
|
|
|
106
|
-
|
|
131
|
+
### List All Projects
|
|
107
132
|
|
|
108
133
|
```bash
|
|
109
|
-
pxo
|
|
110
|
-
#
|
|
134
|
+
pxo list
|
|
135
|
+
# or
|
|
136
|
+
pxo ls
|
|
111
137
|
```
|
|
112
138
|
|
|
113
|
-
**
|
|
139
|
+
**Shows all your tracked projects with:**
|
|
114
140
|
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
141
|
+
- Project name
|
|
142
|
+
- Framework type
|
|
143
|
+
- Last accessed time
|
|
118
144
|
|
|
119
|
-
|
|
145
|
+
**Interactive actions:**
|
|
120
146
|
|
|
121
|
-
|
|
147
|
+
Select a project and perform actions
|
|
122
148
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
149
|
+
- π Open in IDE
|
|
150
|
+
- π Copy project path
|
|
151
|
+
- ποΈ Remove from tracking
|
|
152
|
+
- βΉοΈ Show detailed info
|
|
127
153
|
|
|
128
|
-
**
|
|
154
|
+
**Example output:**
|
|
129
155
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
- ESLint + Prettier
|
|
133
|
-
- Optimized build setup
|
|
156
|
+
``` bash
|
|
157
|
+
π¦ Your Projects (5)
|
|
134
158
|
|
|
135
|
-
|
|
159
|
+
β― my-awesome-app React+Vite 2 hours ago
|
|
160
|
+
client-dashboard Next.js 1 day ago
|
|
161
|
+
mobile-game React Native 3 days ago
|
|
162
|
+
legacy-project Angular 1 week ago
|
|
163
|
+
test-app React+Vite 2 weeks ago
|
|
136
164
|
|
|
137
|
-
|
|
165
|
+
Use ββ to navigate β’ Enter to select
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Recent Projects
|
|
138
169
|
|
|
139
170
|
```bash
|
|
140
|
-
pxo
|
|
141
|
-
#
|
|
171
|
+
pxo recent
|
|
172
|
+
# or with custom limit
|
|
173
|
+
pxo recent 5
|
|
142
174
|
```
|
|
143
175
|
|
|
144
|
-
|
|
176
|
+
***Shows your recently accessed projects (default: last 10)***
|
|
145
177
|
|
|
146
|
-
|
|
147
|
-
- TypeScript
|
|
148
|
-
- Angular CLI tools
|
|
149
|
-
- Testing setup
|
|
178
|
+
**Features:**
|
|
150
179
|
|
|
151
|
-
|
|
180
|
+
- Sorted by last accessed time (most recent first)
|
|
181
|
+
- Quick selection with arrow keys
|
|
182
|
+
- Select to open in your preferred IDE
|
|
152
183
|
|
|
153
|
-
|
|
184
|
+
**Example output:**
|
|
154
185
|
|
|
155
|
-
```bash
|
|
156
|
-
|
|
157
|
-
|
|
186
|
+
``` bash
|
|
187
|
+
π Recent Projects (5)
|
|
188
|
+
|
|
189
|
+
Select a project to open:
|
|
190
|
+
β― 1. my-awesome-app React+Vite 2 hours ago
|
|
191
|
+
2. client-dashboard Next.js 1 day ago
|
|
192
|
+
3. mobile-game React Native 3 days ago
|
|
193
|
+
4. api-server Next.js 5 days ago
|
|
194
|
+
5. test-project React+Vite 1 week ago
|
|
158
195
|
```
|
|
159
196
|
|
|
160
|
-
**
|
|
197
|
+
**Use case:** Perfect for quickly switching between active projects without browsing the full list.
|
|
161
198
|
|
|
162
|
-
|
|
163
|
-
- TypeScript support
|
|
164
|
-
- Development tools
|
|
165
|
-
- Platform-specific configurations
|
|
199
|
+
### Quick Open Project
|
|
166
200
|
|
|
167
|
-
|
|
201
|
+
```bash
|
|
202
|
+
pxo open <project-name>
|
|
203
|
+
```
|
|
168
204
|
|
|
169
|
-
|
|
205
|
+
**Instantly open a project by name** - the fastest way to access your work.
|
|
170
206
|
|
|
171
|
-
|
|
207
|
+
**Features:**
|
|
172
208
|
|
|
173
|
-
|
|
209
|
+
- Direct project opening by name
|
|
210
|
+
- Fuzzy search if exact match not found
|
|
211
|
+
- Opens in your preferred IDE
|
|
212
|
+
- Updates last accessed timestamp
|
|
174
213
|
|
|
175
|
-
|
|
176
|
-
- **Cursor** - `cursor` command
|
|
177
|
-
- **WebStorm** - `webstorm` command
|
|
178
|
-
- **IntelliJ IDEA** - `idea` command
|
|
179
|
-
- **Sublime Text** - `subl` command
|
|
180
|
-
- **Atom** - `atom` command
|
|
214
|
+
**Example output:**
|
|
181
215
|
|
|
182
|
-
|
|
216
|
+
``` bash
|
|
217
|
+
# Exact match
|
|
218
|
+
pxo open my-awesome-app
|
|
183
219
|
|
|
184
|
-
|
|
220
|
+
# Fuzzy match (finds "my-awesome-app")
|
|
221
|
+
pxo open awesome
|
|
185
222
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
4. Done!
|
|
223
|
+
# Multiple matches - shows selection menu
|
|
224
|
+
pxo open app
|
|
225
|
+
```
|
|
190
226
|
|
|
191
|
-
|
|
192
|
-
|
|
227
|
+
```bash
|
|
228
|
+
$ pxo open dashboard
|
|
193
229
|
|
|
194
|
-
|
|
195
|
-
|
|
230
|
+
Found similar project: client-dashboard
|
|
231
|
+
β Opening client-dashboard in VS Code...
|
|
232
|
+
β Opened client-dashboard
|
|
233
|
+
```
|
|
196
234
|
|
|
197
|
-
**
|
|
198
|
-
Refer to your IDE's documentation
|
|
235
|
+
**Use case:** When you know the project name, this is the fastest way to open it.
|
|
199
236
|
|
|
200
237
|
---
|
|
201
238
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
### Example 1: Enterprise Web App
|
|
239
|
+
### Version & Help
|
|
205
240
|
|
|
206
241
|
```bash
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
# Select: Angular
|
|
210
|
-
# Name: my-ent-app
|
|
211
|
-
# Directory: ~/projects
|
|
212
|
-
# IDE: VS Code
|
|
242
|
+
# Check version
|
|
243
|
+
pxo --version
|
|
213
244
|
|
|
214
|
-
#
|
|
215
|
-
|
|
245
|
+
# Show help
|
|
246
|
+
pxo --help
|
|
216
247
|
```
|
|
217
248
|
|
|
218
|
-
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## π Usage Examples
|
|
252
|
+
|
|
253
|
+
### Example 1: Create React App
|
|
219
254
|
|
|
220
255
|
```bash
|
|
221
|
-
pxo
|
|
256
|
+
$ pxo
|
|
222
257
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
258
|
+
? Select project type: React + Vite
|
|
259
|
+
? Enter project name: my-landing-page
|
|
260
|
+
? Enter directory: ~/projects
|
|
261
|
+
? Select IDE: VS Code
|
|
227
262
|
|
|
228
|
-
|
|
229
|
-
|
|
263
|
+
β Project created successfully!
|
|
264
|
+
β Project added to tracking
|
|
265
|
+
|
|
266
|
+
# Start developing:
|
|
267
|
+
cd ~/projects/my-landing-page
|
|
268
|
+
npm run dev
|
|
230
269
|
```
|
|
231
270
|
|
|
232
|
-
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
### Example 2: Browse Your Projects
|
|
233
274
|
|
|
234
275
|
```bash
|
|
235
|
-
pxo
|
|
276
|
+
$ pxo list
|
|
236
277
|
|
|
237
|
-
|
|
238
|
-
# Name: my-saas-app
|
|
239
|
-
# Directory: ~/work
|
|
240
|
-
# IDE: Cursor
|
|
278
|
+
π¦ Your Projects (3)
|
|
241
279
|
|
|
242
|
-
|
|
243
|
-
|
|
280
|
+
β― my-landing-page React+Vite just now
|
|
281
|
+
my-nextjs-app Next.js 2 days ago
|
|
282
|
+
old-angular-app Angular 2 weeks ago
|
|
283
|
+
|
|
284
|
+
# Select a project to:
|
|
285
|
+
# - Open in your IDE
|
|
286
|
+
# - Copy the path
|
|
287
|
+
# - Remove from tracking
|
|
288
|
+
# - View details
|
|
244
289
|
```
|
|
245
290
|
|
|
246
|
-
### Example
|
|
291
|
+
### Example 3: Quick Access Workflow
|
|
247
292
|
|
|
248
293
|
```bash
|
|
249
|
-
|
|
294
|
+
# Morning: See what you worked on recently
|
|
295
|
+
$ pxo recent
|
|
296
|
+
# β Select and open your active project
|
|
250
297
|
|
|
251
|
-
#
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
# IDE: VS Code
|
|
298
|
+
# Later: Quick open by name
|
|
299
|
+
$ pxo open client-dashboard
|
|
300
|
+
β Opened client-dashboard
|
|
255
301
|
|
|
256
|
-
#
|
|
257
|
-
|
|
302
|
+
# End of day: Browse all projects
|
|
303
|
+
$ pxo list
|
|
304
|
+
# β Review and organize
|
|
258
305
|
```
|
|
259
306
|
|
|
260
307
|
---
|
|
261
308
|
|
|
262
|
-
##
|
|
309
|
+
## π‘ Tips & Tricks
|
|
263
310
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
### Default Directory
|
|
267
|
-
|
|
268
|
-
ProjXO uses your current directory by default. Change it during the prompt or `cd` to your preferred location first:
|
|
311
|
+
### Use Recent for Active Work
|
|
269
312
|
|
|
270
313
|
```bash
|
|
271
|
-
|
|
272
|
-
pxo
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
### Skip IDE Opening
|
|
314
|
+
# Working on multiple projects?
|
|
315
|
+
pxo recent
|
|
276
316
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
```bash
|
|
280
|
-
pxo
|
|
281
|
-
# Select: Skip (open manually)
|
|
317
|
+
# Shows only what you've touched recently
|
|
318
|
+
# Much faster than scrolling through all projects
|
|
282
319
|
```
|
|
283
320
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
## π Tips & Best Practices
|
|
287
|
-
|
|
288
|
-
### Tip 1: Use Consistent Naming
|
|
321
|
+
### Quick Open for Speed
|
|
289
322
|
|
|
290
323
|
```bash
|
|
291
|
-
#
|
|
292
|
-
my-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
# Avoid
|
|
297
|
-
my project name β (spaces)
|
|
298
|
-
my-project-name! β (special chars)
|
|
324
|
+
# If you remember the name, use open
|
|
325
|
+
pxo open my-app
|
|
326
|
+
|
|
327
|
+
# Fuzzy search helps with partial names
|
|
328
|
+
pxo open dash # finds "client-dashboard"
|
|
299
329
|
```
|
|
300
330
|
|
|
301
|
-
###
|
|
331
|
+
### Organize Your Projects
|
|
302
332
|
|
|
303
333
|
```bash
|
|
304
|
-
# Keep projects organized
|
|
334
|
+
# Keep projects organized
|
|
305
335
|
~/projects/clients/
|
|
306
336
|
~/projects/personal/
|
|
307
|
-
~/projects/
|
|
337
|
+
~/projects/learning/
|
|
308
338
|
|
|
309
|
-
#
|
|
339
|
+
# Create projects in the right place
|
|
310
340
|
cd ~/projects/clients
|
|
311
341
|
pxo
|
|
312
342
|
```
|
|
313
343
|
|
|
314
|
-
###
|
|
344
|
+
### Review Project Details
|
|
315
345
|
|
|
316
|
-
|
|
346
|
+
```bash
|
|
347
|
+
pxo list
|
|
348
|
+
# β Select project β Show details
|
|
349
|
+
|
|
350
|
+
# See full information:
|
|
351
|
+
# - Complete path
|
|
352
|
+
# - Creation date
|
|
353
|
+
# - Framework type
|
|
354
|
+
# - Default IDE
|
|
355
|
+
```
|
|
317
356
|
|
|
318
|
-
|
|
319
|
-
- **Next.js**: [nextjs.org/docs](https://nextjs.org/docs)
|
|
320
|
-
- **Angular**: [angular.io/docs](https://angular.io/docs)
|
|
321
|
-
- **Expo**: [docs.expo.dev](https://docs.expo.dev)
|
|
357
|
+
---
|
|
322
358
|
|
|
323
|
-
|
|
359
|
+
## π How It Works
|
|
324
360
|
|
|
325
|
-
|
|
361
|
+
### Automatic Tracking
|
|
326
362
|
|
|
327
|
-
|
|
363
|
+
Every project you create with ProjXO is automatically tracked:
|
|
328
364
|
|
|
329
365
|
```bash
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
git commit -m "Initial commit"
|
|
334
|
-
```
|
|
366
|
+
pxo
|
|
367
|
+
# Creates project...
|
|
368
|
+
β Project added to tracking
|
|
335
369
|
|
|
336
|
-
|
|
370
|
+
# Data stored in: ~/.projxo/projects.json
|
|
371
|
+
```
|
|
337
372
|
|
|
338
|
-
|
|
339
|
-
# For React projects
|
|
340
|
-
npm install axios react-query zustand
|
|
373
|
+
### What's Stored
|
|
341
374
|
|
|
342
|
-
|
|
343
|
-
|
|
375
|
+
- Project name and path
|
|
376
|
+
- Framework type
|
|
377
|
+
- Creation and last accessed timestamps
|
|
378
|
+
- IDE preference
|
|
344
379
|
|
|
345
|
-
|
|
346
|
-
npm install react-hook-form zod
|
|
347
|
-
```
|
|
380
|
+
**Privacy:** All data stays local on your machine. No cloud sync, no tracking.
|
|
348
381
|
|
|
349
382
|
---
|
|
350
383
|
|
|
351
384
|
## π¨ Troubleshooting
|
|
352
385
|
|
|
353
|
-
###
|
|
354
|
-
|
|
355
|
-
**Problem:** `pxo: command not found`
|
|
356
|
-
|
|
357
|
-
**Solution:**
|
|
386
|
+
### Command Not Found
|
|
358
387
|
|
|
359
388
|
```bash
|
|
360
389
|
# Reinstall globally
|
|
361
390
|
npm install -g projxo
|
|
362
391
|
|
|
363
|
-
# Or use
|
|
392
|
+
# Or use with npx
|
|
364
393
|
npx projxo
|
|
365
394
|
```
|
|
366
395
|
|
|
367
|
-
###
|
|
368
|
-
|
|
369
|
-
**Problem:** `EACCES: permission denied`
|
|
370
|
-
|
|
371
|
-
**Solution (macOS/Linux):**
|
|
396
|
+
### Permission Errors (macOS/Linux)
|
|
372
397
|
|
|
373
398
|
```bash
|
|
374
|
-
# Fix npm permissions
|
|
375
399
|
sudo chown -R $(whoami) ~/.npm
|
|
376
400
|
sudo chown -R $(whoami) /usr/local/lib/node_modules
|
|
377
|
-
|
|
378
|
-
# Then reinstall
|
|
379
401
|
npm install -g projxo
|
|
380
402
|
```
|
|
381
403
|
|
|
382
|
-
|
|
383
|
-
Run terminal as Administrator
|
|
384
|
-
|
|
385
|
-
### Issue: IDE doesn't open
|
|
386
|
-
|
|
387
|
-
**Problem:** IDE selected but doesn't open
|
|
404
|
+
### IDE Doesn't Open
|
|
388
405
|
|
|
389
|
-
|
|
406
|
+
1. Verify IDE is installed
|
|
407
|
+
2. Setup command-line tools (see IDE Integration)
|
|
408
|
+
3. Test manually: `code .` or `cursor .`
|
|
390
409
|
|
|
391
|
-
|
|
392
|
-
2. Set up command-line tools (see IDE Integration section)
|
|
393
|
-
3. Test command manually:
|
|
410
|
+
### Projects Not Showing in List
|
|
394
411
|
|
|
395
|
-
|
|
396
|
-
code . # for VS Code
|
|
397
|
-
cursor . # for Cursor
|
|
398
|
-
```
|
|
412
|
+
**Projects created before v1.1.0 aren't tracked.**
|
|
399
413
|
|
|
400
|
-
|
|
414
|
+
Only projects created after installing v1.1.0+ are automatically tracked.
|
|
401
415
|
|
|
402
|
-
|
|
416
|
+
### Project Not Found (Open Command)
|
|
403
417
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
- **Check internet connection** - npm needs to download packages
|
|
407
|
-
- **Clear npm cache** - `npm cache clean --force`
|
|
408
|
-
- **Update Node.js** - Ensure Node.js >= 14.0.0
|
|
409
|
-
- **Check disk space** - Ensure enough space for node_modules
|
|
410
|
-
|
|
411
|
-
---
|
|
412
|
-
|
|
413
|
-
## π§ Requirements
|
|
414
|
-
|
|
415
|
-
- **Node.js** >= 14.0.0
|
|
416
|
-
- **npm** >= 6.0.0 (comes with Node.js)
|
|
417
|
-
- **Internet connection** (for downloading packages)
|
|
418
|
-
|
|
419
|
-
### Check Your Versions
|
|
418
|
+
If `pxo open` can't find your project:
|
|
420
419
|
|
|
421
420
|
```bash
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
```
|
|
421
|
+
# Use list to see exact names
|
|
422
|
+
pxo list
|
|
425
423
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
**Using nvm (recommended):**
|
|
429
|
-
```bash
|
|
430
|
-
nvm install 20
|
|
431
|
-
nvm use 20
|
|
424
|
+
# Or try partial name (fuzzy search)
|
|
425
|
+
pxo open partial-name
|
|
432
426
|
```
|
|
433
427
|
|
|
434
|
-
**Direct download:**
|
|
435
|
-
[nodejs.org/download](https://nodejs.org/download)
|
|
436
|
-
|
|
437
428
|
---
|
|
438
429
|
|
|
439
430
|
## π€ Contributing
|
|
440
431
|
|
|
441
|
-
|
|
442
|
-
To make thing easy and manageable use PR (pull requests) as much as possible.
|
|
432
|
+
Contributions are welcome! Please use pull requests.
|
|
443
433
|
|
|
444
|
-
|
|
434
|
+
**Ways to contribute:**
|
|
445
435
|
|
|
446
436
|
- π Report bugs
|
|
447
|
-
- π‘ Suggest features
|
|
448
|
-
- π Improve
|
|
449
|
-
- π§ Submit
|
|
437
|
+
- π‘ Suggest features
|
|
438
|
+
- π Improve docs
|
|
439
|
+
- π§ Submit PRs
|
|
450
440
|
|
|
451
|
-
|
|
441
|
+
**Development setup:**
|
|
452
442
|
|
|
453
443
|
```bash
|
|
454
|
-
# Clone the repository
|
|
455
444
|
git clone https://github.com/sasangachathumal/ProjXO.git
|
|
456
445
|
cd ProjXO
|
|
457
|
-
|
|
458
|
-
# Install dependencies
|
|
459
446
|
npm install
|
|
460
|
-
|
|
461
|
-
# Test locally
|
|
462
|
-
node index.js
|
|
463
|
-
|
|
464
|
-
# Test globally
|
|
465
|
-
npm link
|
|
466
|
-
pxo
|
|
467
|
-
```
|
|
468
|
-
|
|
469
|
-
### Project Structure
|
|
470
|
-
|
|
471
|
-
```
|
|
472
|
-
ProjXO/
|
|
473
|
-
βββ index.js # Entry point
|
|
474
|
-
βββ package.json
|
|
475
|
-
βββ src/
|
|
476
|
-
βββ cli.js # Main CLI logic
|
|
477
|
-
βββ config/ # Framework & IDE configs
|
|
478
|
-
βββ utils/ # Helper functions
|
|
479
|
-
βββ prompts/ # User prompts
|
|
480
|
-
βββ handlers/ # Business logic
|
|
447
|
+
node index.js # Test locally
|
|
481
448
|
```
|
|
482
449
|
|
|
483
450
|
---
|
|
@@ -486,56 +453,31 @@ ProjXO/
|
|
|
486
453
|
|
|
487
454
|
MIT Β© Sasanga Chathumal
|
|
488
455
|
|
|
489
|
-
See [LICENSE](LICENSE) file for details.
|
|
490
|
-
|
|
491
456
|
---
|
|
492
457
|
|
|
493
458
|
## π Credits
|
|
494
459
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
- [
|
|
498
|
-
- [
|
|
499
|
-
- [
|
|
500
|
-
- [
|
|
501
|
-
- [
|
|
502
|
-
|
|
503
|
-
---
|
|
504
|
-
|
|
505
|
-
## πΊοΈ Roadmap
|
|
506
|
-
|
|
507
|
-
### Current Version (v1.0.0)
|
|
508
|
-
|
|
509
|
-
- β
Interactive project creation
|
|
510
|
-
- β
5 framework templates
|
|
511
|
-
- β
IDE integration
|
|
512
|
-
- β
Cross-platform support
|
|
513
|
-
|
|
514
|
-
### Planned Features
|
|
515
|
-
|
|
516
|
-
- π Project tracking and quick access
|
|
517
|
-
- π Bookmarking favorite projects
|
|
518
|
-
- π Custom project templates
|
|
519
|
-
- π Post-setup automation (install common packages)
|
|
520
|
-
- π Git options
|
|
521
|
-
- π Team templates sharing
|
|
460
|
+
Built with:
|
|
461
|
+
- [Vite](https://vitejs.dev/)
|
|
462
|
+
- [Next.js](https://nextjs.org/)
|
|
463
|
+
- [Angular CLI](https://angular.io/cli)
|
|
464
|
+
- [Expo](https://expo.dev/)
|
|
465
|
+
- [Inquirer.js](https://github.com/SBoudrias/Inquirer.js)
|
|
466
|
+
- [Commander.js](https://github.com/tj/commander.js)
|
|
522
467
|
|
|
523
468
|
---
|
|
524
469
|
|
|
525
|
-
## π¬ Support
|
|
526
|
-
|
|
527
|
-
### Get Help
|
|
470
|
+
## π¬ Support & Links
|
|
528
471
|
|
|
529
472
|
- π [Documentation](https://github.com/sasangachathumal/ProjXO#readme)
|
|
530
|
-
- π [
|
|
473
|
+
- π [Issues](https://github.com/sasangachathumal/ProjXO/issues)
|
|
531
474
|
- π¬ [Discussions](https://github.com/sasangachathumal/ProjXO/discussions)
|
|
475
|
+
- π¦ [npm Package](https://www.npmjs.com/package/projxo)
|
|
532
476
|
|
|
533
|
-
|
|
477
|
+
**Connect:**
|
|
534
478
|
|
|
535
|
-
-
|
|
536
|
-
-
|
|
537
|
-
- πΌ [Follow on linkedIn](https://www.linkedin.com/in/sasanga-chathumal/)
|
|
538
|
-
- π [Follow on facebook](https://www.facebook.com/profile.php?id=61582131982373)
|
|
479
|
+
- π¦ [X/Twitter](https://x.com/SasangaChathum1)
|
|
480
|
+
- πΌ [LinkedIn](https://www.linkedin.com/in/sasanga-chathumal/)
|
|
539
481
|
- π§ [Email](mailto:devbysasanga@gmail.com)
|
|
540
482
|
|
|
541
483
|
---
|
|
@@ -543,58 +485,35 @@ ProjXO uses these amazing tools:
|
|
|
543
485
|
## β‘ Quick Reference
|
|
544
486
|
|
|
545
487
|
```bash
|
|
546
|
-
# Create
|
|
488
|
+
# Create project
|
|
547
489
|
pxo
|
|
548
490
|
|
|
549
|
-
#
|
|
550
|
-
pxo
|
|
551
|
-
|
|
552
|
-
# Get help
|
|
553
|
-
pxo --help
|
|
554
|
-
|
|
555
|
-
# Use without installing
|
|
556
|
-
npx projxo
|
|
557
|
-
```
|
|
558
|
-
|
|
559
|
-
---
|
|
560
|
-
|
|
561
|
-
## π Comparison
|
|
562
|
-
|
|
563
|
-
### ProjXO vs Manual Setup
|
|
491
|
+
# List projects
|
|
492
|
+
pxo list
|
|
493
|
+
pxo ls
|
|
564
494
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
| Run create command | Remember exact command | Handled automatically |
|
|
569
|
-
| Navigate to project | `cd` manually | Automatic |
|
|
570
|
-
| Open in IDE | `code .` manually | Automatic |
|
|
571
|
-
| **Total time** | **3-5 minutes** | **30 seconds** |
|
|
495
|
+
# Recent projects
|
|
496
|
+
pxo recent
|
|
497
|
+
pxo recent 5
|
|
572
498
|
|
|
573
|
-
|
|
499
|
+
# Quick open
|
|
500
|
+
pxo open <project-name>
|
|
574
501
|
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
| Multi-framework | β
| β Single | β οΈ Depends |
|
|
579
|
-
| IDE Integration | β
| β | β |
|
|
580
|
-
| Zero config | β
| β
| β |
|
|
581
|
-
| Modern tools | β
| β οΈ Some outdated | β οΈ Many outdated |
|
|
582
|
-
|
|
583
|
-
---
|
|
584
|
-
|
|
585
|
-
## π Links
|
|
502
|
+
# Version
|
|
503
|
+
pxo --version
|
|
504
|
+
pxo -V
|
|
586
505
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
-
|
|
590
|
-
|
|
506
|
+
# Help
|
|
507
|
+
pxo --help
|
|
508
|
+
pxo -h
|
|
509
|
+
```
|
|
591
510
|
|
|
592
511
|
---
|
|
593
512
|
|
|
594
513
|
<div align="center">
|
|
595
514
|
|
|
596
|
-
**
|
|
515
|
+
**Stop wasting time on setup. Start building.**
|
|
597
516
|
|
|
598
|
-
[β Star on GitHub](https://github.com/sasangachathumal/ProjXO) β’ [π¦
|
|
517
|
+
[β Star on GitHub](https://github.com/sasangachathumal/ProjXO) β’ [π¦ Install Now](https://www.npmjs.com/package/projxo) β’ [π Report Issue](https://github.com/sasangachathumal/ProjXO/issues)
|
|
599
518
|
|
|
600
519
|
</div>
|