@xnoxs/flux-lang 4.0.1 → 4.0.2
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 +12 -0
- package/dist/transpiler.js +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [4.0.2] — 2026-06-28
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **CLI test runner — `dist/transpiler.js` shim**: The `flux test` command
|
|
14
|
+
failed with `Cannot find module 'dist/transpiler.js'` when installed from npm.
|
|
15
|
+
The CLI resolves its own module directory at runtime (`__dirname` inside
|
|
16
|
+
`dist/flux-cli.js`), expecting a sibling `transpiler.js`. Added a permanent
|
|
17
|
+
compatibility shim (`dist/transpiler.js`) that re-exports the main CJS bundle,
|
|
18
|
+
so `flux test` works correctly out of the box after `npm install`.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
10
22
|
## [4.0.1] — 2026-06-28
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xnoxs/flux-lang",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Flux — A modern language that transpiles to JavaScript. Python-clean syntax, TypeScript-level safety, Rust-inspired pattern matching.",
|
|
5
5
|
"main": "dist/flux.cjs.js",
|
|
6
6
|
"module": "dist/flux.esm.js",
|
|
@@ -84,4 +84,4 @@
|
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"esbuild": "^0.28.1"
|
|
86
86
|
}
|
|
87
|
-
}
|
|
87
|
+
}
|