@xylabs/ts-scripts-yarn3 4.0.0-rc.5 → 4.0.0-rc.7

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.
@@ -1380,6 +1380,7 @@ var packageCompileTsc = /* @__PURE__ */ __name(async (noEmit, config2, compilerO
1380
1380
  }, "packageCompileTsc");
1381
1381
 
1382
1382
  // src/actions/package/compile/packageCompileTsup.ts
1383
+ import svgrPlugin from "esbuild-plugin-svgr";
1383
1384
  import { build as build2, defineConfig } from "tsup";
1384
1385
 
1385
1386
  // src/actions/package/compile/inputs.ts
@@ -1419,7 +1420,7 @@ var buildEntries = /* @__PURE__ */ __name((folder, entryMode, verbose = false) =
1419
1420
  }, "buildEntries");
1420
1421
 
1421
1422
  // src/actions/package/compile/packageCompileTsup.ts
1422
- var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single", options, verbose) => {
1423
+ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single", options, _verbose) => {
1423
1424
  const outDir = options?.outDir ?? "dist";
1424
1425
  const entry = buildEntries(folder, entryMode);
1425
1426
  const optionsResult = defineConfig({
@@ -1436,6 +1437,9 @@ var compileFolder = /* @__PURE__ */ __name(async (folder, entryMode = "single",
1436
1437
  sourcemap: true,
1437
1438
  splitting: false,
1438
1439
  tsconfig: "tsconfig.json",
1440
+ esbuildPlugins: [
1441
+ svgrPlugin()
1442
+ ],
1439
1443
  ...options
1440
1444
  });
1441
1445
  const optionsList = (await Promise.all((Array.isArray(optionsResult) ? optionsResult : [
@@ -1491,10 +1495,7 @@ var packageCompileTsup = /* @__PURE__ */ __name(async (config2) => {
1491
1495
  sourcemap: true,
1492
1496
  target: "esnext"
1493
1497
  };
1494
- return await packageCompileTsc(true, {
1495
- publint: false,
1496
- verbose
1497
- }) || (await Promise.all(Object.entries(compileForNode).map(async ([folder, options]) => {
1498
+ return (await Promise.all(Object.entries(compileForNode).map(async ([folder, options]) => {
1498
1499
  const inEsBuildOptions = typeof compile2?.node?.esbuildOptions === "object" ? compile2?.node?.esbuildOptions : {};
1499
1500
  return folder ? await compileFolder(folder, compile2?.entryMode, {
1500
1501
  ...standardOptions,