diff --git a/packages/landing-friend-core/package.json b/packages/landing-friend-core/package.json index 2798f09..ca4905e 100644 --- a/packages/landing-friend-core/package.json +++ b/packages/landing-friend-core/package.json @@ -1,6 +1,6 @@ { "name": "@landing-friend/core", - "version": "0.0.24", + "version": "0.0.25", "description": "", "main": "lib/index.js", "keywords": [], diff --git a/packages/landing-friend/package.json b/packages/landing-friend/package.json index 93dfa10..48e5961 100644 --- a/packages/landing-friend/package.json +++ b/packages/landing-friend/package.json @@ -1,6 +1,6 @@ { "name": "@landing-friend/cli", - "version": "0.0.24", + "version": "0.0.25", "description": "", "type": "module", "main": "lib/CLI.js", @@ -16,7 +16,7 @@ "watch": "ttsc --watch" }, "dependencies": { - "@landing-friend/core": "^0.0.24", + "@landing-friend/core": "^0.0.25", "inquirer": "9.2.8", "node-fetch": "3.3.0", "yargs": "17.6.0" diff --git a/packages/landing-friend/src/CLI.ts b/packages/landing-friend/src/CLI.ts index c0c70cf..e9945cb 100644 --- a/packages/landing-friend/src/CLI.ts +++ b/packages/landing-friend/src/CLI.ts @@ -61,37 +61,6 @@ yargs(hideBin(process.argv)) } } ) - //!!!!!!! - // USE IT INSTEAD OF BELOW COMMAND IF U WANT CONSOLE.LOG SOMETHING - // - // .command( - // "analyze", - // "Analyze your landing page", - // { - // help: { - // describe: - // "Analysis of your website through defined values in the config generates HTML and JSON files.", - // }, - // }, - // async () => { - // console.clear(); - // const config = readConfig("landing-friend-config.ts", "generate"); - // if (!config) { - // message("Config not found", "red"); - // return; - // } - // try { - // message("Analyzing your page...", "yellow"); - // await websiteAnalyzer(config); - // } catch (e) { - // const error = e as Error; - // message(error.message, "red"); - // return; - // } finally { - // process.exit(); - // } - // } - // ) .command( "analyze", "Analyze your landing page", @@ -134,40 +103,6 @@ yargs(hideBin(process.argv)) } } ) - //!!!!!!! - // USE IT INSTEAD OF BELOW COMMAND IF U WANT CONSOLE.LOG SOMETHING - // - // .command( - // "duplicated", - // "Find duplicated content", - // { - // help: { - // describe: "Search the out file to find duplicated content on your site.", - // }, - // }, - // async () => { - // console.clear(); - // const config = readConfig("landing-friend-config.ts", "generate"); - // if (!config) { - // message( - // "No config detected. Please create one using init command or create it manually", - // "red" - // ); - // return; - // } - - // try { - // message("Searching for duplicates...", "yellow"); - // await searchDuplicated(config); - // } catch (e) { - // const error = e as Error; - // message(error.message, "red"); - // return; - // } finally { - // process.exit(); - // } - // } - // ) .command( "duplicated", "Find duplicated content",