@zenithbuild/compiler 1.0.2 → 1.0.4

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.
@@ -14,7 +14,7 @@ catch (e) {
14
14
  * Process a page by inlining a layout
15
15
  */
16
16
  export function processLayout(source, layout, props = {}) {
17
- if (native && native.process_layout_native) {
17
+ if (native && native.processLayoutNative) {
18
18
  try {
19
19
  // Convert Map to record for native serialization
20
20
  const layoutForNative = {
@@ -23,7 +23,7 @@ export function processLayout(source, layout, props = {}) {
23
23
  scripts: layout.scripts,
24
24
  styles: layout.styles
25
25
  };
26
- return native.process_layout_native(source, JSON.stringify(layoutForNative), JSON.stringify(props));
26
+ return native.processLayoutNative(source, JSON.stringify(layoutForNative), JSON.stringify(props));
27
27
  }
28
28
  catch (error) {
29
29
  console.warn(`[Zenith Native] Layout processing failed: ${error.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenithbuild/compiler",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "The Iron Heart: Native Compiler for the Zenith Framework",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,14 +21,14 @@
21
21
  "access": "public"
22
22
  },
23
23
  "scripts": {
24
- "build": "tsc && cd native/compiler-native && npm run build",
24
+ "build": "tsc --skipLibCheck && cd native/compiler-native && bun run build",
25
25
  "test": "bun test"
26
26
  },
27
27
  "dependencies": {
28
28
  "esbuild": "^0.20.0",
29
29
  "ws": "^8.16.0",
30
30
  "rolldown": "latest",
31
- "@zenithbuild/router": "1.0.1",
31
+ "@zenithbuild/router": "latest",
32
32
  "acorn": "^8.15.0",
33
33
  "es-module-lexer": "^2.0.0",
34
34
  "marked": "^17.0.1",