|
| 1 | +currentDirectory:: /user/username/workspace/project useCaseSensitiveFileNames:: false |
| 2 | +Input:: |
| 3 | +//// [/user/username/workspace/project/tsconfig.base.json] |
| 4 | +{ |
| 5 | + "watchOptions": { |
| 6 | + "excludeDirectories": [ |
| 7 | + "**/node_modules" |
| 8 | + ] |
| 9 | + } |
| 10 | +} |
| 11 | + |
| 12 | +//// [/user/username/workspace/project/tsconfig.A.json] |
| 13 | +{ |
| 14 | + "extends": "./tsconfig.base.json", |
| 15 | + "compilerOptions": { |
| 16 | + "composite": true |
| 17 | + }, |
| 18 | + "include": [ |
| 19 | + "src/a/**/*.ts" |
| 20 | + ], |
| 21 | + "watchOptions": { |
| 22 | + "excludeDirectories": [ |
| 23 | + "**/excludes_by_A" |
| 24 | + ] |
| 25 | + } |
| 26 | +} |
| 27 | + |
| 28 | +//// [/user/username/workspace/project/src/a/a.ts] |
| 29 | +export const a = 10; |
| 30 | + |
| 31 | +//// [/user/username/workspace/project/tsconfig.B.json] |
| 32 | +{ |
| 33 | + "extends": "./tsconfig.base.json", |
| 34 | + "include": [ |
| 35 | + "src/b/**/*.ts" |
| 36 | + ], |
| 37 | + "references": [ |
| 38 | + { |
| 39 | + "path": "./tsconfig.A.json" |
| 40 | + } |
| 41 | + ] |
| 42 | +} |
| 43 | + |
| 44 | +//// [/user/username/workspace/project/src/b/b.ts] |
| 45 | +export const b = 10; |
| 46 | + |
| 47 | +//// [/home/src/tslibs/TS/Lib/lib.d.ts] |
| 48 | +/// <reference no-default-lib="true"/> |
| 49 | +interface Boolean {} |
| 50 | +interface Function {} |
| 51 | +interface CallableFunction {} |
| 52 | +interface NewableFunction {} |
| 53 | +interface IArguments {} |
| 54 | +interface Number { toExponential: any; } |
| 55 | +interface Object {} |
| 56 | +interface RegExp {} |
| 57 | +interface String { charAt: any; } |
| 58 | +interface Array<T> { length: number; [n: number]: T; } |
| 59 | +interface ReadonlyArray<T> {} |
| 60 | +declare const console: { log(msg: any): void; }; |
| 61 | + |
| 62 | +//// [/user/username/workspace/project/src/a/a.js] |
| 63 | +"use strict"; |
| 64 | +Object.defineProperty(exports, "__esModule", { value: true }); |
| 65 | +exports.a = void 0; |
| 66 | +exports.a = 10; |
| 67 | + |
| 68 | + |
| 69 | +//// [/user/username/workspace/project/src/a/a.d.ts] |
| 70 | +export declare const a = 10; |
| 71 | + |
| 72 | + |
| 73 | +//// [/user/username/workspace/project/tsconfig.A.tsbuildinfo] |
| 74 | +{"fileNames":["../../../../home/src/tslibs/ts/lib/lib.d.ts","./src/a/a.ts"],"fileInfos":[{"version":"3858781397-/// <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; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14660415448-export const a = 10;","signature":"-3497920574-export declare const a = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/a/a.d.ts","version":"FakeTSVersion"} |
| 75 | + |
| 76 | +//// [/user/username/workspace/project/tsconfig.A.tsbuildinfo.readable.baseline.txt] |
| 77 | +{ |
| 78 | + "fileNames": [ |
| 79 | + "../../../../home/src/tslibs/ts/lib/lib.d.ts", |
| 80 | + "./src/a/a.ts" |
| 81 | + ], |
| 82 | + "fileInfos": { |
| 83 | + "../../../../home/src/tslibs/ts/lib/lib.d.ts": { |
| 84 | + "original": { |
| 85 | + "version": "3858781397-/// <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; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };", |
| 86 | + "affectsGlobalScope": true |
| 87 | + }, |
| 88 | + "version": "3858781397-/// <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; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };", |
| 89 | + "signature": "3858781397-/// <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; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };", |
| 90 | + "affectsGlobalScope": true |
| 91 | + }, |
| 92 | + "./src/a/a.ts": { |
| 93 | + "original": { |
| 94 | + "version": "-14660415448-export const a = 10;", |
| 95 | + "signature": "-3497920574-export declare const a = 10;\n" |
| 96 | + }, |
| 97 | + "version": "-14660415448-export const a = 10;", |
| 98 | + "signature": "-3497920574-export declare const a = 10;\n" |
| 99 | + } |
| 100 | + }, |
| 101 | + "root": [ |
| 102 | + [ |
| 103 | + 2, |
| 104 | + "./src/a/a.ts" |
| 105 | + ] |
| 106 | + ], |
| 107 | + "options": { |
| 108 | + "composite": true |
| 109 | + }, |
| 110 | + "latestChangedDtsFile": "./src/a/a.d.ts", |
| 111 | + "version": "FakeTSVersion", |
| 112 | + "size": 780 |
| 113 | +} |
| 114 | + |
| 115 | + |
| 116 | +/home/src/tslibs/TS/Lib/tsc.js -w -p tsconfig.B.json --traceResolution --extendedDiagnostics |
| 117 | +Output:: |
| 118 | +[[90mHH:MM:SS AM[0m] Starting compilation in watch mode... |
| 119 | + |
| 120 | +Current directory: /user/username/workspace/project CaseSensitiveFileNames: false |
| 121 | +FileWatcher:: Added:: WatchInfo: /user/username/workspace/project/tsconfig.B.json 2000 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Config file |
| 122 | +Synchronizing program |
| 123 | +CreatingProgramWith:: |
| 124 | + roots: ["/user/username/workspace/project/src/b/b.ts"] |
| 125 | + options: {"watch":true,"project":"/user/username/workspace/project/tsconfig.B.json","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/workspace/project/tsconfig.B.json"} |
| 126 | + projectReferences: [{"path":"/user/username/workspace/project/tsconfig.A.json","originalPath":"./tsconfig.A.json"}] |
| 127 | +Loading config file: /user/username/workspace/project/tsconfig.A.json |
| 128 | +FileWatcher:: Added:: WatchInfo: /user/username/workspace/project/src/b/b.ts 250 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Source file |
| 129 | +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Source file |
| 130 | +ExcludeWatcher:: Added:: WatchInfo: /user/username/workspace/project/node_modules/@types 1 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Type roots |
| 131 | +DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/node_modules/@types 1 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Type roots |
| 132 | +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/node_modules/@types 1 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Type roots |
| 133 | +[[90mHH:MM:SS AM[0m] Found 0 errors. Watching for file changes. |
| 134 | + |
| 135 | +DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/project/src/b 1 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Wild card directory |
| 136 | +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/project/src/b 1 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Wild card directory |
| 137 | +FileWatcher:: Added:: WatchInfo: /user/username/workspace/project/tsconfig.base.json 2000 {"excludeDirectories":["/user/username/workspace/project/**/node_modules"]} Extended config file |
| 138 | +FileWatcher:: Added:: WatchInfo: /user/username/workspace/project/tsconfig.A.json 2000 {"excludeDirectories":["/user/username/workspace/project/**/excludes_by_A"]} Config file of referened project |
| 139 | +DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/project/src/a 1 {"excludeDirectories":["/user/username/workspace/project/**/excludes_by_A"]} Wild card directory of referenced project |
| 140 | +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/workspace/project/src/a 1 {"excludeDirectories":["/user/username/workspace/project/**/excludes_by_A"]} Wild card directory of referenced project |
| 141 | + |
| 142 | + |
| 143 | +//// [/user/username/workspace/project/src/b/b.js] |
| 144 | +"use strict"; |
| 145 | +Object.defineProperty(exports, "__esModule", { value: true }); |
| 146 | +exports.b = void 0; |
| 147 | +exports.b = 10; |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | +PolledWatches:: |
| 152 | +/user/username/workspace/node_modules/@types: *new* |
| 153 | + {"pollingInterval":500} |
| 154 | + |
| 155 | +FsWatches:: |
| 156 | +/home/src/tslibs/TS/Lib/lib.d.ts: *new* |
| 157 | + {} |
| 158 | +/user/username/workspace/project/src/b/b.ts: *new* |
| 159 | + {} |
| 160 | +/user/username/workspace/project/tsconfig.A.json: *new* |
| 161 | + {} |
| 162 | +/user/username/workspace/project/tsconfig.B.json: *new* |
| 163 | + {} |
| 164 | +/user/username/workspace/project/tsconfig.base.json: *new* |
| 165 | + {} |
| 166 | + |
| 167 | +FsWatchesRecursive:: |
| 168 | +/user/username/workspace/project/src/a: *new* |
| 169 | + {} |
| 170 | +/user/username/workspace/project/src/b: *new* |
| 171 | + {} |
| 172 | + |
| 173 | +Program root files: [ |
| 174 | + "/user/username/workspace/project/src/b/b.ts" |
| 175 | +] |
| 176 | +Program options: { |
| 177 | + "watch": true, |
| 178 | + "project": "/user/username/workspace/project/tsconfig.B.json", |
| 179 | + "traceResolution": true, |
| 180 | + "extendedDiagnostics": true, |
| 181 | + "configFilePath": "/user/username/workspace/project/tsconfig.B.json" |
| 182 | +} |
| 183 | +Program structureReused: Not |
| 184 | +Program files:: |
| 185 | +/home/src/tslibs/TS/Lib/lib.d.ts |
| 186 | +/user/username/workspace/project/src/b/b.ts |
| 187 | + |
| 188 | +Semantic diagnostics in builder refreshed for:: |
| 189 | +/home/src/tslibs/TS/Lib/lib.d.ts |
| 190 | +/user/username/workspace/project/src/b/b.ts |
| 191 | + |
| 192 | +Shape signatures in builder refreshed for:: |
| 193 | +/home/src/tslibs/ts/lib/lib.d.ts (used version) |
| 194 | +/user/username/workspace/project/src/b/b.ts (used version) |
| 195 | + |
| 196 | +exitCode:: ExitStatus.undefined |
0 commit comments