@xnoxs/flux-lang 3.2.0 → 3.2.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 +20 -0
- package/README.md +915 -597
- package/bin/flux.js +1 -1395
- package/dist/flux-cli.js +9564 -0
- package/dist/flux.cjs.js +1 -1
- package/dist/flux.esm.js +1 -1
- package/dist/flux.min.js +1 -1
- package/package.json +24 -16
- package/scripts/build.js +28 -29
- package/src/bundler.js +0 -216
- package/src/checker.js +0 -322
- package/src/codegen.js +0 -832
- package/src/css-preprocessor.js +0 -399
- package/src/jsx.js +0 -480
- package/src/lexer.js +0 -518
- package/src/linter.js +0 -784
- package/src/mangler.js +0 -280
- package/src/parser.js +0 -1708
- package/src/sourcemap.js +0 -82
- package/src/test-runner.js +0 -239
- package/src/transpiler.js +0 -172
- package/src/type-checker.js +0 -1206
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [3.2.2] — 2026-06-24
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- **Package structure refactored** — production-ready build:
|
|
14
|
+
- `"main"` → `dist/flux.cjs.js` (bundled library, was raw `index.js`)
|
|
15
|
+
- `"module"` → `dist/flux.esm.js` (ESM entry for bundlers)
|
|
16
|
+
- `"exports"` updated with proper `import`/`require` conditions
|
|
17
|
+
- CLI implementation moved to `src/cli.js`, bundled into `dist/flux-cli.js` (339 kB)
|
|
18
|
+
- `bin/flux.js` is now a thin shim (`require('../dist/flux-cli.js')`)
|
|
19
|
+
- `"files"` trimmed: only `bin/`, `dist/`, `src/stdlib.js`, `src/formatter.js`, `src/self/` shipped to npm
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## [3.2.1] — 2026-06-24
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- README.md fully rewritten to match web app documentation — all sections now in sync: Decorators, Private Fields, full Stdlib reference (58 new functions), Type Checks, Async Utils, Self-Hosting, v3 type system features
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
10
30
|
## [3.2.0] — 2026-06-24
|
|
11
31
|
|
|
12
32
|
### Added
|