uniweb 0.3.7 → 0.3.8

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 +25 -22
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -7,7 +7,7 @@ Create well-structured Vite + React projects with file-based routing, localizati
7
7
  ## Quick Start
8
8
 
9
9
  ```bash
10
- npx uniweb@latest create my-site --template marketing
10
+ pnpm create uniweb my-site --template marketing
11
11
  cd my-site
12
12
  pnpm install
13
13
  pnpm dev
@@ -33,16 +33,16 @@ The `marketing` template includes real components (Hero, Features, Pricing, Test
33
33
 
34
34
  ```bash
35
35
  # Multilingual business site (English, Spanish, French)
36
- npx uniweb@latest create my-site --template international
36
+ pnpm create uniweb my-site --template international
37
37
 
38
38
  # Academic site (researcher portfolios, lab pages)
39
- npx uniweb@latest create my-site --template academic
39
+ pnpm create uniweb my-site --template academic
40
40
 
41
41
  # Documentation site
42
- npx uniweb@latest create my-site --template docs
42
+ pnpm create uniweb my-site --template docs
43
43
 
44
44
  # Minimal starter (build from scratch)
45
- npx uniweb@latest create my-site
45
+ pnpm create uniweb my-site
46
46
  ```
47
47
 
48
48
  Every project is a workspace with two packages:
@@ -248,8 +248,11 @@ Start with local files deployed anywhere. The same foundation works across all t
248
248
  ## Installation
249
249
 
250
250
  ```bash
251
- # Use directly with npx (recommended)
252
- npx uniweb@latest <command>
251
+ # Create a new project (recommended)
252
+ pnpm create uniweb my-site
253
+
254
+ # Or use npx directly
255
+ npx uniweb@latest create my-site
253
256
 
254
257
  # Or install globally
255
258
  npm install -g uniweb
@@ -302,25 +305,25 @@ uniweb create [project-name] [options]
302
305
 
303
306
  ```bash
304
307
  # Interactive prompts
305
- uniweb create
308
+ pnpm create uniweb
306
309
 
307
310
  # Create with specific name (defaults to single template)
308
- uniweb create my-project
311
+ pnpm create uniweb my-project
309
312
 
310
313
  # Single project with site + foundation
311
- uniweb create my-project --template single
314
+ pnpm create uniweb my-project --template single
312
315
 
313
316
  # Multi-site/foundation monorepo
314
- uniweb create my-workspace --template multi
317
+ pnpm create uniweb my-workspace --template multi
315
318
 
316
319
  # Official marketing template (landing pages, pricing, testimonials)
317
- uniweb create my-site --template marketing
320
+ pnpm create uniweb my-site --template marketing
318
321
 
319
322
  # From npm package
320
- uniweb create my-site --template @myorg/starter-template
323
+ pnpm create uniweb my-site --template @myorg/starter-template
321
324
 
322
325
  # From GitHub repository
323
- uniweb create my-site --template github:myorg/uniweb-template
326
+ pnpm create uniweb my-site --template github:myorg/uniweb-template
324
327
  ```
325
328
 
326
329
  ### `build`
@@ -425,7 +428,7 @@ Feature-rich templates with real components and sample content.
425
428
  ### Marketing
426
429
 
427
430
  ```bash
428
- uniweb create my-site --template marketing
431
+ pnpm create uniweb my-site --template marketing
429
432
  ```
430
433
 
431
434
  **Includes:** Hero, Features, Pricing, Testimonials, CTA, FAQ, Stats, LogoCloud, Video, Gallery, Team
@@ -435,13 +438,13 @@ Perfect for product launches, SaaS websites, and business landing pages.
435
438
  **Tailwind v3 variant:**
436
439
 
437
440
  ```bash
438
- uniweb create my-site --template marketing --variant tailwind3
441
+ pnpm create uniweb my-site --template marketing --variant tailwind3
439
442
  ```
440
443
 
441
444
  ### Academic
442
445
 
443
446
  ```bash
444
- uniweb create my-site --template academic
447
+ pnpm create uniweb my-site --template academic
445
448
  ```
446
449
 
447
450
  **Includes:** ProfileHero, PublicationList, ResearchAreas, TeamGrid, Timeline, ContactCard, Navbar, Footer
@@ -451,7 +454,7 @@ Perfect for researcher portfolios, lab websites, and academic department sites.
451
454
  ### Docs
452
455
 
453
456
  ```bash
454
- uniweb create my-site --template docs
457
+ pnpm create uniweb my-site --template docs
455
458
  ```
456
459
 
457
460
  **Includes:** Header, LeftPanel, DocSection, CodeBlock, Footer
@@ -461,7 +464,7 @@ Perfect for technical documentation, guides, and API references.
461
464
  ### International
462
465
 
463
466
  ```bash
464
- uniweb create my-site --template international
467
+ pnpm create uniweb my-site --template international
465
468
  ```
466
469
 
467
470
  **Includes:** Hero, Features, Team, CTA, Header (with language switcher), Footer (with language links)
@@ -489,13 +492,13 @@ Use templates from npm or GitHub:
489
492
 
490
493
  ```bash
491
494
  # npm package
492
- uniweb create my-site --template @myorg/template-name
495
+ pnpm create uniweb my-site --template @myorg/template-name
493
496
 
494
497
  # GitHub repository
495
- uniweb create my-site --template github:user/repo
498
+ pnpm create uniweb my-site --template github:user/repo
496
499
 
497
500
  # GitHub with specific branch/tag
498
- uniweb create my-site --template github:user/repo#v1.0.0
501
+ pnpm create uniweb my-site --template github:user/repo#v1.0.0
499
502
  ```
500
503
 
501
504
  ## Dependency Management
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniweb",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Create structured Vite + React sites with content/code separation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -37,9 +37,9 @@
37
37
  "js-yaml": "^4.1.0",
38
38
  "prompts": "^2.4.2",
39
39
  "tar": "^7.0.0",
40
- "@uniweb/build": "0.2.4",
40
+ "@uniweb/build": "0.2.5",
41
+ "@uniweb/runtime": "0.3.1",
41
42
  "@uniweb/core": "0.2.3",
42
- "@uniweb/kit": "0.2.3",
43
- "@uniweb/runtime": "0.3.1"
43
+ "@uniweb/kit": "0.2.3"
44
44
  }
45
45
  }