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.
- package/CHANGELOG.md +132 -0
- package/LLMD/INDEX.md +1 -1
- package/LLMD/MAINTENANCE.md +197 -197
- package/LLMD/MIGRATION.md +44 -1
- package/LLMD/agent.md +20 -7
- package/LLMD/config/declarative-system.md +268 -268
- package/LLMD/config/environment-vars.md +3 -6
- package/LLMD/config/runtime-reload.md +401 -401
- package/LLMD/core/build-system.md +599 -599
- package/LLMD/core/framework-lifecycle.md +249 -229
- package/LLMD/core/plugin-system.md +154 -100
- package/LLMD/patterns/anti-patterns.md +397 -397
- package/LLMD/patterns/project-structure.md +264 -264
- package/LLMD/patterns/type-safety.md +61 -5
- package/LLMD/reference/cli-commands.md +31 -7
- package/LLMD/reference/plugin-hooks.md +4 -2
- package/LLMD/reference/troubleshooting.md +364 -364
- package/LLMD/resources/controllers.md +465 -465
- package/LLMD/resources/live-auth.md +178 -1
- package/LLMD/resources/live-binary-delta.md +3 -1
- package/LLMD/resources/live-components.md +1192 -1041
- package/LLMD/resources/live-logging.md +3 -1
- package/LLMD/resources/live-rooms.md +1 -1
- package/LLMD/resources/live-upload.md +228 -181
- package/LLMD/resources/plugins-external.md +8 -7
- package/LLMD/resources/rest-auth.md +290 -290
- package/LLMD/resources/routes-eden.md +254 -254
- package/app/client/src/App.tsx +7 -7
- package/app/client/src/components/AppLayout.tsx +60 -23
- package/app/client/src/components/ColorWheel.tsx +195 -0
- package/app/client/src/components/DemoPage.tsx +5 -3
- package/app/client/src/components/LiveUploadWidget.tsx +1 -1
- package/app/client/src/components/ThemePicker.tsx +307 -0
- package/app/client/src/config/theme.config.ts +127 -0
- package/app/client/src/hooks/useThemeClock.ts +66 -0
- package/app/client/src/index.css +193 -0
- package/app/client/src/lib/theme-clock.ts +201 -0
- package/app/client/src/live/AuthDemo.tsx +9 -9
- package/app/client/src/live/CounterDemo.tsx +10 -10
- package/app/client/src/live/FormDemo.tsx +8 -8
- package/app/client/src/live/PingPongDemo.tsx +10 -10
- package/app/client/src/live/RoomChatDemo.tsx +10 -10
- package/app/client/src/live/SharedCounterDemo.tsx +5 -5
- package/app/client/src/pages/ApiTestPage.tsx +5 -5
- package/app/client/src/pages/HomePage.tsx +12 -12
- package/app/server/index.ts +8 -0
- package/app/server/live/auto-generated-components.ts +1 -1
- package/core/build/index.ts +1 -1
- package/core/cli/command-registry.ts +1 -1
- package/core/cli/commands/build.ts +25 -6
- package/core/cli/commands/plugin-deps.ts +1 -2
- package/core/cli/generators/plugin.ts +433 -581
- package/core/framework/server.ts +22 -8
- package/core/index.ts +6 -5
- package/core/plugins/index.ts +71 -199
- package/core/plugins/types.ts +76 -461
- package/core/server/index.ts +1 -1
- package/core/utils/logger/startup-banner.ts +26 -4
- package/create-fluxstack.ts +216 -107
- package/package.json +108 -107
- package/tsconfig.json +2 -1
- package/core/plugins/config.ts +0 -356
- package/core/plugins/dependency-manager.ts +0 -481
- package/core/plugins/discovery.ts +0 -379
- package/core/plugins/executor.ts +0 -353
- package/core/plugins/manager.ts +0 -645
- package/core/plugins/module-resolver.ts +0 -227
- package/core/plugins/registry.ts +0 -913
- package/vitest.config.live.ts +0 -69
package/vitest.config.live.ts
DELETED
|
@@ -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
|
-
})
|