@fluixi/compiler 1.0.0-alpha.98 → 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.
@@ -1,4 +1,4 @@
1
- /*! @fluixi/compiler v1.0.0-alpha.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
1
+ /*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2
2
 
3
3
  // src/analyze/static-graph.ts
4
4
  import { parse } from "@babel/parser";
@@ -1,4 +1,4 @@
1
- /*! @fluixi/compiler v1.0.0-alpha.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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-BL3BMHVZ.mjs";
13
+ } from "./chunk-ZEOQGQ4K.mjs";
14
14
  import {
15
15
  CORE_CONTROL_FLOW,
16
16
  ROUTER_COMPONENTS,
17
17
  createComponentResolver
18
- } from "./chunk-ILSTAXXE.mjs";
19
- import "./chunk-CJIK2MLW.mjs";
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
1
+ /*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2
2
 
3
3
  // src/transform/server-fn-id.ts
4
4
  function hash(s) {
@@ -1,7 +1,7 @@
1
- /*! @fluixi/compiler v1.0.0-alpha.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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-ITEBCVX2.mjs";
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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-ITEBCVX2.mjs";
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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-ILSTAXXE.mjs";
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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
@@ -1,4 +1,4 @@
1
- /*! @fluixi/compiler v1.0.0-alpha.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
1
+ /*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2
2
 
3
3
  // src/analyze/reactive-expr.ts
4
4
  var STABLE_MEMBER = "children";
@@ -1,4 +1,4 @@
1
- /*! @fluixi/compiler v1.0.0-alpha.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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,17 +1,17 @@
1
- /*! @fluixi/compiler v1.0.0-alpha.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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-RM5STIQV.mjs";
4
+ } from "./chunk-Z7TSRDP2.mjs";
5
5
  import {
6
6
  INTRINSICS,
7
7
  TAG_INTRINSICS,
8
8
  builtinComponentMap,
9
9
  createComponentResolver
10
- } from "./chunk-ILSTAXXE.mjs";
11
- import "./chunk-ITEBCVX2.mjs";
10
+ } from "./chunk-G2KILZJV.mjs";
11
+ import "./chunk-KO6QXLE5.mjs";
12
12
  import {
13
13
  __require
14
- } from "./chunk-CJIK2MLW.mjs";
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-7ZQ6TMNO.mjs");
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-Y7XZ7POY.mjs"));
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-Y7XZ7POY.mjs");
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-Y7XZ7POY.mjs");
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-VQNI3FGY.mjs");
785
+ const { transformServerFunctions } = await import("./server-functions-5JUI3KR4.mjs");
786
786
  return transformServerFunctions(code, args);
787
787
  }
788
- const { transformServerFns } = await import("./server-fns-XNIVLQ3C.mjs");
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
1
+ /*! @fluixi/compiler v1.0.0-alpha.99 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2
2
 
3
3
  // src/resolve/builtins.ts
4
4
  var DOM_CONTROL_FLOW = [
@@ -1,12 +1,12 @@
1
- /*! @fluixi/compiler v1.0.0-alpha.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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-ZEDKAHVK.mjs";
5
- import "./chunk-ITEBCVX2.mjs";
4
+ } from "./chunk-OVQMONSF.mjs";
5
+ import "./chunk-KO6QXLE5.mjs";
6
6
  import {
7
7
  serverFnId
8
- } from "./chunk-NBMSOLNQ.mjs";
9
- import "./chunk-CJIK2MLW.mjs";
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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-NBMSOLNQ.mjs";
5
- import "./chunk-CJIK2MLW.mjs";
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";
@@ -1,4 +1,4 @@
1
- /*! @fluixi/compiler v1.0.0-alpha.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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.98 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
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-RM5STIQV.mjs";
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-BL3BMHVZ.mjs";
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-ILSTAXXE.mjs";
32
+ } from "./chunk-G2KILZJV.mjs";
33
33
  import {
34
34
  MagicString
35
- } from "./chunk-ZEDKAHVK.mjs";
36
- import "./chunk-ITEBCVX2.mjs";
37
- import "./chunk-CJIK2MLW.mjs";
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.98",
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": "0.1.0-alpha.4"
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.98",
113
- "@fluixi/reactive": "1.0.0-alpha.98"
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",