UNPKG

@reuvenorg/react-native-boilerplate-ultimate

Version:

A powerful CLI tool for creating React Native projects with modular architecture. Generate, manage, and scaffold React Native applications with pre-built modules and best practices.

15 lines 620 B
import { FileProcessor } from './base-processor.js'; export class XmlProcessor extends FileProcessor { canProcess(filePath) { const xmlExtensions = ['.xml', '.plist']; return xmlExtensions.some(ext => filePath.endsWith(ext)) && !this.shouldSkipFile(filePath); } async process(filePath, context) { let content = await this.readFile(filePath); content = content .replace(/ExApp/g, context.projectName) .replace(/com\.anonymous\.exapp/g, context.bundleId); await this.writeFile(filePath, content); } } //# sourceMappingURL=xml-processor.js.map