From d1cc9125bbd5d233b33b7f934a78d80b209f3c66 Mon Sep 17 00:00:00 2001 From: Shinyaigeek Date: Thu, 11 Jun 2026 20:18:01 +0900 Subject: [PATCH] chore(react-ui): replace concurrently with pnpm regex script runner Drop the `concurrently` devDependency from `@openuidev/react-ui` and run the watch tasks through pnpm's built-in regex script runner instead. The single `watch` script is split into `watch:build`, `watch:tsc`, and `watch:scss`, and `watch` now runs them all in parallel via `pnpm run --parallel "/^watch:/"`. The underlying commands are unchanged. See pnpm's "Running multiple scripts" docs: https://pnpm.io/cli/run#running-multiple-scripts Removes `concurrently@9.2.0` (and its now-unused `rxjs@7.8.2`) from the lockfile. Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/react-ui/package.json | 6 ++++-- pnpm-lock.yaml | 25 ------------------------- 2 files changed, 4 insertions(+), 27 deletions(-) diff --git a/packages/react-ui/package.json b/packages/react-ui/package.json index c81bc9518..df5058f19 100644 --- a/packages/react-ui/package.json +++ b/packages/react-ui/package.json @@ -71,7 +71,10 @@ "build:scss": "sass src:dist --style compressed --no-source-map", "storybook": "storybook dev -p 6006", "build:storybook": "storybook build -o ../../../docs/static/ui", - "watch": "concurrently \"pnpm run build --watch\" \"pnpm run build:tsc --watch\" \"pnpm run build:scss --watch\"", + "watch": "pnpm run --parallel \"/^watch:/\"", + "watch:build": "pnpm run build --watch", + "watch:tsc": "pnpm run build:tsc --watch", + "watch:scss": "pnpm run build:scss --watch", "lint:check": "eslint ./src", "lint:fix": "eslint ./src --fix", "format:fix": "prettier --write ./src", @@ -141,7 +144,6 @@ "@types/react-dom": ">=19.0.0", "@types/react-syntax-highlighter": "^15.5.13", "@typescript-eslint/eslint-plugin": "catalog:", - "concurrently": "^9.2.0", "eslint": "catalog:", "eslint-config-prettier": "catalog:", "eslint-plugin-prettier": "catalog:", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c76ef80d3..a67d9b05f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1545,9 +1545,6 @@ importers: '@typescript-eslint/eslint-plugin': specifier: 'catalog:' version: 8.59.4(@typescript-eslint/parser@8.59.4(eslint@9.29.0(jiti@2.7.0))(typescript@5.9.3))(eslint@9.29.0(jiti@2.7.0))(typescript@5.9.3) - concurrently: - specifier: ^9.2.0 - version: 9.2.0 eslint: specifier: 'catalog:' version: 9.29.0(jiti@2.7.0) @@ -9828,11 +9825,6 @@ packages: concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - concurrently@9.2.0: - resolution: {integrity: sha512-IsB/fiXTupmagMW4MNp2lx2cdSN2FfZq78vF90LBB+zZHArbIQZjQtzXCiXnvTxCZSvXanTqFLWBjw2UkLx1SQ==} - engines: {node: '>=18'} - hasBin: true - confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} @@ -14704,9 +14696,6 @@ packages: rxjs@7.8.1: resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} - rxjs@7.8.2: - resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==} - sade@1.8.1: resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} engines: {node: '>=6'} @@ -26808,16 +26797,6 @@ snapshots: concat-map@0.0.1: {} - concurrently@9.2.0: - dependencies: - chalk: 4.1.2 - lodash: 4.18.1 - rxjs: 7.8.2 - shell-quote: 1.8.3 - supports-color: 8.1.1 - tree-kill: 1.2.2 - yargs: 17.7.2 - confbox@0.1.8: {} confbox@0.2.4: {} @@ -33382,10 +33361,6 @@ snapshots: dependencies: tslib: 2.8.1 - rxjs@7.8.2: - dependencies: - tslib: 2.8.1 - sade@1.8.1: dependencies: mri: 1.2.0