From d6a11cf418b14a842525f47f9aa3b8485348cf1d Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Thu, 1 May 2025 16:10:33 +0200 Subject: [PATCH] feat: Enhance update:auto script to include commit step for openapi.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 802cb02..76a9ccc 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "build:compile": "tsc", "build:cleanup": "rimraf ./lib", "update:openapi": "rimraf ./openapi.json && node ./scripts/getliveopenapi.js", - "update:auto": "npm run update:openapi && npm run build && npm run release", + "update:auto": "npm run update:openapi && npm run build && npm run update:commit && npm run release", + "update:commit": "git add . && git commit -m 'chore: update openapi.json'", "release": "release-it --only-version && npm publish" }, "bugs": {