/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | packageJsonInfo.ts | 20 const packageJson: File = { constant 32 host.writeFile(packageJson.path, packageJson.content); 41 host.writeFile(packageJson.path, JSON.stringify({ 56 host.deleteFile(packageJson.path); 64 host.writeFile("/src/package.json", packageJson.content); 71 …const { projectService, host } = setup([tsConfig, { path: packageJson.path, content: packageJsonCo… 76 host.writeFile(packageJson.path, packageJson.content); 88 …const { projectService, host } = setup([tsConfig, { path: packageJson.path, content: packageJsonCo… 93 host.writeFile(packageJson.path, packageJson.content); 104 function setup(files: readonly File[] = [tsConfig, packageJson]) {
|
D | autoImportProvider.ts | 22 const packageJson: File = { constant 37 { path: packageJson.path, content: `{ "dependencies": {} }` }, 49 packageJson, 76 …, updateFile } = setup([angularFormsDts, angularFormsPackageJson, tsconfig, packageJson, indexTs]); 104 host.writeFile(packageJson.path, packageJson.content); 113 packageJson, 132 packageJson, 163 host.writeFile(packageJson.path, packageJson.content); 175 packageJson, 202 packageJson, [all …]
|
D | typingsInstaller.ts | 106 const packageJson = { constant 120 const host = createServerHost([file1, tsconfig, packageJson]); 150 const packageJson = { constant 164 const host = createServerHost([file1, packageJson]); 569 const packageJson = { constant 596 … const host = createServerHost([lodashJs, commanderJs, file3dts, packageJson, customTypesMap]); 647 const packageJson = { constant 679 … const host = createServerHost([lodashJs, commanderJs, file3, packageJson, customTypesMap]); 1308 const packageJson = { constant 1342 … const host = createServerHost([file1, packageJson, jquery, cacheConfig, cacheLockConfig]); [all …]
|
D | exportMapCache.ts | 2 const packageJson: File = { constant 125 …const host = createServerHost([aTs, bTs, ambientDeclaration, tsconfig, packageJson, mobxPackageJso…
|
D | moduleSpecifierCache.ts | 2 const packageJson: File = { constant 127 …eateServerHost([aTs, bTs, cTs, bSymlink, ambientDeclaration, tsconfig, packageJson, mobxPackageJso…
|
D | partialSemanticServer.ts | 198 const packageJson: File = { constant 206 … createServerHost([angularFormsDts, angularFormsPackageJson, tsconfig, packageJson, indexTs, libFi…
|
D | cachingFileSystemInformation.ts | 360 const packageJson: File = getRootedFileOrFolder({ constant 385 const host = createServerHost([app, libFile, tsconfigJson, packageJson]);
|
/third_party/node/deps/npm/test/lib/commands/ |
D | ci.js | 19 const packageJson = { 63 'package.json': JSON.stringify(packageJson), 86 'package.json': JSON.stringify(packageJson), 118 ...packageJson, 142 'package.json': JSON.stringify(packageJson), 173 'package.json': JSON.stringify(packageJson), 196 ...packageJson,
|
/third_party/typescript/tests/baselines/reference/ |
D | importCallExpressionInUMD5.symbols | 13 const packageJson = await import(packageName + '/package.json'); 14 >packageJson : Symbol(packageJson, Decl(1.ts, 3, 9))
|
D | importCallExpressionInUMD5.types | 15 const packageJson = await import(packageName + '/package.json'); 16 >packageJson : any
|
D | importCallExpressionInUMD5.js | 10 const packageJson = await import(packageName + '/package.json'); 56 …const packageJson = yield (_a = packageName + '/package.json', __syncRequire ? Promise.resolve().t…
|
/third_party/typescript/src/webServer/ |
D | webServer.ts | 168 let packageJson: any | undefined; 171 packageJson = await packageJsonResponse.json(); 177 const browser = packageJson.browser;
|
/third_party/typescript/src/typingsInstallerCore/ |
D | typingsInstaller.ts | 221 const packageJson = combinePaths(cacheLocation, "package.json"); constant 224 this.log.writeLine(`Trying to find '${packageJson}'...`); 226 …if (this.installTypingHost.fileExists(packageJson) && this.installTypingHost.fileExists(packageLoc… 227 …const npmConfig = JSON.parse(this.installTypingHost.readFile(packageJson)!) as NpmConfig; // TODO:… 230 … this.log.writeLine(`Loaded content of '${packageJson}': ${JSON.stringify(npmConfig)}`);
|
/third_party/typescript/src/server/ |
D | project.ts | 2173 for (const packageJson of packageJsons) { constant 2174 … packageJson.dependencies?.forEach((_, dependenyName) => addDependency(dependenyName)); 2175 … packageJson.peerDependencies?.forEach((_, dependencyName) => addDependency(dependencyName)); 2192 const packageJson = resolvePackageNameToPackageJson( constant 2198 if (packageJson) { 2199 … const entrypoints = getRootNamesFromPackageJson(packageJson, program, symlinkCache); 2231 … if (packageJson && compilerOptions.allowJs && compilerOptions.maxNodeModuleJsDepth) { 2232 …const entrypoints = getRootNamesFromPackageJson(packageJson, program, symlinkCache, /*allowJs*/ tr… 2250 …function getRootNamesFromPackageJson(packageJson: PackageJsonInfo, program: Program, symlinkCache:… 2252 packageJson, [all …]
|
D | session.ts | 1381 …const packageJson = getPackageScopeForPath(getNormalizedAbsolutePath(packageDirectory + "/package.… constant 1382 if (!packageJson) return undefined; 1387 packageJson,
|
/third_party/typescript/src/services/ |
D | stringCompletions.ts | 491 …const packageJson = readJson(packageJsonPath, host as { readFile: (filename: string) => string | u… constant 492 const typesVersions = (packageJson as any).typesVersions; 701 const packageJson = readJson(packageFile, host); constant 702 const exports = (packageJson as any).exports; 900 for (const packageJson of findPackageJsons(scriptPath, host)) { constant 901 …const typesDir = combinePaths(getDirectoryPath(packageJson), isOhpm(options.packageManagerType) ? … 935 for (const packageJson of findPackageJsons(scriptPath, host)) { constant 936 …const contents = readJson(packageJson, host as { readFile: (filename: string) => string | undefine…
|
D | utilities.ts | 3004 let packageJson: string | undefined; 3009 packageJson = findConfigFile(ancestor, (f) => tryFileExists(host, f), packageJsonType); 3010 if (packageJson) { 3014 return packageJson; 3110 for (const packageJson of packageJsons) { constant 3111 … if (packageJson.has(packageName) || packageJson.has(getTypesPackageName(packageName))) {
|
/third_party/typescript/tests/cases/conformance/dynamicImport/ |
D | importCallExpressionInUMD5.ts | 11 const packageJson = await import(packageName + '/package.json'); constant
|
/third_party/typescript/src/testRunner/unittests/ |
D | moduleResolution.ts | 136 … const packageJson = { name: packageJsonFileName, content: JSON.stringify({ typings: fieldRef }) }; constant 138 …name, {}, createModuleResolutionHost(hasDirectoryExists, containingFile, packageJson, moduleFile)); 159 …const packageJson = { name: "/node_modules/b/package.json", content: JSON.stringify({ typings }) }; constant 165 …me, {}, createModuleResolutionHost(hasDirectoryExists, containingFile, packageJson, moduleFile, in… 184 … const packageJson = { name: "/a/b/foo/package.json", content: JSON.stringify({ main: "/c/d" }) }; constant 186 ….name, {}, createModuleResolutionHost(hasDirectoryExists, containingFile, packageJson, indexFile));
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 132171 var packageJson = ts.combinePaths(cacheLocation, "package.json"); 132174 this.log.writeLine("Trying to find '".concat(packageJson, "'...")); 132176 …if (this.installTypingHost.fileExists(packageJson) && this.installTypingHost.fileExists(packageLoc… 132177 … var npmConfig = JSON.parse(this.installTypingHost.readFile(packageJson)); // TODO: GH#18217 132180 …this.log.writeLine("Loaded content of '".concat(packageJson, "': ").concat(JSON.stringify(npmConfi…
|