Skip to content

Commit

Permalink
fix(missing component): added missing components
Browse files Browse the repository at this point in the history
  • Loading branch information
opensrc0 committed Mar 19, 2024
1 parent bb3a99a commit 22ee75f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
8 changes: 5 additions & 3 deletions __app/script/generateIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ components.forEach((component) => {
// from '../__build/${component}/${component}';\nexport default ${component};\n`;
fs.writeFile(componentFile, componentContent, (writeFileErr) => {
if (writeFileErr) throw writeFileErr;
console.log(color[getRandomInt(color.length)].value, ` ${count + 3}. generated: ${componentFile} \n`);
console.log(color[getRandomInt(color.length)].value, ` ${count + 1}. generated: ${componentFile} \n`);
count += 1;
if (count === components.length) {
console.log(color[0].value, ` ${count + 3}. Generated: Package index files for package for direct import \n`);
console.log('\x1b[44m%s\x1b[0m', ` ${count + 4}. Final: Setup Completed Successfully`);
// console.log(color[0].value, ' \n Completed: Index files direct import of Package \n');
console.log('===============================================================================');
console.log('\x1b[44m%s\x1b[0m', 'Final: Setup Completed Successfully');
console.log('===============================================================================');
console.log('');
}
});
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,17 @@
},
"files": [
"__build/**",
"AutoFillOtp/",
"Bluetooth/",
"CopyToClipboard/",
"LiveLocationTracking/",
"LocateMe/",
"MobileNavBar/",
"PhoneBook/",
"Scanner/",
"Voice/",
"TextToSpeech/",
"Share/",
"LiveLocationTracking/",
"DetectMyLocation/",
"AutoFillOtp",
"PhoneBook",
"MobileNavBar",
"BackHistory"
"TextToSpeech/",
"VoiceRecognition"
],
"devDependencies": {
"@babel/cli": "^7.23.9",
Expand Down

0 comments on commit 22ee75f

Please sign in to comment.