uniweb 0.2.41 → 0.2.43

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 (36) hide show
  1. package/README.md +28 -0
  2. package/package.json +5 -5
  3. package/partials/agents-md.hbs +743 -0
  4. package/partials/ai-assistance.hbs +1 -1
  5. package/partials/components-docs.hbs +6 -8
  6. package/src/commands/docs.js +126 -13
  7. package/src/commands/i18n.js +97 -17
  8. package/src/templates/processor.js +8 -9
  9. package/src/templates/resolver.js +1 -1
  10. package/src/utils/workspace.js +189 -0
  11. package/templates/_shared/AGENTS.md.hbs +1 -0
  12. package/templates/_shared/package.json.hbs +2 -1
  13. package/templates/multi/README.md.hbs +1 -1
  14. package/templates/multi/foundations/default/package.json.hbs +1 -3
  15. package/templates/multi/foundations/default/src/_entry.generated.js +1 -0
  16. package/templates/multi/foundations/default/src/styles.css +1 -0
  17. package/templates/multi/package.json.hbs +2 -1
  18. package/templates/multi/sites/main/package.json.hbs +1 -1
  19. package/templates/multi/template.json +2 -1
  20. package/templates/single/README.md.hbs +1 -1
  21. package/templates/single/foundation/package.json.hbs +1 -3
  22. package/templates/single/foundation/src/_entry.generated.js +1 -0
  23. package/templates/single/foundation/src/styles.css +1 -0
  24. package/templates/single/site/package.json.hbs +1 -1
  25. package/templates/single/template.json +1 -1
  26. package/templates/template/template/AGENTS.md.hbs +1 -0
  27. package/templates/template/template/foundation/package.json.hbs +0 -1
  28. package/templates/template/template/foundation/src/_entry.generated.js +2 -1
  29. package/templates/template/template/foundation/src/styles.css +1 -0
  30. package/templates/template/template/package.json.hbs +2 -1
  31. package/templates/template/template/site/package.json.hbs +1 -1
  32. package/partials/claude-md.hbs +0 -251
  33. package/templates/_shared/CLAUDE.md.hbs +0 -1
  34. package/templates/multi/CLAUDE.md.hbs +0 -1
  35. package/templates/multi/pnpm-workspace.yaml +0 -5
  36. package/templates/template/template/CLAUDE.md.hbs +0 -70
package/README.md CHANGED
@@ -18,6 +18,9 @@ The `marketing` template includes real components (Hero, Features, Pricing, Test
18
18
  **Other templates:**
19
19
 
20
20
  ```bash
21
+ # Multilingual business site (English, Spanish, French)
22
+ npx uniweb@latest create my-site --template international
23
+
21
24
  # Academic site (researcher portfolios, lab pages)
22
25
  npx uniweb@latest create my-site --template academic
23
26
 
@@ -371,6 +374,31 @@ uniweb create my-site --template docs
371
374
 
372
375
  Perfect for technical documentation, guides, and API references.
373
376
 
377
+ ### International
378
+
379
+ ```bash
380
+ uniweb create my-site --template international
381
+ ```
382
+
383
+ **Includes:** Hero, Features, Team, CTA, Header (with language switcher), Footer (with language links)
384
+
385
+ **Languages:** English (default), Spanish, French
386
+
387
+ A multilingual business site demonstrating Uniweb's i18n capabilities. Includes pre-configured translation files and a complete localization workflow:
388
+
389
+ ```bash
390
+ # Extract translatable strings
391
+ uniweb i18n extract
392
+
393
+ # Check translation coverage
394
+ uniweb i18n status
395
+
396
+ # Build generates locale-specific output (dist/es/, dist/fr/)
397
+ uniweb build
398
+ ```
399
+
400
+ Perfect for international businesses and learning the i18n workflow.
401
+
374
402
  ## External Templates
375
403
 
376
404
  Use templates from npm or GitHub:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniweb",
3
- "version": "0.2.41",
3
+ "version": "0.2.43",
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.1.22",
41
- "@uniweb/core": "0.1.10",
42
- "@uniweb/kit": "0.1.5",
43
- "@uniweb/runtime": "0.2.11"
40
+ "@uniweb/build": "0.1.24",
41
+ "@uniweb/kit": "0.1.6",
42
+ "@uniweb/runtime": "0.2.12",
43
+ "@uniweb/core": "0.1.11"
44
44
  }
45
45
  }