From d7082fd48db1db56e3fe47eae8c0f2e27678531f Mon Sep 17 00:00:00 2001 From: Joe McIlvain Date: Fri, 10 May 2024 12:23:04 -0700 Subject: [PATCH] chore: remove `version` number from `package.json` for each library We are using `semantic-release` which overrides the number in `package.json` with an appropriate version number and doesn't commit it back to git. To understand the reasons why it doesn't, please see this FAQ entry: https://github.com/semantic-release/semantic-release/blob/73bcd0bcdb98322c5c5224ffb55960de114c3fd1/docs/support/FAQ.md#why-is-the-packagejsons-version-not-updated-in-my-repository But having the `version` numbers in our repository is potentially confusing because people may look to that field to see what the latest version is. So this commit updates our repo to use the value `1.0.0-semantically-released`, as per the recommendation of that same FAQ entry (but using `1` as the major version so as not to break `pnpm` tooling), so we can use a less confusing value that points to the right way to see our latest version, while still technically adhering to the requirements of the `package.json` format about a version number being present and using a valid version format. --- packages/kurt-open-ai/package.json | 2 +- packages/kurt-vertex-ai/package.json | 2 +- packages/kurt/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/kurt-open-ai/package.json b/packages/kurt-open-ai/package.json index 05ddce2..1f40cc1 100644 --- a/packages/kurt-open-ai/package.json +++ b/packages/kurt-open-ai/package.json @@ -2,7 +2,7 @@ "name": "@formula-monks/kurt-open-ai", "description": "OpenAI plugin for Kurt - A wrapper for AI SDKs, for building LLM-agnostic structured AI applications", "license": "MIT", - "version": "1.0.0", + "version": "1.0.0-semantically-released", "main": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist"], diff --git a/packages/kurt-vertex-ai/package.json b/packages/kurt-vertex-ai/package.json index a96b1b4..2826461 100644 --- a/packages/kurt-vertex-ai/package.json +++ b/packages/kurt-vertex-ai/package.json @@ -2,7 +2,7 @@ "name": "@formula-monks/kurt-vertex-ai", "description": "VertexAI plugin for Kurt - A wrapper for AI SDKs, for building LLM-agnostic structured AI applications", "license": "MIT", - "version": "1.0.0", + "version": "1.0.0-semantically-released", "main": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist"], diff --git a/packages/kurt/package.json b/packages/kurt/package.json index fcf6069..5831245 100644 --- a/packages/kurt/package.json +++ b/packages/kurt/package.json @@ -2,7 +2,7 @@ "name": "@formula-monks/kurt", "description": "A wrapper for AI SDKs, for building LLM-agnostic structured AI applications", "license": "MIT", - "version": "1.0.0", + "version": "1.0.0-semantically-released", "main": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist"],