reykit 1.0.52 → 1.0.54
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/index.d.ts +2 -0
- package/dist/index.js +14 -6
- package/dist/sys.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as base from './base';
|
|
|
3
3
|
import * as net from './net';
|
|
4
4
|
import * as re from './re';
|
|
5
5
|
import * as react from './react';
|
|
6
|
+
import * as sys from './sys';
|
|
6
7
|
import * as tailwindcss from './tailwindcss';
|
|
7
8
|
import * as window from './window';
|
|
8
9
|
declare const _default: {
|
|
@@ -11,6 +12,7 @@ declare const _default: {
|
|
|
11
12
|
net: typeof net;
|
|
12
13
|
re: typeof re;
|
|
13
14
|
react: typeof react;
|
|
15
|
+
sys: typeof sys;
|
|
14
16
|
tailwindcss: typeof tailwindcss;
|
|
15
17
|
window: typeof window;
|
|
16
18
|
};
|
package/dist/index.js
CHANGED
|
@@ -27643,8 +27643,15 @@ const HE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
27643
27643
|
PATTERN_IP: BE,
|
|
27644
27644
|
PATTERN_PHONE: qE,
|
|
27645
27645
|
PATTERN_URL: NE
|
|
27646
|
+
}, Symbol.toStringTag, { value: "Module" })), GE = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
|
|
27647
|
+
function XE() {
|
|
27648
|
+
return GE;
|
|
27649
|
+
}
|
|
27650
|
+
const QE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27651
|
+
__proto__: null,
|
|
27652
|
+
getEnv: XE
|
|
27646
27653
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
27647
|
-
class
|
|
27654
|
+
class VE {
|
|
27648
27655
|
/**
|
|
27649
27656
|
* Build instance.
|
|
27650
27657
|
*
|
|
@@ -27736,18 +27743,19 @@ class GE {
|
|
|
27736
27743
|
this.set(I, !R);
|
|
27737
27744
|
}
|
|
27738
27745
|
}
|
|
27739
|
-
const
|
|
27746
|
+
const ZE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27740
27747
|
__proto__: null,
|
|
27741
|
-
Storager:
|
|
27742
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
27748
|
+
Storager: VE
|
|
27749
|
+
}, Symbol.toStringTag, { value: "Module" })), WE = {
|
|
27743
27750
|
component: UE,
|
|
27744
27751
|
base: _E,
|
|
27745
27752
|
net: HE,
|
|
27746
27753
|
re: jE,
|
|
27747
27754
|
react: zE,
|
|
27755
|
+
sys: QE,
|
|
27748
27756
|
tailwindcss: ME,
|
|
27749
|
-
window:
|
|
27757
|
+
window: ZE
|
|
27750
27758
|
};
|
|
27751
27759
|
export {
|
|
27752
|
-
|
|
27760
|
+
WE as default
|
|
27753
27761
|
};
|
package/dist/sys.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @Time : 2026-03-15
|
|
3
|
+
* @Author : Rey
|
|
4
|
+
* @Contact : reyxbo@163.com
|
|
5
|
+
* @Explain : System methods.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Get environment variable dictionary of within then `Vite` frameework.
|
|
9
|
+
*
|
|
10
|
+
* @returns Environment dictionary
|
|
11
|
+
*/
|
|
12
|
+
export declare function getEnv(): Record<string, string>;
|