@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.
- package/dist/.references/index.d.cts +1 -1
- package/dist/.references/index.d.ts +1 -1
- package/dist/bundler/rolldown.cjs +2 -2
- package/dist/bundler/rolldown.d.cts +2 -2
- package/dist/bundler/rolldown.d.ts +2 -2
- package/dist/bundler/rolldown.js +1 -1
- package/dist/bundler/tsdown.cjs +3 -3
- package/dist/bundler/tsdown.d.cts +2 -2
- package/dist/bundler/tsdown.d.ts +2 -2
- package/dist/bundler/tsdown.js +3 -3
- package/dist/bundler/utils.cjs +2 -2
- package/dist/bundler/utils.d.cts +2 -2
- package/dist/bundler/utils.d.ts +2 -2
- package/dist/bundler/utils.js +2 -2
- package/dist/{client-6kvCwMAP.cjs → client-BkOx7DWd.cjs} +3 -3
- package/dist/{client-6kvCwMAP.cjs.map → client-BkOx7DWd.cjs.map} +1 -1
- package/dist/{client-fLOTSaWY.js → client-Co2Qi1Sa.js} +3 -3
- package/dist/{client-fLOTSaWY.js.map → client-Co2Qi1Sa.js.map} +1 -1
- package/dist/commander-kit/index.cjs +5 -5
- package/dist/commander-kit/index.d.cts +3 -3
- package/dist/commander-kit/index.d.ts +3 -3
- package/dist/commander-kit/index.js +5 -5
- package/dist/{extra-B9B5shoY.d.cts → extra-DuIc7gta.d.cts} +2 -2
- package/dist/{extra-B9B5shoY.d.ts → extra-DuIc7gta.d.ts} +2 -2
- package/dist/{fast-globe-options-Di1Z8m7n.d.ts → fast-globe-options-SmQIohGr.d.ts} +3 -3
- package/dist/{fast-globe-options-BBkxmhty.d.cts → fast-globe-options-i1Gf9DLL.d.cts} +3 -3
- package/dist/{formatter-BAkIXFPg.cjs → formatter-0taLawWH.cjs} +2 -2
- package/dist/{formatter-BAkIXFPg.cjs.map → formatter-0taLawWH.cjs.map} +1 -1
- package/dist/{formatter-CIMnJqKX.js → formatter-Birnjn0D.js} +2 -2
- package/dist/{formatter-CIMnJqKX.js.map → formatter-Birnjn0D.js.map} +1 -1
- package/dist/{identity-DiOI-xFi.cjs → identity-Bpg19xTB.cjs} +5 -5
- package/dist/{identity-DiOI-xFi.cjs.map → identity-Bpg19xTB.cjs.map} +1 -1
- package/dist/{identity-ClU64-C5.js → identity-C7FDy2D1.js} +5 -5
- package/dist/{identity-ClU64-C5.js.map → identity-C7FDy2D1.js.map} +1 -1
- package/dist/{index-DLqTtod5.d.cts → index-DQFdaoKO.d.cts} +2 -2
- package/dist/{index-DLqTtod5.d.ts → index-DQFdaoKO.d.ts} +2 -2
- package/dist/{index-isU4mh4U.d.cts → index-DzuABYI7.d.cts} +2 -2
- package/dist/{index-isU4mh4U.d.ts → index-DzuABYI7.d.ts} +2 -2
- package/dist/index.cjs +11 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +11 -8
- package/dist/index.js.map +1 -1
- package/dist/{package-banner-DyZ9SDgK.cjs → package-banner-ZEA3NPxE.cjs} +4 -4
- package/dist/{package-banner-DyZ9SDgK.cjs.map → package-banner-ZEA3NPxE.cjs.map} +1 -1
- package/dist/{package-banner-DMt2fZXQ.js → package-banner-_A_U5HiX.js} +4 -4
- package/dist/{package-banner-DMt2fZXQ.js.map → package-banner-_A_U5HiX.js.map} +1 -1
- package/dist/{server-DXTo5kvY.cjs → server-CFjUcJbN.cjs} +3 -3
- package/dist/{server-DXTo5kvY.cjs.map → server-CFjUcJbN.cjs.map} +1 -1
- package/dist/{server-CDjzX9MQ.js → server-D_MVHwrS.js} +3 -3
- package/dist/{server-CDjzX9MQ.js.map → server-D_MVHwrS.js.map} +1 -1
- package/dist/utils/client.cjs +3 -3
- package/dist/utils/client.d.cts +1 -1
- package/dist/utils/client.d.ts +1 -1
- package/dist/utils/client.js +3 -3
- package/dist/utils/server.cjs +2 -2
- package/dist/utils/server.d.cts +3 -3
- package/dist/utils/server.d.ts +3 -3
- package/dist/utils/server.js +2 -2
- 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.
|
|
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-
|
|
12
|
-
import { n as generatePackageBanner, r as PackageJson, t as GeneratePackageBannerOptions } from "./index-
|
|
13
|
-
import { t as CommandIdentity } from "./index-
|
|
14
|
-
import { n as PatternOptions, r as PatternRuntimePolicy, t as PatternConfig } from "./fast-globe-options-
|
|
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.
|
|
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-
|
|
12
|
-
import { n as generatePackageBanner, r as PackageJson, t as GeneratePackageBannerOptions } from "./index-
|
|
13
|
-
import { t as CommandIdentity } from "./index-
|
|
14
|
-
import { n as PatternOptions, r as PatternRuntimePolicy, t as PatternConfig } from "./fast-globe-options-
|
|
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.
|
|
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-
|
|
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-
|
|
13
|
-
import { t as CommandIdentity } from "./identity-
|
|
14
|
-
import { n as getPackageJson, t as generatePackageBanner } from "./package-banner-
|
|
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
|
|
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
|
|
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
|
|
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,
|