@fluixi/compiler 1.0.0-alpha.97 → 1.0.0-alpha.99
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/dist/analyze/static-graph.cjs +1 -1
- package/dist/analyze/static-graph.mjs +1 -1
- package/dist/{babel-URQMBCER.mjs → babel-EKKL6UTV.mjs} +4 -4
- package/dist/{chunk-KHNGICAS.mjs → chunk-EXFMRUSI.mjs} +1 -1
- package/dist/{chunk-DN2XMTDR.mjs → chunk-G2KILZJV.mjs} +1 -1
- package/dist/{chunk-QVD6KULF.mjs → chunk-KO6QXLE5.mjs} +1 -1
- package/dist/{chunk-CHVVYVDZ.mjs → chunk-NJHB7U5K.mjs} +1 -1
- package/dist/{chunk-7BPOFIHT.mjs → chunk-OVQMONSF.mjs} +2 -2
- package/dist/{chunk-MR6YGGOJ.mjs → chunk-Z7TSRDP2.mjs} +2 -2
- package/dist/{chunk-KM2KGVBF.mjs → chunk-ZEOQGQ4K.mjs} +2 -2
- package/dist/frontend/babel/index.cjs +1 -1
- package/dist/frontend/babel/index.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/integrations.cjs +1 -1
- package/dist/integrations.mjs +11 -11
- package/dist/lower/compile-template.cjs +1 -1
- package/dist/lower/compile-template.mjs +1 -1
- package/dist/resolve/builtins.cjs +1 -1
- package/dist/resolve/builtins.mjs +1 -1
- package/dist/{server-fns-UYOGA2VU.mjs → server-fns-XXITLJGN.mjs} +5 -5
- package/dist/{server-functions-4X4QWAUD.mjs → server-functions-5JUI3KR4.mjs} +3 -3
- package/dist/transform/index.cjs +1 -1
- package/dist/transform/index.mjs +1 -1
- package/dist/{transform-KFVKNYBU.mjs → transform-RV2EXGNH.mjs} +7 -7
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
analyzeStatic,
|
|
4
4
|
buildJsxIR,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
lowerTemplate,
|
|
11
11
|
resolveComponentSources,
|
|
12
12
|
shapeOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZEOQGQ4K.mjs";
|
|
14
14
|
import {
|
|
15
15
|
CORE_CONTROL_FLOW,
|
|
16
16
|
ROUTER_COMPONENTS,
|
|
17
17
|
createComponentResolver
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-G2KILZJV.mjs";
|
|
19
|
+
import "./chunk-EXFMRUSI.mjs";
|
|
20
20
|
|
|
21
21
|
// src/frontend/babel/plugin.ts
|
|
22
22
|
import { declare } from "@babel/helper-plugin-utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
3
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
4
|
}) : x)(function(x) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// src/resolve/component-resolver.ts
|
|
4
4
|
var isMapRule = (rule) => "components" in rule;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.6.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
4
4
|
var comma = ",".charCodeAt(0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
encode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KO6QXLE5.mjs";
|
|
5
5
|
|
|
6
6
|
// ../../node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
|
|
7
7
|
var BitSet = class _BitSet {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
encode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KO6QXLE5.mjs";
|
|
5
5
|
|
|
6
6
|
// src/transform/styles.ts
|
|
7
7
|
var SCOPE_ATTR = "data-fx-s";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
INTRINSICS,
|
|
4
4
|
RESERVED_COMPONENTS,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
builtinComponentMap,
|
|
8
8
|
isIntrinsicName,
|
|
9
9
|
isPrimitiveModule
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G2KILZJV.mjs";
|
|
11
11
|
|
|
12
12
|
// src/analyze/expr-shape.ts
|
|
13
13
|
var CALL = /* @__PURE__ */ new Set(["CallExpression", "OptionalCallExpression"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// src/frontend/babel/plugin.ts
|
|
4
4
|
import { declare } from "@babel/helper-plugin-utils";
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
package/dist/index.mjs
CHANGED
package/dist/integrations.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist/integrations.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
styleIds
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z7TSRDP2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
INTRINSICS,
|
|
7
7
|
TAG_INTRINSICS,
|
|
8
8
|
builtinComponentMap,
|
|
9
9
|
createComponentResolver
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-G2KILZJV.mjs";
|
|
11
|
+
import "./chunk-KO6QXLE5.mjs";
|
|
12
12
|
import {
|
|
13
13
|
__require
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EXFMRUSI.mjs";
|
|
15
15
|
|
|
16
16
|
// src/resolve/write-globals.ts
|
|
17
17
|
import { mkdirSync, readdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -432,7 +432,7 @@ import { dirname as dirname3, join as _join, resolve as resolvePath2 } from "nod
|
|
|
432
432
|
async function createBabelPlugin(options = {}) {
|
|
433
433
|
let pluginModule = null;
|
|
434
434
|
try {
|
|
435
|
-
pluginModule = await import("./babel-
|
|
435
|
+
pluginModule = await import("./babel-EKKL6UTV.mjs");
|
|
436
436
|
} catch (e) {
|
|
437
437
|
console.warn("Could not load the babel front-end:", e);
|
|
438
438
|
}
|
|
@@ -521,7 +521,7 @@ function createVitePlugin(options = {}) {
|
|
|
521
521
|
const entry = config?.command === "build" && config.build?.lib ? config.build.lib.entry : void 0;
|
|
522
522
|
const first = typeof entry === "string" ? entry : Array.isArray(entry) ? entry[0] : entry && typeof entry === "object" ? Object.values(entry)[0] : void 0;
|
|
523
523
|
if (typeof first === "string") componentStyles.setLibrary(dirname3(resolvePath2(config.root ?? process.cwd(), first)));
|
|
524
|
-
if (componentStyles.active) ({ transformTemplates } = await import("./transform-
|
|
524
|
+
if (componentStyles.active) ({ transformTemplates } = await import("./transform-RV2EXGNH.mjs"));
|
|
525
525
|
},
|
|
526
526
|
generateBundle() {
|
|
527
527
|
for (const [fileName, source] of componentStyles.libraryFiles()) this.emitFile({ type: "asset", fileName, source });
|
|
@@ -639,7 +639,7 @@ function transformOptions(options, id) {
|
|
|
639
639
|
}
|
|
640
640
|
async function rewriteProps(code, id, options) {
|
|
641
641
|
if (options.propsDestructure === false) return code;
|
|
642
|
-
const { transformProps } = await import("./transform-
|
|
642
|
+
const { transformProps } = await import("./transform-RV2EXGNH.mjs");
|
|
643
643
|
const result = transformProps(code, id);
|
|
644
644
|
reportDiagnostics({ propsDiagnostics: result.diagnostics }, id);
|
|
645
645
|
return result.rewritten > 0 ? result.code : code;
|
|
@@ -663,7 +663,7 @@ function reportDiagnostics(result, id) {
|
|
|
663
663
|
}
|
|
664
664
|
async function compileModule(code, id, options) {
|
|
665
665
|
if (!options.babel) {
|
|
666
|
-
const { transformTemplates } = await import("./transform-
|
|
666
|
+
const { transformTemplates } = await import("./transform-RV2EXGNH.mjs");
|
|
667
667
|
const result2 = transformTemplates(code, id, transformOptions(options, id));
|
|
668
668
|
reportDiagnostics(result2, id);
|
|
669
669
|
return result2;
|
|
@@ -782,10 +782,10 @@ export { isServerFnRequest, handleServerFn } from '@fluixi/start/server-fn';
|
|
|
782
782
|
if (!code.includes("use server")) return null;
|
|
783
783
|
const args = { ssr: !!opts?.ssr, filename: id, root };
|
|
784
784
|
if (options.babel) {
|
|
785
|
-
const { transformServerFunctions } = await import("./server-functions-
|
|
785
|
+
const { transformServerFunctions } = await import("./server-functions-5JUI3KR4.mjs");
|
|
786
786
|
return transformServerFunctions(code, args);
|
|
787
787
|
}
|
|
788
|
-
const { transformServerFns } = await import("./server-fns-
|
|
788
|
+
const { transformServerFns } = await import("./server-fns-XXITLJGN.mjs");
|
|
789
789
|
return transformServerFns(code, args);
|
|
790
790
|
}
|
|
791
791
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.6.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
4
4
|
var comma = ",".charCodeAt(0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
MagicString
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-OVQMONSF.mjs";
|
|
5
|
+
import "./chunk-KO6QXLE5.mjs";
|
|
6
6
|
import {
|
|
7
7
|
serverFnId
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-NJHB7U5K.mjs";
|
|
9
|
+
import "./chunk-EXFMRUSI.mjs";
|
|
10
10
|
|
|
11
11
|
// src/transform/server-fns.ts
|
|
12
12
|
import { parse } from "@babel/parser";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
serverFnId
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-NJHB7U5K.mjs";
|
|
5
|
+
import "./chunk-EXFMRUSI.mjs";
|
|
6
6
|
|
|
7
7
|
// src/frontend/babel/server-functions.ts
|
|
8
8
|
import { transformSync } from "@babel/core";
|
package/dist/transform/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist/transform/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
|
|
3
3
|
// src/transform/templates.ts
|
|
4
4
|
import { parse as parse2 } from "@babel/parser";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @fluixi/compiler v1.0.0-alpha.
|
|
1
|
+
/*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
|
|
2
2
|
import {
|
|
3
3
|
applyTemplateStyles,
|
|
4
4
|
collectStyles,
|
|
5
5
|
finishShadowStyles
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z7TSRDP2.mjs";
|
|
7
7
|
import {
|
|
8
8
|
analyzeStatic,
|
|
9
9
|
buildJsxIR,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveComponentSources,
|
|
20
20
|
resolveReactiveBindings,
|
|
21
21
|
shapeOf
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZEOQGQ4K.mjs";
|
|
23
23
|
import {
|
|
24
24
|
CORE_CONTROL_FLOW,
|
|
25
25
|
DOM_CONTROL_FLOW,
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
isIntrinsicName,
|
|
30
30
|
mayHaveIntrinsic,
|
|
31
31
|
tagIntrinsics
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-G2KILZJV.mjs";
|
|
33
33
|
import {
|
|
34
34
|
MagicString
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-OVQMONSF.mjs";
|
|
36
|
+
import "./chunk-KO6QXLE5.mjs";
|
|
37
|
+
import "./chunk-EXFMRUSI.mjs";
|
|
38
38
|
|
|
39
39
|
// src/transform/templates.ts
|
|
40
40
|
import { parse as parse2 } from "@babel/parser";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluixi/compiler",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.99",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Ibrahima Touré",
|
|
6
6
|
"repository": {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@babel/parser": "^7.28.5",
|
|
93
93
|
"@jridgewell/sourcemap-codec": "^1.5.5",
|
|
94
94
|
"magic-string": "^0.30.21",
|
|
95
|
-
"@fluixi/template-parser": "
|
|
95
|
+
"@fluixi/template-parser": "1.0.0-alpha.99"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@babel/core": "^7.28.5",
|
|
@@ -109,8 +109,8 @@
|
|
|
109
109
|
"inquirer": "^14.0.2",
|
|
110
110
|
"jsdom": "^25.0.0",
|
|
111
111
|
"vitest": "^5.0.3",
|
|
112
|
-
"@fluixi/dom": "1.0.0-alpha.
|
|
113
|
-
"@fluixi/reactive": "1.0.0-alpha.
|
|
112
|
+
"@fluixi/dom": "1.0.0-alpha.99",
|
|
113
|
+
"@fluixi/reactive": "1.0.0-alpha.99"
|
|
114
114
|
},
|
|
115
115
|
"peerDependencies": {
|
|
116
116
|
"@babel/core": "^7.28.5",
|