@bensandee/tooling 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.mjs +16 -8
- package/package.json +1 -1
package/dist/bin.mjs
CHANGED
|
@@ -901,14 +901,10 @@ function generateMonorepoRootTsconfig(ctx, existing) {
|
|
|
901
901
|
description: "Already has project references"
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
ctx.write(filePath, JSON.stringify({
|
|
905
|
-
files: [],
|
|
906
|
-
references: []
|
|
907
|
-
}, null, 2) + "\n");
|
|
908
904
|
return {
|
|
909
905
|
filePath,
|
|
910
|
-
action: "
|
|
911
|
-
description: "
|
|
906
|
+
action: "skipped",
|
|
907
|
+
description: "No tsconfig.json found"
|
|
912
908
|
};
|
|
913
909
|
}
|
|
914
910
|
function generateMonorepoPackageTsconfigs(ctx) {
|
|
@@ -930,6 +926,18 @@ function generateMonorepoPackageTsconfigs(ctx) {
|
|
|
930
926
|
continue;
|
|
931
927
|
}
|
|
932
928
|
const parsed = parseTsconfig(existing);
|
|
929
|
+
if (isSolutionStyle(parsed)) {
|
|
930
|
+
results.push({
|
|
931
|
+
filePath,
|
|
932
|
+
action: "skipped",
|
|
933
|
+
description: "Solution-style tsconfig — traversing references"
|
|
934
|
+
});
|
|
935
|
+
for (const ref of parsed.references ?? []) {
|
|
936
|
+
const refPath = path.join(relDir, resolveReferencePath(ref.path));
|
|
937
|
+
results.push(mergeSingleTsconfig(ctx, refPath, extendsValue));
|
|
938
|
+
}
|
|
939
|
+
continue;
|
|
940
|
+
}
|
|
933
941
|
const changes = [];
|
|
934
942
|
if (parsed.extends !== extendsValue) {
|
|
935
943
|
const prev = parsed.extends;
|
|
@@ -2963,7 +2971,7 @@ function mergeGitHub(dryRun) {
|
|
|
2963
2971
|
const main = defineCommand({
|
|
2964
2972
|
meta: {
|
|
2965
2973
|
name: "tooling",
|
|
2966
|
-
version: "0.7.
|
|
2974
|
+
version: "0.7.2",
|
|
2967
2975
|
description: "Bootstrap and maintain standardized TypeScript project tooling"
|
|
2968
2976
|
},
|
|
2969
2977
|
subCommands: {
|
|
@@ -2976,7 +2984,7 @@ const main = defineCommand({
|
|
|
2976
2984
|
"release:merge": releaseMergeCommand
|
|
2977
2985
|
}
|
|
2978
2986
|
});
|
|
2979
|
-
console.log(`@bensandee/tooling v0.7.
|
|
2987
|
+
console.log(`@bensandee/tooling v0.7.2`);
|
|
2980
2988
|
runMain(main);
|
|
2981
2989
|
|
|
2982
2990
|
//#endregion
|