ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import findWorkspaceRoot = require('../node_modules/find-yarn-workspace-root');
import findUp from 'find-up';
import * as path from 'path';
import whichPM from 'which-pm';
import { Uri, workspace } from 'vscode';
interface PreferredProperties {
isPreferred: boolean;
hasLockfile: boolean;
}
async function pathExists(filePath: string) {
try {
workspacefsUrifilePath
pkgPath PreferredProperties
pathpkgPath
isPreferred hasLockfile
pathpkgPath
isPreferred hasLockfile
isPreferred hasLockfile
pkgPath PreferredProperties
pathpkgPath
isPreferred hasLockfile
pathpkgPath
isPreferred hasLockfile
cwd pkgPath
isPreferred hasLockfile
isPreferred hasLockfile
pkgPath PreferredProperties
pathpkgPath
isPreferred hasLockfile
pkgPath
isPreferred hasLockfile
err
isPreferred hasLockfile
pkgPath PreferredProperties
lockfileExists pathpkgPath
isPreferred lockfileExists hasLockfile lockfileExists
pkgPath name multipleLockFilesDetected
detectedPackageManagerNames
detectedPackageManagerProperties PreferredProperties
npmPreferred pkgPath
npmPreferredisPreferred
detectedPackageManagerNames
detectedPackageManagerPropertiesnpmPreferred
pnpmPreferred pkgPath
pnpmPreferredisPreferred
detectedPackageManagerNames
detectedPackageManagerPropertiespnpmPreferred
yarnPreferred pkgPath
yarnPreferredisPreferred
detectedPackageManagerNames
detectedPackageManagerPropertiesyarnPreferred
bunPreferred pkgPath
bunPreferredisPreferred
detectedPackageManagerNames
detectedPackageManagerPropertiesbunPreferred
pmUsedForInstallation name pkgPath
pmUsedForInstallation detectedPackageManagerNamespmUsedForInstallationname
detectedPackageManagerNamespmUsedForInstallationname
detectedPackageManagerProperties isPreferred hasLockfile
lockfilesCount
detectedPackageManagerPropertiesdetected lockfilesCount detectedhasLockfile
name detectedPackageManagerNames
multipleLockFilesDetected lockfilesCount