refactor: migrate legacy wire namespace to wrn
Quality / quality (ubuntu-latest) (push) Failing after 9m49s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-12 18:51:15 +05:30
parent ec23dd4c93
commit 2c960fc1dc
488 changed files with 27306 additions and 19063 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ import {
} from "node:fs";
import { join, resolve } from "node:path";
import { loadAppConfig } from "@wrnexus/styles";
import { compileNativeWireFile } from "@wrnexus/compiler";
import { compileNativeWrnFile } from "@wrnexus/compiler";
function validPackageName(value: string): boolean {
return /^(?:@[a-z0-9._~-]+\/)?[a-z0-9._~-]+(?:@[a-zA-Z0-9._~^<>=|*+-]+)?$/.test(value);
@@ -144,7 +144,7 @@ export async function runMobileCommand(
const output = join(mobileDir, "app", relative);
mkdirSync(resolve(output, ".."), { recursive: true });
try {
writeFileSync(output, compileNativeWireFile(readFileSync(source, "utf8")), "utf8");
writeFileSync(output, compileNativeWrnFile(readFileSync(source, "utf8")), "utf8");
} catch (error) {
throw new Error(
`Native compilation failed for app/pages/${entry}: ${(error as Error).message}`,