energy-state-analyzer 0.23.4 → 0.24.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 +9 -1
- package/README.md +5 -1
- package/dist/{a5f4afce3ed7382a77b6.wasm → 32e18d5b63d8bd81a7b3.wasm} +0 -0
- package/dist/cli.js +1 -1
- package/dist/web-tree-sitter.wasm +0 -0
- package/docs/cli.md +2 -2
- package/grammars/tree-sitter-tsx.wasm +0 -0
- package/grammars/tree-sitter-typescript.NOTICE.md +6 -0
- package/package.json +2 -1
|
Binary file
|
package/docs/cli.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
The same detectors also run headlessly, without VS Code, useful for CI or for an AI coding agent that wants to fix findings in code it just generated and verify the result. Published to npm, so no clone or install step is required:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx energy-state-analyzer path/to/file.py # or .fs / .fsx / .ts / .kt / .cpp / .cs / .erl / .rs
|
|
6
|
+
npx energy-state-analyzer path/to/file.py # or .fs / .fsx / .ts / .tsx / .kt / .cpp / .cs / .erl / .rs
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Or install it as a project/global dependency and call it directly:
|
|
@@ -30,7 +30,7 @@ Unknown flags, invalid flag values, missing explicit paths, and unsupported expl
|
|
|
30
30
|
| --- | --- |
|
|
31
31
|
| Python | `.py` |
|
|
32
32
|
| F# | `.fs`, `.fsx`, `.fsi` |
|
|
33
|
-
| TypeScript | `.ts` |
|
|
33
|
+
| TypeScript / TSX | `.ts`, `.tsx` |
|
|
34
34
|
| C# | `.cs`, `.csx` |
|
|
35
35
|
| Erlang | `.erl`, `.hrl` |
|
|
36
36
|
| Rust | `.rs` |
|
|
Binary file
|
|
@@ -5,3 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
- SHA-256: `778025db5a8be0e70f8ccc3671e486dfeddd048c25d9e8a70c26de2e1bf6f97d`
|
|
7
7
|
- License: MIT; see `tree-sitter-typescript.LICENSE` in this directory.
|
|
8
|
+
|
|
9
|
+
`tree-sitter-tsx.wasm` is the companion official WebAssembly release artifact from
|
|
10
|
+
the same release, used for TypeScript with JSX (`.tsx`).
|
|
11
|
+
|
|
12
|
+
- SHA-256: `79e5da75ea62855a0cd67177685f0164eac87d5f630b3cbe1e0a099751ad30f8`
|
|
13
|
+
- License: MIT; see `tree-sitter-typescript.LICENSE` in this directory.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "energy-state-analyzer",
|
|
3
3
|
"displayName": "Energy State Analyzer",
|
|
4
4
|
"description": "Visualize code energy states in real-time (Python, F#, TypeScript, Kotlin, C++, C#, Erlang, Rust)",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.24.0",
|
|
6
6
|
"publisher": "cardamom-code",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"icon": "images/icon.png",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"onLanguage:python",
|
|
39
39
|
"onLanguage:fsharp",
|
|
40
40
|
"onLanguage:typescript",
|
|
41
|
+
"onLanguage:typescriptreact",
|
|
41
42
|
"onLanguage:kotlin",
|
|
42
43
|
"onLanguage:cpp",
|
|
43
44
|
"onLanguage:csharp",
|