realdecoy / frontier

Realdecoy Frontier
3 stars 2 forks source link

Update qa automation project creation process #25

Open OrandiH opened 1 year ago

OrandiH commented 1 year ago

Add a spinner to the project creation process so that when a user executes the command to create-project (for web or mobile), they get prompted that the npm installation process is happening or has finished. See link here -> https://github.com/sindresorhus/ora

Screen Shot 2022-12-30 at 4 08 11 PM
OrandiH commented 1 year ago

Here is a code snippet example of using the cli spinner library ora.

import ora from 'ora';

const spinner = ora('Installing dependencies!');

spinner.color = 'yellow';
spinner.spinner = 'bouncingBall'

spinner.start();

setTimeout(() => {

    spinner.succeed('Finished!');
}, 1000);