fix: replace corepack pnpm with pnpm in pretest/predev scripts

Node 25 removed corepack as a built-in. Replace all 'corepack pnpm'
invocations with direct 'pnpm' calls since pnpm is installed globally.

Affected: platform-service, tracker-web, blob, testing, LLM dashboard
This commit is contained in:
saravanakumardb1 2026-03-19 19:57:16 -07:00
parent 16dc1c4a79
commit 6ba86e0bf4
5 changed files with 7 additions and 6 deletions

View File

@ -3,8 +3,8 @@
"version": "0.1.0",
"private": true,
"scripts": {
"predev": "corepack pnpm --dir ../.. --filter @bytelyst/llm-router build",
"prebuild": "corepack pnpm --dir ../.. --filter @bytelyst/llm-router build",
"predev": "pnpm --dir ../.. --filter @bytelyst/llm-router build",
"prebuild": "pnpm --dir ../.. --filter @bytelyst/llm-router build",
"dev": "next dev",
"build": "next build",
"start": "next start",

View File

@ -6,7 +6,7 @@
"node": "20.x"
},
"scripts": {
"pretest": "corepack pnpm --dir ../.. --filter @bytelyst/api-client --filter @bytelyst/config --filter @bytelyst/errors --filter @bytelyst/logger --filter @bytelyst/telemetry-client build",
"pretest": "pnpm --dir ../.. --filter @bytelyst/api-client --filter @bytelyst/config --filter @bytelyst/errors --filter @bytelyst/logger --filter @bytelyst/telemetry-client build",
"dev": "next dev --port 3003",
"build": "next build --webpack",
"start": "next start --port 3003",
@ -28,6 +28,7 @@
"@azure/keyvault-secrets": "^4.10.0",
"@bytelyst/api-client": "workspace:*",
"@bytelyst/config": "workspace:*",
"@bytelyst/dashboard-components": "workspace:*",
"@bytelyst/errors": "workspace:*",
"@bytelyst/telemetry-client": "workspace:*",
"@bytelyst/logger": "workspace:*",

View File

@ -14,7 +14,7 @@
"dist"
],
"scripts": {
"pretest": "corepack pnpm --dir ../.. --filter @bytelyst/storage build",
"pretest": "pnpm --dir ../.. --filter @bytelyst/storage build",
"build": "tsc",
"test": "vitest run"
},

View File

@ -14,7 +14,7 @@
"dist"
],
"scripts": {
"pretest": "corepack pnpm --dir ../.. --filter @bytelyst/fastify-core build",
"pretest": "pnpm --dir ../.. --filter @bytelyst/fastify-core build",
"build": "tsc",
"test": "vitest run"
},

View File

@ -8,7 +8,7 @@
"dev": "tsx watch src/server.ts",
"build": "tsc",
"start": "node dist/server.js",
"pretest": "corepack pnpm --dir ../.. --filter @bytelyst/auth --filter @bytelyst/blob --filter @bytelyst/storage --filter @bytelyst/config --filter @bytelyst/cosmos --filter @bytelyst/datastore --filter @bytelyst/errors --filter @bytelyst/queue --filter @bytelyst/events --filter @bytelyst/fastify-core build",
"pretest": "pnpm --dir ../.. --filter @bytelyst/auth --filter @bytelyst/blob --filter @bytelyst/storage --filter @bytelyst/config --filter @bytelyst/cosmos --filter @bytelyst/datastore --filter @bytelyst/errors --filter @bytelyst/queue --filter @bytelyst/events --filter @bytelyst/fastify-core build",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src/",