@rzl-zone/build-tools 0.0.14 → 0.0.15

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.
Files changed (61) hide show
  1. package/dist/.references/index.d.cts +1 -1
  2. package/dist/.references/index.d.ts +1 -1
  3. package/dist/bundler/rolldown.cjs +2 -2
  4. package/dist/bundler/rolldown.d.cts +2 -2
  5. package/dist/bundler/rolldown.d.ts +2 -2
  6. package/dist/bundler/rolldown.js +1 -1
  7. package/dist/bundler/tsdown.cjs +3 -3
  8. package/dist/bundler/tsdown.d.cts +2 -2
  9. package/dist/bundler/tsdown.d.ts +2 -2
  10. package/dist/bundler/tsdown.js +3 -3
  11. package/dist/bundler/utils.cjs +2 -2
  12. package/dist/bundler/utils.d.cts +2 -2
  13. package/dist/bundler/utils.d.ts +2 -2
  14. package/dist/bundler/utils.js +2 -2
  15. package/dist/{client-6kvCwMAP.cjs → client-BkOx7DWd.cjs} +3 -3
  16. package/dist/{client-6kvCwMAP.cjs.map → client-BkOx7DWd.cjs.map} +1 -1
  17. package/dist/{client-fLOTSaWY.js → client-Co2Qi1Sa.js} +3 -3
  18. package/dist/{client-fLOTSaWY.js.map → client-Co2Qi1Sa.js.map} +1 -1
  19. package/dist/commander-kit/index.cjs +5 -5
  20. package/dist/commander-kit/index.d.cts +3 -3
  21. package/dist/commander-kit/index.d.ts +3 -3
  22. package/dist/commander-kit/index.js +5 -5
  23. package/dist/{extra-B9B5shoY.d.cts → extra-DuIc7gta.d.cts} +2 -2
  24. package/dist/{extra-B9B5shoY.d.ts → extra-DuIc7gta.d.ts} +2 -2
  25. package/dist/{fast-globe-options-Di1Z8m7n.d.ts → fast-globe-options-SmQIohGr.d.ts} +3 -3
  26. package/dist/{fast-globe-options-BBkxmhty.d.cts → fast-globe-options-i1Gf9DLL.d.cts} +3 -3
  27. package/dist/{formatter-BAkIXFPg.cjs → formatter-0taLawWH.cjs} +2 -2
  28. package/dist/{formatter-BAkIXFPg.cjs.map → formatter-0taLawWH.cjs.map} +1 -1
  29. package/dist/{formatter-CIMnJqKX.js → formatter-Birnjn0D.js} +2 -2
  30. package/dist/{formatter-CIMnJqKX.js.map → formatter-Birnjn0D.js.map} +1 -1
  31. package/dist/{identity-DiOI-xFi.cjs → identity-Bpg19xTB.cjs} +5 -5
  32. package/dist/{identity-DiOI-xFi.cjs.map → identity-Bpg19xTB.cjs.map} +1 -1
  33. package/dist/{identity-ClU64-C5.js → identity-C7FDy2D1.js} +5 -5
  34. package/dist/{identity-ClU64-C5.js.map → identity-C7FDy2D1.js.map} +1 -1
  35. package/dist/{index-DLqTtod5.d.cts → index-DQFdaoKO.d.cts} +2 -2
  36. package/dist/{index-DLqTtod5.d.ts → index-DQFdaoKO.d.ts} +2 -2
  37. package/dist/{index-isU4mh4U.d.cts → index-DzuABYI7.d.cts} +2 -2
  38. package/dist/{index-isU4mh4U.d.ts → index-DzuABYI7.d.ts} +2 -2
  39. package/dist/index.cjs +11 -8
  40. package/dist/index.cjs.map +1 -1
  41. package/dist/index.d.cts +5 -5
  42. package/dist/index.d.ts +5 -5
  43. package/dist/index.js +11 -8
  44. package/dist/index.js.map +1 -1
  45. package/dist/{package-banner-DyZ9SDgK.cjs → package-banner-ZEA3NPxE.cjs} +4 -4
  46. package/dist/{package-banner-DyZ9SDgK.cjs.map → package-banner-ZEA3NPxE.cjs.map} +1 -1
  47. package/dist/{package-banner-DMt2fZXQ.js → package-banner-_A_U5HiX.js} +4 -4
  48. package/dist/{package-banner-DMt2fZXQ.js.map → package-banner-_A_U5HiX.js.map} +1 -1
  49. package/dist/{server-DXTo5kvY.cjs → server-CFjUcJbN.cjs} +3 -3
  50. package/dist/{server-DXTo5kvY.cjs.map → server-CFjUcJbN.cjs.map} +1 -1
  51. package/dist/{server-CDjzX9MQ.js → server-D_MVHwrS.js} +3 -3
  52. package/dist/{server-CDjzX9MQ.js.map → server-D_MVHwrS.js.map} +1 -1
  53. package/dist/utils/client.cjs +3 -3
  54. package/dist/utils/client.d.cts +1 -1
  55. package/dist/utils/client.d.ts +1 -1
  56. package/dist/utils/client.js +3 -3
  57. package/dist/utils/server.cjs +2 -2
  58. package/dist/utils/server.d.cts +3 -3
  59. package/dist/utils/server.d.ts +3 -3
  60. package/dist/utils/server.js +2 -2
  61. package/package.json +5 -5
package/dist/index.d.cts CHANGED
@@ -2,16 +2,16 @@
2
2
  * ========================================================================
3
3
  * @rzl-zone/build-tools
4
4
  * ------------------------------------------------------------------------
5
- * Version: `0.0.14`
5
+ * Version: `0.0.15`
6
6
  * Author: `Rizalvin Dwiky <rizalvindwiky1998@gmail.com>`
7
7
  * Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/build-tools`
8
8
  * ========================================================================
9
9
  */
10
10
 
11
- import { a as OmitStrict, c as PrettifyOptions, r as DefaultPrettifyOptions, s as Prettify } from "./extra-B9B5shoY.cjs";
12
- import { n as generatePackageBanner, r as PackageJson, t as GeneratePackageBannerOptions } from "./index-isU4mh4U.cjs";
13
- import { t as CommandIdentity } from "./index-DLqTtod5.cjs";
14
- import { n as PatternOptions, r as PatternRuntimePolicy, t as PatternConfig } from "./fast-globe-options-BBkxmhty.cjs";
11
+ import { a as OmitStrict, c as PrettifyOptions, r as DefaultPrettifyOptions, s as Prettify } from "./extra-DuIc7gta.cjs";
12
+ import { n as generatePackageBanner, r as PackageJson, t as GeneratePackageBannerOptions } from "./index-DzuABYI7.cjs";
13
+ import { t as CommandIdentity } from "./index-DQFdaoKO.cjs";
14
+ import { n as PatternOptions, r as PatternRuntimePolicy, t as PatternConfig } from "./fast-globe-options-i1Gf9DLL.cjs";
15
15
  import { ChildProcess, SpawnOptions, StdioOptions } from "node:child_process";
16
16
  import * as acorn from "acorn";
17
17
 
package/dist/index.d.ts CHANGED
@@ -2,16 +2,16 @@
2
2
  * ========================================================================
3
3
  * @rzl-zone/build-tools
4
4
  * ------------------------------------------------------------------------
5
- * Version: `0.0.14`
5
+ * Version: `0.0.15`
6
6
  * Author: `Rizalvin Dwiky <rizalvindwiky1998@gmail.com>`
7
7
  * Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/build-tools`
8
8
  * ========================================================================
9
9
  */
10
10
 
11
- import { a as OmitStrict, c as PrettifyOptions, r as DefaultPrettifyOptions, s as Prettify } from "./extra-B9B5shoY.js";
12
- import { n as generatePackageBanner, r as PackageJson, t as GeneratePackageBannerOptions } from "./index-isU4mh4U.js";
13
- import { t as CommandIdentity } from "./index-DLqTtod5.js";
14
- import { n as PatternOptions, r as PatternRuntimePolicy, t as PatternConfig } from "./fast-globe-options-Di1Z8m7n.js";
11
+ import { a as OmitStrict, c as PrettifyOptions, r as DefaultPrettifyOptions, s as Prettify } from "./extra-DuIc7gta.js";
12
+ import { n as generatePackageBanner, r as PackageJson, t as GeneratePackageBannerOptions } from "./index-DzuABYI7.js";
13
+ import { t as CommandIdentity } from "./index-DQFdaoKO.js";
14
+ import { n as PatternOptions, r as PatternRuntimePolicy, t as PatternConfig } from "./fast-globe-options-SmQIohGr.js";
15
15
  import { ChildProcess, SpawnOptions, StdioOptions, spawn } from "node:child_process";
16
16
  import * as acorn from "acorn";
17
17
 
package/dist/index.js CHANGED
@@ -2,16 +2,16 @@
2
2
  * ========================================================================
3
3
  * @rzl-zone/build-tools
4
4
  * ------------------------------------------------------------------------
5
- * Version: `0.0.14`
5
+ * Version: `0.0.15`
6
6
  * Author: `Rizalvin Dwiky <rizalvindwiky1998@gmail.com>`
7
7
  * Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/build-tools`
8
8
  * ========================================================================
9
9
  */
10
10
 
11
- import { C as isString, E as safeStableStringify, O as toObjectSet, S as isSet, _ as isNonEmptyString, b as isPlainObject, c as picocolors, d as flattenStrings, f as isArray, i as joinInline, k as toStringSet, l as plural, o as joinLinesLoose, p as isBoolean, r as formatOptionValue, t as EOL, w as isUndefined, x as isRegExp, y as isNumber } from "./formatter-CIMnJqKX.js";
12
- import { c as resolvePatternOptions, i as sourceOf, l as sourceOfPatternOptions, n as fsExtra, r as BUILD_LOGGER, s as defaultPatternOptions, t as fastGlob } from "./server-CDjzX9MQ.js";
13
- import { t as CommandIdentity } from "./identity-ClU64-C5.js";
14
- import { n as getPackageJson, t as generatePackageBanner } from "./package-banner-DMt2fZXQ.js";
11
+ import { C as isString, E as safeStableStringify, O as toObjectSet, S as isSet, _ as isNonEmptyString, b as isPlainObject, c as picocolors, d as flattenStrings, f as isArray, i as joinInline, k as toStringSet, l as plural, o as joinLinesLoose, p as isBoolean, r as formatOptionValue, t as EOL, w as isUndefined, x as isRegExp, y as isNumber } from "./formatter-Birnjn0D.js";
12
+ import { c as resolvePatternOptions, i as sourceOf, l as sourceOfPatternOptions, n as fsExtra, r as BUILD_LOGGER, s as defaultPatternOptions, t as fastGlob } from "./server-D_MVHwrS.js";
13
+ import { t as CommandIdentity } from "./identity-C7FDy2D1.js";
14
+ import { n as getPackageJson, t as generatePackageBanner } from "./package-banner-_A_U5HiX.js";
15
15
  import "@rzl-zone/node-only";
16
16
  import * as t from "@babel/types";
17
17
  import { parse } from "@babel/parser";
@@ -754,7 +754,8 @@ const generateReferenceIndex = async (pattern, options = {}) => {
754
754
  const referencedAbs = path.resolve(f);
755
755
  if (!referencedAbs.startsWith(inputDirRefAbs + path.sep) || referencedAbs === outFileAbs) return;
756
756
  const referencePath = normalizeRelative(path.dirname(outFileAbs), referencedAbs);
757
- const displayPath = `${inputDirReference}/${path.relative(inputDirRefAbs, referencedAbs).replace(/\\/g, "/")}`;
757
+ const logPath = path.relative(inputDirRefAbs, referencedAbs).replace(/\\/g, "/");
758
+ const displayPath = `${inputDirReference}/${logPath}`;
758
759
  if (canLog(loggerLevel, VERBOSE_LOG)) BUILD_LOGGER.ON_PROCESS_REFERENCING({
759
760
  actionName: "Generated Reference",
760
761
  count: i + 1,
@@ -788,11 +789,13 @@ const generateReferenceIndex = async (pattern, options = {}) => {
788
789
  files.forEach((f) => {
789
790
  const referencedAbs = path.resolve(f);
790
791
  if (!referencedAbs.startsWith(inputDirRefAbs + path.sep) || referencedAbs === outFileAbs) return;
791
- const exportModulePath = resolveExportModulePath(path.relative(inputDirRefAbs, referencedAbs).replace(/\\/g, "/"));
792
+ const relativeToInputDirRef = path.relative(inputDirRefAbs, referencedAbs).replace(/\\/g, "/");
793
+ const exportModulePath = resolveExportModulePath(relativeToInputDirRef);
792
794
  const line = `export * from "${normalizeRelative(path.dirname(outFileAbs), path.resolve(inputDirReference, exportModulePath))}";`;
793
795
  if (!exportLines.has(line)) {
794
796
  exportCount++;
795
- const displayPath = `${inputDirReference}/${path.relative(inputDirRefAbs, referencedAbs).replace(/\\/g, "/")}`;
797
+ const logPath = path.relative(inputDirRefAbs, referencedAbs).replace(/\\/g, "/");
798
+ const displayPath = `${inputDirReference}/${logPath}`;
796
799
  if (canLog(loggerLevel, VERBOSE_LOG)) BUILD_LOGGER.ON_PROCESS_REFERENCING({
797
800
  actionName: "Exported Type",
798
801
  count: exportCount,