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 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";