From ecea72ee7d0c69c4acd4d9b7e3d6b581ac70dbbe Mon Sep 17 00:00:00 2001 From: Amirhossein Mahmoodi Date: Mon, 12 Aug 2024 10:09:50 +0330 Subject: [PATCH 1/2] add command --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 33261ac..b06961c 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,10 @@ "scripts": { "dev": "next dev", "build": "next build", + "build:publish": "npm i && npm run build && pm2 restart ecosystem.config.js", "start": "next start", "publish-3002": "next start -p 3002", "lint": "next lint", - "update": "run-script-os", - "update:win32": "echo 'ok'", - "update:linux": "rm -rf .next/ && npm i && npm run build && sudo systemctl restart loan_facilities_develop_expert.service", "test": "jest", "test:watch": "jest --watchAll", "cypress:open": "cypress open", @@ -69,4 +67,4 @@ "next-router-mock": "^0.9.10", "run-script-os": "^1.1.6" } -} +} \ No newline at end of file From 0b430e89bcb0a95e7843a7dcbf7041a6a00a35ed Mon Sep 17 00:00:00 2001 From: Amirhossein Mahmoodi Date: Mon, 12 Aug 2024 10:10:31 +0330 Subject: [PATCH 2/2] change version --- .env.local.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.local.example b/.env.local.example index 5d3d9b4..b9d9461 100644 --- a/.env.local.example +++ b/.env.local.example @@ -1,5 +1,5 @@ NEXT_PUBLIC_API_NAME = "Loan Facilities Dashboard" -NEXT_PUBLIC_API_VERSION = "2.5.5" +NEXT_PUBLIC_API_VERSION = "2.5.6" NEXT_PUBLIC_DEFAULT_LANGUAGE = "fa" NEXT_PUBLIC_DEFAULT_DIRECTION = "rtl"