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 esbuild from 'esbuild';
import ts from 'typescript';
import threads from 'node:worker_threads';
import path from 'node:path';
import Vinyl from 'vinyl';
import { cpus } from 'node:os';
import { getTargetStringFromTsConfig } from '../tsconfigUtils.ts';
interface TranspileReq {
readonly tsSrcs: string[];
readonly options: ts.TranspileOptions;
}
interface TranspileRes
jsSrcs
diagnostics tsDiagnostic
tsSrc options tsTranspileOptions jsSrc diag tsDiagnostic
isAmd tsSrc
isAmd optionscompilerOptionsmodule tsModuleKind
options options compilerOptions optionscompilerOptions module tsModuleKindNone
out tstsSrc options
jsSrc outoutputText
diag outdiagnostics
threadsisMainThread
threadsparentPort req TranspileReq
res TranspileRes
jsSrcs
diagnostics
tsSrc reqtsSrcs
out tsSrc reqoptions
resjsSrcsoutjsSrc
resdiagnosticsoutdiag
threadsparentPortres
name
cmdLine tsParsedCommandLine configFilePath
ts
path
commandLine tsParsedCommandLine inputFileName ignoreCase
file
file ts InternalTsApifile
cmdLineoptionsconfigFilePath
cmdLineoptionsconfigFilePath configFilePath
isDts file
isDts
file file
cmdLinefileNamesfile
outfile ts InternalTsApicmdLine file
isDts
cmdLinefileNames
outfile
err
file cmdLinefileNames
err
err
pool
id TranspileWorkerpool
_worker metafilename
_pending resolve reject file Vinyl options tsTranspileOptions t1
_durations
fileName
_worker res TranspileRes
_pending
resolve reject files options t1 _pending
outFiles Vinyl
diag tsDiagnostic
i i resjsSrcslength i
file filesi
jsSrc resjsSrcsi
diag resdiagnosticsi
diaglength
diagdiag
SuffixTypes
Dts
Ts
Unknown
suffixLen filepath SuffixTypesDts
filepath SuffixTypesTs
SuffixTypesUnknown
suffixLen SuffixTypesDts jsSrc
outBase optionscompilerOptionsoutDir filebase
outPath filepath
outFiles
path outPath
base outBase
contents BufferjsSrc
_pending
_durationsDate t1
diaglength
diag
outFiles
_worker
_pending
files Vinyl options tsTranspileOptions
_pending
resolve reject
_pending resolve reject files options Date
req TranspileReq
options
tsSrcs filesfile filecontents
_workerreq
onOutfile file Vinyl
file Vinyl
Mathlength
_outputFileNames OutputFileNameOracle
onOutfile file Vinyl
_workerPool TranspileWorker
_queue Vinyl
_allJobs
topic message
err
_cmdLine tsParsedCommandLine
topic message
err
configFilePath
cmdLine tsParsedCommandLine
_logFn logFn
_onError onError
_cmdLine cmdLine
_outputFileNames _cmdLine configFilePath
_allJobs
_allJobslength
_workerPoolw w
_workerPoollength
file Vinyl
_cmdLineoptionsnoEmit
newLen _queuefile
newLen TscTranspiler
_queuelength
_workerPoollength
i i TscTranspiler i
_workerPool file _outputFileNamesfile
freeWorker _workerPoolw wisBusy
freeWorkerlength
worker freeWorker
_queuelength
job resolve
files _queue TscTranspiler
fileslength
workerfiles compilerOptions _cmdLineoptions outFiles
onOutfile
outFilesonOutfile
err
err
_allJobsjob
_outputFileNames OutputFileNameOracle
_jobs
onOutfile file Vinyl
_transformOpts esbuildTransformOptions
topic message
err
_cmdLine tsParsedCommandLine
topic message
err
configFilePath
cmdLine tsParsedCommandLine
_logFn logFn
_onError onError
_cmdLine cmdLine
_outputFileNames _cmdLine configFilePath
isExtension configFilePathpathsep
target configFilePath
_transformOpts
target target
format isExtension
platform isExtension
loader
sourcemap
tsconfigRaw
compilerOptions
_cmdLineoptions
module isExtension tsModuleKindCommonJS
satisfies tsCompilerOptions
supported
isExtension
isExtension
jobs _jobs
_jobslength
jobs
file Vinyl
filecontents
t1 Date
_jobsesbuildfilecontents
_transformOpts
sourcefile filepath
result
filepath resultcode
outBase _cmdLineoptionsoutDir filebase
outPath _outputFileNamesfilepath
onOutfile
path outPath
base outBase
contents Bufferresultcode
err
err
src
src
length