From 0d49b24ef5f2d3007f41cd22cfaeab728796553f Mon Sep 17 00:00:00 2001 From: Rakesh Sojitra Date: Tue, 9 Jan 2024 17:38:00 +0530 Subject: [PATCH 1/2] fix: close double quotes --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 851e773..201d71b 100644 --- a/index.js +++ b/index.js @@ -172,14 +172,14 @@ async function init() { angular: 'ng lint', }; - execSync(`npm pkg set scripts.lint="${eslintRunCmds[technology]}`, { + execSync(`npm pkg set scripts.lint="${eslintRunCmds[technology]}"`, { stdio: "inherit", }); console.log("Required plugins installed successfully."); console.log("Adding husky script"); - execSync(`npm pkg set scripts.prepare="husky install`, { + execSync(`npm pkg set scripts.prepare="husky install"`, { stdio: "inherit", }); From e794d6eaf0ac7359b7109624c78f3d946960130e Mon Sep 17 00:00:00 2001 From: Rakesh Sojitra Date: Tue, 9 Jan 2024 17:55:09 +0530 Subject: [PATCH 2/2] build: doc and version update --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef49900..acdf4d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 2.0.2 + +_Jan 9, 2024_ + +- Fix the double quotation issue in the commands scripts.lint and scripts.prepare + ## 2.0.1 _Jan 8, 2024_ diff --git a/package.json b/package.json index 80d6d74..eb3db5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vcian/lint-sage", - "version": "2.0.1", + "version": "2.0.2", "description": "This package designed to simplify the configuration of your projects. This package automates the setup of essential tools and configurations to ensure a clean and consistent codebase.", "bin": { "lint-sage": "index.js"