From a3c216fd516e1677e3fc2cc8ea0e9f2b2c413a2f Mon Sep 17 00:00:00 2001 From: Samy Ouyahia Date: Fri, 2 Aug 2024 10:55:44 +0200 Subject: [PATCH] Switched to fixed version dependencies and fixed yarn.lock updates on publish --- lerna.json | 7 ++++++- package.json | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lerna.json b/lerna.json index ba832d5e8..f7a257f4c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,9 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "4.0.1" + "version": "4.0.1", + "command": { + "version": { + "message": "Release MonkJs %s" + } + } } diff --git a/package.json b/package.json index 19e39375a..9cbd94854 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,9 @@ "build:drive-app:development": "lerna run build:development --scope 'drive-app'", "build:drive-app:staging": "lerna run build:staging --scope 'drive-app'", "build:drive-app:preview": "lerna run build:preview --scope 'drive-app'", + "version": "yarn install && git stage yarn.lock", "deploy:documentation": "lerna run deploy --scope 'monk-documentation'", - "deploy:packages": "lerna publish --force-publish --no-private", + "deploy:packages": "lerna publish --force-publish --no-private --exact", "test": "lerna run test --parallel", "test:packages": "lerna run test --parallel --scope '@monkvision/*'", "test:coverage": "lerna run test:coverage --parallel",