From 8911eed0fb26e7f698cdd01f8079c090cf28efba Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sat, 11 Jan 2025 14:29:32 +0100 Subject: [PATCH] [FEAT] update NCU to only update vertion but not the major --- front/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/package.json b/front/package.json index 286ad39..7302369 100644 --- a/front/package.json +++ b/front/package.json @@ -12,7 +12,8 @@ "node": ">=20" }, "scripts": { - "update_packages": "ncu --upgrade", + "update_packages": "ncu --target minor", + "upgrade_packages": "ncu --upgrade --rejectVersion \"/^[~^<>]| - |\\.x$/\" ", "install_dependency": "pnpm install", "test": "vitest run", "test:watch": "vitest watch",