@xylabs/ts-scripts-yarn3 5.0.3 → 5.0.4

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.
@@ -1515,11 +1515,18 @@ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single",
1515
1515
  ],
1516
1516
  outDir,
1517
1517
  silent: true,
1518
- sourcemap: true,
1518
+ sourcemap: types === "tsup",
1519
1519
  splitting: false,
1520
1520
  tsconfig: "tsconfig.json",
1521
1521
  ...options
1522
1522
  });
1523
+ if (types === "tsc") {
1524
+ return packageCompileTscTypes(folder, {
1525
+ verbose
1526
+ }, {
1527
+ outDir
1528
+ });
1529
+ }
1523
1530
  const optionsList = (await Promise.all((Array.isArray(optionsResult) ? optionsResult : [
1524
1531
  optionsResult
1525
1532
  ]).flatMap(async (options2) => {
@@ -1531,13 +1538,6 @@ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single",
1531
1538
  ];
1532
1539
  }))).flat();
1533
1540
  await Promise.all(optionsList.map((options2) => build2(options2)));
1534
- if (types === "tsc") {
1535
- return packageCompileTscTypes(folder, {
1536
- verbose
1537
- }, {
1538
- outDir
1539
- });
1540
- }
1541
1541
  return 0;
1542
1542
  }, "compileFolder");
1543
1543
  var packageCompileTsup = /* @__PURE__ */ __name(async (config2, types = "tsup") => {