@swarm.ing/pieui 2.0.20 → 2.0.22

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 (34) hide show
  1. package/README.md +6 -2
  2. package/dist/cli.js +19558 -15325
  3. package/dist/components/Containers/OneOfCard/index.d.ts +3 -0
  4. package/dist/components/Containers/OneOfCard/index.d.ts.map +1 -0
  5. package/dist/components/Containers/OneOfCard/types/index.d.ts +9 -0
  6. package/dist/components/Containers/OneOfCard/types/index.d.ts.map +1 -0
  7. package/dist/components/Containers/OneOfCard/ui/OneOfCard.d.ts +4 -0
  8. package/dist/components/Containers/OneOfCard/ui/OneOfCard.d.ts.map +1 -0
  9. package/dist/components/PieBaseRoot/index.d.ts.map +1 -1
  10. package/dist/components/PieMaxRoot/index.d.ts.map +1 -1
  11. package/dist/components/PieRoot/index.d.ts.map +1 -1
  12. package/dist/components/PieRoot/types/index.d.ts +7 -0
  13. package/dist/components/PieRoot/types/index.d.ts.map +1 -1
  14. package/dist/components/PieTelegramRoot/index.d.ts.map +1 -1
  15. package/dist/components/index.d.ts +1 -0
  16. package/dist/components/index.d.ts.map +1 -1
  17. package/dist/components/index.esm.js +1 -1
  18. package/dist/components/index.js +1 -1
  19. package/dist/index.d.ts +1 -1
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.esm.js +2 -2
  22. package/dist/index.js +2 -2
  23. package/dist/pieui.components.json +21 -0
  24. package/dist/tests/ajaxCommonUtils.test.d.ts +15 -0
  25. package/dist/tests/ajaxCommonUtils.test.d.ts.map +1 -0
  26. package/dist/tests/lazy.test.d.ts +14 -0
  27. package/dist/tests/lazy.test.d.ts.map +1 -0
  28. package/dist/tests/pieName.test.d.ts +12 -0
  29. package/dist/tests/pieName.test.d.ts.map +1 -0
  30. package/dist/tests/waitForSidAvailable.test.d.ts +20 -0
  31. package/dist/tests/waitForSidAvailable.test.d.ts.map +1 -0
  32. package/dist/util/ajaxCommonUtils.d.ts +18 -0
  33. package/dist/util/ajaxCommonUtils.d.ts.map +1 -1
  34. package/package.json +1 -1
package/README.md CHANGED
@@ -107,16 +107,20 @@ Create a blank Next.js web app template with PieUI CLI:
107
107
 
108
108
  ```sh
109
109
  bunx pieui create-pie-app my-pie-app
110
+ # or alias:
111
+ bunx pieui create-pieui my-pie-app
110
112
  ```
111
113
 
112
114
  This command:
113
115
 
114
116
  - runs `bun create next-app@latest my-pie-app --yes`
115
- - copies a standard `_shared` folder into the new app (sourced from `ai-exchange-bot`)
117
+ - copies a standard `_shared` folder into the new app (sourced from `ai-exchange-bot` when found)
116
118
  - rewrites `dev/build/start` scripts to `bun --bun next ...`
117
119
  - appends a TODO marker in `app/page.tsx` for future backend (Python Unicorn) linking
118
120
 
119
- If the `_shared` source cannot be found automatically, set:
121
+ If the `_shared` source cannot be found automatically, PieUI now creates a fallback `_shared/simple.tsx` scaffold and continues.
122
+
123
+ To force a specific shared source, set:
120
124
 
121
125
  ```sh
122
126
  PIEUI_SHARED_TEMPLATE_DIR=/absolute/path/to/_shared bunx pieui create-pie-app my-pie-app