@rzl-zone/build-tools 0.0.14 → 0.0.15-beta.0
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-fLOTSaWY.js → client-5nlFnlII.js} +3 -3
- package/dist/{client-fLOTSaWY.js.map → client-5nlFnlII.js.map} +1 -1
- package/dist/{client-6kvCwMAP.cjs → client-CoNnE6mx.cjs} +3 -3
- package/dist/{client-6kvCwMAP.cjs.map → client-CoNnE6mx.cjs.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.ts → extra-DW9jyeg-.d.cts} +2 -2
- package/dist/{extra-B9B5shoY.d.cts → extra-DW9jyeg-.d.ts} +2 -2
- package/dist/{fast-globe-options-Di1Z8m7n.d.ts → fast-globe-options-BZgBUiLc.d.ts} +3 -3
- package/dist/{fast-globe-options-BBkxmhty.d.cts → fast-globe-options-DhZyr2MX.d.cts} +3 -3
- package/dist/{formatter-CIMnJqKX.js → formatter-B17Sm9YW.js} +2 -2
- package/dist/{formatter-CIMnJqKX.js.map → formatter-B17Sm9YW.js.map} +1 -1
- package/dist/{formatter-BAkIXFPg.cjs → formatter-C_P91bq6.cjs} +2 -2
- package/dist/{formatter-BAkIXFPg.cjs.map → formatter-C_P91bq6.cjs.map} +1 -1
- package/dist/{identity-DiOI-xFi.cjs → identity-3pFua9PG.cjs} +5 -5
- package/dist/{identity-DiOI-xFi.cjs.map → identity-3pFua9PG.cjs.map} +1 -1
- package/dist/{identity-ClU64-C5.js → identity-DM6u-7QX.js} +5 -5
- package/dist/{identity-ClU64-C5.js.map → identity-DM6u-7QX.js.map} +1 -1
- package/dist/{index-isU4mh4U.d.cts → index-9daFyLPW.d.cts} +2 -2
- package/dist/{index-isU4mh4U.d.ts → index-9daFyLPW.d.ts} +2 -2
- package/dist/{index-DLqTtod5.d.ts → index-DBxiTkEV.d.cts} +2 -2
- package/dist/{index-DLqTtod5.d.cts → index-DBxiTkEV.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-DMt2fZXQ.js → package-banner-BJmx7fpD.js} +4 -4
- package/dist/{package-banner-DMt2fZXQ.js.map → package-banner-BJmx7fpD.js.map} +1 -1
- package/dist/{package-banner-DyZ9SDgK.cjs → package-banner-D7y2mW9-.cjs} +4 -4
- package/dist/{package-banner-DyZ9SDgK.cjs.map → package-banner-D7y2mW9-.cjs.map} +1 -1
- package/dist/{server-CDjzX9MQ.js → server-BclHkikY.js} +3 -3
- package/dist/{server-CDjzX9MQ.js.map → server-BclHkikY.js.map} +1 -1
- package/dist/{server-DXTo5kvY.cjs → server-DYCS48l_.cjs} +3 -3
- package/dist/{server-DXTo5kvY.cjs.map → server-DYCS48l_.cjs.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 +3 -3
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-beta.0`
|
|
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-DW9jyeg-.cjs";
|
|
12
|
+
import { n as generatePackageBanner, r as PackageJson, t as GeneratePackageBannerOptions } from "./index-9daFyLPW.cjs";
|
|
13
|
+
import { t as CommandIdentity } from "./index-DBxiTkEV.cjs";
|
|
14
|
+
import { n as PatternOptions, r as PatternRuntimePolicy, t as PatternConfig } from "./fast-globe-options-DhZyr2MX.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-beta.0`
|
|
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-DW9jyeg-.js";
|
|
12
|
+
import { n as generatePackageBanner, r as PackageJson, t as GeneratePackageBannerOptions } from "./index-9daFyLPW.js";
|
|
13
|
+
import { t as CommandIdentity } from "./index-DBxiTkEV.js";
|
|
14
|
+
import { n as PatternOptions, r as PatternRuntimePolicy, t as PatternConfig } from "./fast-globe-options-BZgBUiLc.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-beta.0`
|
|
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-B17Sm9YW.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-BclHkikY.js";
|
|
13
|
+
import { t as CommandIdentity } from "./identity-DM6u-7QX.js";
|
|
14
|
+
import { n as getPackageJson, t as generatePackageBanner } from "./package-banner-BJmx7fpD.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,
|