From 128c98c8a180fdfa023dc878aff838d669d250e0 Mon Sep 17 00:00:00 2001 From: Nico Jansen Date: Sat, 26 Oct 2024 14:15:15 +0200 Subject: [PATCH] chore: prepare release --- lerna.json | 12 +++++++++++- package.json | 3 ++- packages/mutation-server-protocol/package.json | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/lerna.json b/lerna.json index f6604bd..53cdd2c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,14 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.0.0" + "version": "independent", + "command": { + "version": { + "allowBranch": ["main"], + "conventionalCommits": true, + "createRelease": "github", + "forcePublish": true, + "exact": true, + "preid": "beta" + } + } } diff --git a/package.json b/package.json index ac63751..66a303c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "test": "lerna run test", "lint": "npm run lint:format", "lint:format": "prettier . --check", - "lint:format:fix": "npm run lint:format -- --write" + "lint:format:fix": "npm run lint:format -- --write", + "release": "GH_TOKEN=$(gh auth token) lerna version" }, "devDependencies": { "@types/chai": "^5.0.0", diff --git a/packages/mutation-server-protocol/package.json b/packages/mutation-server-protocol/package.json index 8c78bfc..ec0cf49 100644 --- a/packages/mutation-server-protocol/package.json +++ b/packages/mutation-server-protocol/package.json @@ -1,6 +1,6 @@ { "name": "mutation-server-protocol", - "version": "0.1.0", + "version": "0.0.0", "type": "module", "description": "Schema validation for the mutation server protocol (MSP).", "main": "dist/schema.js",