create-fluxstack 1.18.1 → 1.20.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +132 -0
  2. package/LLMD/INDEX.md +1 -1
  3. package/LLMD/MAINTENANCE.md +197 -197
  4. package/LLMD/MIGRATION.md +44 -1
  5. package/LLMD/agent.md +20 -7
  6. package/LLMD/config/declarative-system.md +268 -268
  7. package/LLMD/config/environment-vars.md +3 -6
  8. package/LLMD/config/runtime-reload.md +401 -401
  9. package/LLMD/core/build-system.md +599 -599
  10. package/LLMD/core/framework-lifecycle.md +249 -229
  11. package/LLMD/core/plugin-system.md +154 -100
  12. package/LLMD/patterns/anti-patterns.md +397 -397
  13. package/LLMD/patterns/project-structure.md +264 -264
  14. package/LLMD/patterns/type-safety.md +61 -5
  15. package/LLMD/reference/cli-commands.md +31 -7
  16. package/LLMD/reference/plugin-hooks.md +4 -2
  17. package/LLMD/reference/troubleshooting.md +364 -364
  18. package/LLMD/resources/controllers.md +465 -465
  19. package/LLMD/resources/live-auth.md +178 -1
  20. package/LLMD/resources/live-binary-delta.md +3 -1
  21. package/LLMD/resources/live-components.md +1192 -1041
  22. package/LLMD/resources/live-logging.md +3 -1
  23. package/LLMD/resources/live-rooms.md +1 -1
  24. package/LLMD/resources/live-upload.md +228 -181
  25. package/LLMD/resources/plugins-external.md +8 -7
  26. package/LLMD/resources/rest-auth.md +290 -290
  27. package/LLMD/resources/routes-eden.md +254 -254
  28. package/app/client/src/App.tsx +7 -7
  29. package/app/client/src/components/AppLayout.tsx +60 -23
  30. package/app/client/src/components/ColorWheel.tsx +195 -0
  31. package/app/client/src/components/DemoPage.tsx +5 -3
  32. package/app/client/src/components/LiveUploadWidget.tsx +1 -1
  33. package/app/client/src/components/ThemePicker.tsx +307 -0
  34. package/app/client/src/config/theme.config.ts +127 -0
  35. package/app/client/src/hooks/useThemeClock.ts +66 -0
  36. package/app/client/src/index.css +193 -0
  37. package/app/client/src/lib/theme-clock.ts +201 -0
  38. package/app/client/src/live/AuthDemo.tsx +9 -9
  39. package/app/client/src/live/CounterDemo.tsx +10 -10
  40. package/app/client/src/live/FormDemo.tsx +8 -8
  41. package/app/client/src/live/PingPongDemo.tsx +10 -10
  42. package/app/client/src/live/RoomChatDemo.tsx +10 -10
  43. package/app/client/src/live/SharedCounterDemo.tsx +5 -5
  44. package/app/client/src/pages/ApiTestPage.tsx +5 -5
  45. package/app/client/src/pages/HomePage.tsx +12 -12
  46. package/app/server/index.ts +8 -0
  47. package/app/server/live/auto-generated-components.ts +1 -1
  48. package/core/build/index.ts +1 -1
  49. package/core/cli/command-registry.ts +1 -1
  50. package/core/cli/commands/build.ts +25 -6
  51. package/core/cli/commands/plugin-deps.ts +1 -2
  52. package/core/cli/generators/plugin.ts +433 -581
  53. package/core/framework/server.ts +22 -8
  54. package/core/index.ts +6 -5
  55. package/core/plugins/index.ts +71 -199
  56. package/core/plugins/types.ts +76 -461
  57. package/core/server/index.ts +1 -1
  58. package/core/utils/logger/startup-banner.ts +26 -4
  59. package/create-fluxstack.ts +216 -107
  60. package/package.json +108 -107
  61. package/tsconfig.json +2 -1
  62. package/core/plugins/config.ts +0 -356
  63. package/core/plugins/dependency-manager.ts +0 -481
  64. package/core/plugins/discovery.ts +0 -379
  65. package/core/plugins/executor.ts +0 -353
  66. package/core/plugins/manager.ts +0 -645
  67. package/core/plugins/module-resolver.ts +0 -227
  68. package/core/plugins/registry.ts +0 -913
  69. package/vitest.config.live.ts +0 -69
@@ -1,69 +0,0 @@
1
- // 🧪 Vitest Configuration for Live Components Tests
2
-
3
- import { defineConfig } from 'vitest/config'
4
- import tsconfigPaths from 'vite-tsconfig-paths'
5
-
6
- export default defineConfig({
7
- plugins: [
8
- tsconfigPaths() // ✅ Reads aliases from tsconfig.json automatically
9
- ],
10
-
11
- test: {
12
- name: 'live-components',
13
- root: './core/server/live',
14
- environment: 'node',
15
- setupFiles: ['./__tests__/setup.ts'],
16
- include: [
17
- '**/__tests__/**/*.test.ts'
18
- ],
19
- exclude: [
20
- '**/node_modules/**',
21
- '**/dist/**',
22
- '**/.{idea,git,cache,output,temp}/**'
23
- ],
24
- globals: true,
25
- coverage: {
26
- provider: 'v8',
27
- reporter: ['text', 'json', 'html'],
28
- reportsDirectory: './coverage/live-components',
29
- include: [
30
- 'core/server/live/**/*.ts'
31
- ],
32
- exclude: [
33
- 'core/server/live/**/__tests__/**',
34
- 'core/server/live/**/*.test.ts',
35
- 'core/server/live/**/*.spec.ts'
36
- ],
37
- thresholds: {
38
- global: {
39
- branches: 80,
40
- functions: 80,
41
- lines: 80,
42
- statements: 80
43
- }
44
- }
45
- },
46
- testTimeout: 10000,
47
- hookTimeout: 10000,
48
- teardownTimeout: 5000,
49
- isolate: true,
50
- pool: 'threads',
51
- poolOptions: {
52
- threads: {
53
- singleThread: false,
54
- minThreads: 1,
55
- maxThreads: 4
56
- }
57
- },
58
- reporters: ['verbose', 'json'],
59
- outputFile: {
60
- json: './test-results/live-components.json'
61
- }
62
- },
63
-
64
- // ℹ️ resolve.alias removed: Automatically read from tsconfig.json via tsconfigPaths plugin
65
-
66
- esbuild: {
67
- target: 'node18'
68
- }
69
- })