본문으로 건너뛰기
버전: 11.x

pnpm outdated

오래된 패키지를 확인합니다. 검사는 인수를 제공하여 설치된 패키지의 하위 집합으로 제한될 수 있습니다 (패턴이 지원됨).

예시:

pnpm outdated
pnpm outdated "*gulp-*" @babel/core

옵션​

--recursive, -r​

하위 디렉토리에 있는 모든 패키지에서 오래된 의존성을 확인하거나 워크스페이스 내에서 모든 워크스페이스 패키지에서 오래된 의존성을 확인하십시오.

--filter <package_selector>​

Read more about filtering.

--global, -g​

오래된 글로벌 패키지를 나열합니다.

--long​

세부 정보를 출력합니다.

--format <format>​

  • Default: table
  • Type: table, list, json

Prints the outdated dependencies in the given format.

--compatible​

Prints only versions that satisfy specifications in package.json.

--dev, -D​

Checks only devDependencies.

--prod, -P​

Checks only dependencies and optionalDependencies.

--no-optional​

Doesn't check optionalDependencies.

--sort-by​

Specifies the order in which the output results are sorted. Currently only the value name is accepted.

--include-github-actions​

Added in: v11.16.0

Also check the GitHub Actions referenced by the repository's workflow files for updates. You can enable this by default by setting update.githubActions to true in pnpm-workspace.yaml. See Updating GitHub Actions.