1Build of project 2Output:: 3 4//// [/user/username/projects/core/tsconfig.json] 5{ 6 "compilerOptions": { 7 "composite": true, 8 "declaration": true, 9 "declarationMap": true, 10 "skipDefaultLibCheck": true 11 } 12} 13 14//// [/user/username/projects/core/index.ts] 15export const someString: string = "HELLO WORLD"; 16export function leftPad(s: string, n: number) { return s + n; } 17export function multiply(a: number, b: number) { return a * b; } 18 19 20//// [/user/username/projects/core/some_decl.d.ts] 21declare const dts: any; 22 23 24//// [/user/username/projects/core/anotherModule.ts] 25export const World = "hello"; 26 27 28//// [/user/username/projects/logic/tsconfig.json] 29{ 30 "compilerOptions": { 31 "composite": true, 32 "declaration": true, 33 "sourceMap": true, 34 "forceConsistentCasingInFileNames": true, 35 "skipDefaultLibCheck": true 36 }, 37 "references": [ 38 { "path": "../core" } 39 ] 40} 41 42 43//// [/user/username/projects/logic/index.ts] 44import * as c from '../core/index'; 45export function getSecondsInDay() { 46 return c.multiply(10, 15); 47} 48import * as mod from '../core/anotherModule'; 49export const m = mod; 50 51 52//// [/user/username/projects/tests/tsconfig.json] 53{ 54 "references": [ 55 { "path": "../core" }, 56 { "path": "../logic" } 57 ], 58 "files": ["index.ts"], 59 "compilerOptions": { 60 "composite": true, 61 "declaration": true, 62 "forceConsistentCasingInFileNames": true, 63 "skipDefaultLibCheck": true 64 } 65} 66 67//// [/user/username/projects/tests/index.ts] 68import * as c from '../core/index'; 69import * as logic from '../logic/index'; 70 71c.leftPad("", 10); 72logic.getSecondsInDay(); 73 74import * as mod from '../core/anotherModule'; 75export const m = mod; 76 77 78//// [/a/lib/lib.d.ts] 79/// <reference no-default-lib="true"/> 80interface Boolean {} 81interface Function {} 82interface CallableFunction {} 83interface NewableFunction {} 84interface IArguments {} 85interface Number { toExponential: any; } 86interface Object {} 87interface RegExp {} 88interface String { charAt: any; } 89interface Array<T> { length: number; [n: number]: T; } 90 91//// [/user/username/projects/core/anotherModule.js] 92"use strict"; 93exports.__esModule = true; 94exports.World = void 0; 95exports.World = "hello"; 96 97 98//// [/user/username/projects/core/anotherModule.d.ts.map] 99{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} 100 101//// [/user/username/projects/core/anotherModule.d.ts] 102export declare const World = "hello"; 103//# sourceMappingURL=anotherModule.d.ts.map 104 105//// [/user/username/projects/core/index.js] 106"use strict"; 107exports.__esModule = true; 108exports.multiply = exports.leftPad = exports.someString = void 0; 109exports.someString = "HELLO WORLD"; 110function leftPad(s, n) { return s + n; } 111exports.leftPad = leftPad; 112function multiply(a, b) { return a * b; } 113exports.multiply = multiply; 114 115 116//// [/user/username/projects/core/index.d.ts.map] 117{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} 118 119//// [/user/username/projects/core/index.d.ts] 120export declare const someString: string; 121export declare function leftPad(s: string, n: number): string; 122export declare function multiply(a: number, b: number): number; 123//# sourceMappingURL=index.d.ts.map 124 125//// [/user/username/projects/core/tsconfig.tsbuildinfo] 126{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-2676574883-export const World = \"hello\";\r\n","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9253692965-declare const dts: any;\r\n","affectsGlobalScope":true}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,2,3,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} 127 128//// [/user/username/projects/core/tsconfig.tsbuildinfo.readable.baseline.txt] 129{ 130 "program": { 131 "fileNames": [ 132 "../../../../a/lib/lib.d.ts", 133 "./anothermodule.ts", 134 "./index.ts", 135 "./some_decl.d.ts" 136 ], 137 "fileInfos": { 138 "../../../../a/lib/lib.d.ts": { 139 "version": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 140 "signature": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 141 "affectsGlobalScope": true 142 }, 143 "./anothermodule.ts": { 144 "version": "-2676574883-export const World = \"hello\";\r\n", 145 "signature": "-9234818176-export declare const World = \"hello\";\n" 146 }, 147 "./index.ts": { 148 "version": "-18749805970-export const someString: string = \"HELLO WORLD\";\r\nexport function leftPad(s: string, n: number) { return s + n; }\r\nexport function multiply(a: number, b: number) { return a * b; }\r\n", 149 "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" 150 }, 151 "./some_decl.d.ts": { 152 "version": "-9253692965-declare const dts: any;\r\n", 153 "signature": "-9253692965-declare const dts: any;\r\n", 154 "affectsGlobalScope": true 155 } 156 }, 157 "options": { 158 "composite": true, 159 "declaration": true, 160 "declarationMap": true, 161 "skipDefaultLibCheck": true 162 }, 163 "referencedMap": {}, 164 "exportedModulesMap": {}, 165 "semanticDiagnosticsPerFile": [ 166 "../../../../a/lib/lib.d.ts", 167 "./anothermodule.ts", 168 "./index.ts", 169 "./some_decl.d.ts" 170 ], 171 "latestChangedDtsFile": "./index.d.ts" 172 }, 173 "version": "FakeTSVersion", 174 "size": 1390 175} 176 177//// [/user/username/projects/logic/index.js.map] 178{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} 179 180//// [/user/username/projects/logic/index.js] 181"use strict"; 182exports.__esModule = true; 183exports.m = exports.getSecondsInDay = void 0; 184var c = require("../core/index"); 185function getSecondsInDay() { 186 return c.multiply(10, 15); 187} 188exports.getSecondsInDay = getSecondsInDay; 189var mod = require("../core/anotherModule"); 190exports.m = mod; 191//# sourceMappingURL=index.js.map 192 193//// [/user/username/projects/logic/index.d.ts] 194export declare function getSecondsInDay(): number; 195import * as mod from '../core/anotherModule'; 196export declare const m: typeof mod; 197 198 199//// [/user/username/projects/logic/tsconfig.tsbuildinfo] 200{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} 201 202//// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] 203{ 204 "program": { 205 "fileNames": [ 206 "../../../../a/lib/lib.d.ts", 207 "../core/index.d.ts", 208 "../core/anothermodule.d.ts", 209 "./index.ts" 210 ], 211 "fileNamesList": [ 212 [ 213 "../core/index.d.ts", 214 "../core/anothermodule.d.ts" 215 ], 216 [ 217 "../core/anothermodule.d.ts" 218 ] 219 ], 220 "fileInfos": { 221 "../../../../a/lib/lib.d.ts": { 222 "version": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 223 "signature": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 224 "affectsGlobalScope": true 225 }, 226 "../core/index.d.ts": { 227 "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", 228 "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" 229 }, 230 "../core/anothermodule.d.ts": { 231 "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", 232 "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" 233 }, 234 "./index.ts": { 235 "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", 236 "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" 237 } 238 }, 239 "options": { 240 "composite": true, 241 "declaration": true, 242 "skipDefaultLibCheck": true, 243 "sourceMap": true 244 }, 245 "referencedMap": { 246 "./index.ts": [ 247 "../core/index.d.ts", 248 "../core/anothermodule.d.ts" 249 ] 250 }, 251 "exportedModulesMap": { 252 "./index.ts": [ 253 "../core/anothermodule.d.ts" 254 ] 255 }, 256 "semanticDiagnosticsPerFile": [ 257 "../../../../a/lib/lib.d.ts", 258 "../core/anothermodule.d.ts", 259 "../core/index.d.ts", 260 "./index.ts" 261 ], 262 "latestChangedDtsFile": "./index.d.ts" 263 }, 264 "version": "FakeTSVersion", 265 "size": 1507 266} 267 268//// [/user/username/projects/tests/index.js] 269"use strict"; 270exports.__esModule = true; 271exports.m = void 0; 272var c = require("../core/index"); 273var logic = require("../logic/index"); 274c.leftPad("", 10); 275logic.getSecondsInDay(); 276var mod = require("../core/anotherModule"); 277exports.m = mod; 278 279 280//// [/user/username/projects/tests/index.d.ts] 281import * as mod from '../core/anotherModule'; 282export declare const m: typeof mod; 283 284 285//// [/user/username/projects/tests/tsconfig.tsbuildinfo] 286{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} 287 288//// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] 289{ 290 "program": { 291 "fileNames": [ 292 "../../../../a/lib/lib.d.ts", 293 "../core/index.d.ts", 294 "../core/anothermodule.d.ts", 295 "../logic/index.d.ts", 296 "./index.ts" 297 ], 298 "fileNamesList": [ 299 [ 300 "../core/anothermodule.d.ts" 301 ], 302 [ 303 "../core/index.d.ts", 304 "../core/anothermodule.d.ts", 305 "../logic/index.d.ts" 306 ] 307 ], 308 "fileInfos": { 309 "../../../../a/lib/lib.d.ts": { 310 "version": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 311 "signature": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 312 "affectsGlobalScope": true 313 }, 314 "../core/index.d.ts": { 315 "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", 316 "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" 317 }, 318 "../core/anothermodule.d.ts": { 319 "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", 320 "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" 321 }, 322 "../logic/index.d.ts": { 323 "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", 324 "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" 325 }, 326 "./index.ts": { 327 "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", 328 "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" 329 } 330 }, 331 "options": { 332 "composite": true, 333 "declaration": true, 334 "skipDefaultLibCheck": true 335 }, 336 "referencedMap": { 337 "../logic/index.d.ts": [ 338 "../core/anothermodule.d.ts" 339 ], 340 "./index.ts": [ 341 "../core/index.d.ts", 342 "../core/anothermodule.d.ts", 343 "../logic/index.d.ts" 344 ] 345 }, 346 "exportedModulesMap": { 347 "../logic/index.d.ts": [ 348 "../core/anothermodule.d.ts" 349 ], 350 "./index.ts": [ 351 "../core/anothermodule.d.ts" 352 ] 353 }, 354 "semanticDiagnosticsPerFile": [ 355 "../../../../a/lib/lib.d.ts", 356 "../core/anothermodule.d.ts", 357 "../core/index.d.ts", 358 "../logic/index.d.ts", 359 "./index.ts" 360 ], 361 "latestChangedDtsFile": "./index.d.ts" 362 }, 363 "version": "FakeTSVersion", 364 "size": 1652 365} 366 367 368Project should still be upto date: UpToDate 369non Dts change to logic:: After rebuilding logicConfig 370Output:: 371 372//// [/user/username/projects/logic/index.ts] 373import * as c from '../core/index'; 374export function getSecondsInDay() { 375 return c.multiply(10, 15); 376} 377import * as mod from '../core/anotherModule'; 378export const m = mod; 379function foo() {} 380 381//// [/user/username/projects/logic/index.js.map] 382{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAI,CAAC"} 383 384//// [/user/username/projects/logic/index.js] 385"use strict"; 386exports.__esModule = true; 387exports.m = exports.getSecondsInDay = void 0; 388var c = require("../core/index"); 389function getSecondsInDay() { 390 return c.multiply(10, 15); 391} 392exports.getSecondsInDay = getSecondsInDay; 393var mod = require("../core/anotherModule"); 394exports.m = mod; 395function foo() { } 396//# sourceMappingURL=index.js.map 397 398//// [/user/username/projects/logic/tsconfig.tsbuildinfo] 399{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-2207004071-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} 400 401//// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] 402{ 403 "program": { 404 "fileNames": [ 405 "../../../../a/lib/lib.d.ts", 406 "../core/index.d.ts", 407 "../core/anothermodule.d.ts", 408 "./index.ts" 409 ], 410 "fileNamesList": [ 411 [ 412 "../core/index.d.ts", 413 "../core/anothermodule.d.ts" 414 ], 415 [ 416 "../core/anothermodule.d.ts" 417 ] 418 ], 419 "fileInfos": { 420 "../../../../a/lib/lib.d.ts": { 421 "version": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 422 "signature": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 423 "affectsGlobalScope": true 424 }, 425 "../core/index.d.ts": { 426 "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", 427 "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" 428 }, 429 "../core/anothermodule.d.ts": { 430 "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", 431 "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" 432 }, 433 "./index.ts": { 434 "version": "-2207004071-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}", 435 "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" 436 } 437 }, 438 "options": { 439 "composite": true, 440 "declaration": true, 441 "skipDefaultLibCheck": true, 442 "sourceMap": true 443 }, 444 "referencedMap": { 445 "./index.ts": [ 446 "../core/index.d.ts", 447 "../core/anothermodule.d.ts" 448 ] 449 }, 450 "exportedModulesMap": { 451 "./index.ts": [ 452 "../core/anothermodule.d.ts" 453 ] 454 }, 455 "semanticDiagnosticsPerFile": [ 456 "../../../../a/lib/lib.d.ts", 457 "../core/anothermodule.d.ts", 458 "../core/index.d.ts", 459 "./index.ts" 460 ], 461 "latestChangedDtsFile": "./index.d.ts" 462 }, 463 "version": "FakeTSVersion", 464 "size": 1524 465} 466 467 468non Dts change to logic:: After building next project 469Output:: 470 471//// [/user/username/projects/tests/tsconfig.tsbuildinfo] file changed its modified time 472 473Dts change to Logic:: After rebuilding logicConfig 474Output:: 475 476//// [/user/username/projects/logic/index.ts] 477import * as c from '../core/index'; 478export function getSecondsInDay() { 479 return c.multiply(10, 15); 480} 481import * as mod from '../core/anotherModule'; 482export const m = mod; 483function foo() {}export class cNew {} 484 485//// [/user/username/projects/logic/index.js.map] 486{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AACrB,SAAS,GAAG,KAAI,CAAC;AAAA;IAAA;IAAmB,CAAC;IAAD,WAAC;AAAD,CAAC,AAApB,IAAoB;AAAP,oBAAI"} 487 488//// [/user/username/projects/logic/index.js] 489"use strict"; 490exports.__esModule = true; 491exports.cNew = exports.m = exports.getSecondsInDay = void 0; 492var c = require("../core/index"); 493function getSecondsInDay() { 494 return c.multiply(10, 15); 495} 496exports.getSecondsInDay = getSecondsInDay; 497var mod = require("../core/anotherModule"); 498exports.m = mod; 499function foo() { } 500var cNew = /** @class */ (function () { 501 function cNew() { 502 } 503 return cNew; 504}()); 505exports.cNew = cNew; 506//# sourceMappingURL=index.js.map 507 508//// [/user/username/projects/logic/index.d.ts] 509export declare function getSecondsInDay(): number; 510import * as mod from '../core/anotherModule'; 511export declare const m: typeof mod; 512export declare class cNew { 513} 514 515 516//// [/user/username/projects/logic/tsconfig.tsbuildinfo] 517{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5994214602-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} 518 519//// [/user/username/projects/logic/tsconfig.tsbuildinfo.readable.baseline.txt] 520{ 521 "program": { 522 "fileNames": [ 523 "../../../../a/lib/lib.d.ts", 524 "../core/index.d.ts", 525 "../core/anothermodule.d.ts", 526 "./index.ts" 527 ], 528 "fileNamesList": [ 529 [ 530 "../core/index.d.ts", 531 "../core/anothermodule.d.ts" 532 ], 533 [ 534 "../core/anothermodule.d.ts" 535 ] 536 ], 537 "fileInfos": { 538 "../../../../a/lib/lib.d.ts": { 539 "version": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 540 "signature": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 541 "affectsGlobalScope": true 542 }, 543 "../core/index.d.ts": { 544 "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", 545 "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" 546 }, 547 "../core/anothermodule.d.ts": { 548 "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", 549 "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" 550 }, 551 "./index.ts": { 552 "version": "-5994214602-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() {}export class cNew {}", 553 "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n" 554 } 555 }, 556 "options": { 557 "composite": true, 558 "declaration": true, 559 "skipDefaultLibCheck": true, 560 "sourceMap": true 561 }, 562 "referencedMap": { 563 "./index.ts": [ 564 "../core/index.d.ts", 565 "../core/anothermodule.d.ts" 566 ] 567 }, 568 "exportedModulesMap": { 569 "./index.ts": [ 570 "../core/anothermodule.d.ts" 571 ] 572 }, 573 "semanticDiagnosticsPerFile": [ 574 "../../../../a/lib/lib.d.ts", 575 "../core/anothermodule.d.ts", 576 "../core/index.d.ts", 577 "./index.ts" 578 ], 579 "latestChangedDtsFile": "./index.d.ts" 580 }, 581 "version": "FakeTSVersion", 582 "size": 1577 583} 584 585 586Dts change to Logic:: After building next project 587Output:: 588 589//// [/user/username/projects/tests/index.js] file written with same contents 590//// [/user/username/projects/tests/tsconfig.tsbuildinfo] 591{"program":{"fileNames":["../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"exportedModulesMap":[[4,1],[5,1]],"semanticDiagnosticsPerFile":[1,3,2,4,5],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} 592 593//// [/user/username/projects/tests/tsconfig.tsbuildinfo.readable.baseline.txt] 594{ 595 "program": { 596 "fileNames": [ 597 "../../../../a/lib/lib.d.ts", 598 "../core/index.d.ts", 599 "../core/anothermodule.d.ts", 600 "../logic/index.d.ts", 601 "./index.ts" 602 ], 603 "fileNamesList": [ 604 [ 605 "../core/anothermodule.d.ts" 606 ], 607 [ 608 "../core/index.d.ts", 609 "../core/anothermodule.d.ts", 610 "../logic/index.d.ts" 611 ] 612 ], 613 "fileInfos": { 614 "../../../../a/lib/lib.d.ts": { 615 "version": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 616 "signature": "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }", 617 "affectsGlobalScope": true 618 }, 619 "../core/index.d.ts": { 620 "version": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map", 621 "signature": "-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map" 622 }, 623 "../core/anothermodule.d.ts": { 624 "version": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map", 625 "signature": "-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map" 626 }, 627 "../logic/index.d.ts": { 628 "version": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n", 629 "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n" 630 }, 631 "./index.ts": { 632 "version": "12336236525-import * as c from '../core/index';\r\nimport * as logic from '../logic/index';\r\n\r\nc.leftPad(\"\", 10);\r\nlogic.getSecondsInDay();\r\n\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n", 633 "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" 634 } 635 }, 636 "options": { 637 "composite": true, 638 "declaration": true, 639 "skipDefaultLibCheck": true 640 }, 641 "referencedMap": { 642 "../logic/index.d.ts": [ 643 "../core/anothermodule.d.ts" 644 ], 645 "./index.ts": [ 646 "../core/index.d.ts", 647 "../core/anothermodule.d.ts", 648 "../logic/index.d.ts" 649 ] 650 }, 651 "exportedModulesMap": { 652 "../logic/index.d.ts": [ 653 "../core/anothermodule.d.ts" 654 ], 655 "./index.ts": [ 656 "../core/anothermodule.d.ts" 657 ] 658 }, 659 "semanticDiagnosticsPerFile": [ 660 "../../../../a/lib/lib.d.ts", 661 "../core/anothermodule.d.ts", 662 "../core/index.d.ts", 663 "../logic/index.d.ts", 664 "./index.ts" 665 ], 666 "latestChangedDtsFile": "./index.d.ts" 667 }, 668 "version": "FakeTSVersion", 669 "size": 1685 670} 671 672