tnp-core 13.2.17 → 13.2.18

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.
Files changed (99) hide show
  1. package/README.md +20 -20
  2. package/assets/shared/shared_folder_info.txt +1 -1
  3. package/browser/README.md +24 -24
  4. package/browser/esm2020/lib/core-config.mjs +6 -6
  5. package/browser/esm2020/lib/core-imports.mjs +68 -68
  6. package/browser/esm2020/lib/core-models.mjs +3 -3
  7. package/browser/esm2020/lib/framework-name.mjs +9 -9
  8. package/browser/esm2020/lib/helpers-isomorphic.mjs +35 -35
  9. package/browser/esm2020/lib/helpers-messages.mjs +493 -493
  10. package/browser/esm2020/lib/helpers.mjs +1184 -1184
  11. package/browser/esm2020/lib/index.mjs +10 -10
  12. package/browser/esm2020/lib/node-path-mock.mjs +414 -414
  13. package/browser/esm2020/lib/progress-data.mjs +51 -51
  14. package/browser/esm2020/public-api.mjs +1 -1
  15. package/browser/esm2020/tnp-core.mjs +4 -4
  16. package/browser/fesm2015/tnp-core.mjs +2198 -2198
  17. package/browser/fesm2020/tnp-core.mjs +2196 -2196
  18. package/browser/lib/core-config.d.ts +4 -4
  19. package/browser/lib/core-imports.d.ts +7 -7
  20. package/browser/lib/core-models.d.ts +41 -41
  21. package/browser/lib/framework-name.d.ts +1 -1
  22. package/browser/lib/helpers-isomorphic.d.ts +5 -5
  23. package/browser/lib/helpers-messages.d.ts +16 -16
  24. package/browser/lib/helpers.d.ts +50 -50
  25. package/browser/lib/index.d.ts +7 -7
  26. package/browser/lib/node-path-mock.d.ts +24 -24
  27. package/browser/lib/progress-data.d.ts +17 -17
  28. package/browser/tnp-core.d.ts +4 -4
  29. package/cli.backend.js +3 -3
  30. package/client/README.md +24 -24
  31. package/client/esm2020/lib/core-config.mjs +6 -6
  32. package/client/esm2020/lib/core-imports.mjs +68 -68
  33. package/client/esm2020/lib/core-models.mjs +3 -3
  34. package/client/esm2020/lib/framework-name.mjs +9 -9
  35. package/client/esm2020/lib/helpers-isomorphic.mjs +35 -35
  36. package/client/esm2020/lib/helpers-messages.mjs +493 -493
  37. package/client/esm2020/lib/helpers.mjs +1184 -1184
  38. package/client/esm2020/lib/index.mjs +10 -10
  39. package/client/esm2020/lib/node-path-mock.mjs +414 -414
  40. package/client/esm2020/lib/progress-data.mjs +51 -51
  41. package/client/esm2020/public-api.mjs +1 -1
  42. package/client/esm2020/tnp-core.mjs +4 -4
  43. package/client/fesm2015/tnp-core.mjs +2198 -2198
  44. package/client/fesm2020/tnp-core.mjs +2196 -2196
  45. package/client/lib/core-config.d.ts +4 -4
  46. package/client/lib/core-imports.d.ts +7 -7
  47. package/client/lib/core-models.d.ts +41 -41
  48. package/client/lib/framework-name.d.ts +1 -1
  49. package/client/lib/helpers-isomorphic.d.ts +5 -5
  50. package/client/lib/helpers-messages.d.ts +16 -16
  51. package/client/lib/helpers.d.ts +50 -50
  52. package/client/lib/index.d.ts +7 -7
  53. package/client/lib/node-path-mock.d.ts +24 -24
  54. package/client/lib/progress-data.d.ts +17 -17
  55. package/client/package.json +8 -8
  56. package/client/tnp-core.d.ts +4 -4
  57. package/index.d.ts +1 -1
  58. package/lib/core-config.d.ts +5 -5
  59. package/lib/core-imports.d.ts +30 -30
  60. package/lib/core-models.d.ts +42 -42
  61. package/lib/framework-name.d.ts +2 -2
  62. package/lib/helpers-isomorphic.d.ts +6 -6
  63. package/lib/helpers-messages.d.ts +33 -33
  64. package/lib/helpers.d.ts +129 -129
  65. package/lib/index.d.ts +8 -8
  66. package/lib/node-path-mock.d.ts +24 -24
  67. package/lib/node-path-mock.js +3 -3
  68. package/lib/progress-data.d.ts +18 -18
  69. package/lib/public-api.d.ts +7 -7
  70. package/package.json +2 -2
  71. package/package.json_devDependencies.json +202 -202
  72. package/package.json_tnp.json5 +65 -65
  73. package/tmp-environment.json +12 -11
  74. package/websql/README.md +24 -24
  75. package/websql/esm2020/lib/core-config.mjs +6 -6
  76. package/websql/esm2020/lib/core-imports.mjs +68 -68
  77. package/websql/esm2020/lib/core-models.mjs +3 -3
  78. package/websql/esm2020/lib/framework-name.mjs +9 -9
  79. package/websql/esm2020/lib/helpers-isomorphic.mjs +34 -34
  80. package/websql/esm2020/lib/helpers-messages.mjs +493 -493
  81. package/websql/esm2020/lib/helpers.mjs +1182 -1182
  82. package/websql/esm2020/lib/index.mjs +10 -10
  83. package/websql/esm2020/lib/node-path-mock.mjs +414 -414
  84. package/websql/esm2020/lib/progress-data.mjs +51 -51
  85. package/websql/esm2020/public-api.mjs +1 -1
  86. package/websql/esm2020/tnp-core.mjs +4 -4
  87. package/websql/fesm2015/tnp-core.mjs +2195 -2195
  88. package/websql/fesm2020/tnp-core.mjs +2193 -2193
  89. package/websql/lib/core-config.d.ts +4 -4
  90. package/websql/lib/core-imports.d.ts +7 -7
  91. package/websql/lib/core-models.d.ts +41 -41
  92. package/websql/lib/framework-name.d.ts +1 -1
  93. package/websql/lib/helpers-isomorphic.d.ts +5 -5
  94. package/websql/lib/helpers-messages.d.ts +16 -16
  95. package/websql/lib/helpers.d.ts +50 -50
  96. package/websql/lib/index.d.ts +7 -7
  97. package/websql/lib/node-path-mock.d.ts +24 -24
  98. package/websql/lib/progress-data.d.ts +17 -17
  99. package/websql/tnp-core.d.ts +4 -4
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- export declare const CoreConfig: {
3
- message: {
4
- globalSystemToolMode: string;
5
- };
2
+ export declare const CoreConfig: {
3
+ message: {
4
+ globalSystemToolMode: string;
5
+ };
6
6
  };
@@ -1,9 +1,9 @@
1
1
  // @ts-nocheck
2
- import * as _ from 'lodash';
3
- import * as q from 'q';
4
- import * as moment from 'moment';
5
- import * as dateformat from 'dateformat';
6
- declare let path: any;
7
- declare function win32Path(p: string): any;
8
- declare function crossPlatformPath(pathStringOrPathParts: string | string[]): string;
2
+ import * as _ from 'lodash';
3
+ import * as q from 'q';
4
+ import * as moment from 'moment';
5
+ import * as dateformat from 'dateformat';
6
+ declare let path: any;
7
+ declare function win32Path(p: string): any;
8
+ declare function crossPlatformPath(pathStringOrPathParts: string | string[]): string;
9
9
  export { _, q, moment, dateformat, crossPlatformPath, win32Path, path, };
@@ -1,43 +1,43 @@
1
1
  // @ts-nocheck
2
- export interface ExecuteOptions {
3
- /** Extract string from line */
4
- extractFromLine?: (string | Function)[];
5
- /**
6
- * Modify output line by line
7
- */
8
- outputLineReplace?: (outputLine: string) => string;
9
- resolvePromiseMsg?: {
10
- stdout?: string | string[];
11
- stderr?: string | string[];
12
- };
13
- prefix?: string;
14
- detach?: boolean;
15
- /**
16
- * Try command again after fail after n miliseconds
17
- */
18
- tryAgainWhenFailAfter?: number;
19
- /**
20
- * Use big buffer for big webpack logs
21
- */
22
- biggerBuffer?: boolean;
23
- exitOnError?: boolean;
24
- exitOnErrorCallback?: (code: number) => void;
25
- /**
26
- * From displaying in console
27
- */
28
- hideOutput?: {
29
- stdout?: boolean;
30
- stderr?: boolean;
31
- };
32
- }
33
- export interface RunOptions extends ExecuteOptions {
34
- showCommand?: boolean;
35
- /**
36
- * Show process output
37
- */
38
- output?: boolean;
39
- silence?: boolean;
40
- stdio?: any;
41
- cwd?: string;
42
- }
2
+ export interface ExecuteOptions {
3
+ /** Extract string from line */
4
+ extractFromLine?: (string | Function)[];
5
+ /**
6
+ * Modify output line by line
7
+ */
8
+ outputLineReplace?: (outputLine: string) => string;
9
+ resolvePromiseMsg?: {
10
+ stdout?: string | string[];
11
+ stderr?: string | string[];
12
+ };
13
+ prefix?: string;
14
+ detach?: boolean;
15
+ /**
16
+ * Try command again after fail after n miliseconds
17
+ */
18
+ tryAgainWhenFailAfter?: number;
19
+ /**
20
+ * Use big buffer for big webpack logs
21
+ */
22
+ biggerBuffer?: boolean;
23
+ exitOnError?: boolean;
24
+ exitOnErrorCallback?: (code: number) => void;
25
+ /**
26
+ * From displaying in console
27
+ */
28
+ hideOutput?: {
29
+ stdout?: boolean;
30
+ stderr?: boolean;
31
+ };
32
+ }
33
+ export interface RunOptions extends ExecuteOptions {
34
+ showCommand?: boolean;
35
+ /**
36
+ * Show process output
37
+ */
38
+ output?: boolean;
39
+ silence?: boolean;
40
+ stdio?: any;
41
+ cwd?: string;
42
+ }
43
43
  export declare type PROGRESS_DATA_TYPE = 'info' | 'error' | 'warning' | 'event';
@@ -1,3 +1,3 @@
1
1
  // @ts-nocheck
2
- export declare const frameworkNameBe: "firedev" | "tnp";
2
+ export declare const frameworkNameBe: "firedev" | "tnp";
3
3
  export declare const frameworkName: "firedev" | "tnp";
@@ -1,7 +1,7 @@
1
1
  // @ts-nocheck
2
- export declare class HelpersIsomorphic {
3
- get isBrowser(): boolean;
4
- get isWebSQL(): boolean;
5
- get isNode(): boolean;
6
- contain(arr: any[], item: any): boolean;
2
+ export declare class HelpersIsomorphic {
3
+ get isBrowser(): boolean;
4
+ get isWebSQL(): boolean;
5
+ get isNode(): boolean;
6
+ contain(arr: any[], item: any): boolean;
7
7
  }
@@ -1,18 +1,18 @@
1
1
  // @ts-nocheck
2
- import { HelpersIsomorphic } from './helpers-isomorphic';
3
- export declare class HelpersMessages extends HelpersIsomorphic {
4
- msgCacheClear(): void;
5
- error(details: any, noExit?: boolean, noTrace?: boolean): void;
6
- info(details: string, repeatable?: boolean): void;
7
- success(details: any | string): void;
8
- /**
9
- *
10
- * @param details
11
- * @param isLogTask is less important log task
12
- * @returns
13
- */
14
- taskStarted(details: any | string, isLogTask?: boolean): void;
15
- taskDone(details?: any | string, isLessImportant?: boolean): void;
16
- log(details: any, debugLevel?: number): void;
17
- warn(details: string, trace?: boolean): void;
2
+ import { HelpersIsomorphic } from './helpers-isomorphic';
3
+ export declare class HelpersMessages extends HelpersIsomorphic {
4
+ msgCacheClear(): void;
5
+ error(details: any, noExit?: boolean, noTrace?: boolean): void;
6
+ info(details: string, repeatable?: boolean): void;
7
+ success(details: any | string): void;
8
+ /**
9
+ *
10
+ * @param details
11
+ * @param isLogTask is less important log task
12
+ * @returns
13
+ */
14
+ taskStarted(details: any | string, isLogTask?: boolean): void;
15
+ taskDone(details?: any | string, isLessImportant?: boolean): void;
16
+ log(details: any, debugLevel?: number): void;
17
+ warn(details: string, trace?: boolean): void;
18
18
  }
@@ -1,52 +1,52 @@
1
1
  // @ts-nocheck
2
- import { HelpersMessages } from './helpers-messages';
3
- import { RunOptions } from './core-models';
4
- export interface RunSyncOrAsyncOptions {
5
- functionFn: Function;
6
- context?: object;
7
- arrayOfParams?: any[];
8
- }
9
- export interface CommandOutputOptions {
10
- biggerBuffer?: boolean;
11
- showWholeCommandNotOnlyLastLine?: boolean;
12
- showStder?: boolean;
13
- gatherColors?: boolean;
14
- showErrorWarning?: boolean;
15
- }
16
- export declare class HelpersCore extends HelpersMessages {
17
- private static _instanceCore;
18
- static get InstanceCore(): HelpersCore;
19
- readonly bigMaxBuffer: number;
20
- constructor();
21
- isBlob(maybeBlob: any): boolean;
22
- removeSlashAtEnd(s: string): string;
23
- removeSlashAtBegin(s: string): string;
24
- stringify(inputObject: any): string;
25
- runSyncOrAsync(fnOrOptions: Function | [string, object] | RunSyncOrAsyncOptions, ...firstArg: any[]): Promise<any>;
26
- /**
27
- * symlink may have existed or unexisted destiantion url
28
- * @param destUrl M
29
- */
30
- isSymlinkThatMatchesUrl(possibleSymlink: string, destUrl: string, absoluteFileMatch?: boolean): boolean;
31
- isSymlinkFileExitedOrUnexisted(filePath: string): boolean;
32
- /**
33
- * If symbolnk link that target file does not exits
34
- */
35
- isUnexistedLink(filePath: string): boolean;
36
- /**
37
- * @param existedLink check if source of link exists
38
- */
39
- isExistedSymlink(filePath: string): boolean;
40
- exists(folderOrFilePath: string | string[]): any;
41
- _fixCommand(command: string): string;
42
- command(command: string): {};
43
- wait(second: number): Promise<unknown>;
44
- killProcess(byPid: number): void;
45
- run(command: string, options?: RunOptions): {
46
- async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => Promise<number> | number): any;
47
- };
48
- /**
49
- * Quick fix for object values
50
- */
51
- values(obj: any): any[];
2
+ import { HelpersMessages } from './helpers-messages';
3
+ import { RunOptions } from './core-models';
4
+ export interface RunSyncOrAsyncOptions {
5
+ functionFn: Function;
6
+ context?: object;
7
+ arrayOfParams?: any[];
8
+ }
9
+ export interface CommandOutputOptions {
10
+ biggerBuffer?: boolean;
11
+ showWholeCommandNotOnlyLastLine?: boolean;
12
+ showStder?: boolean;
13
+ gatherColors?: boolean;
14
+ showErrorWarning?: boolean;
15
+ }
16
+ export declare class HelpersCore extends HelpersMessages {
17
+ private static _instanceCore;
18
+ static get InstanceCore(): HelpersCore;
19
+ readonly bigMaxBuffer: number;
20
+ constructor();
21
+ isBlob(maybeBlob: any): boolean;
22
+ removeSlashAtEnd(s: string): string;
23
+ removeSlashAtBegin(s: string): string;
24
+ stringify(inputObject: any): string;
25
+ runSyncOrAsync(fnOrOptions: Function | [string, object] | RunSyncOrAsyncOptions, ...firstArg: any[]): Promise<any>;
26
+ /**
27
+ * symlink may have existed or unexisted destiantion url
28
+ * @param destUrl M
29
+ */
30
+ isSymlinkThatMatchesUrl(possibleSymlink: string, destUrl: string, absoluteFileMatch?: boolean): boolean;
31
+ isSymlinkFileExitedOrUnexisted(filePath: string): boolean;
32
+ /**
33
+ * If symbolnk link that target file does not exits
34
+ */
35
+ isUnexistedLink(filePath: string): boolean;
36
+ /**
37
+ * @param existedLink check if source of link exists
38
+ */
39
+ isExistedSymlink(filePath: string): boolean;
40
+ exists(folderOrFilePath: string | string[]): any;
41
+ _fixCommand(command: string): string;
42
+ command(command: string): {};
43
+ wait(second: number): Promise<unknown>;
44
+ killProcess(byPid: number): void;
45
+ run(command: string, options?: RunOptions): {
46
+ async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => Promise<number> | number): any;
47
+ };
48
+ /**
49
+ * Quick fix for object values
50
+ */
51
+ values(obj: any): any[];
52
52
  }
@@ -1,9 +1,9 @@
1
1
  // @ts-nocheck
2
- export * from './framework-name';
3
- export * from './core-imports';
4
- export * from './core-models';
5
- import { HelpersCore as Base } from './helpers';
6
- export * from './core-config';
7
- export * from './progress-data';
8
- export { HelpersCore as CoreHelpers } from './helpers';
2
+ export * from './framework-name';
3
+ export * from './core-imports';
4
+ export * from './core-models';
5
+ import { HelpersCore as Base } from './helpers';
6
+ export * from './core-config';
7
+ export * from './progress-data';
8
+ export { HelpersCore as CoreHelpers } from './helpers';
9
9
  export declare let Helpers: Base;
@@ -1,26 +1,26 @@
1
1
  // @ts-nocheck
2
- export declare const path: {
3
- resolve: (pathToResovle: any) => any;
4
- normalize: (pathArg: any) => any;
5
- isAbsolute: (pathArg: any) => boolean;
6
- join: () => any;
7
- relative: (from: any, to: any) => any;
8
- _makeLong: (path: any) => any;
9
- dirname: (path: any) => any;
10
- basename: (pathArg: any, ext: any) => any;
11
- extname: (pathArg: any) => any;
12
- format: (pathObject: any) => any;
13
- parse: (pathArg: any) => {
14
- root: string;
15
- dir: string;
16
- base: string;
17
- ext: string;
18
- name: string;
19
- };
20
- sep: string;
21
- delimiter: string;
22
- win32: {
23
- normalize: (p: any) => any;
24
- };
25
- posix: any;
2
+ export declare const path: {
3
+ resolve: (pathToResovle: any) => any;
4
+ normalize: (pathArg: any) => any;
5
+ isAbsolute: (pathArg: any) => boolean;
6
+ join: () => any;
7
+ relative: (from: any, to: any) => any;
8
+ _makeLong: (path: any) => any;
9
+ dirname: (path: any) => any;
10
+ basename: (pathArg: any, ext: any) => any;
11
+ extname: (pathArg: any) => any;
12
+ format: (pathObject: any) => any;
13
+ parse: (pathArg: any) => {
14
+ root: string;
15
+ dir: string;
16
+ base: string;
17
+ ext: string;
18
+ name: string;
19
+ };
20
+ sep: string;
21
+ delimiter: string;
22
+ win32: {
23
+ normalize: (p: any) => any;
24
+ };
25
+ posix: any;
26
26
  };
@@ -1,19 +1,19 @@
1
1
  // @ts-nocheck
2
- import { PROGRESS_DATA_TYPE } from './core-models';
3
- export interface IPROGRESS_DATA {
4
- /**
5
- * How man percent of
6
- */
7
- value?: number;
8
- msg?: string;
9
- type?: PROGRESS_DATA_TYPE;
10
- date?: Date;
11
- }
12
- export declare class PROGRESS_DATA implements IPROGRESS_DATA {
13
- static log(log: IPROGRESS_DATA): void;
14
- static resolveFrom(chunk: string, callbackOnFounded?: (json: PROGRESS_DATA) => any, checkSplit?: boolean): PROGRESS_DATA[];
15
- value?: number;
16
- msg?: string;
17
- type: PROGRESS_DATA_TYPE;
18
- date?: Date;
2
+ import { PROGRESS_DATA_TYPE } from './core-models';
3
+ export interface IPROGRESS_DATA {
4
+ /**
5
+ * How man percent of
6
+ */
7
+ value?: number;
8
+ msg?: string;
9
+ type?: PROGRESS_DATA_TYPE;
10
+ date?: Date;
11
+ }
12
+ export declare class PROGRESS_DATA implements IPROGRESS_DATA {
13
+ static log(log: IPROGRESS_DATA): void;
14
+ static resolveFrom(chunk: string, callbackOnFounded?: (json: PROGRESS_DATA) => any, checkSplit?: boolean): PROGRESS_DATA[];
15
+ value?: number;
16
+ msg?: string;
17
+ type: PROGRESS_DATA_TYPE;
18
+ date?: Date;
19
19
  }
@@ -131,8 +131,8 @@
131
131
  "firedev-crud": "~13.1.47",
132
132
  "firedev-crud-deamon": "~13.1.37",
133
133
  "firedev-ports": "~13.1.41",
134
- "firedev-storage": "~13.2.32",
135
- "firedev-typeorm": "~13.1.26",
134
+ "firedev-storage": "~13.2.34",
135
+ "firedev-typeorm": "~13.1.29",
136
136
  "firedev-ui": "~13.1.20",
137
137
  "font-awesome": "4.7.0",
138
138
  "form-data": "4.0.0",
@@ -178,7 +178,7 @@
178
178
  "ng-packagr": "13.0.0",
179
179
  "ng-talkback": "~13.1.19",
180
180
  "ng2-logger": "~13.1.22",
181
- "ng2-rest": "~13.2.5",
181
+ "ng2-rest": "~13.2.6",
182
182
  "ngx-ace-wrapper": "12",
183
183
  "ngx-editor": "12.2.1",
184
184
  "ngx-highlightjs": "6.1.3",
@@ -214,17 +214,17 @@
214
214
  "socket.io": "2.4.1",
215
215
  "sort-package-json": "1.11.0",
216
216
  "sql.js": "1.8.0",
217
- "static-columns": "~13.3.5",
217
+ "static-columns": "~13.3.6",
218
218
  "string-similarity": "4.0.2",
219
219
  "sudo-block": "3.0.0",
220
220
  "systeminformation": "3.45.7",
221
221
  "threads": "1.7.0",
222
222
  "tnp-cli": "~13.1.57",
223
223
  "tnp-config": "~13.1.73",
224
- "tnp-core": "~13.2.16",
224
+ "tnp-core": "~13.2.17",
225
225
  "tnp-db": "~13.1.19",
226
226
  "tnp-helpers": "~13.1.32",
227
- "tnp-models": "~13.1.24",
227
+ "tnp-models": "~13.1.25",
228
228
  "tnp-ui": "~13.1.27",
229
229
  "ts-debug": "1.3.0",
230
230
  "ts-loader": "2.3.1",
@@ -247,6 +247,6 @@
247
247
  "private": false,
248
248
  "main": "index.js",
249
249
  "name": "tnp-core",
250
- "version": "13.2.17",
251
- "lastBuildTagHash": "e516d2b753743317c42abda11c2b2244b546c33d"
250
+ "version": "13.2.18",
251
+ "lastBuildTagHash": "7effc128432ffa88123aa0bcc1543c044e3d66c4"
252
252
  }
@@ -1,6 +1,6 @@
1
1
  // @ts-nocheck
2
- /**
3
- * Generated bundle index. Do not edit.
4
- */
5
- /// <amd-module name="tnp-core" />
2
+ /**
3
+ * Generated bundle index. Do not edit.
4
+ */
5
+ /// <amd-module name="tnp-core" />
6
6
  export * from './public-api';
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './lib';
1
+ export * from './lib';
@@ -1,5 +1,5 @@
1
- export declare const CoreConfig: {
2
- message: {
3
- globalSystemToolMode: string;
4
- };
5
- };
1
+ export declare const CoreConfig: {
2
+ message: {
3
+ globalSystemToolMode: string;
4
+ };
5
+ };
@@ -1,30 +1,30 @@
1
- /// <reference types="node" />
2
- import * as _ from 'lodash';
3
- import * as q from 'q';
4
- import * as moment from 'moment';
5
- import * as dateformat from 'dateformat';
6
- import * as pathBase from 'path';
7
- import * as os from 'os';
8
- import * as child_process from 'child_process';
9
- import * as http from 'http';
10
- import * as https from 'https';
11
- import * as net from 'net';
12
- import chalk from 'chalk';
13
- import * as spawn from 'cross-spawn';
14
- import * as glob from 'glob';
15
- import * as fse from 'fs-extra';
16
- import * as rimraf from 'rimraf';
17
- import * as chokidar from 'chokidar';
18
- import * as mkdirp from 'mkdirp';
19
- import * as json5 from 'json5';
20
- import * as ncp from 'copy-paste';
21
- import * as ps from 'ps-node';
22
- import * as psList from 'ps-list';
23
- import * as fkill from 'fkill';
24
- import * as portfinder from 'portfinder';
25
- declare function isElevated(): Promise<any>;
26
- declare let path: pathBase.PlatformPath;
27
- declare function win32Path(p: string): string;
28
- declare function crossPlatformPath(pathStringOrPathParts: string | string[]): string;
29
- export { _, q, moment, dateformat, crossPlatformPath, win32Path, path, };
30
- export { spawn, chalk, glob, isElevated, chokidar, mkdirp, ncp, json5, fse, os, child_process, http, https, rimraf, net, ps, fkill, portfinder, psList, };
1
+ /// <reference types="node" />
2
+ import * as _ from 'lodash';
3
+ import * as q from 'q';
4
+ import * as moment from 'moment';
5
+ import * as dateformat from 'dateformat';
6
+ import * as pathBase from 'path';
7
+ import * as os from 'os';
8
+ import * as child_process from 'child_process';
9
+ import * as http from 'http';
10
+ import * as https from 'https';
11
+ import * as net from 'net';
12
+ import chalk from 'chalk';
13
+ import * as spawn from 'cross-spawn';
14
+ import * as glob from 'glob';
15
+ import * as fse from 'fs-extra';
16
+ import * as rimraf from 'rimraf';
17
+ import * as chokidar from 'chokidar';
18
+ import * as mkdirp from 'mkdirp';
19
+ import * as json5 from 'json5';
20
+ import * as ncp from 'copy-paste';
21
+ import * as ps from 'ps-node';
22
+ import * as psList from 'ps-list';
23
+ import * as fkill from 'fkill';
24
+ import * as portfinder from 'portfinder';
25
+ declare function isElevated(): Promise<any>;
26
+ declare let path: pathBase.PlatformPath;
27
+ declare function win32Path(p: string): string;
28
+ declare function crossPlatformPath(pathStringOrPathParts: string | string[]): string;
29
+ export { _, q, moment, dateformat, crossPlatformPath, win32Path, path, };
30
+ export { spawn, chalk, glob, isElevated, chokidar, mkdirp, ncp, json5, fse, os, child_process, http, https, rimraf, net, ps, fkill, portfinder, psList, };
@@ -1,42 +1,42 @@
1
- export interface ExecuteOptions {
2
- /** Extract string from line */
3
- extractFromLine?: (string | Function)[];
4
- /**
5
- * Modify output line by line
6
- */
7
- outputLineReplace?: (outputLine: string) => string;
8
- resolvePromiseMsg?: {
9
- stdout?: string | string[];
10
- stderr?: string | string[];
11
- };
12
- prefix?: string;
13
- detach?: boolean;
14
- /**
15
- * Try command again after fail after n miliseconds
16
- */
17
- tryAgainWhenFailAfter?: number;
18
- /**
19
- * Use big buffer for big webpack logs
20
- */
21
- biggerBuffer?: boolean;
22
- exitOnError?: boolean;
23
- exitOnErrorCallback?: (code: number) => void;
24
- /**
25
- * From displaying in console
26
- */
27
- hideOutput?: {
28
- stdout?: boolean;
29
- stderr?: boolean;
30
- };
31
- }
32
- export interface RunOptions extends ExecuteOptions {
33
- showCommand?: boolean;
34
- /**
35
- * Show process output
36
- */
37
- output?: boolean;
38
- silence?: boolean;
39
- stdio?: any;
40
- cwd?: string;
41
- }
42
- export declare type PROGRESS_DATA_TYPE = 'info' | 'error' | 'warning' | 'event';
1
+ export interface ExecuteOptions {
2
+ /** Extract string from line */
3
+ extractFromLine?: (string | Function)[];
4
+ /**
5
+ * Modify output line by line
6
+ */
7
+ outputLineReplace?: (outputLine: string) => string;
8
+ resolvePromiseMsg?: {
9
+ stdout?: string | string[];
10
+ stderr?: string | string[];
11
+ };
12
+ prefix?: string;
13
+ detach?: boolean;
14
+ /**
15
+ * Try command again after fail after n miliseconds
16
+ */
17
+ tryAgainWhenFailAfter?: number;
18
+ /**
19
+ * Use big buffer for big webpack logs
20
+ */
21
+ biggerBuffer?: boolean;
22
+ exitOnError?: boolean;
23
+ exitOnErrorCallback?: (code: number) => void;
24
+ /**
25
+ * From displaying in console
26
+ */
27
+ hideOutput?: {
28
+ stdout?: boolean;
29
+ stderr?: boolean;
30
+ };
31
+ }
32
+ export interface RunOptions extends ExecuteOptions {
33
+ showCommand?: boolean;
34
+ /**
35
+ * Show process output
36
+ */
37
+ output?: boolean;
38
+ silence?: boolean;
39
+ stdio?: any;
40
+ cwd?: string;
41
+ }
42
+ export declare type PROGRESS_DATA_TYPE = 'info' | 'error' | 'warning' | 'event';
@@ -1,2 +1,2 @@
1
- export declare const frameworkNameBe: "firedev" | "tnp";
2
- export declare const frameworkName: "firedev" | "tnp";
1
+ export declare const frameworkNameBe: "firedev" | "tnp";
2
+ export declare const frameworkName: "firedev" | "tnp";
@@ -1,6 +1,6 @@
1
- export declare class HelpersIsomorphic {
2
- get isBrowser(): boolean;
3
- get isWebSQL(): boolean;
4
- get isNode(): boolean;
5
- contain(arr: any[], item: any): boolean;
6
- }
1
+ export declare class HelpersIsomorphic {
2
+ get isBrowser(): boolean;
3
+ get isWebSQL(): boolean;
4
+ get isNode(): boolean;
5
+ contain(arr: any[], item: any): boolean;
6
+ }