Skip to content

Commit 77f3a47

Browse files
committed
style(typescript): one-line reference entries and a uniform tsbuildinfo name
Review nits on f105bbf (take-or-leave, both cheap): reference entries were expanded to three lines by the JSON writer that generated the first batch; provider-testmu's hand-written entry was already the compact shape, and it read better next to the manifest it mirrors. Compacting all of them also cuts ~265 lines from the gross diff. provider-testmu's buildinfo keeps the 25-package name (index.tsbuildinfo) so no project deviates from the one convention; the filename is inside the gitignored dist-types and nothing pins it.
1 parent f105bbf commit 77f3a47

24 files changed

Lines changed: 105 additions & 370 deletions

File tree

‎packages/ad-replay/tsconfig.json‎

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,9 @@
1111
},
1212
"include": ["src"],
1313
"references": [
14-
{
15-
"path": "../ad-script"
16-
},
17-
{
18-
"path": "../contracts"
19-
},
20-
{
21-
"path": "../kernel"
22-
},
23-
{
24-
"path": "../selectors"
25-
}
14+
{ "path": "../ad-script" },
15+
{ "path": "../contracts" },
16+
{ "path": "../kernel" },
17+
{ "path": "../selectors" }
2618
]
2719
}

‎packages/ad-script/tsconfig.json‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,5 @@
1010
"tsBuildInfoFile": "./dist-types/index.tsbuildinfo"
1111
},
1212
"include": ["src"],
13-
"references": [
14-
{
15-
"path": "../contracts"
16-
},
17-
{
18-
"path": "../kernel"
19-
}
20-
]
13+
"references": [{ "path": "../contracts" }, { "path": "../kernel" }]
2114
}

‎packages/capture-kit/tsconfig.json‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,5 @@
1010
"tsBuildInfoFile": "./dist-types/index.tsbuildinfo"
1111
},
1212
"include": ["src"],
13-
"references": [
14-
{
15-
"path": "../contracts"
16-
},
17-
{
18-
"path": "../host-kit"
19-
},
20-
{
21-
"path": "../kernel"
22-
}
23-
]
13+
"references": [{ "path": "../contracts" }, { "path": "../host-kit" }, { "path": "../kernel" }]
2414
}

‎packages/command-registry/tsconfig.json‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,5 @@
1010
"tsBuildInfoFile": "./dist-types/index.tsbuildinfo"
1111
},
1212
"include": ["src"],
13-
"references": [
14-
{
15-
"path": "../contracts"
16-
},
17-
{
18-
"path": "../kernel"
19-
},
20-
{
21-
"path": "../selectors"
22-
}
23-
]
13+
"references": [{ "path": "../contracts" }, { "path": "../kernel" }, { "path": "../selectors" }]
2414
}

‎packages/contracts/tsconfig.json‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,5 @@
1010
"tsBuildInfoFile": "./dist-types/index.tsbuildinfo"
1111
},
1212
"include": ["src"],
13-
"references": [
14-
{
15-
"path": "../kernel"
16-
}
17-
]
13+
"references": [{ "path": "../kernel" }]
1814
}

‎packages/device-selection/tsconfig.json‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,5 @@
1010
"tsBuildInfoFile": "./dist-types/index.tsbuildinfo"
1111
},
1212
"include": ["src"],
13-
"references": [
14-
{
15-
"path": "../contracts"
16-
},
17-
{
18-
"path": "../host-kit"
19-
},
20-
{
21-
"path": "../kernel"
22-
}
23-
]
13+
"references": [{ "path": "../contracts" }, { "path": "../host-kit" }, { "path": "../kernel" }]
2414
}

‎packages/host-kit/tsconfig.json‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,5 @@
1010
"tsBuildInfoFile": "./dist-types/index.tsbuildinfo"
1111
},
1212
"include": ["src"],
13-
"references": [
14-
{
15-
"path": "../contracts"
16-
},
17-
{
18-
"path": "../kernel"
19-
}
20-
]
13+
"references": [{ "path": "../contracts" }, { "path": "../kernel" }]
2114
}

‎packages/maestro/tsconfig.json‎

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,11 @@
1111
},
1212
"include": ["src"],
1313
"references": [
14-
{
15-
"path": "../capture-kit"
16-
},
17-
{
18-
"path": "../contracts"
19-
},
20-
{
21-
"path": "../host-kit"
22-
},
23-
{
24-
"path": "../kernel"
25-
},
26-
{
27-
"path": "../provision-kit"
28-
},
29-
{
30-
"path": "../selectors"
31-
}
14+
{ "path": "../capture-kit" },
15+
{ "path": "../contracts" },
16+
{ "path": "../host-kit" },
17+
{ "path": "../kernel" },
18+
{ "path": "../provision-kit" },
19+
{ "path": "../selectors" }
3220
]
3321
}

‎packages/managed-allocation/tsconfig.json‎

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,9 @@
1111
},
1212
"include": ["src"],
1313
"references": [
14-
{
15-
"path": "../capture-kit"
16-
},
17-
{
18-
"path": "../contracts"
19-
},
20-
{
21-
"path": "../host-kit"
22-
},
23-
{
24-
"path": "../kernel"
25-
}
14+
{ "path": "../capture-kit" },
15+
{ "path": "../contracts" },
16+
{ "path": "../host-kit" },
17+
{ "path": "../kernel" }
2618
]
2719
}

‎packages/platform-android/tsconfig.json‎

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,11 @@
1111
},
1212
"include": ["src"],
1313
"references": [
14-
{
15-
"path": "../capture-kit"
16-
},
17-
{
18-
"path": "../contracts"
19-
},
20-
{
21-
"path": "../host-kit"
22-
},
23-
{
24-
"path": "../kernel"
25-
},
26-
{
27-
"path": "../provision-kit"
28-
},
29-
{
30-
"path": "../xml"
31-
}
14+
{ "path": "../capture-kit" },
15+
{ "path": "../contracts" },
16+
{ "path": "../host-kit" },
17+
{ "path": "../kernel" },
18+
{ "path": "../provision-kit" },
19+
{ "path": "../xml" }
3220
]
3321
}

0 commit comments

Comments
 (0)