mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
bun.lock
This commit is contained in:
@@ -28,6 +28,10 @@ async function isBunPreferred(pkgPath: string): Promise<PreferredProperties> {
|
||||
return { isPreferred: true, hasLockfile: true };
|
||||
}
|
||||
|
||||
if (await pathExists(path.join(pkgPath, 'bun.lock'))) {
|
||||
return { isPreferred: true, hasLockfile: true };
|
||||
}
|
||||
|
||||
return { isPreferred: false, hasLockfile: false };
|
||||
}
|
||||
|
||||
|
||||
@@ -619,7 +619,7 @@ configurationRegistry.registerConfiguration({
|
||||
'*.jsx': '${capture}.js',
|
||||
'*.tsx': '${capture}.ts',
|
||||
'tsconfig.json': 'tsconfig.*.json',
|
||||
'package.json': 'package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb',
|
||||
'package.json': 'package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, bun.lock',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user