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
@@ -83,7 +83,7 @@ export interface CompileResult {
}
/** Compile `.wrn` source into an Expo Router React Native screen. */
export function compileNativeWireFile(source: string): string {
export function compileNativeWrnFile(source: string): string {
const ast = parse(source);
assertValidAst(ast);
return generateNative(ast);
@@ -93,7 +93,7 @@ export function compileNativeWireFile(source: string): string {
* Compile `.wrn` source into TypeScript source. Errors include a stable code,
* source location, code frame, and actionable hint whenever available.
*/
export function compileWireFile(source: string, filePath = "<inline .wrn>"): string {
export function compileWrnFile(source: string, filePath = "<inline .wrn>"): string {
try {
const ast = parse(source);
assertValidAst(ast, { file: filePath, accessibility: true });