feat: new portal web for qr scan

This commit is contained in:
Leifer Mendez
2023-01-09 18:37:58 +01:00
parent 4e0d33c6bb
commit 3de5f4b77a
39 changed files with 2054 additions and 303 deletions

View File

@@ -10,10 +10,20 @@ const copyLibPkg = async (pkgName, to) => {
await fs.copy(FROM, TO)
}
Promise.all([
copyLibPkg('create-bot-whatsapp', appDir),
copyLibPkg('bot', appDir),
copyLibPkg('database', appDir),
copyLibPkg('provider', appDir),
copyLibPkg('contexts', appDir),
]).then(() => console.log('Todas las librerías copiadas'))
const listLib = [
'create-bot-whatsapp',
'bot',
'database',
'provider',
'contexts',
'portal',
]
const main = async () => {
for (const iterator of listLib) {
await copyLibPkg(iterator, appDir)
console.log(`${iterator}: Copiado ✅`)
}
}
main()