@hel-demo/my-lodash 0.0.1

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/README.md ADDED
@@ -0,0 +1,49 @@
1
+ ## desc
2
+
3
+ hel 微模块包`ts`模板
4
+
5
+ ## 发布
6
+
7
+ 发布集 `npm包`、`hel浏览器包`、`hel服务端包` 3种模式为一体的包体
8
+
9
+ ```bash
10
+ pnpm run build:nbsm
11
+ pnpm publish
12
+ ```
13
+
14
+ 仅发布传统 npm 包
15
+
16
+ ```bash
17
+ pnpm run build:npm
18
+ pnpm publish
19
+ ```
20
+
21
+ > 注意:需要使用 pnpm 来发布
22
+
23
+ ## 其他设置
24
+
25
+ ### 只构建 npm 包和 hel 浏览器包
26
+
27
+ 在 `package.json` 的 `scripts` 如下语句:
28
+
29
+ ```ts
30
+ "build:nb": "pnpm run build:hel && pnpm run build:npm",
31
+ "build:nbm": "cross-env-shell \"pnpm run build:nb && pnpm run build:meta\"",
32
+ ```
33
+
34
+ `build:nbm` 表示除了构建包体,还要生成 meta
35
+
36
+ > 注意:build:hel 和 build:npm 顺序不可调换
37
+
38
+ ### 只构建 npm 包和 hel 服务端包
39
+
40
+ 在 `package.json` 的 `scripts` 如下语句
41
+
42
+ ```ts
43
+ "build:ns": "pnpm run build:hels && pnpm run build:npm",
44
+ "build:nsm": "cross-env-shell \"pnpm run build:ns && pnpm run build:meta\"",
45
+ ```
46
+
47
+ `build:nsm` 表示除了构建包体,还要生成 meta
48
+
49
+ > 注意:build:hels 和 build:npm 顺序不可调换
@@ -0,0 +1,84 @@
1
+ import * as lodash from 'lodash';
2
+ import { chunk as chunk$1, compact as compact$1, concat as concat$1, difference as difference$1, drop as drop$1, fill as fill$1, findIndex as findIndex$1, flatten as flatten$1, flattenDeep as flattenDeep$1, fromPairs as fromPairs$1, head as head$1, indexOf as indexOf$1, initial as initial$1, intersection as intersection$1, join as join$1, last as last$1, lastIndexOf as lastIndexOf$1, pull as pull$1, pullAll as pullAll$1, reverse as reverse$1, slice as slice$1, sortedIndex as sortedIndex$1, sortedIndexOf as sortedIndexOf$1, tail as tail$1, take as take$1, union as union$1, uniq as uniq$1, unzip as unzip$1, without as without$1, xor as xor$1, zip as zip$1 } from 'lodash';
3
+ import { delay as delay$1, hello as hello$1, helloAsync as helloAsync$1 } from '../../index.mjs';
4
+
5
+ /**
6
+ * [hel-tip] 此文件由 mono-helper 脚本自动生成,无需修改!
7
+ */
8
+
9
+ declare namespace ___modules {
10
+ export { chunk$1 as chunk, compact$1 as compact, concat$1 as concat, delay$1 as delay, difference$1 as difference, drop$1 as drop, fill$1 as fill, findIndex$1 as findIndex, flatten$1 as flatten, flattenDeep$1 as flattenDeep, fromPairs$1 as fromPairs, head$1 as head, hello$1 as hello, helloAsync$1 as helloAsync, indexOf$1 as indexOf, initial$1 as initial, intersection$1 as intersection, join$1 as join, last$1 as last, lastIndexOf$1 as lastIndexOf, pull$1 as pull, pullAll$1 as pullAll, reverse$1 as reverse, slice$1 as slice, sortedIndex$1 as sortedIndex, sortedIndexOf$1 as sortedIndexOf, tail$1 as tail, take$1 as take, union$1 as union, uniq$1 as uniq, unzip$1 as unzip, without$1 as without, xor$1 as xor, zip$1 as zip };
11
+ }
12
+
13
+ type LibProperties = typeof ___modules;
14
+
15
+ declare const lib: typeof ___modules;
16
+ declare const delay: typeof delay$1;
17
+ declare const hello: typeof hello$1;
18
+ declare const helloAsync: typeof helloAsync$1;
19
+ declare const chunk: <T>(array: lodash.List<T> | null | undefined, size?: number) => T[][];
20
+ declare const compact: <T>(array: lodash.List<T | lodash.Falsey> | null | undefined) => T[];
21
+ declare const concat: <T>(...values: Array<lodash.Many<T>>) => T[];
22
+ declare const difference: <T>(array: lodash.List<T> | null | undefined, ...values: Array<lodash.List<T>>) => T[];
23
+ declare const drop: <T>(array: lodash.List<T> | null | undefined, n?: number) => T[];
24
+ declare const fill: {
25
+ <T>(array: any[] | null | undefined, value: T): T[];
26
+ <T, AnyList extends lodash.MutableList<any>>(array: (((<X>() => X extends { [K in keyof AnyList]: AnyList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof AnyList]: AnyList[K]; } ? 1 : 2 ? true : false) extends true ? AnyList : never) | null | undefined, value: T): lodash.List<T>;
27
+ <T, U>(array: U[] | null | undefined, value: T, start?: number, end?: number): Array<T | U>;
28
+ <T, UList extends lodash.MutableList<any>>(array: (((<X>() => X extends { [K in keyof UList]: UList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof UList]: UList[K]; } ? 1 : 2 ? true : false) extends true ? UList : never) | null | undefined, value: T, start?: number, end?: number): lodash.List<T | UList[0]>;
29
+ };
30
+ declare const findIndex: <T>(array: lodash.List<T> | null | undefined, predicate?: lodash.ListIterateeCustom<T, boolean>, fromIndex?: number) => number;
31
+ declare const flatten: <T>(array: lodash.List<lodash.Many<T>> | null | undefined) => T[];
32
+ declare const flattenDeep: <T>(array: lodash.ListOfRecursiveArraysOrValues<T> | null | undefined) => Array<lodash.Flat<T>>;
33
+ declare const fromPairs: {
34
+ <T>(pairs: lodash.List<[lodash.PropertyName, T]> | null | undefined): lodash.Dictionary<T>;
35
+ (pairs: lodash.List<any[]> | null | undefined): lodash.Dictionary<any>;
36
+ };
37
+ declare const head: {
38
+ <T>(array: readonly [T, ...unknown[]]): T;
39
+ <T>(array: lodash.List<T> | null | undefined): T | undefined;
40
+ };
41
+ declare const indexOf: <T>(array: lodash.List<T> | null | undefined, value: T, fromIndex?: number) => number;
42
+ declare const initial: <T>(array: lodash.List<T> | null | undefined) => T[];
43
+ declare const intersection: <T>(...arrays: Array<lodash.List<T> | null | undefined>) => T[];
44
+ declare const join: (array: lodash.List<any> | null | undefined, separator?: string) => string;
45
+ declare const last: {
46
+ <T>(array: readonly [...unknown[], T]): T;
47
+ <T>(array: lodash.List<T> | null | undefined): T | undefined;
48
+ };
49
+ declare const lastIndexOf: <T>(array: lodash.List<T> | null | undefined, value: T, fromIndex?: true | number) => number;
50
+ declare const pull: {
51
+ <T>(array: T[], ...values: T[]): T[];
52
+ <TList extends lodash.MutableList<any>>(array: ((<X>() => X extends { [K in keyof TList]: TList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof TList]: TList[K]; } ? 1 : 2 ? true : false) extends true ? TList : never, ...values: TList[0][]): TList;
53
+ };
54
+ declare const pullAll: {
55
+ <T>(array: T[], values?: lodash.List<T>): T[];
56
+ <TList extends lodash.MutableList<any>>(array: ((<X>() => X extends { [K in keyof TList]: TList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof TList]: TList[K]; } ? 1 : 2 ? true : false) extends true ? TList : never, values?: lodash.List<TList[0]>): TList;
57
+ };
58
+ declare const reverse: <TList extends lodash.MutableList<any>>(array: ((<X>() => X extends { [K in keyof TList]: TList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof TList]: TList[K]; } ? 1 : 2 ? true : false) extends true ? TList : never) => TList;
59
+ declare const slice: <T>(array: lodash.List<T> | null | undefined, start?: number, end?: number) => T[];
60
+ declare const sortedIndex: {
61
+ <T>(array: lodash.List<T> | null | undefined, value: T): number;
62
+ <T>(array: lodash.List<T> | null | undefined, value: T): number;
63
+ };
64
+ declare const sortedIndexOf: <T>(array: lodash.List<T> | null | undefined, value: T) => number;
65
+ declare const tail: {
66
+ <T extends unknown[]>(array: readonly [unknown, ...T]): T;
67
+ <T>(array: lodash.List<T> | null | undefined): T[];
68
+ };
69
+ declare const take: <T>(array: lodash.List<T> | null | undefined, n?: number) => T[];
70
+ declare const union: <T>(...arrays: Array<lodash.List<T> | null | undefined>) => T[];
71
+ declare const uniq: <T>(array: lodash.List<T> | null | undefined) => T[];
72
+ declare const unzip: <T>(array: T[][] | lodash.List<lodash.List<T>> | null | undefined) => T[][];
73
+ declare const without: <T>(array: lodash.List<T> | null | undefined, ...values: T[]) => T[];
74
+ declare const xor: <T>(...arrays: Array<lodash.List<T> | null | undefined>) => T[];
75
+ declare const zip: {
76
+ <T1, T2>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>): Array<[T1 | undefined, T2 | undefined]>;
77
+ <T1, T2, T3>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>): Array<[T1 | undefined, T2 | undefined, T3 | undefined]>;
78
+ <T1, T2, T3, T4>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>, arrays4: lodash.List<T4>): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined]>;
79
+ <T1, T2, T3, T4, T5>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>, arrays4: lodash.List<T4>, arrays5: lodash.List<T5>): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined, T5 | undefined]>;
80
+ <T>(...arrays: Array<lodash.List<T> | null | undefined>): Array<Array<T | undefined>>;
81
+ };
82
+ type Lib = LibProperties;
83
+
84
+ export { type Lib, chunk, compact, concat, lib as default, delay, difference, drop, fill, findIndex, flatten, flattenDeep, fromPairs, head, hello, helloAsync, indexOf, initial, intersection, join, last, lastIndexOf, lib, pull, pullAll, reverse, slice, sortedIndex, sortedIndexOf, tail, take, union, uniq, unzip, without, xor, zip };
@@ -0,0 +1,84 @@
1
+ import * as lodash from 'lodash';
2
+ import { chunk as chunk$1, compact as compact$1, concat as concat$1, difference as difference$1, drop as drop$1, fill as fill$1, findIndex as findIndex$1, flatten as flatten$1, flattenDeep as flattenDeep$1, fromPairs as fromPairs$1, head as head$1, indexOf as indexOf$1, initial as initial$1, intersection as intersection$1, join as join$1, last as last$1, lastIndexOf as lastIndexOf$1, pull as pull$1, pullAll as pullAll$1, reverse as reverse$1, slice as slice$1, sortedIndex as sortedIndex$1, sortedIndexOf as sortedIndexOf$1, tail as tail$1, take as take$1, union as union$1, uniq as uniq$1, unzip as unzip$1, without as without$1, xor as xor$1, zip as zip$1 } from 'lodash';
3
+ import { delay as delay$1, hello as hello$1, helloAsync as helloAsync$1 } from '../../index.js';
4
+
5
+ /**
6
+ * [hel-tip] 此文件由 mono-helper 脚本自动生成,无需修改!
7
+ */
8
+
9
+ declare namespace ___modules {
10
+ export { chunk$1 as chunk, compact$1 as compact, concat$1 as concat, delay$1 as delay, difference$1 as difference, drop$1 as drop, fill$1 as fill, findIndex$1 as findIndex, flatten$1 as flatten, flattenDeep$1 as flattenDeep, fromPairs$1 as fromPairs, head$1 as head, hello$1 as hello, helloAsync$1 as helloAsync, indexOf$1 as indexOf, initial$1 as initial, intersection$1 as intersection, join$1 as join, last$1 as last, lastIndexOf$1 as lastIndexOf, pull$1 as pull, pullAll$1 as pullAll, reverse$1 as reverse, slice$1 as slice, sortedIndex$1 as sortedIndex, sortedIndexOf$1 as sortedIndexOf, tail$1 as tail, take$1 as take, union$1 as union, uniq$1 as uniq, unzip$1 as unzip, without$1 as without, xor$1 as xor, zip$1 as zip };
11
+ }
12
+
13
+ type LibProperties = typeof ___modules;
14
+
15
+ declare const lib: typeof ___modules;
16
+ declare const delay: typeof delay$1;
17
+ declare const hello: typeof hello$1;
18
+ declare const helloAsync: typeof helloAsync$1;
19
+ declare const chunk: <T>(array: lodash.List<T> | null | undefined, size?: number) => T[][];
20
+ declare const compact: <T>(array: lodash.List<T | lodash.Falsey> | null | undefined) => T[];
21
+ declare const concat: <T>(...values: Array<lodash.Many<T>>) => T[];
22
+ declare const difference: <T>(array: lodash.List<T> | null | undefined, ...values: Array<lodash.List<T>>) => T[];
23
+ declare const drop: <T>(array: lodash.List<T> | null | undefined, n?: number) => T[];
24
+ declare const fill: {
25
+ <T>(array: any[] | null | undefined, value: T): T[];
26
+ <T, AnyList extends lodash.MutableList<any>>(array: (((<X>() => X extends { [K in keyof AnyList]: AnyList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof AnyList]: AnyList[K]; } ? 1 : 2 ? true : false) extends true ? AnyList : never) | null | undefined, value: T): lodash.List<T>;
27
+ <T, U>(array: U[] | null | undefined, value: T, start?: number, end?: number): Array<T | U>;
28
+ <T, UList extends lodash.MutableList<any>>(array: (((<X>() => X extends { [K in keyof UList]: UList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof UList]: UList[K]; } ? 1 : 2 ? true : false) extends true ? UList : never) | null | undefined, value: T, start?: number, end?: number): lodash.List<T | UList[0]>;
29
+ };
30
+ declare const findIndex: <T>(array: lodash.List<T> | null | undefined, predicate?: lodash.ListIterateeCustom<T, boolean>, fromIndex?: number) => number;
31
+ declare const flatten: <T>(array: lodash.List<lodash.Many<T>> | null | undefined) => T[];
32
+ declare const flattenDeep: <T>(array: lodash.ListOfRecursiveArraysOrValues<T> | null | undefined) => Array<lodash.Flat<T>>;
33
+ declare const fromPairs: {
34
+ <T>(pairs: lodash.List<[lodash.PropertyName, T]> | null | undefined): lodash.Dictionary<T>;
35
+ (pairs: lodash.List<any[]> | null | undefined): lodash.Dictionary<any>;
36
+ };
37
+ declare const head: {
38
+ <T>(array: readonly [T, ...unknown[]]): T;
39
+ <T>(array: lodash.List<T> | null | undefined): T | undefined;
40
+ };
41
+ declare const indexOf: <T>(array: lodash.List<T> | null | undefined, value: T, fromIndex?: number) => number;
42
+ declare const initial: <T>(array: lodash.List<T> | null | undefined) => T[];
43
+ declare const intersection: <T>(...arrays: Array<lodash.List<T> | null | undefined>) => T[];
44
+ declare const join: (array: lodash.List<any> | null | undefined, separator?: string) => string;
45
+ declare const last: {
46
+ <T>(array: readonly [...unknown[], T]): T;
47
+ <T>(array: lodash.List<T> | null | undefined): T | undefined;
48
+ };
49
+ declare const lastIndexOf: <T>(array: lodash.List<T> | null | undefined, value: T, fromIndex?: true | number) => number;
50
+ declare const pull: {
51
+ <T>(array: T[], ...values: T[]): T[];
52
+ <TList extends lodash.MutableList<any>>(array: ((<X>() => X extends { [K in keyof TList]: TList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof TList]: TList[K]; } ? 1 : 2 ? true : false) extends true ? TList : never, ...values: TList[0][]): TList;
53
+ };
54
+ declare const pullAll: {
55
+ <T>(array: T[], values?: lodash.List<T>): T[];
56
+ <TList extends lodash.MutableList<any>>(array: ((<X>() => X extends { [K in keyof TList]: TList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof TList]: TList[K]; } ? 1 : 2 ? true : false) extends true ? TList : never, values?: lodash.List<TList[0]>): TList;
57
+ };
58
+ declare const reverse: <TList extends lodash.MutableList<any>>(array: ((<X>() => X extends { [K in keyof TList]: TList[K]; } ? 1 : 2) extends <X>() => X extends { -readonly [K in keyof TList]: TList[K]; } ? 1 : 2 ? true : false) extends true ? TList : never) => TList;
59
+ declare const slice: <T>(array: lodash.List<T> | null | undefined, start?: number, end?: number) => T[];
60
+ declare const sortedIndex: {
61
+ <T>(array: lodash.List<T> | null | undefined, value: T): number;
62
+ <T>(array: lodash.List<T> | null | undefined, value: T): number;
63
+ };
64
+ declare const sortedIndexOf: <T>(array: lodash.List<T> | null | undefined, value: T) => number;
65
+ declare const tail: {
66
+ <T extends unknown[]>(array: readonly [unknown, ...T]): T;
67
+ <T>(array: lodash.List<T> | null | undefined): T[];
68
+ };
69
+ declare const take: <T>(array: lodash.List<T> | null | undefined, n?: number) => T[];
70
+ declare const union: <T>(...arrays: Array<lodash.List<T> | null | undefined>) => T[];
71
+ declare const uniq: <T>(array: lodash.List<T> | null | undefined) => T[];
72
+ declare const unzip: <T>(array: T[][] | lodash.List<lodash.List<T>> | null | undefined) => T[][];
73
+ declare const without: <T>(array: lodash.List<T> | null | undefined, ...values: T[]) => T[];
74
+ declare const xor: <T>(...arrays: Array<lodash.List<T> | null | undefined>) => T[];
75
+ declare const zip: {
76
+ <T1, T2>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>): Array<[T1 | undefined, T2 | undefined]>;
77
+ <T1, T2, T3>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>): Array<[T1 | undefined, T2 | undefined, T3 | undefined]>;
78
+ <T1, T2, T3, T4>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>, arrays4: lodash.List<T4>): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined]>;
79
+ <T1, T2, T3, T4, T5>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>, arrays4: lodash.List<T4>, arrays5: lodash.List<T5>): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined, T5 | undefined]>;
80
+ <T>(...arrays: Array<lodash.List<T> | null | undefined>): Array<Array<T | undefined>>;
81
+ };
82
+ type Lib = LibProperties;
83
+
84
+ export { type Lib, chunk, compact, concat, lib as default, delay, difference, drop, fill, findIndex, flatten, flattenDeep, fromPairs, head, hello, helloAsync, indexOf, initial, intersection, join, last, lastIndexOf, lib, pull, pullAll, reverse, slice, sortedIndex, sortedIndexOf, tail, take, union, uniq, unzip, without, xor, zip };
@@ -0,0 +1,107 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-5WRI5ZAA.js');
2
+
3
+ // src/.hel/entrance/libTypes.ts
4
+ var _hellibproxy = require('hel-lib-proxy');
5
+
6
+ // src/.hel/configs/subApp.ts
7
+ var _helmonoruntimehelper = require('hel-mono-runtime-helper');
8
+
9
+ // src/.hel/configs/deployEnv.ts
10
+ var DEPLOY_ENV = "prod";
11
+
12
+ // src/.hel/configs/devInfo.ts
13
+ var DEV_INFO = {
14
+ mods: {
15
+ "@hel-demo/my-lodash": {
16
+ port: 3104,
17
+ groupName: "@hel-demo/my-lodash",
18
+ names: {}
19
+ }
20
+ },
21
+ devHostname: "http://localhost"
22
+ };
23
+
24
+ // src/.hel/configs/subApp.ts
25
+ var { groupName, names } = DEV_INFO.mods["@hel-demo/my-lodash"];
26
+ var APP_GROUP_NAME = groupName;
27
+ var APP_NAME = names[DEPLOY_ENV] || groupName;
28
+ _helmonoruntimehelper.monoLog.call(void 0, `deployEnv of ${APP_GROUP_NAME}(${APP_NAME}) is ${DEPLOY_ENV}`);
29
+
30
+ // src/.hel/entrance/libTypes.ts
31
+ var lib = _hellibproxy.exposeLib.call(void 0, APP_NAME);
32
+ var {
33
+ delay,
34
+ hello,
35
+ helloAsync,
36
+ chunk,
37
+ compact,
38
+ concat,
39
+ difference,
40
+ drop,
41
+ fill,
42
+ findIndex,
43
+ flatten,
44
+ flattenDeep,
45
+ fromPairs,
46
+ head,
47
+ indexOf,
48
+ initial,
49
+ intersection,
50
+ join,
51
+ last,
52
+ lastIndexOf,
53
+ pull,
54
+ pullAll,
55
+ reverse,
56
+ slice,
57
+ sortedIndex,
58
+ sortedIndexOf,
59
+ tail,
60
+ take,
61
+ union,
62
+ uniq,
63
+ unzip,
64
+ without,
65
+ xor,
66
+ zip
67
+ } = lib;
68
+ var libTypes_default = lib;
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+ exports.chunk = chunk; exports.compact = compact; exports.concat = concat; exports.default = libTypes_default; exports.delay = delay; exports.difference = difference; exports.drop = drop; exports.fill = fill; exports.findIndex = findIndex; exports.flatten = flatten; exports.flattenDeep = flattenDeep; exports.fromPairs = fromPairs; exports.head = head; exports.hello = hello; exports.helloAsync = helloAsync; exports.indexOf = indexOf; exports.initial = initial; exports.intersection = intersection; exports.join = join; exports.last = last; exports.lastIndexOf = lastIndexOf; exports.lib = lib; exports.pull = pull; exports.pullAll = pullAll; exports.reverse = reverse; exports.slice = slice; exports.sortedIndex = sortedIndex; exports.sortedIndexOf = sortedIndexOf; exports.tail = tail; exports.take = take; exports.union = union; exports.uniq = uniq; exports.unzip = unzip; exports.without = without; exports.xor = xor; exports.zip = zip;
107
+ //# sourceMappingURL=libTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/fancyzhong/Desktop/code/tmp/hel-mono-demo1/packages/my-lodash/dist/.hel/entrance/libTypes.js","../../../src/.hel/entrance/libTypes.ts","../../../src/.hel/configs/subApp.ts","../../../src/.hel/configs/deployEnv.ts","../../../src/.hel/configs/devInfo.ts"],"names":[],"mappings":"AAAA,4GAAgC;AAChC;AACA;ACCA,4CAA0B;ADC1B;AACA;AEDA,+DAAwB;AFGxB;AACA;AGNO,IAAM,WAAA,EAAa,MAAA;AHQ1B;AACA;AINO,IAAM,SAAA,EAAiC;AAAA,EAC5C,IAAA,EAAM;AAAA,IACJ,qBAAA,EAAuB;AAAA,MACrB,IAAA,EAAM,IAAA;AAAA,MACN,SAAA,EAAW,qBAAA;AAAA,MACX,KAAA,EAAO,CAAC;AAAA,IACV;AAAA,EACF,CAAA;AAAA,EACA,WAAA,EAAa;AACf,CAAA;AJQA;AACA;AEfA,IAAM,EAAE,SAAA,EAAW,MAAM,EAAA,EAAI,QAAA,CAAS,IAAA,CAAK,qBAAqB,CAAA;AAEzD,IAAM,eAAA,EAAiB,SAAA;AAEvB,IAAM,SAAA,EAAW,KAAA,CAAM,UAAU,EAAA,GAAK,SAAA;AAE7C,2CAAA,CAAQ,aAAA,EAAgB,cAAc,CAAA,CAAA,EAAI,QAAQ,CAAA,KAAA,EAAQ,UAAU,CAAA,CAAA;AFcC;AACA;ACtBjB;AAEvC;AACX,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACA,EAAA;AACE;AAIW;ADoBsD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/Users/fancyzhong/Desktop/code/tmp/hel-mono-demo1/packages/my-lodash/dist/.hel/entrance/libTypes.js","sourcesContent":[null,"/**\n * [hel-tip] 此文件由 mono-helper 脚本自动生成,无需修改\n */\nimport { exposeLib } from 'hel-lib-proxy';\nimport { APP_NAME } from '../configs/subApp';\nimport type { LibProperties } from './libProperties';\n\nexport const lib = exposeLib<LibProperties>(APP_NAME);\n\nexport const {\n delay,\n hello,\n helloAsync,\n chunk,\n compact,\n concat,\n difference,\n drop,\n fill,\n findIndex,\n flatten,\n flattenDeep,\n fromPairs,\n head,\n indexOf,\n initial,\n intersection,\n join,\n last,\n lastIndexOf,\n pull,\n pullAll,\n reverse,\n slice,\n sortedIndex,\n sortedIndexOf,\n tail,\n take,\n union,\n uniq,\n unzip,\n without,\n xor,\n zip,\n} = lib;\n\nexport type Lib = LibProperties;\n\nexport default lib;\n","/**\n * [hel-tip] 此文件由 mono-helper 脚本自动生成,无需修改\n * hel模块名称配置\n */\nimport { monoLog } from 'hel-mono-runtime-helper';\nimport { DEPLOY_ENV } from './deployEnv';\nimport { DEV_INFO } from './devInfo';\n\nconst { groupName, names } = DEV_INFO.mods['@hel-demo/my-lodash'];\n\nexport const APP_GROUP_NAME = groupName;\n\nexport const APP_NAME = names[DEPLOY_ENV] || groupName;\n\nmonoLog(`deployEnv of ${APP_GROUP_NAME}(${APP_NAME}) is ${DEPLOY_ENV}`);\n","// deployEnv may replaced by build script\n// replace result: in build process, no process.env.DEPLOY_ENV found, use prod instead\nexport const DEPLOY_ENV = 'prod';\n","/**\n * 裁剪 dev-info 后得到的相关配置\n */\nimport type { IMonoInjectedDevInfo } from 'hel-mono-types';\n\nexport const DEV_INFO: IMonoInjectedDevInfo = {\n mods: {\n '@hel-demo/my-lodash': {\n port: 3104,\n groupName: '@hel-demo/my-lodash',\n names: {},\n },\n },\n devHostname: 'http://localhost',\n};\n"]}
@@ -0,0 +1,107 @@
1
+ import "../../chunk-3QS3WKRC.mjs";
2
+
3
+ // src/.hel/entrance/libTypes.ts
4
+ import { exposeLib } from "hel-lib-proxy";
5
+
6
+ // src/.hel/configs/subApp.ts
7
+ import { monoLog } from "hel-mono-runtime-helper";
8
+
9
+ // src/.hel/configs/deployEnv.ts
10
+ var DEPLOY_ENV = "prod";
11
+
12
+ // src/.hel/configs/devInfo.ts
13
+ var DEV_INFO = {
14
+ mods: {
15
+ "@hel-demo/my-lodash": {
16
+ port: 3104,
17
+ groupName: "@hel-demo/my-lodash",
18
+ names: {}
19
+ }
20
+ },
21
+ devHostname: "http://localhost"
22
+ };
23
+
24
+ // src/.hel/configs/subApp.ts
25
+ var { groupName, names } = DEV_INFO.mods["@hel-demo/my-lodash"];
26
+ var APP_GROUP_NAME = groupName;
27
+ var APP_NAME = names[DEPLOY_ENV] || groupName;
28
+ monoLog(`deployEnv of ${APP_GROUP_NAME}(${APP_NAME}) is ${DEPLOY_ENV}`);
29
+
30
+ // src/.hel/entrance/libTypes.ts
31
+ var lib = exposeLib(APP_NAME);
32
+ var {
33
+ delay,
34
+ hello,
35
+ helloAsync,
36
+ chunk,
37
+ compact,
38
+ concat,
39
+ difference,
40
+ drop,
41
+ fill,
42
+ findIndex,
43
+ flatten,
44
+ flattenDeep,
45
+ fromPairs,
46
+ head,
47
+ indexOf,
48
+ initial,
49
+ intersection,
50
+ join,
51
+ last,
52
+ lastIndexOf,
53
+ pull,
54
+ pullAll,
55
+ reverse,
56
+ slice,
57
+ sortedIndex,
58
+ sortedIndexOf,
59
+ tail,
60
+ take,
61
+ union,
62
+ uniq,
63
+ unzip,
64
+ without,
65
+ xor,
66
+ zip
67
+ } = lib;
68
+ var libTypes_default = lib;
69
+ export {
70
+ chunk,
71
+ compact,
72
+ concat,
73
+ libTypes_default as default,
74
+ delay,
75
+ difference,
76
+ drop,
77
+ fill,
78
+ findIndex,
79
+ flatten,
80
+ flattenDeep,
81
+ fromPairs,
82
+ head,
83
+ hello,
84
+ helloAsync,
85
+ indexOf,
86
+ initial,
87
+ intersection,
88
+ join,
89
+ last,
90
+ lastIndexOf,
91
+ lib,
92
+ pull,
93
+ pullAll,
94
+ reverse,
95
+ slice,
96
+ sortedIndex,
97
+ sortedIndexOf,
98
+ tail,
99
+ take,
100
+ union,
101
+ uniq,
102
+ unzip,
103
+ without,
104
+ xor,
105
+ zip
106
+ };
107
+ //# sourceMappingURL=libTypes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/.hel/entrance/libTypes.ts","../../../src/.hel/configs/subApp.ts","../../../src/.hel/configs/deployEnv.ts","../../../src/.hel/configs/devInfo.ts"],"sourcesContent":["/**\n * [hel-tip] 此文件由 mono-helper 脚本自动生成,无需修改\n */\nimport { exposeLib } from 'hel-lib-proxy';\nimport { APP_NAME } from '../configs/subApp';\nimport type { LibProperties } from './libProperties';\n\nexport const lib = exposeLib<LibProperties>(APP_NAME);\n\nexport const {\n delay,\n hello,\n helloAsync,\n chunk,\n compact,\n concat,\n difference,\n drop,\n fill,\n findIndex,\n flatten,\n flattenDeep,\n fromPairs,\n head,\n indexOf,\n initial,\n intersection,\n join,\n last,\n lastIndexOf,\n pull,\n pullAll,\n reverse,\n slice,\n sortedIndex,\n sortedIndexOf,\n tail,\n take,\n union,\n uniq,\n unzip,\n without,\n xor,\n zip,\n} = lib;\n\nexport type Lib = LibProperties;\n\nexport default lib;\n","/**\n * [hel-tip] 此文件由 mono-helper 脚本自动生成,无需修改\n * hel模块名称配置\n */\nimport { monoLog } from 'hel-mono-runtime-helper';\nimport { DEPLOY_ENV } from './deployEnv';\nimport { DEV_INFO } from './devInfo';\n\nconst { groupName, names } = DEV_INFO.mods['@hel-demo/my-lodash'];\n\nexport const APP_GROUP_NAME = groupName;\n\nexport const APP_NAME = names[DEPLOY_ENV] || groupName;\n\nmonoLog(`deployEnv of ${APP_GROUP_NAME}(${APP_NAME}) is ${DEPLOY_ENV}`);\n","// deployEnv may replaced by build script\n// replace result: in build process, no process.env.DEPLOY_ENV found, use prod instead\nexport const DEPLOY_ENV = 'prod';\n","/**\n * 裁剪 dev-info 后得到的相关配置\n */\nimport type { IMonoInjectedDevInfo } from 'hel-mono-types';\n\nexport const DEV_INFO: IMonoInjectedDevInfo = {\n mods: {\n '@hel-demo/my-lodash': {\n port: 3104,\n groupName: '@hel-demo/my-lodash',\n names: {},\n },\n },\n devHostname: 'http://localhost',\n};\n"],"mappings":";;;AAGA,SAAS,iBAAiB;;;ACC1B,SAAS,eAAe;;;ACFjB,IAAM,aAAa;;;ACGnB,IAAM,WAAiC;AAAA,EAC5C,MAAM;AAAA,IACJ,uBAAuB;AAAA,MACrB,MAAM;AAAA,MACN,WAAW;AAAA,MACX,OAAO,CAAC;AAAA,IACV;AAAA,EACF;AAAA,EACA,aAAa;AACf;;;AFNA,IAAM,EAAE,WAAW,MAAM,IAAI,SAAS,KAAK,qBAAqB;AAEzD,IAAM,iBAAiB;AAEvB,IAAM,WAAW,MAAM,UAAU,KAAK;AAE7C,QAAQ,gBAAgB,cAAc,IAAI,QAAQ,QAAQ,UAAU,EAAE;;;ADP/D,IAAM,MAAM,UAAyB,QAAQ;AAE7C,IAAM;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,IAAI;AAIJ,IAAO,mBAAQ;","names":[]}
@@ -0,0 +1,31 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
27
+ export {
28
+ __commonJS,
29
+ __toESM
30
+ };
31
+ //# sourceMappingURL=chunk-3QS3WKRC.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,31 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
27
+
28
+
29
+
30
+ exports.__commonJS = __commonJS; exports.__toESM = __toESM;
31
+ //# sourceMappingURL=chunk-5WRI5ZAA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/fancyzhong/Desktop/code/tmp/hel-mono-demo1/packages/my-lodash/dist/chunk-5WRI5ZAA.js"],"names":[],"mappings":"AAAA,6EAAI,SAAS,EAAE,MAAM,CAAC,MAAM;AAC5B,IAAI,UAAU,EAAE,MAAM,CAAC,cAAc;AACrC,IAAI,iBAAiB,EAAE,MAAM,CAAC,wBAAwB;AACtD,IAAI,kBAAkB,EAAE,MAAM,CAAC,mBAAmB;AAClD,IAAI,aAAa,EAAE,MAAM,CAAC,cAAc;AACxC,IAAI,aAAa,EAAE,MAAM,CAAC,SAAS,CAAC,cAAc;AAClD,IAAI,WAAW,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,SAAS,SAAS,CAAC,EAAE;AACnD,EAAE,OAAO,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,OAAO;AACpG,CAAC;AACD,IAAI,YAAY,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;AAC9C,EAAE,GAAG,CAAC,KAAK,GAAG,OAAO,KAAK,IAAI,SAAS,GAAG,OAAO,KAAK,IAAI,UAAU,EAAE;AACtE,IAAI,IAAI,CAAC,IAAI,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC;AAC3C,MAAM,GAAG,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,IAAI,MAAM;AACvD,QAAQ,SAAS,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,KAAK,EAAE,gBAAgB,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC;AAC1H,EAAE;AACF,EAAE,OAAO,EAAE;AACX,CAAC;AACD,IAAI,QAAQ,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,OAAO,EAAE,IAAI,GAAG,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,WAAW;AAChH;AACA;AACA;AACA;AACA,EAAE,WAAW,GAAG,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,EAAE,MAAM;AACjH,EAAE;AACF,CAAC,CAAC;AACF;AACA;AACE;AACA;AACF,2DAAC","file":"/Users/fancyzhong/Desktop/code/tmp/hel-mono-demo1/packages/my-lodash/dist/chunk-5WRI5ZAA.js"}
@@ -0,0 +1,17 @@
1
+ export { chunk, compact, concat, difference, drop, fill, findIndex, flatten, flattenDeep, fromPairs, head, indexOf, initial, intersection, join, last, lastIndexOf, pull, pullAll, reverse, slice, sortedIndex, sortedIndexOf, tail, take, union, uniq, unzip, without, xor, zip } from 'lodash';
2
+
3
+ /**
4
+ * 延迟多少米后执行剩余的逻辑
5
+ */
6
+ declare function delay(ms?: number): Promise<unknown>;
7
+ /**
8
+ * 异步地对 hel 说你好
9
+ */
10
+ declare function helloAsync(): Promise<string>;
11
+
12
+ /**
13
+ * 对 hel 说你好
14
+ */
15
+ declare function hello(): string;
16
+
17
+ export { delay, hello, helloAsync };
@@ -0,0 +1,17 @@
1
+ export { chunk, compact, concat, difference, drop, fill, findIndex, flatten, flattenDeep, fromPairs, head, indexOf, initial, intersection, join, last, lastIndexOf, pull, pullAll, reverse, slice, sortedIndex, sortedIndexOf, tail, take, union, uniq, unzip, without, xor, zip } from 'lodash';
2
+
3
+ /**
4
+ * 延迟多少米后执行剩余的逻辑
5
+ */
6
+ declare function delay(ms?: number): Promise<unknown>;
7
+ /**
8
+ * 异步地对 hel 说你好
9
+ */
10
+ declare function helloAsync(): Promise<string>;
11
+
12
+ /**
13
+ * 对 hel 说你好
14
+ */
15
+ declare function hello(): string;
16
+
17
+ export { delay, hello, helloAsync };