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
1.6 KiB
1.6 KiB
description, disable-model-invocation
| description | disable-model-invocation |
|---|---|
| 선호하는 패키지 매니저(npm/pnpm/yarn/bun) 설정 | true |
패키지 매니저 설정
프로젝트 또는 전역으로 선호하는 패키지 매니저를 설정합니다.
사용법
# 현재 패키지 매니저 감지
node scripts/setup-package-manager.js --detect
# 전역 설정
node scripts/setup-package-manager.js --global pnpm
# 프로젝트 설정
node scripts/setup-package-manager.js --project bun
# 사용 가능한 패키지 매니저 목록
node scripts/setup-package-manager.js --list
감지 우선순위
패키지 매니저를 결정할 때 다음 순서로 확인합니다:
- 환경 변수:
CLAUDE_PACKAGE_MANAGER - 프로젝트 설정:
.claude/package-manager.json - package.json:
packageManager필드 - 락 파일: package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb의 존재 여부
- 전역 설정:
~/.claude/package-manager.json - 폴백:
npm
설정 파일
전역 설정
// ~/.claude/package-manager.json
{
"packageManager": "pnpm"
}
프로젝트 설정
// .claude/package-manager.json
{
"packageManager": "bun"
}
package.json
{
"packageManager": "pnpm@8.6.0"
}
환경 변수
CLAUDE_PACKAGE_MANAGER를 설정하면 다른 모든 감지 방법을 무시합니다:
# Windows (PowerShell)
$env:CLAUDE_PACKAGE_MANAGER = "pnpm"
# macOS/Linux
export CLAUDE_PACKAGE_MANAGER=pnpm
감지 실행
현재 패키지 매니저 감지 결과를 확인하려면 다음을 실행하세요:
node scripts/setup-package-manager.js --detect