@eventra_dev/eventra-cli 0.1.32 → 0.1.33

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/ARCHITECTURE.md +88 -0
  2. package/package.json +1 -1
@@ -0,0 +1,88 @@
1
+ # Eventra CLI Architecture
2
+
3
+ ## High-Level Flow
4
+
5
+ FILES → parseUniversal → TSService → scanSource → Engine → CLI
6
+
7
+ ---
8
+
9
+ ## Diagram
10
+
11
+ ```
12
+ +-------------------+
13
+ | Source Files |
14
+ +---------+---------+
15
+ |
16
+ v
17
+ +-------------------+
18
+ | parseUniversal |
19
+ | (normalize input) |
20
+ +---------+---------+
21
+ |
22
+ v
23
+ +-------------------+
24
+ | TSService |
25
+ | (AST + Types) |
26
+ +---------+---------+
27
+ |
28
+ v
29
+ +-------------------+
30
+ | scanSource |
31
+ | (core analyzer) |
32
+ +----+------+-------+
33
+ | |
34
+ | |
35
+ v v
36
+ +----------------+----------------+
37
+ | |
38
+ +-------------------+ +-----------------------+
39
+ | Function Wrappers | | Component Wrappers |
40
+ +-------------------+ +-----------------------+
41
+ | |
42
+ +---------------+-----------------+
43
+ |
44
+ v
45
+ +-------------------+
46
+ | resolveNodeValue |
47
+ | (extract values) |
48
+ +---------+---------+
49
+ |
50
+ v
51
+ +-------------------+
52
+ | EventraEngine |
53
+ | (orchestration) |
54
+ +---------+---------+
55
+ |
56
+ v
57
+ +-------------------+
58
+ | CLI (sync/check) |
59
+ +-------------------+
60
+ ```
61
+
62
+ ---
63
+
64
+ ## Modules
65
+
66
+ ### Parser
67
+ Extracts JS from any framework (Vue, Svelte, Astro, HTML).
68
+
69
+ ### TSService
70
+ Provides TypeScript AST and type resolution.
71
+
72
+ ### Scanner
73
+ Finds:
74
+ - track() calls
75
+ - wrappers
76
+ - values
77
+
78
+ ### Engine
79
+ Handles:
80
+ - caching
81
+ - dependency graph
82
+ - incremental updates
83
+
84
+ ---
85
+
86
+ ## Goal
87
+
88
+ Static analytics extraction without runtime.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventra_dev/eventra-cli",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "Eventra CLI",
5
5
  "type": "commonjs",
6
6
  "bin": {