UNPKG

roomkit-web-vue3

Version:

<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,

23 lines (19 loc) 722 B
const { execSync } = require('child_process'); const fs = require('fs'); try { // Create directory const directoryPath = './src/TUIRoom/components/Chat/ChatKit'; if (!fs.existsSync(directoryPath)) { execSync(`mkdir -p ${directoryPath}`, { stdio: 'inherit', }); } // Synchronize files const excludePattern = "{'node_modules','package.json','excluded-list.txt','debug'}"; const command = `rsync -av --delete --exclude=${excludePattern} ./node_modules/@tencentcloud/chat-uikit-vue/ ${directoryPath}`; execSync(command, { stdio: 'inherit' }); console.log('Operation completed successfully'); } catch (error) { console.error('Operation failed:', error.message); }