From b33cb6c3a1eeb57e2f054be33f3ab21c00a4f949 Mon Sep 17 00:00:00 2001 From: "mxthxngx@gmail.com" Date: Wed, 15 May 2024 00:46:12 +0530 Subject: [PATCH 1/3] fix: fix bug 79 - printing of version twice after project init --- src/cli/package.json | 8 +++++++- src/cli/src/scripts/init.ts | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/cli/package.json b/src/cli/package.json index 16b2ced..5471181 100644 --- a/src/cli/package.json +++ b/src/cli/package.json @@ -49,5 +49,11 @@ "eslint": "^8", "tsup": "^8.0.2", "typescript": "^5" + }, + "lazykit": { + "language": "js", + "path": "src/utils", + "separate": false, + "v": "1.0.2" } -} +} \ No newline at end of file diff --git a/src/cli/src/scripts/init.ts b/src/cli/src/scripts/init.ts index 26b57ee..21d9bb6 100644 --- a/src/cli/src/scripts/init.ts +++ b/src/cli/src/scripts/init.ts @@ -164,7 +164,6 @@ export default async function init(...args: any) { console.log(chalk.dim(JSON.stringify(DEFAULT_CONFIG, null, 2))); console.log(chalk.green("\nProject initialized successfully ⭐")); console.log("Enjoy using lazykit 🚀\n"); - console.log(chalk.dim(packageJson.name + " v" + packageJson.version)); exitProcess(0); } From 58449bd502e956b02d56b0900ad701297ec7783d Mon Sep 17 00:00:00 2001 From: Tilak Thapa Date: Wed, 15 May 2024 07:44:25 +0545 Subject: [PATCH 2/3] chore: update the version number for release --- src/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/package.json b/src/cli/package.json index 5471181..745df97 100644 --- a/src/cli/package.json +++ b/src/cli/package.json @@ -1,6 +1,6 @@ { "name": "@jrtilak/lazykit", - "version": "1.0.2", + "version": "1.0.3", "description": "Refine your JavaScript workflows with Lazykit. A concentrated collection of lean utility functions, not a bloated library.", "type": "module", "main": "dist/index.js", From 5e0152b677e33cc22cde04665e0180c8245287a6 Mon Sep 17 00:00:00 2001 From: Tilak Thapa Date: Wed, 15 May 2024 07:50:45 +0545 Subject: [PATCH 3/3] fix: remove unnecessary config --- src/cli/package.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/cli/package.json b/src/cli/package.json index 745df97..9c87aaa 100644 --- a/src/cli/package.json +++ b/src/cli/package.json @@ -49,11 +49,5 @@ "eslint": "^8", "tsup": "^8.0.2", "typescript": "^5" - }, - "lazykit": { - "language": "js", - "path": "src/utils", - "separate": false, - "v": "1.0.2" } -} \ No newline at end of file +}