@bejibun/core 0.1.19 → 0.1.21

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 CHANGED
@@ -1,3 +1,13 @@
1
- export * from "./utils/Enum";
2
- export * from "./utils/Str";
1
+ import Enum from "./facades/Enum";
2
+ import Str from "./facades/Str";
3
+ export { Enum, Str };
3
4
  export * from "./utils/utils";
5
+ declare const _default: {
6
+ isEmpty: (value: any) => boolean;
7
+ isNotEmpty: (value: any) => boolean;
8
+ defineValue: (value: any, defaultValue?: any) => any;
9
+ ask: (question: string) => Promise<string>;
10
+ Enum: typeof Enum;
11
+ Str: typeof Str;
12
+ };
13
+ export default _default;
package/dist/index.js CHANGED
@@ -1,3 +1,10 @@
1
- export * from "./utils/Enum";
2
- export * from "./utils/Str";
1
+ import Enum from "./facades/Enum";
2
+ import Str from "./facades/Str";
3
+ import * as Utils from "./utils/utils";
4
+ export { Enum, Str };
3
5
  export * from "./utils/utils";
6
+ export default {
7
+ Enum,
8
+ Str,
9
+ ...Utils,
10
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bejibun/core",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "Core of Bejibun Framework",
5
5
  "keywords": [
6
6
  "bun",
@@ -29,12 +29,12 @@
29
29
  "types": "./dist/index.d.ts"
30
30
  },
31
31
  "./enum": {
32
- "import": "./dist/utils/Enum.js",
33
- "types": "./dist/utils/Enum.d.ts"
32
+ "import": "./dist/facades/Enum.js",
33
+ "types": "./dist/facades/Enum.d.ts"
34
34
  },
35
35
  "./str": {
36
- "import": "./dist/utils/Str.js",
37
- "types": "./dist/utils/Str.d.ts"
36
+ "import": "./dist/facades/Str.js",
37
+ "types": "./dist/facades/Str.d.ts"
38
38
  }
39
39
  },
40
40
  "files": [
File without changes
File without changes
File without changes
File without changes