Files
wehub-resource-sync d48cda4081
CI / Test (ubuntu-latest, Node 18.x, bun) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, npm) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, pnpm) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, yarn) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 20.x, bun) (push) Failing after 17m13s
CI / Test (ubuntu-latest, Node 20.x, npm) (push) Failing after 18m42s
CI / Test (ubuntu-latest, Node 20.x, pnpm) (push) Failing after 15m0s
CI / Test (ubuntu-latest, Node 20.x, yarn) (push) Failing after 49m44s
CI / Test (ubuntu-latest, Node 22.x, bun) (push) Failing after 51m55s
CI / Test (ubuntu-latest, Node 22.x, pnpm) (push) Failing after 21m57s
CI / Test (ubuntu-latest, Node 22.x, npm) (push) Failing after 37m39s
CI / Test (ubuntu-latest, Node 22.x, yarn) (push) Failing after 34m7s
CI / Validate Components (push) Failing after 37m15s
CI / Python Tests (push) Failing after 10m1s
CI / Security Scan (push) Failing after 10m1s
CI / Lint (push) Failing after 17m12s
CI / Coverage (push) Failing after 20m19s
CI / Test (macos-latest, Node 18.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, yarn) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, yarn) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, yarn) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:55:55 +08:00

1.8 KiB
Raw Permalink Blame History

description, disable-model-invocation
description disable-model-invocation
Tercih ettiğiniz paket yöneticisini yapılandırın (npm/pnpm/yarn/bun) true

Paket Yöneticisi Kurulumu

Bu proje veya global olarak tercih ettiğiniz paket yöneticisini yapılandırın.

Kullanım

# Mevcut paket yöneticisini tespit et
node scripts/setup-package-manager.js --detect

# Global tercihi ayarla
node scripts/setup-package-manager.js --global pnpm

# Proje tercihini ayarla
node scripts/setup-package-manager.js --project bun

# Mevcut paket yöneticilerini listele
node scripts/setup-package-manager.js --list

Tespit Önceliği

Hangi paket yöneticisinin kullanılacağını belirlerken, şu sıra kontrol edilir:

  1. Environment variable: CLAUDE_PACKAGE_MANAGER
  2. Proje config: .claude/package-manager.json
  3. package.json: packageManager alanı
  4. Lock dosyası: package-lock.json, yarn.lock, pnpm-lock.yaml veya bun.lockb varlığı
  5. Global config: ~/.claude/package-manager.json
  6. Fallback: İlk mevcut paket yöneticisi (pnpm > bun > yarn > npm)

Yapılandırma Dosyaları

Global Yapılandırma

// ~/.claude/package-manager.json
{
  "packageManager": "pnpm"
}

Proje Yapılandırması

// .claude/package-manager.json
{
  "packageManager": "bun"
}

package.json

{
  "packageManager": "pnpm@8.6.0"
}

Environment Variable

Tüm diğer tespit yöntemlerini geçersiz kılmak için CLAUDE_PACKAGE_MANAGER ayarlayın:

# Windows (PowerShell)
$env:CLAUDE_PACKAGE_MANAGER = "pnpm"

# macOS/Linux
export CLAUDE_PACKAGE_MANAGER=pnpm

Tespiti Çalıştır

Mevcut paket yöneticisi tespit sonuçlarını görmek için şunu çalıştırın:

node scripts/setup-package-manager.js --detect