lucy-cli 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sync.js CHANGED
@@ -51,19 +51,19 @@ export async function sync(moduleSettings, projectSettings) {
51
51
  return new Promise((resolve) => rl.question(query, (answer) => resolve(answer)));
52
52
  }
53
53
  console.log(chalk.yellow('hello to velo-sync init'));
54
- let siteUrl = await askQuestion('what is the url of the site homepage? ');
55
- let secret = await askQuestion('what is the velo-sync secret? ');
54
+ let siteUrl = await askQuestion(orange('what is the url of the site homepage? '));
55
+ let secret = await askQuestion(orange('what is the velo-sync secret? '));
56
56
  rl.close();
57
57
  let config = { siteUrl, secret };
58
58
  await saveConfig(config, moduleSettings.veloConfigName);
59
- return console.log(chalk.green("🐕" + 'config saved!'));
59
+ return console.log(chalk.green("🐕" + ' => config saved!'));
60
60
  }
61
61
  if (moduleSettings.args.includes('is-alive')) {
62
62
  try {
63
63
  let config = await readConfig(moduleSettings.veloConfigName);
64
64
  console.log("🐕" + green(` => checking if the API for site ${chalk.greenBright(config.siteUrl)} is alive...`));
65
65
  await veloAPI.isAlive(config);
66
- return console.log(chalk.green("🐕" + `API of site ${chalk.greenBright(config.siteUrl)} is working and alive!!!`));
66
+ return console.log(chalk.green("🐕" + ` => API of site ${chalk.greenBright(config.siteUrl)} is working and alive!!!`));
67
67
  }
68
68
  catch (e) {
69
69
  if (e instanceof Error) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "lucy-cli",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "description": "Lucy Framework for WIX Studio Editor",
6
6
  "main": ".dist/index.js",
7
7
  "scripts": {
package/src/sync.ts CHANGED
@@ -56,12 +56,12 @@ export async function sync(moduleSettings: ModuleSettings, projectSettings: Proj
56
56
  }
57
57
 
58
58
  console.log(chalk.yellow('hello to velo-sync init'));
59
- let siteUrl = await askQuestion('what is the url of the site homepage? ');
60
- let secret = await askQuestion('what is the velo-sync secret? ');
59
+ let siteUrl = await askQuestion(orange('what is the url of the site homepage? '));
60
+ let secret = await askQuestion(orange('what is the velo-sync secret? '));
61
61
  rl.close();
62
62
  let config: VeloSyncConfig = { siteUrl, secret };
63
63
  await saveConfig(config, moduleSettings.veloConfigName);
64
- return console.log(chalk.green("🐕" + 'config saved!'));
64
+ return console.log(chalk.green("🐕" + ' => config saved!'));
65
65
  }
66
66
 
67
67
  if(moduleSettings.args.includes('is-alive')) {
@@ -69,7 +69,7 @@ export async function sync(moduleSettings: ModuleSettings, projectSettings: Proj
69
69
  let config = await readConfig(moduleSettings.veloConfigName);
70
70
  console.log("🐕" + green(` => checking if the API for site ${chalk.greenBright(config.siteUrl)} is alive...`));
71
71
  await veloAPI.isAlive(config);
72
- return console.log(chalk.green("🐕" + `API of site ${chalk.greenBright(config.siteUrl)} is working and alive!!!`));
72
+ return console.log(chalk.green("🐕" + ` => API of site ${chalk.greenBright(config.siteUrl)} is working and alive!!!`));
73
73
  }
74
74
  catch (e) {
75
75
  if(e instanceof Error) {