Skip to content

Commit cc241ae

Browse files
authored
feat: detect pnpm package.yaml
Detect the use of [`package.yaml`](pnpm/pnpm#1799) as `pnpm`.
1 parent edd862f commit cc241ae

File tree

1 file changed

+1
-1
lines changed
  • packages/detect-pm/src/internals

1 file changed

+1
-1
lines changed

packages/detect-pm/src/internals/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const findManifestInDirectory = (directory: string): Manifest | null => {
4343

4444
const PACKAGE_MANAGERS_FILES = {
4545
npm: ['package-lock.json'],
46-
pnpm: ['pnpm-lock.yaml', 'pnpm-workspaces.yaml', 'pnpmfile.js'],
46+
pnpm: ['pnpm-lock.yaml', 'pnpm-workspaces.yaml', 'pnpmfile.js', 'package.yaml'],
4747
yarn: ['yarn.lock', '.yarnrc.yml']
4848
};
4949

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy