macroforge 0.1.14 → 0.1.15
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/README.md +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -256,7 +256,7 @@ The `ts_template!` and `body!` macros support:
|
|
|
256
256
|
|--------|-------------|
|
|
257
257
|
| `@{expr}` | Interpolate Rust expression as identifier/code |
|
|
258
258
|
| `{#for x in iter}...{/for}` | Loop over iterables |
|
|
259
|
-
| `{
|
|
259
|
+
| `{$let name = expr}` | Local variable binding |
|
|
260
260
|
| `{#if cond}...{/if}` | Conditional blocks |
|
|
261
261
|
|
|
262
262
|
### Re-exported Crates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "macroforge",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "TypeScript macro expansion engine powered by Rust and SWC",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
"node": ">= 18"
|
|
61
61
|
},
|
|
62
62
|
"optionalDependencies": {
|
|
63
|
-
"@macroforge/bin-darwin-x64": "0.1.
|
|
64
|
-
"@macroforge/bin-darwin-arm64": "0.1.
|
|
65
|
-
"@macroforge/bin-linux-x64-gnu": "0.1.
|
|
66
|
-
"@macroforge/bin-linux-arm64-gnu": "0.1.
|
|
67
|
-
"@macroforge/bin-win32-x64-msvc": "0.1.
|
|
68
|
-
"@macroforge/bin-win32-arm64-msvc": "0.1.
|
|
63
|
+
"@macroforge/bin-darwin-x64": "0.1.15",
|
|
64
|
+
"@macroforge/bin-darwin-arm64": "0.1.15",
|
|
65
|
+
"@macroforge/bin-linux-x64-gnu": "0.1.15",
|
|
66
|
+
"@macroforge/bin-linux-arm64-gnu": "0.1.15",
|
|
67
|
+
"@macroforge/bin-win32-x64-msvc": "0.1.15",
|
|
68
|
+
"@macroforge/bin-win32-arm64-msvc": "0.1.15"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"artifacts": "napi artifacts --npm-dir npm"
|