From 303a6261d0e0dfe4a2a643e48db686bc80d27ac4 Mon Sep 17 00:00:00 2001 From: Arnaud Brousseau Date: Wed, 20 Dec 2023 10:21:01 -0600 Subject: [PATCH 1/2] Add package name to version string --- packages/http/package.json | 2 +- packages/http/src/version.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/http/package.json b/packages/http/package.json index 024b781e9..fc7054dd4 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -38,7 +38,7 @@ "access": "public" }, "scripts": { - "preinstall": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts", + "preinstall": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').name + '@' + require('./package.json').version) + ';'\" > src/version.ts", "prepublishOnly": "pnpm -w run clean-all && pnpm -w run build-all", "build": "rollup -c", "clean": "rimraf ./dist ./.cache", diff --git a/packages/http/src/version.ts b/packages/http/src/version.ts index be0095450..53c6aa3f1 100644 --- a/packages/http/src/version.ts +++ b/packages/http/src/version.ts @@ -1 +1 @@ -export const VERSION = "2.5.1"; +export const VERSION = "@turnkey/http@2.5.1"; From 4517e3b31422fc8dcd46f1dae037ecdeb07f7531 Mon Sep 17 00:00:00 2001 From: Arnaud Brousseau Date: Wed, 20 Dec 2023 10:23:20 -0600 Subject: [PATCH 2/2] Add changeset --- .changeset/proud-swans-deny.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/proud-swans-deny.md diff --git a/.changeset/proud-swans-deny.md b/.changeset/proud-swans-deny.md new file mode 100644 index 000000000..69b44e4b6 --- /dev/null +++ b/.changeset/proud-swans-deny.md @@ -0,0 +1,5 @@ +--- +"@turnkey/http": patch +--- + +Update version string to include package name