From b6fd1742451a7df6c336f98aecf8b0c878b9cde3 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Sat, 21 Nov 2026 14:17:11 +0530 Subject: [PATCH 01/18] updated concurrently dependency to version 8.2.2 in package.json and package-lock.json --- pipeline-ui/.env.local | 5 - pipeline-ui/package-lock.json | 490 +++++++++------------------------- pipeline-ui/package.json | 2 +- 3 files changed, 121 insertions(+), 376 deletions(-) delete mode 100644 pipeline-ui/.env.local diff --git a/pipeline-ui/.env.local b/pipeline-ui/.env.local deleted file mode 100644 index c75efeaf..00000000 --- a/pipeline-ui/.env.local +++ /dev/null @@ -1,5 +0,0 @@ -VITE_API_BASE_URL=http://pipeline-app:8080/api/v1 -VITE_IDP=keycloak -VITE_KC_URL=http://auth-service:8080 -VITE_KC_REALM=SpringBootRealm -VITE_KC_CLIENTID=pipeline-app diff --git a/pipeline-ui/package-lock.json b/pipeline-ui/package-lock.json index 86a7d9b0..ec2d95d0 100644 --- a/pipeline-ui/package-lock.json +++ b/pipeline-ui/package-lock.json @@ -38,7 +38,7 @@ "@vitest/coverage-v8": "^4.1.0", "@vitest/ui": "^4.0.18", "autoprefixer": "^10.4.27", - "concurrently": "^10.0.5", + "concurrently": "^8.2.2", "eslint": "^10.9.1", "eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-react-refresh": "^0.5.7", @@ -1507,21 +1507,6 @@ "url": "https://opencollective.com/openapi_generator" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@openapitools/openapi-generator-cli/node_modules/commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -1586,24 +1571,6 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/@openapitools/openapi-generator-cli/node_modules/yargs": { "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", @@ -1623,16 +1590,6 @@ "node": ">=12" } }, - "node_modules/@openapitools/openapi-generator-cli/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, "node_modules/@polka/url": { "version": "1.0.0-next.29", "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz", @@ -4279,100 +4236,33 @@ } }, "node_modules/cliui": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", - "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "license": "ISC", "dependencies": { - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=20" - } - }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/cliui/node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/cliui/node_modules/emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "dev": true, - "license": "MIT" - }, - "node_modules/cliui/node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" }, "engines": { "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/cliui/node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" }, "engines": { - "node": ">=18" + "node": ">=10" }, "funding": { "url": "https://github.com/chalk/wrap-ansi?sponsor=1" @@ -4468,51 +4358,61 @@ } }, "node_modules/concurrently": { - "version": "10.0.5", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.0.5.tgz", - "integrity": "sha512-JaP/CoftUrCcAFW/g//RbgEGwlelnEae6cfBLgH6ZdO6s8jPkn6p9SB9u6pdVxYXoiSnFqseOlHfrEfF82TVOg==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-8.2.2.tgz", + "integrity": "sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==", "dev": true, "license": "MIT", "dependencies": { - "chalk": "5.6.2", - "rxjs": "7.8.2", - "shell-quote": "1.9.0", - "supports-color": "10.2.2", - "tree-kill": "1.2.2", - "yargs": "18.0.0" + "chalk": "^4.1.2", + "date-fns": "^2.30.0", + "lodash": "^4.17.21", + "rxjs": "^7.8.1", + "shell-quote": "^1.8.1", + "spawn-command": "0.0.2", + "supports-color": "^8.1.1", + "tree-kill": "^1.2.2", + "yargs": "^17.7.2" }, "bin": { - "conc": "dist/bin/index.js", - "concurrently": "dist/bin/index.js" + "conc": "dist/bin/concurrently.js", + "concurrently": "dist/bin/concurrently.js" }, "engines": { - "node": ">=22" + "node": "^14.13.0 || >=16.0.0" }, "funding": { "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" } }, - "node_modules/concurrently/node_modules/chalk": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "node_modules/concurrently/node_modules/date-fns": { + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", + "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", "dev": true, "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.21.0" + }, "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" + "node": ">=0.11" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "type": "opencollective", + "url": "https://opencollective.com/date-fns" } }, "node_modules/concurrently/node_modules/supports-color": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", - "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, "engines": { - "node": ">=18" + "node": ">=10" }, "funding": { "url": "https://github.com/chalk/supports-color?sponsor=1" @@ -5551,19 +5451,6 @@ "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/get-east-asian-width": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", - "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/get-intrinsic": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", @@ -8130,6 +8017,12 @@ "node": ">=0.10.0" } }, + "node_modules/spawn-command": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz", + "integrity": "sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==", + "dev": true + }, "node_modules/split2": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", @@ -9079,85 +8972,32 @@ "dev": true }, "node_modules/yargs": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", - "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", + "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", "dev": true, "license": "MIT", "dependencies": { - "cliui": "^9.0.1", + "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "string-width": "^7.2.0", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^22.0.0" + "yargs-parser": "^21.1.1" }, "engines": { - "node": "^20.19.0 || ^22.12.0 || >=23" + "node": ">=12" } }, "node_modules/yargs-parser": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", - "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, "license": "ISC", - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=23" - } - }, - "node_modules/yargs/node_modules/ansi-regex": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/yargs/node_modules/emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "dev": true, - "license": "MIT" - }, - "node_modules/yargs/node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, "engines": { "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/yocto-queue": { @@ -10027,17 +9867,6 @@ "tslib": "2.8.1" }, "dependencies": { - "cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - } - }, "commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -10073,17 +9902,6 @@ "has-flag": "^4.0.0" } }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, "yargs": { "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", @@ -10098,12 +9916,6 @@ "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } - }, - "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true } } }, @@ -11748,63 +11560,25 @@ "dev": true }, "cliui": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", - "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "requires": { - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" }, "dependencies": { - "ansi-regex": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", - "dev": true - }, - "ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true - }, - "emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "dev": true - }, - "string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, - "requires": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - } - }, - "strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", - "dev": true, - "requires": { - "ansi-regex": "^6.2.2" - } - }, "wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "requires": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" } } } @@ -11879,30 +11653,39 @@ } }, "concurrently": { - "version": "10.0.5", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.0.5.tgz", - "integrity": "sha512-JaP/CoftUrCcAFW/g//RbgEGwlelnEae6cfBLgH6ZdO6s8jPkn6p9SB9u6pdVxYXoiSnFqseOlHfrEfF82TVOg==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-8.2.2.tgz", + "integrity": "sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==", "dev": true, "requires": { - "chalk": "5.6.2", - "rxjs": "7.8.2", - "shell-quote": "1.9.0", - "supports-color": "10.2.2", - "tree-kill": "1.2.2", - "yargs": "18.0.0" - }, - "dependencies": { - "chalk": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", - "dev": true + "chalk": "^4.1.2", + "date-fns": "^2.30.0", + "lodash": "^4.17.21", + "rxjs": "^7.8.1", + "shell-quote": "^1.8.1", + "spawn-command": "0.0.2", + "supports-color": "^8.1.1", + "tree-kill": "^1.2.2", + "yargs": "^17.7.2" + }, + "dependencies": { + "date-fns": { + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", + "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", + "dev": true, + "requires": { + "@babel/runtime": "^7.21.0" + } }, "supports-color": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", - "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", - "dev": true + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } } } }, @@ -12604,12 +12387,6 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, - "get-east-asian-width": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", - "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", - "dev": true - }, "get-intrinsic": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", @@ -14344,6 +14121,12 @@ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==" }, + "spawn-command": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz", + "integrity": "sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==", + "dev": true + }, "split2": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", @@ -14930,57 +14713,24 @@ "dev": true }, "yargs": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", - "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", + "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", "dev": true, "requires": { - "cliui": "^9.0.1", + "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "string-width": "^7.2.0", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^22.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", - "dev": true - }, - "emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "dev": true - }, - "string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, - "requires": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - } - }, - "strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", - "dev": true, - "requires": { - "ansi-regex": "^6.2.2" - } - } + "yargs-parser": "^21.1.1" } }, "yargs-parser": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", - "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true }, "yocto-queue": { diff --git a/pipeline-ui/package.json b/pipeline-ui/package.json index 7f9f3454..db60c554 100644 --- a/pipeline-ui/package.json +++ b/pipeline-ui/package.json @@ -49,7 +49,7 @@ "@vitest/coverage-v8": "^4.1.0", "@vitest/ui": "^4.0.18", "autoprefixer": "^10.4.27", - "concurrently": "^10.0.5", + "concurrently": "^8.2.2", "eslint": "^10.9.1", "eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-react-refresh": "^0.5.7", From ff2b256b33d31377b38feddb8fa3676e5c6a51d2 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Sun, 22 Nov 2026 11:27:00 +0530 Subject: [PATCH 02/18] Chore: restore concurrently v10 with Node 22, add .nvmrc - Reverted concurrently back to ^10.0.5 (Node 22 supports it) - Added .nvmrc pinned to Node 22 to match Dockerfile - .env.local deletion remains the actual bug fix (it was overriding VITE_IDP=keycloak in all modes, causing blank page on local-with-mock) --- pipeline-ui/.nvmrc | 1 + pipeline-ui/package-lock.json | 342 +++++++++++++++++++++++++--------- pipeline-ui/package.json | 2 +- 3 files changed, 255 insertions(+), 90 deletions(-) create mode 100644 pipeline-ui/.nvmrc diff --git a/pipeline-ui/.nvmrc b/pipeline-ui/.nvmrc new file mode 100644 index 00000000..2bd5a0a9 --- /dev/null +++ b/pipeline-ui/.nvmrc @@ -0,0 +1 @@ +22 diff --git a/pipeline-ui/package-lock.json b/pipeline-ui/package-lock.json index ec2d95d0..9f90632b 100644 --- a/pipeline-ui/package-lock.json +++ b/pipeline-ui/package-lock.json @@ -38,7 +38,7 @@ "@vitest/coverage-v8": "^4.1.0", "@vitest/ui": "^4.0.18", "autoprefixer": "^10.4.27", - "concurrently": "^8.2.2", + "concurrently": "^10.0.5", "eslint": "^10.9.1", "eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-react-refresh": "^0.5.7", @@ -4358,61 +4358,51 @@ } }, "node_modules/concurrently": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-8.2.2.tgz", - "integrity": "sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==", + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.0.5.tgz", + "integrity": "sha512-JaP/CoftUrCcAFW/g//RbgEGwlelnEae6cfBLgH6ZdO6s8jPkn6p9SB9u6pdVxYXoiSnFqseOlHfrEfF82TVOg==", "dev": true, "license": "MIT", "dependencies": { - "chalk": "^4.1.2", - "date-fns": "^2.30.0", - "lodash": "^4.17.21", - "rxjs": "^7.8.1", - "shell-quote": "^1.8.1", - "spawn-command": "0.0.2", - "supports-color": "^8.1.1", - "tree-kill": "^1.2.2", - "yargs": "^17.7.2" + "chalk": "5.6.2", + "rxjs": "7.8.2", + "shell-quote": "1.9.0", + "supports-color": "10.2.2", + "tree-kill": "1.2.2", + "yargs": "18.0.0" }, "bin": { - "conc": "dist/bin/concurrently.js", - "concurrently": "dist/bin/concurrently.js" + "conc": "dist/bin/index.js", + "concurrently": "dist/bin/index.js" }, "engines": { - "node": "^14.13.0 || >=16.0.0" + "node": ">=22" }, "funding": { "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" } }, - "node_modules/concurrently/node_modules/date-fns": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", - "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", + "node_modules/concurrently/node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", "dev": true, "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.21.0" - }, "engines": { - "node": ">=0.11" + "node": "^12.17.0 || ^14.13 || >=16.0.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" + "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/concurrently/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", + "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", "dev": true, "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/chalk/supports-color?sponsor=1" @@ -5451,6 +5441,19 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-east-asian-width": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", + "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/get-intrinsic": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", @@ -8017,12 +8020,6 @@ "node": ">=0.10.0" } }, - "node_modules/spawn-command": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz", - "integrity": "sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==", - "dev": true - }, "node_modules/split2": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", @@ -8972,22 +8969,21 @@ "dev": true }, "node_modules/yargs": { - "version": "17.7.3", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", - "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", + "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", "dev": true, "license": "MIT", "dependencies": { - "cliui": "^8.0.1", + "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", + "string-width": "^7.2.0", "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" + "yargs-parser": "^22.0.0" }, "engines": { - "node": ">=12" + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "node_modules/yargs-parser": { @@ -9000,6 +8996,116 @@ "node": ">=12" } }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.6.0.tgz", + "integrity": "sha512-XZ5apbzreCbXSKwPjJstu8R0zOi247w3XYwWxtwBXgpZrCyc1Ka7p9/xY0A9/diMewmHbEKz+FIraWaEWjlN5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/yargs/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/yargs/node_modules/cliui": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/yargs/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/yargs/node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -11653,39 +11759,30 @@ } }, "concurrently": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-8.2.2.tgz", - "integrity": "sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==", + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.0.5.tgz", + "integrity": "sha512-JaP/CoftUrCcAFW/g//RbgEGwlelnEae6cfBLgH6ZdO6s8jPkn6p9SB9u6pdVxYXoiSnFqseOlHfrEfF82TVOg==", "dev": true, "requires": { - "chalk": "^4.1.2", - "date-fns": "^2.30.0", - "lodash": "^4.17.21", - "rxjs": "^7.8.1", - "shell-quote": "^1.8.1", - "spawn-command": "0.0.2", - "supports-color": "^8.1.1", - "tree-kill": "^1.2.2", - "yargs": "^17.7.2" - }, - "dependencies": { - "date-fns": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", - "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", - "dev": true, - "requires": { - "@babel/runtime": "^7.21.0" - } + "chalk": "5.6.2", + "rxjs": "7.8.2", + "shell-quote": "1.9.0", + "supports-color": "10.2.2", + "tree-kill": "1.2.2", + "yargs": "18.0.0" + }, + "dependencies": { + "chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "dev": true }, "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", + "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", + "dev": true } } }, @@ -12387,6 +12484,12 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, + "get-east-asian-width": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", + "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", + "dev": true + }, "get-intrinsic": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", @@ -14121,12 +14224,6 @@ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==" }, - "spawn-command": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz", - "integrity": "sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==", - "dev": true - }, "split2": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", @@ -14713,18 +14810,85 @@ "dev": true }, "yargs": { - "version": "17.7.3", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", - "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", + "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", "dev": true, "requires": { - "cliui": "^8.0.1", + "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", + "string-width": "^7.2.0", "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" + "yargs-parser": "^22.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.6.0.tgz", + "integrity": "sha512-XZ5apbzreCbXSKwPjJstu8R0zOi247w3XYwWxtwBXgpZrCyc1Ka7p9/xY0A9/diMewmHbEKz+FIraWaEWjlN5g==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true + }, + "cliui": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "dev": true, + "requires": { + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + } + }, + "emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true + }, + "string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "requires": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + } + }, + "strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "requires": { + "ansi-regex": "^6.2.2" + } + }, + "wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "dev": true, + "requires": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + } + }, + "yargs-parser": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", + "dev": true + } } }, "yargs-parser": { diff --git a/pipeline-ui/package.json b/pipeline-ui/package.json index db60c554..7f9f3454 100644 --- a/pipeline-ui/package.json +++ b/pipeline-ui/package.json @@ -49,7 +49,7 @@ "@vitest/coverage-v8": "^4.1.0", "@vitest/ui": "^4.0.18", "autoprefixer": "^10.4.27", - "concurrently": "^8.2.2", + "concurrently": "^10.0.5", "eslint": "^10.9.1", "eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-react-refresh": "^0.5.7", From 9053bcb51d378a84793e1ab1a973dd71383f05e9 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Mon, 23 Nov 2026 14:14:44 +0530 Subject: [PATCH 03/18] Chore: revert .nvmrc and package-lock.json changes --- pipeline-ui/.nvmrc | 1 - pipeline-ui/package-lock.json | 342 +++++++++++++++++++++------------- 2 files changed, 214 insertions(+), 129 deletions(-) delete mode 100644 pipeline-ui/.nvmrc diff --git a/pipeline-ui/.nvmrc b/pipeline-ui/.nvmrc deleted file mode 100644 index 2bd5a0a9..00000000 --- a/pipeline-ui/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -22 diff --git a/pipeline-ui/package-lock.json b/pipeline-ui/package-lock.json index 9f90632b..86a7d9b0 100644 --- a/pipeline-ui/package-lock.json +++ b/pipeline-ui/package-lock.json @@ -1507,6 +1507,21 @@ "url": "https://opencollective.com/openapi_generator" } }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@openapitools/openapi-generator-cli/node_modules/commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -1571,6 +1586,24 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/@openapitools/openapi-generator-cli/node_modules/yargs": { "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", @@ -1590,6 +1623,16 @@ "node": ">=12" } }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/@polka/url": { "version": "1.0.0-next.29", "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz", @@ -4236,33 +4279,100 @@ } }, "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", "dev": true, "license": "ISC", "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/cliui/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" }, "engines": { "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/chalk/wrap-ansi?sponsor=1" @@ -8987,19 +9097,19 @@ } }, "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", "dev": true, "license": "ISC", "engines": { - "node": ">=12" + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "node_modules/yargs/node_modules/ansi-regex": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.6.0.tgz", - "integrity": "sha512-XZ5apbzreCbXSKwPjJstu8R0zOi247w3XYwWxtwBXgpZrCyc1Ka7p9/xY0A9/diMewmHbEKz+FIraWaEWjlN5g==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true, "license": "MIT", "engines": { @@ -9009,34 +9119,6 @@ "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/yargs/node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/yargs/node_modules/cliui": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", - "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=20" - } - }, "node_modules/yargs/node_modules/emoji-regex": { "version": "10.6.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", @@ -9078,34 +9160,6 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/yargs/node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/yargs/node_modules/yargs-parser": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", - "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=23" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -9973,6 +10027,17 @@ "tslib": "2.8.1" }, "dependencies": { + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + } + }, "commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -10008,6 +10073,17 @@ "has-flag": "^4.0.0" } }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, "yargs": { "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", @@ -10022,6 +10098,12 @@ "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true } } }, @@ -11666,25 +11748,63 @@ "dev": true }, "cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", "dev": true, "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" }, "dependencies": { + "ansi-regex": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true + }, + "emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true + }, + "string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "requires": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + } + }, + "strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "requires": { + "ansi-regex": "^6.2.2" + } + }, "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", "dev": true, "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" } } } @@ -14824,28 +14944,11 @@ }, "dependencies": { "ansi-regex": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.6.0.tgz", - "integrity": "sha512-XZ5apbzreCbXSKwPjJstu8R0zOi247w3XYwWxtwBXgpZrCyc1Ka7p9/xY0A9/diMewmHbEKz+FIraWaEWjlN5g==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", "dev": true }, - "ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true - }, - "cliui": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", - "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", - "dev": true, - "requires": { - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - } - }, "emoji-regex": { "version": "10.6.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", @@ -14871,30 +14974,13 @@ "requires": { "ansi-regex": "^6.2.2" } - }, - "wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "dev": true, - "requires": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - } - }, - "yargs-parser": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", - "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", - "dev": true } } }, "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", "dev": true }, "yocto-queue": { From da10fee66a917b6a1e71cc01f9055365d006b43d Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Mon, 23 Nov 2026 14:15:54 +0530 Subject: [PATCH 04/18] updatec README.md to enhance project documentation and clarify environment setup --- pipeline-ui/README.md | 125 +++++++++++++++++++++++++----------------- 1 file changed, 76 insertions(+), 49 deletions(-) diff --git a/pipeline-ui/README.md b/pipeline-ui/README.md index 4dcad1f9..a9b933e5 100644 --- a/pipeline-ui/README.md +++ b/pipeline-ui/README.md @@ -1,72 +1,99 @@ -# React + TypeScript + Vite +# Pipeline UI -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. +React + TypeScript + Vite frontend for the AutoBuild pipeline service. -Currently, two official plugins are available: +## Prerequisites -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh +- Node.js 22 (see [.nvmrc](.nvmrc)) +- npm -## React Compiler +## Getting Started -The React Compiler is currently not compatible with SWC. See [this issue](https://github.com/vitejs/vite-plugin-react/issues/428) for tracking the progress. +```bash +npm install +``` -## Expanding the ESLint configuration +## Running Locally -If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules: +| Command | Description | +|---|---| +| `npm run local-e2e` | Vite dev server using `.env.local-e2e` (connects to real local backend + Keycloak) | +| `npm run local-with-mock` | Vite dev server with mocked API (no backend required) | +| `npm run production` | Build + preview with production settings | + +## Environment Files + +| File | Mode | Purpose | +|---|---|---| +| `.env.local-e2e` | `local-e2e` | Local end-to-end testing against a locally running backend and Keycloak | +| `.env.local-with-mock` | `local-with-mock` | Local development with a mocked OpenAPI server (no real backend) | + +### `.env.local-e2e` + +Used when running `npm run local-e2e`. Points to localhost backend and Keycloak: -```js -export default defineConfig([ - globalIgnores(['dist']), - { - files: ['**/*.{ts,tsx}'], - extends: [ - // Other configs... - - // Remove tseslint.configs.recommended and replace with this - tseslint.configs.recommendedTypeChecked, - // Alternatively, use this for stricter rules - tseslint.configs.strictTypeChecked, - // Optionally, add this for stylistic rules - tseslint.configs.stylisticTypeChecked, - - // Other configs... - ], - languageOptions: { - parserOptions: { - project: ['./tsconfig.node.json', './tsconfig.app.json'], - tsconfigRootDir: import.meta.dirname, - }, - // other options... - }, - }, -]) +``` +VITE_ENV=local-e2e +VITE_API_BASE_URL=http://localhost:8080/api/v1 +VITE_IDP=keycloak +VITE_KC_URL=http://localhost:8180 +VITE_KC_REALM=SpringBootRealm +VITE_KC_CLIENTID=pipeline-app ``` -You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules: +## Docker Image -```js -// eslint.config.js -import reactX from 'eslint-plugin-react-x' -import reactDom from 'eslint-plugin-react-dom' +The UI is packaged as a Docker image using a two-stage build (Node 22 build → `serve` runtime). + +### Default Build + +Builds with the production defaults baked into the [Dockerfile](Dockerfile): + +```bash +docker build -t pipeline-ui . +``` + +### Build with `.env.local-e2e` Values + +To produce an image that connects to a locally running backend and Keycloak (matching `.env.local-e2e`): +```bash +docker build \ + --build-arg VITE_API_BASE_URL=http://localhost:8080/api/v1 \ + --build-arg VITE_IDP=keycloak \ + --build-arg VITE_KC_URL=http://localhost:8180 \ + --build-arg VITE_KC_REALM=SpringBootRealm \ + --build-arg VITE_KC_CLIENTID=pipeline-app \ + -t pipeline-ui:local-e2e \ + . +``` + +The image exposes port `3000` and serves the built static files via `serve`. + +### Build Args + +| Arg | Default (Dockerfile) | Description | +|---|---|---| +| `VITE_API_BASE_URL` | `http://pipeline-app:8080/api/v1` | Backend API base URL | +| `VITE_IDP` | `keycloak` | Identity provider | +| `VITE_KC_URL` | `http://auth-service:8080` | Keycloak base URL | +| `VITE_KC_REALM` | `SpringBootRealm` | Keycloak realm | +| `VITE_KC_CLIENTID` | `pipeline-app` | Keycloak client ID | + +## ESLint + +For type-aware lint rules in production applications, update `eslint.config.js` to extend `tseslint.configs.recommendedTypeChecked` and set `parserOptions.project`: + +```js export default defineConfig([ - globalIgnores(['dist']), { files: ['**/*.{ts,tsx}'], - extends: [ - // Other configs... - // Enable lint rules for React - reactX.configs['recommended-typescript'], - // Enable lint rules for React DOM - reactDom.configs.recommended, - ], + extends: [tseslint.configs.recommendedTypeChecked], languageOptions: { parserOptions: { project: ['./tsconfig.node.json', './tsconfig.app.json'], tsconfigRootDir: import.meta.dirname, }, - // other options... }, }, ]) From 5e4d8c2a8e126bbc12091e22fd0c057f9b022866 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Mon, 23 Nov 2026 15:58:29 +0530 Subject: [PATCH 05/18] Docs: update UI Docker build to use env-file and document full stack - docker-compose.yml: pipeline-ui build args now use variable substitution with defaults, so --env-file can override them without touching the Dockerfile - pipeline-ui/README.md: replace verbose --build-arg list with the shorter `docker compose --env-file` command; run from project root - running-backend-containers.md: rename "App stack only" to "Full stack (app + UI)" and note that docker compose up now includes pipeline-ui at localhost:3000 --- .../setup/backend/running-backend-containers.md | 6 ++++-- docker-compose.yml | 10 +++++----- pipeline-ui/README.md | 15 +++++---------- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/autobuild-docs/setup/backend/running-backend-containers.md b/autobuild-docs/setup/backend/running-backend-containers.md index 1e529dc9..f5653aae 100644 --- a/autobuild-docs/setup/backend/running-backend-containers.md +++ b/autobuild-docs/setup/backend/running-backend-containers.md @@ -1,13 +1,15 @@ # Run backend containers -## App stack only +## Full stack (app + UI) -From project root, build and start the application and database: +From project root, build and start the full application stack — backend, database, Keycloak, feature flags, and the UI: ```bash docker build -t pipeline-app . docker compose --env-file .env.local up -d ``` +This spins up all services defined in `docker-compose.yml` including `pipeline-ui` (served at http://localhost:3000). + ## App stack + monitoring Starts the app stack together with the full monitoring stack (Grafana, Loki, Prometheus, Alloy). All services start in dependency order automatically: diff --git a/docker-compose.yml b/docker-compose.yml index ae88a3d8..42106d43 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -101,11 +101,11 @@ services: context: . dockerfile: pipeline-ui/Dockerfile args: - VITE_API_BASE_URL: http://localhost:8080/api/v1 - VITE_IDP: keycloak - VITE_KC_URL: http://localhost:8180 - VITE_KC_REALM: SpringBootRealm - VITE_KC_CLIENTID: pipeline-app + VITE_API_BASE_URL: ${VITE_API_BASE_URL:-http://pipeline-app:8080/api/v1} + VITE_IDP: ${VITE_IDP:-keycloak} + VITE_KC_URL: ${VITE_KC_URL:-http://auth-service:8080} + VITE_KC_REALM: ${VITE_KC_REALM:-SpringBootRealm} + VITE_KC_CLIENTID: ${VITE_KC_CLIENTID:-pipeline-app} image: pipeline-ui ports: - "3000:3000" diff --git a/pipeline-ui/README.md b/pipeline-ui/README.md index a9b933e5..9f591dea 100644 --- a/pipeline-ui/README.md +++ b/pipeline-ui/README.md @@ -55,24 +55,19 @@ docker build -t pipeline-ui . ### Build with `.env.local-e2e` Values -To produce an image that connects to a locally running backend and Keycloak (matching `.env.local-e2e`): +To produce an image that connects to a locally running backend and Keycloak (matching `.env.local-e2e`), run from the **project root**: ```bash -docker build \ - --build-arg VITE_API_BASE_URL=http://localhost:8080/api/v1 \ - --build-arg VITE_IDP=keycloak \ - --build-arg VITE_KC_URL=http://localhost:8180 \ - --build-arg VITE_KC_REALM=SpringBootRealm \ - --build-arg VITE_KC_CLIENTID=pipeline-app \ - -t pipeline-ui:local-e2e \ - . +docker compose --env-file ./pipeline-ui/.env.local-e2e build pipeline-ui ``` +`docker compose` picks up the env file and injects its `VITE_*` variables as build args into the Dockerfile automatically. + The image exposes port `3000` and serves the built static files via `serve`. ### Build Args -| Arg | Default (Dockerfile) | Description | +| Arg | Default | Description | |---|---|---| | `VITE_API_BASE_URL` | `http://pipeline-app:8080/api/v1` | Backend API base URL | | `VITE_IDP` | `keycloak` | Identity provider | From 6677fd6720e62c43bc97990a25de90629d194158 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Mon, 23 Nov 2026 15:59:06 +0530 Subject: [PATCH 06/18] Chore: revert docker-compose.yml changes --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 42106d43..87e4935e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -101,11 +101,11 @@ services: context: . dockerfile: pipeline-ui/Dockerfile args: - VITE_API_BASE_URL: ${VITE_API_BASE_URL:-http://pipeline-app:8080/api/v1} - VITE_IDP: ${VITE_IDP:-keycloak} - VITE_KC_URL: ${VITE_KC_URL:-http://auth-service:8080} - VITE_KC_REALM: ${VITE_KC_REALM:-SpringBootRealm} - VITE_KC_CLIENTID: ${VITE_KC_CLIENTID:-pipeline-app} + VITE_API_BASE_URL: http://pipeline-app:8080/api/v1 + VITE_IDP: keycloak + VITE_KC_URL: http://auth-service:8080 + VITE_KC_REALM: SpringBootRealm + VITE_KC_CLIENTID: pipeline-app image: pipeline-ui ports: - "3000:3000" From 2378c9e1291bd8e3661f1255dc4aac64ff9d81a3 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Mon, 23 Nov 2026 16:00:08 +0530 Subject: [PATCH 07/18] Chore: add .nvmrc for Node 22 to pipeline-ui --- pipeline-ui/.nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 pipeline-ui/.nvmrc diff --git a/pipeline-ui/.nvmrc b/pipeline-ui/.nvmrc new file mode 100644 index 00000000..2bd5a0a9 --- /dev/null +++ b/pipeline-ui/.nvmrc @@ -0,0 +1 @@ +22 From 72695f572531199b127b1a322c8436cde94884dc Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Mon, 23 Nov 2026 16:02:22 +0530 Subject: [PATCH 08/18] Feat: Dockerfile accepts ENV_FILE build arg for env-file-based builds COPY all .env* files into build context and source the specified file (--build-arg ENV_FILE=.env.local-e2e) before npm run build so Vite picks up variables natively. Falls back to hardcoded ARG defaults when ENV_FILE is not set. Update README to document the smaller single-arg build command. --- pipeline-ui/Dockerfile | 10 +++++++++- pipeline-ui/README.md | 6 +++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/pipeline-ui/Dockerfile b/pipeline-ui/Dockerfile index 7887a595..c5c2dedc 100644 --- a/pipeline-ui/Dockerfile +++ b/pipeline-ui/Dockerfile @@ -15,6 +15,11 @@ COPY pipeline-ui/tailwind.config.js pipeline-ui/postcss.config.js ./ COPY pipeline-ui/openapitools.json . COPY apis/openapi-spec /apis/openapi-spec RUN npm run generate:client-code +# Copy all env files so they are available as an optional override. +# Pass --build-arg ENV_FILE=.env.local-e2e to use a specific env file; +# omit it to fall back to the defaults below. +COPY pipeline-ui/.env* ./ +ARG ENV_FILE ARG VITE_API_BASE_URL=http://localhost:8080/api/v1 ARG VITE_IDP=keycloak ARG VITE_KC_URL=http://localhost:8180 @@ -25,7 +30,10 @@ ENV VITE_IDP=${VITE_IDP} ENV VITE_KC_URL=${VITE_KC_URL} ENV VITE_KC_REALM=${VITE_KC_REALM} ENV VITE_KC_CLIENTID=${VITE_KC_CLIENTID} -RUN npm run build +RUN if [ -n "$ENV_FILE" ] && [ -f "$ENV_FILE" ]; then \ + grep -v '^#' "$ENV_FILE" | grep -v '^VITE_ENV' > /tmp/.env.filtered; \ + set -a && . /tmp/.env.filtered && set +a && rm /tmp/.env.filtered; \ + fi && npm run build # # Serve stage diff --git a/pipeline-ui/README.md b/pipeline-ui/README.md index 9f591dea..f919e1e1 100644 --- a/pipeline-ui/README.md +++ b/pipeline-ui/README.md @@ -55,13 +55,13 @@ docker build -t pipeline-ui . ### Build with `.env.local-e2e` Values -To produce an image that connects to a locally running backend and Keycloak (matching `.env.local-e2e`), run from the **project root**: +To produce an image that connects to a locally running backend and Keycloak (matching `.env.local-e2e`): ```bash -docker compose --env-file ./pipeline-ui/.env.local-e2e build pipeline-ui +docker build --build-arg ENV_FILE=.env.local-e2e -t pipeline-ui:local-e2e . ``` -`docker compose` picks up the env file and injects its `VITE_*` variables as build args into the Dockerfile automatically. +The Dockerfile copies all `.env*` files into the build context and sources the specified file before running `npm run build`, so Vite picks up the variables automatically. The image exposes port `3000` and serves the built static files via `serve`. From cb70d8461d1be17afe7556263f68b8554aaf0824 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Tue, 1 Dec 2026 11:29:50 +0530 Subject: [PATCH 09/18] Added running-containers.md for full stack and monitoring setup --- ...nd-containers.md => running-containers.md} | 8 ++--- autobuild-docs/setup/dev-env-setup.md | 2 +- pipeline-ui/README.md | 34 ------------------- 3 files changed, 4 insertions(+), 40 deletions(-) rename autobuild-docs/setup/backend/{running-backend-containers.md => running-containers.md} (91%) diff --git a/autobuild-docs/setup/backend/running-backend-containers.md b/autobuild-docs/setup/backend/running-containers.md similarity index 91% rename from autobuild-docs/setup/backend/running-backend-containers.md rename to autobuild-docs/setup/backend/running-containers.md index f5653aae..d1cfb382 100644 --- a/autobuild-docs/setup/backend/running-backend-containers.md +++ b/autobuild-docs/setup/backend/running-containers.md @@ -1,11 +1,10 @@ -# Run backend containers +# Run containers ## Full stack (app + UI) From project root, build and start the full application stack — backend, database, Keycloak, feature flags, and the UI: ```bash -docker build -t pipeline-app . -docker compose --env-file .env.local up -d +docker compose --env-file .env.local up --build -d ``` This spins up all services defined in `docker-compose.yml` including `pipeline-ui` (served at http://localhost:3000). @@ -14,12 +13,11 @@ This spins up all services defined in `docker-compose.yml` including `pipeline-u Starts the app stack together with the full monitoring stack (Grafana, Loki, Prometheus, Alloy). All services start in dependency order automatically: ```bash -docker build -t pipeline-app . docker compose --env-file .env.local \ -f docker-compose.yml \ -f monitoring/docker-compose-monitoring.yml \ -f monitoring/docker-compose-monitoring-integration.yml \ - up -d + up --build -d ``` Monitoring UIs available at: diff --git a/autobuild-docs/setup/dev-env-setup.md b/autobuild-docs/setup/dev-env-setup.md index 41e3f17d..006f5501 100644 --- a/autobuild-docs/setup/dev-env-setup.md +++ b/autobuild-docs/setup/dev-env-setup.md @@ -13,7 +13,7 @@ Ensure you have atleast JAVA 17, Node 22 and Apache Maven 3.9 installed and conf npm ci ``` See [Local Backend Execution](./backend/local-backend-execution.md) for running the application locally. -See [Running Backend Container](./backend/running-backend-containers.md) for running containerized backend with db. +See [Running Containers](./backend/running-containers.md) for running the full containerized stack. For the ease of local development install [VS Code](https://code.visualstudio.com/) and the following extensions, 1. [JAVA Extension Pack](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack) diff --git a/pipeline-ui/README.md b/pipeline-ui/README.md index f919e1e1..24309c4a 100644 --- a/pipeline-ui/README.md +++ b/pipeline-ui/README.md @@ -41,40 +41,6 @@ VITE_KC_REALM=SpringBootRealm VITE_KC_CLIENTID=pipeline-app ``` -## Docker Image - -The UI is packaged as a Docker image using a two-stage build (Node 22 build → `serve` runtime). - -### Default Build - -Builds with the production defaults baked into the [Dockerfile](Dockerfile): - -```bash -docker build -t pipeline-ui . -``` - -### Build with `.env.local-e2e` Values - -To produce an image that connects to a locally running backend and Keycloak (matching `.env.local-e2e`): - -```bash -docker build --build-arg ENV_FILE=.env.local-e2e -t pipeline-ui:local-e2e . -``` - -The Dockerfile copies all `.env*` files into the build context and sources the specified file before running `npm run build`, so Vite picks up the variables automatically. - -The image exposes port `3000` and serves the built static files via `serve`. - -### Build Args - -| Arg | Default | Description | -|---|---|---| -| `VITE_API_BASE_URL` | `http://pipeline-app:8080/api/v1` | Backend API base URL | -| `VITE_IDP` | `keycloak` | Identity provider | -| `VITE_KC_URL` | `http://auth-service:8080` | Keycloak base URL | -| `VITE_KC_REALM` | `SpringBootRealm` | Keycloak realm | -| `VITE_KC_CLIENTID` | `pipeline-app` | Keycloak client ID | - ## ESLint For type-aware lint rules in production applications, update `eslint.config.js` to extend `tseslint.configs.recommendedTypeChecked` and set `parserOptions.project`: From a01db01ba26f661271ae6a3b55c6401710dd8480 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Tue, 1 Dec 2026 14:59:22 +0530 Subject: [PATCH 10/18] updated running-containers.md and README.md --- autobuild-docs/setup/backend/running-containers.md | 2 +- pipeline-ui/README.md | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/autobuild-docs/setup/backend/running-containers.md b/autobuild-docs/setup/backend/running-containers.md index d1cfb382..7dac6c90 100644 --- a/autobuild-docs/setup/backend/running-containers.md +++ b/autobuild-docs/setup/backend/running-containers.md @@ -11,7 +11,7 @@ This spins up all services defined in `docker-compose.yml` including `pipeline-u ## App stack + monitoring -Starts the app stack together with the full monitoring stack (Grafana, Loki, Prometheus, Alloy). All services start in dependency order automatically: +Runs the full stack (as above) and adds the monitoring stack (Grafana, Loki, Prometheus, Alloy) on top of it: ```bash docker compose --env-file .env.local \ -f docker-compose.yml \ diff --git a/pipeline-ui/README.md b/pipeline-ui/README.md index 24309c4a..a0fcad14 100644 --- a/pipeline-ui/README.md +++ b/pipeline-ui/README.md @@ -28,19 +28,6 @@ npm install | `.env.local-e2e` | `local-e2e` | Local end-to-end testing against a locally running backend and Keycloak | | `.env.local-with-mock` | `local-with-mock` | Local development with a mocked OpenAPI server (no real backend) | -### `.env.local-e2e` - -Used when running `npm run local-e2e`. Points to localhost backend and Keycloak: - -``` -VITE_ENV=local-e2e -VITE_API_BASE_URL=http://localhost:8080/api/v1 -VITE_IDP=keycloak -VITE_KC_URL=http://localhost:8180 -VITE_KC_REALM=SpringBootRealm -VITE_KC_CLIENTID=pipeline-app -``` - ## ESLint For type-aware lint rules in production applications, update `eslint.config.js` to extend `tseslint.configs.recommendedTypeChecked` and set `parserOptions.project`: From f2614fa14deeaa2a9f6950590fd4d1e7d3b9710c Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Wed, 2 Dec 2026 15:02:40 +0530 Subject: [PATCH 11/18] improved README --- autobuild-docs/setup/backend/running-containers.md | 2 +- monitoring/docker-compose-monitoring.yml | 2 +- pipeline-ui/.dockerignore | 2 ++ pipeline-ui/README.md | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/autobuild-docs/setup/backend/running-containers.md b/autobuild-docs/setup/backend/running-containers.md index 7dac6c90..8874a895 100644 --- a/autobuild-docs/setup/backend/running-containers.md +++ b/autobuild-docs/setup/backend/running-containers.md @@ -21,7 +21,7 @@ docker compose --env-file .env.local \ ``` Monitoring UIs available at: -- Grafana: http://localhost:3000 +- Grafana: http://localhost:3001 - Alloy: http://localhost:12345 - Prometheus: http://localhost:9090 diff --git a/monitoring/docker-compose-monitoring.yml b/monitoring/docker-compose-monitoring.yml index 073a1e73..74108e55 100644 --- a/monitoring/docker-compose-monitoring.yml +++ b/monitoring/docker-compose-monitoring.yml @@ -65,7 +65,7 @@ services: - GF_AUTH_BASIC_ENABLED=false - GF_INSTALL_PLUGINS=grafana-lokiexplore-app ports: - - 3000:3000/tcp + - 3001:3000/tcp volumes: - ${MONITORING_STACK_DIR:-.}/grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasources.yml - grafana_data:/var/lib/grafana diff --git a/pipeline-ui/.dockerignore b/pipeline-ui/.dockerignore index b1ef71cb..c18a0397 100644 --- a/pipeline-ui/.dockerignore +++ b/pipeline-ui/.dockerignore @@ -2,6 +2,8 @@ node_modules/ dist/ coverage/ .env.* +!.env.local-e2e +!.env.local-with-mock test/ *.md .git diff --git a/pipeline-ui/README.md b/pipeline-ui/README.md index a0fcad14..ad1332d1 100644 --- a/pipeline-ui/README.md +++ b/pipeline-ui/README.md @@ -9,8 +9,11 @@ React + TypeScript + Vite frontend for the AutoBuild pipeline service. ## Getting Started +> **Prerequisite:** Java must be installed — the API client generator (`openapi-generator-cli`) requires a JVM to run. + ```bash npm install +npm run generate:clean-client-code ``` ## Running Locally From 20fc35e8f61e104577ce41b6e98f4dbafc513c16 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Wed, 2 Dec 2026 15:09:30 +0530 Subject: [PATCH 12/18] updated Dockerfile to properly load environment variables from specified ENV_FILE --- pipeline-ui/.env.local-with-mock | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline-ui/.env.local-with-mock b/pipeline-ui/.env.local-with-mock index 6a1812af..64fc3ee9 100644 --- a/pipeline-ui/.env.local-with-mock +++ b/pipeline-ui/.env.local-with-mock @@ -1,4 +1,5 @@ VITE_ENV=local VITE_API_BASE_URL=http://127.0.0.1:4010 +VITE_IDP=mock VITE_MOCK_USER=dummy VITE_MOCK_USER_EMAIL=dummy@dummy.com \ No newline at end of file From b3f24be29353d8f9d7da618dca08362818e7fa0a Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Wed, 2 Dec 2026 15:31:21 +0530 Subject: [PATCH 13/18] Added mock API setup and updated documentation for UI with mock server --- .../setup/backend/running-containers.md | 9 +++++++ docker-compose-mock.yml | 26 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 docker-compose-mock.yml diff --git a/autobuild-docs/setup/backend/running-containers.md b/autobuild-docs/setup/backend/running-containers.md index 8874a895..cc7def2a 100644 --- a/autobuild-docs/setup/backend/running-containers.md +++ b/autobuild-docs/setup/backend/running-containers.md @@ -25,6 +25,15 @@ Monitoring UIs available at: - Alloy: http://localhost:12345 - Prometheus: http://localhost:9090 +## UI with mock API (no backend) + +Runs only the UI and a Prism mock server — no database, Keycloak, or backend required: +```bash +docker compose -f docker-compose-mock.yml up --build -d +``` + +The UI is served at http://localhost:3000. API calls are handled by the Prism mock at http://localhost:4010, driven by the OpenAPI spec. Authentication uses a local mock user instead of Keycloak. + ## Stopping ```bash diff --git a/docker-compose-mock.yml b/docker-compose-mock.yml new file mode 100644 index 00000000..de3915f1 --- /dev/null +++ b/docker-compose-mock.yml @@ -0,0 +1,26 @@ +networks: + mock: + +services: + mock-api: + image: stoplight/prism:5 + command: mock /spec/pipeline-service.yaml -h 0.0.0.0 --dynamic --multiprocess=false + volumes: + - ./apis/openapi-spec/pipeline-service.yaml:/spec/pipeline-service.yaml + ports: + - "4010:4010" + networks: + - mock + + pipeline-ui: + build: + context: ./pipeline-ui + dockerfile: Dockerfile + args: + ENV_FILE: .env.local-with-mock + ports: + - "3000:3000" + networks: + - mock + depends_on: + - mock-api From d1258db2236ffc04af4561aba5d82e3a5b81f597 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Wed, 2 Dec 2026 15:43:43 +0530 Subject: [PATCH 14/18] Fix: add required fields to OpenAPI spec and wire ts-nocheck into Docker build - Add required arrays to Pipeline, PipelineBuild, Stage (without stageOrder), and StageBuild schemas so the generated TypeScript types are non-optional where the backend guarantees a value - Add startedAt to PipelineBuild schema to match the backend entity - Add generate:add-ts-nocheck npm script to prepend // @ts-nocheck to all generated files, suppressing erasableSyntaxOnly TS1294 errors from openapi-generator constructor parameter properties - Run generate:add-ts-nocheck after generate:client-code in Dockerfile so the in-Docker codegen step produces TypeScript-compatible files --- apis/openapi-spec/pipeline-service.yaml | 24 ++++++++++++++++++++++++ pipeline-ui/Dockerfile | 2 +- pipeline-ui/package.json | 3 ++- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/apis/openapi-spec/pipeline-service.yaml b/apis/openapi-spec/pipeline-service.yaml index ac7dbcfa..cfb2ed61 100644 --- a/apis/openapi-spec/pipeline-service.yaml +++ b/apis/openapi-spec/pipeline-service.yaml @@ -246,6 +246,10 @@ components: schemas: Pipeline: type: object + required: + - id + - name + - stages properties: id: type: string @@ -261,6 +265,13 @@ components: - stages PipelineBuild: type: object + required: + - id + - pipelineId + - pipelineName + - currentState + - stageBuilds + - startedAt properties: currentState: type: string @@ -275,6 +286,9 @@ components: type: string pipelineName: type: string + startedAt: + type: string + format: date-time stageBuilds: type: array items: @@ -299,6 +313,10 @@ components: - pipelineId Stage: type: object + required: + - id + - name + - scriptType properties: command: type: string @@ -313,6 +331,12 @@ components: format: int32 StageBuild: type: object + required: + - id + - stageId + - stageName + - currentState + - stageOrder properties: currentState: type: string diff --git a/pipeline-ui/Dockerfile b/pipeline-ui/Dockerfile index c5c2dedc..91f4f65e 100644 --- a/pipeline-ui/Dockerfile +++ b/pipeline-ui/Dockerfile @@ -14,7 +14,7 @@ COPY pipeline-ui/tsconfig*.json ./ COPY pipeline-ui/tailwind.config.js pipeline-ui/postcss.config.js ./ COPY pipeline-ui/openapitools.json . COPY apis/openapi-spec /apis/openapi-spec -RUN npm run generate:client-code +RUN npm run generate:client-code && npm run generate:add-ts-nocheck # Copy all env files so they are available as an optional override. # Pass --build-arg ENV_FILE=.env.local-e2e to use a specific env file; # omit it to fall back to the defaults below. diff --git a/pipeline-ui/package.json b/pipeline-ui/package.json index 7f9f3454..1f907936 100644 --- a/pipeline-ui/package.json +++ b/pipeline-ui/package.json @@ -16,7 +16,8 @@ "test:coverage-pipeline": "vitest run --coverage --no-color", "generate:clean": "rm -rf ./src/gen", "generate:client-code": "openapi-generator-cli generate", - "generate:clean-client-code": "npm run generate:clean && npm run generate:client-code" + "generate:add-ts-nocheck": "find src/gen -name '*.ts' | xargs sed -i'' -e '1s|^|// @ts-nocheck\\n|'", + "generate:clean-client-code": "npm run generate:clean && npm run generate:client-code && npm run generate:add-ts-nocheck" }, "dependencies": { "@radix-ui/react-navigation-menu": "^1.2.14", From d21429cbbdd8c7e43065aab55fd385ec7f27feea Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Wed, 2 Dec 2026 16:07:23 +0530 Subject: [PATCH 15/18] updated Docker Compose to include mock services and adjust profiles for existing services --- apis/openapi-spec/pipeline-service.yaml | 14 ------- docker-compose-mock.yml | 26 ------------- docker-compose.yml | 52 ++++++++++++++++++++++++- 3 files changed, 51 insertions(+), 41 deletions(-) delete mode 100644 docker-compose-mock.yml diff --git a/apis/openapi-spec/pipeline-service.yaml b/apis/openapi-spec/pipeline-service.yaml index cfb2ed61..c4ef7451 100644 --- a/apis/openapi-spec/pipeline-service.yaml +++ b/apis/openapi-spec/pipeline-service.yaml @@ -259,10 +259,6 @@ components: type: array items: $ref: "#/components/schemas/Stage" - required: - - id - - name - - stages PipelineBuild: type: object required: @@ -293,16 +289,6 @@ components: type: array items: $ref: "#/components/schemas/StageBuild" - startedAt: - type: string - format: date-time - required: - - currentState - - id - - pipelineId - - pipelineName - - stageBuilds - - startedAt PipelineExecuteRequest: type: object properties: diff --git a/docker-compose-mock.yml b/docker-compose-mock.yml deleted file mode 100644 index de3915f1..00000000 --- a/docker-compose-mock.yml +++ /dev/null @@ -1,26 +0,0 @@ -networks: - mock: - -services: - mock-api: - image: stoplight/prism:5 - command: mock /spec/pipeline-service.yaml -h 0.0.0.0 --dynamic --multiprocess=false - volumes: - - ./apis/openapi-spec/pipeline-service.yaml:/spec/pipeline-service.yaml - ports: - - "4010:4010" - networks: - - mock - - pipeline-ui: - build: - context: ./pipeline-ui - dockerfile: Dockerfile - args: - ENV_FILE: .env.local-with-mock - ports: - - "3000:3000" - networks: - - mock - depends_on: - - mock-api diff --git a/docker-compose.yml b/docker-compose.yml index 87e4935e..c5dc24e4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ networks: services: mysql-db: image: mysql:8.0 + profiles: + - full container_name: mysql-db environment: MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} @@ -28,6 +30,8 @@ services: retries: 10 auth-service: image: quay.io/keycloak/keycloak:26.2.5 + profiles: + - full container_name: auth-service environment: KEYCLOAK_ADMIN: admin @@ -59,6 +63,8 @@ services: condition: service_healthy flagd: image: ghcr.io/open-feature/flagd:latest + profiles: + - full container_name: flagd command: start --uri file:./etc/flagd/feature-flags.json volumes: @@ -71,6 +77,8 @@ services: build: context: . dockerfile: pipeline/Dockerfile + profiles: + - full image: pipeline-app container_name: pipeline-app environment: @@ -96,6 +104,18 @@ services: condition: service_healthy flagd: condition: service_started + mock-api: + image: stoplight/prism:5 + profiles: + - mock + command: mock /spec/pipeline-service.yaml -h 0.0.0.0 --dynamic --multiprocess=false + volumes: + - ./apis/openapi-spec/pipeline-service.yaml:/spec/pipeline-service.yaml + ports: + - "4010:4010" + networks: + - app + pipeline-ui: build: context: . @@ -106,11 +126,41 @@ services: VITE_KC_URL: http://auth-service:8080 VITE_KC_REALM: SpringBootRealm VITE_KC_CLIENTID: pipeline-app + profiles: + - full image: pipeline-ui ports: - - "3000:3000" + - "3001:3000" networks: - app depends_on: pipeline-app: condition: service_started + + pipeline-ui-mock: + build: + context: . + dockerfile: pipeline-ui/Dockerfile + args: + ENV_FILE: .env.local-with-mock + profiles: + - mock + ports: + - "3001:3000" + networks: + - app + depends_on: + - mock-api + + pipeline-ui-e2e: + build: + context: . + dockerfile: pipeline-ui/Dockerfile + args: + ENV_FILE: .env.local-e2e + profiles: + - e2e + ports: + - "3001:3000" + networks: + - app From b2c3f54032e966d3602d8dc86f96a07889aba071 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Wed, 2 Dec 2026 16:34:40 +0530 Subject: [PATCH 16/18] updated environment variable defaults in docker-compose.yml for better compatibility --- docker-compose.yml | 37 ++++++++++++------------------------- pipeline-ui/.env.local-e2e | 8 +++++++- 2 files changed, 19 insertions(+), 26 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c5dc24e4..c2e690c3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,10 +13,10 @@ services: - full container_name: mysql-db environment: - MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} + MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:-} MYSQL_DATABASE: pipeline - MYSQL_USER: ${DB_USERNAME} - MYSQL_PASSWORD: ${DB_PASSWORD} + MYSQL_USER: ${DB_USERNAME:-} + MYSQL_PASSWORD: ${DB_PASSWORD:-} ports: - "3306:3306" volumes: @@ -36,10 +36,10 @@ services: environment: KEYCLOAK_ADMIN: admin KEYCLOAK_ADMIN_PASSWORD: admin - KC_DB: ${DB} - KC_DB_URL: ${DB_URL} - KC_DB_USERNAME: ${DB_USERNAME} - KC_DB_PASSWORD: ${DB_PASSWORD} + KC_DB: ${DB:-} + KC_DB_URL: ${DB_URL:-} + KC_DB_USERNAME: ${DB_USERNAME:-} + KC_DB_PASSWORD: ${DB_PASSWORD:-} KC_HOSTNAME: http://localhost:8180 KC_HOSTNAME_STRICT: false KC_HEALTH_ENABLED: true @@ -83,9 +83,9 @@ services: container_name: pipeline-app environment: SPRING_PROFILES_ACTIVE: demo - DB_URL: ${DB_URL} - DB_USER: ${DB_USERNAME} - DB_PASSWORD: ${DB_PASSWORD} + DB_URL: ${DB_URL:-} + DB_USER: ${DB_USERNAME:-} + DB_PASSWORD: ${DB_PASSWORD:-} AUTH_HOST: auth-service AUTH_PORT: 8080 OTEL_SERVICE_NAME: pipeline-app @@ -121,9 +121,9 @@ services: context: . dockerfile: pipeline-ui/Dockerfile args: - VITE_API_BASE_URL: http://pipeline-app:8080/api/v1 + VITE_API_BASE_URL: http://localhost:8080/api/v1 VITE_IDP: keycloak - VITE_KC_URL: http://auth-service:8080 + VITE_KC_URL: http://localhost:8180 VITE_KC_REALM: SpringBootRealm VITE_KC_CLIENTID: pipeline-app profiles: @@ -151,16 +151,3 @@ services: - app depends_on: - mock-api - - pipeline-ui-e2e: - build: - context: . - dockerfile: pipeline-ui/Dockerfile - args: - ENV_FILE: .env.local-e2e - profiles: - - e2e - ports: - - "3001:3000" - networks: - - app diff --git a/pipeline-ui/.env.local-e2e b/pipeline-ui/.env.local-e2e index 3399d1ec..05fb9267 100644 --- a/pipeline-ui/.env.local-e2e +++ b/pipeline-ui/.env.local-e2e @@ -3,4 +3,10 @@ VITE_API_BASE_URL=http://localhost:8080/api/v1 VITE_IDP=keycloak VITE_KC_URL=http://localhost:8180 VITE_KC_REALM=SpringBootRealm -VITE_KC_CLIENTID=pipeline-app \ No newline at end of file +VITE_KC_CLIENTID=pipeline-app + +DB=mysql +DB_URL=jdbc:mysql://mysql-db:3306/pipeline?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC +DB_USERNAME=testuser +DB_PASSWORD=testpass +DB_ROOT_PASSWORD=root \ No newline at end of file From b7f3ff85c263aa6e6458f29ba176be9ded87446f Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Wed, 2 Dec 2026 16:51:24 +0530 Subject: [PATCH 17/18] updated required fields in Pipeline and PipelineBuild schemas --- apis/openapi-spec/pipeline-service.yaml | 38 +++++++++---------------- 1 file changed, 14 insertions(+), 24 deletions(-) diff --git a/apis/openapi-spec/pipeline-service.yaml b/apis/openapi-spec/pipeline-service.yaml index c4ef7451..ac7dbcfa 100644 --- a/apis/openapi-spec/pipeline-service.yaml +++ b/apis/openapi-spec/pipeline-service.yaml @@ -246,10 +246,6 @@ components: schemas: Pipeline: type: object - required: - - id - - name - - stages properties: id: type: string @@ -259,15 +255,12 @@ components: type: array items: $ref: "#/components/schemas/Stage" - PipelineBuild: - type: object required: - id - - pipelineId - - pipelineName - - currentState - - stageBuilds - - startedAt + - name + - stages + PipelineBuild: + type: object properties: currentState: type: string @@ -282,13 +275,20 @@ components: type: string pipelineName: type: string - startedAt: - type: string - format: date-time stageBuilds: type: array items: $ref: "#/components/schemas/StageBuild" + startedAt: + type: string + format: date-time + required: + - currentState + - id + - pipelineId + - pipelineName + - stageBuilds + - startedAt PipelineExecuteRequest: type: object properties: @@ -299,10 +299,6 @@ components: - pipelineId Stage: type: object - required: - - id - - name - - scriptType properties: command: type: string @@ -317,12 +313,6 @@ components: format: int32 StageBuild: type: object - required: - - id - - stageId - - stageName - - currentState - - stageOrder properties: currentState: type: string From 562bd89e6d24a078b0ba5683719a62e7e3a87b00 Mon Sep 17 00:00:00 2001 From: Baibhab23 Date: Wed, 2 Dec 2026 16:55:19 +0530 Subject: [PATCH 18/18] removed ts-nocheck generation from client code build process --- pipeline-ui/Dockerfile | 2 +- pipeline-ui/package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pipeline-ui/Dockerfile b/pipeline-ui/Dockerfile index 91f4f65e..c5c2dedc 100644 --- a/pipeline-ui/Dockerfile +++ b/pipeline-ui/Dockerfile @@ -14,7 +14,7 @@ COPY pipeline-ui/tsconfig*.json ./ COPY pipeline-ui/tailwind.config.js pipeline-ui/postcss.config.js ./ COPY pipeline-ui/openapitools.json . COPY apis/openapi-spec /apis/openapi-spec -RUN npm run generate:client-code && npm run generate:add-ts-nocheck +RUN npm run generate:client-code # Copy all env files so they are available as an optional override. # Pass --build-arg ENV_FILE=.env.local-e2e to use a specific env file; # omit it to fall back to the defaults below. diff --git a/pipeline-ui/package.json b/pipeline-ui/package.json index 1f907936..7f9f3454 100644 --- a/pipeline-ui/package.json +++ b/pipeline-ui/package.json @@ -16,8 +16,7 @@ "test:coverage-pipeline": "vitest run --coverage --no-color", "generate:clean": "rm -rf ./src/gen", "generate:client-code": "openapi-generator-cli generate", - "generate:add-ts-nocheck": "find src/gen -name '*.ts' | xargs sed -i'' -e '1s|^|// @ts-nocheck\\n|'", - "generate:clean-client-code": "npm run generate:clean && npm run generate:client-code && npm run generate:add-ts-nocheck" + "generate:clean-client-code": "npm run generate:clean && npm run generate:client-code" }, "dependencies": { "@radix-ui/react-navigation-menu": "^1.2.14",