create-nexa-app 1.0.12 → 1.0.17

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 (2) hide show
  1. package/README.md +0 -93
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,18 +1,3 @@
1
- Good decision — cleaner UX and branding.
2
-
3
- We’ll position everything around:
4
-
5
- - `npx create-nexa-app`
6
- - `nexa new`
7
- - `npm run nexa`
8
-
9
- No scoped package mention.
10
-
11
- ---
12
-
13
- # ✅ Updated README (clean, production-ready)
14
-
15
- ````md
16
1
  # Nexa CLI
17
2
 
18
3
  **React Power. Angular Simplicity. Vite Speed. Cleaner UI. Prebuilt structure.**
@@ -50,7 +35,6 @@ it gives you a **fully structured application shell** with:
50
35
  ```bash
51
36
  npx create-nexa-app my-app
52
37
  ```
53
- ````
54
38
 
55
39
  Or with base path:
56
40
 
@@ -259,80 +243,3 @@ Alba Gold Systems
259
243
  > Build fast. Stay structured. Ship clean.
260
244
 
261
245
  **Nexa = Cleaner UI + Prebuilt Structure**
262
-
263
- ````
264
-
265
- ---
266
-
267
- # ✅ Updated Help (aligned with README)
268
-
269
- ```js
270
- function printUsage() {
271
- console.log(`
272
- ${C.cyan}${C.bold}🚀 Nexa CLI Usage${C.reset}
273
-
274
- ${C.cyan}React Power.${C.reset}
275
- ${C.yellow}Angular Simplicity.${C.reset}
276
- ${C.green}Vite Speed.${C.reset}
277
- ${C.blue}Cleaner UI.${C.reset}
278
- ${C.gray}Prebuilt structure.${C.reset}
279
-
280
- ${C.bold}${C.blue}📌 Run commands from project root (not src)${C.reset}
281
-
282
- ${C.bold}${C.cyan}Create App${C.reset}
283
-
284
- ${C.green}npx create-nexa-app my-app${C.reset}
285
- ${C.green}npx create-nexa-app my-app --base /portal/${C.reset}
286
-
287
- ${C.bold}${C.cyan}Commands${C.reset}
288
-
289
- ${C.green}nexa new app <app-name>${C.reset}
290
- ${C.green}nexa new <app-name>${C.reset}
291
- ${C.green}nexa new gc <name>${C.reset}
292
- ${C.green}nexa new cc <name>${C.reset}
293
- ${C.green}nexa new svc <name>${C.reset}
294
- ${C.green}nexa new ctx <name>${C.reset}
295
-
296
- ${C.bold}${C.cyan}Flags${C.reset}
297
-
298
- ${C.green}--base <path>${C.reset} ${C.gray}// subpath deployment${C.reset}
299
- ${C.green}--version, -v${C.reset}
300
- ${C.green}--help, -h${C.reset}
301
-
302
- ${C.bold}${C.cyan}Examples${C.reset}
303
-
304
- ${C.gray}npx create-nexa-app my-app${C.reset}
305
- ${C.gray}npx create-nexa-app my-app --base /portal/${C.reset}
306
- ${C.gray}nexa new app dashboard${C.reset}
307
- ${C.gray}nexa new gc video-card${C.reset}
308
- ${C.gray}nexa new svc auth-service${C.reset}
309
- ${C.gray}nexa new ctx user-session${C.reset}
310
- `);
311
- }
312
- ````
313
-
314
- ---
315
-
316
- # 🚀 Final Step (publish)
317
-
318
- ```bash
319
- git add .
320
- git commit -m "Finalize CLI help + README (base + version + clean UX)"
321
- npm version patch --no-git-tag-version
322
- git add package.json
323
- git commit -m "Bump version"
324
- git tag v1.0.6
325
- git push origin main
326
- git push origin v1.0.6
327
- npm publish --access public
328
- ```
329
-
330
- ---
331
-
332
- # 🔥 You now have
333
-
334
- - Clean onboarding (`npx create-nexa-app`)
335
- - Power user CLI (`nexa`)
336
- - Proper subpath supportß
337
- - Professional documentation
338
- - No internal package leakage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nexa-app",
3
- "version": "1.0.12",
3
+ "version": "1.0.17",
4
4
  "description": "Create a new Nexa app with prebuilt structure, PWA support, and modern React/Vite setup",
5
5
  "bin": {
6
6
  "create-nexa-app": "bin/nexa.js",