tnp-core 13.2.16 → 13.2.17

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 (107) 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 +1185 -1180
  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 -2195
  17. package/browser/fesm2015/tnp-core.mjs.map +1 -1
  18. package/browser/fesm2020/tnp-core.mjs +2196 -2193
  19. package/browser/fesm2020/tnp-core.mjs.map +1 -1
  20. package/browser/lib/core-config.d.ts +4 -4
  21. package/browser/lib/core-imports.d.ts +7 -7
  22. package/browser/lib/core-models.d.ts +41 -41
  23. package/browser/lib/framework-name.d.ts +1 -1
  24. package/browser/lib/helpers-isomorphic.d.ts +5 -5
  25. package/browser/lib/helpers-messages.d.ts +16 -16
  26. package/browser/lib/helpers.d.ts +50 -49
  27. package/browser/lib/index.d.ts +7 -7
  28. package/browser/lib/node-path-mock.d.ts +24 -24
  29. package/browser/lib/progress-data.d.ts +17 -17
  30. package/browser/tnp-core.d.ts +4 -4
  31. package/cli.backend.js +3 -3
  32. package/client/README.md +24 -24
  33. package/client/esm2020/lib/core-config.mjs +6 -6
  34. package/client/esm2020/lib/core-imports.mjs +68 -68
  35. package/client/esm2020/lib/core-models.mjs +3 -3
  36. package/client/esm2020/lib/framework-name.mjs +9 -9
  37. package/client/esm2020/lib/helpers-isomorphic.mjs +35 -35
  38. package/client/esm2020/lib/helpers-messages.mjs +493 -493
  39. package/client/esm2020/lib/helpers.mjs +1185 -1180
  40. package/client/esm2020/lib/index.mjs +10 -10
  41. package/client/esm2020/lib/node-path-mock.mjs +414 -414
  42. package/client/esm2020/lib/progress-data.mjs +51 -51
  43. package/client/esm2020/public-api.mjs +1 -1
  44. package/client/esm2020/tnp-core.mjs +4 -4
  45. package/client/fesm2015/tnp-core.mjs +2198 -2195
  46. package/client/fesm2015/tnp-core.mjs.map +1 -1
  47. package/client/fesm2020/tnp-core.mjs +2196 -2193
  48. package/client/fesm2020/tnp-core.mjs.map +1 -1
  49. package/client/lib/core-config.d.ts +4 -4
  50. package/client/lib/core-imports.d.ts +7 -7
  51. package/client/lib/core-models.d.ts +41 -41
  52. package/client/lib/framework-name.d.ts +1 -1
  53. package/client/lib/helpers-isomorphic.d.ts +5 -5
  54. package/client/lib/helpers-messages.d.ts +16 -16
  55. package/client/lib/helpers.d.ts +50 -49
  56. package/client/lib/index.d.ts +7 -7
  57. package/client/lib/node-path-mock.d.ts +24 -24
  58. package/client/lib/progress-data.d.ts +17 -17
  59. package/client/package.json +16 -21
  60. package/client/tnp-core.d.ts +4 -4
  61. package/index.d.ts +1 -1
  62. package/lib/core-config.d.ts +5 -5
  63. package/lib/core-imports.d.ts +30 -30
  64. package/lib/core-models.d.ts +42 -42
  65. package/lib/framework-name.d.ts +2 -2
  66. package/lib/helpers-isomorphic.d.ts +6 -6
  67. package/lib/helpers-messages.d.ts +33 -33
  68. package/lib/helpers.d.ts +129 -128
  69. package/lib/helpers.js +7 -0
  70. package/lib/helpers.js.map +1 -1
  71. package/lib/index.d.ts +8 -8
  72. package/lib/node-path-mock.d.ts +24 -24
  73. package/lib/node-path-mock.js +3 -3
  74. package/lib/progress-data.d.ts +18 -18
  75. package/lib/public-api.d.ts +7 -7
  76. package/package.json +2 -2
  77. package/package.json_devDependencies.json +202 -202
  78. package/package.json_tnp.json5 +65 -65
  79. package/tmp-environment.json +19 -24
  80. package/websql/README.md +24 -24
  81. package/websql/esm2020/lib/core-config.mjs +6 -6
  82. package/websql/esm2020/lib/core-imports.mjs +68 -68
  83. package/websql/esm2020/lib/core-models.mjs +3 -3
  84. package/websql/esm2020/lib/framework-name.mjs +9 -9
  85. package/websql/esm2020/lib/helpers-isomorphic.mjs +34 -34
  86. package/websql/esm2020/lib/helpers-messages.mjs +493 -493
  87. package/websql/esm2020/lib/helpers.mjs +1183 -1178
  88. package/websql/esm2020/lib/index.mjs +10 -10
  89. package/websql/esm2020/lib/node-path-mock.mjs +414 -414
  90. package/websql/esm2020/lib/progress-data.mjs +51 -51
  91. package/websql/esm2020/public-api.mjs +1 -1
  92. package/websql/esm2020/tnp-core.mjs +4 -4
  93. package/websql/fesm2015/tnp-core.mjs +2195 -2192
  94. package/websql/fesm2015/tnp-core.mjs.map +1 -1
  95. package/websql/fesm2020/tnp-core.mjs +2193 -2190
  96. package/websql/fesm2020/tnp-core.mjs.map +1 -1
  97. package/websql/lib/core-config.d.ts +4 -4
  98. package/websql/lib/core-imports.d.ts +7 -7
  99. package/websql/lib/core-models.d.ts +41 -41
  100. package/websql/lib/framework-name.d.ts +1 -1
  101. package/websql/lib/helpers-isomorphic.d.ts +5 -5
  102. package/websql/lib/helpers-messages.d.ts +16 -16
  103. package/websql/lib/helpers.d.ts +50 -49
  104. package/websql/lib/index.d.ts +7 -7
  105. package/websql/lib/node-path-mock.d.ts +24 -24
  106. package/websql/lib/progress-data.d.ts +17 -17
  107. package/websql/tnp-core.d.ts +4 -4
@@ -1,51 +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
- removeSlashAtEnd(s: string): string;
22
- removeSlashAtBegin(s: string): string;
23
- stringify(inputObject: any): string;
24
- runSyncOrAsync(fnOrOptions: Function | [string, object] | RunSyncOrAsyncOptions, ...firstArg: any[]): Promise<any>;
25
- /**
26
- * symlink may have existed or unexisted destiantion url
27
- * @param destUrl M
28
- */
29
- isSymlinkThatMatchesUrl(possibleSymlink: string, destUrl: string, absoluteFileMatch?: boolean): boolean;
30
- isSymlinkFileExitedOrUnexisted(filePath: string): boolean;
31
- /**
32
- * If symbolnk link that target file does not exits
33
- */
34
- isUnexistedLink(filePath: string): boolean;
35
- /**
36
- * @param existedLink check if source of link exists
37
- */
38
- isExistedSymlink(filePath: string): boolean;
39
- exists(folderOrFilePath: string | string[]): any;
40
- _fixCommand(command: string): string;
41
- command(command: string): {};
42
- wait(second: number): Promise<unknown>;
43
- killProcess(byPid: number): void;
44
- run(command: string, options?: RunOptions): {
45
- async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => Promise<number> | number): any;
46
- };
47
- /**
48
- * Quick fix for object values
49
- */
50
- 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[];
51
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
  }
@@ -24,6 +24,7 @@
24
24
  "devDependencies": {
25
25
  "@angular-devkit/build-angular": "~13.3.9",
26
26
  "@angular-devkit/core": "~13.3.9",
27
+ "@angular-material-extensions/fab-menu": "~6.1.0",
27
28
  "@angular/animations": "~13.3.0",
28
29
  "@angular/cdk": "~13.3.9",
29
30
  "@angular/cli": "~13.3.9",
@@ -44,6 +45,10 @@
44
45
  "@iconify/icons-mdi": "1.2.1",
45
46
  "@mdi/js": "6.5.95",
46
47
  "@ng-matero/extensions": "13.3.2",
48
+ "@ngneat/falso": "6.4.0",
49
+ "@ngneat/hot-toast": "4",
50
+ "@ngneat/overview": "3.0.0",
51
+ "@ngneat/until-destroy": "9.2.3",
47
52
  "@ngrx/component-store": "~13.0.2",
48
53
  "@ngrx/data": "~13.0.2",
49
54
  "@ngrx/effects": "~13.0.2",
@@ -52,16 +57,10 @@
52
57
  "@ngrx/schematics": "~13.0.2",
53
58
  "@ngrx/store": "~13.0.2",
54
59
  "@ngrx/store-devtools": "~13.0.2",
55
- "@ngx-formly/bootstrap": "6.0.0-next.8",
56
60
  "@ngx-formly/core": "6.0.0-next.8",
57
- "@ngx-formly/ionic": "4.6.3",
58
61
  "@ngx-formly/material": "6.0.0-next.8",
59
- "@ngx-loading-bar/core": "6.0.2",
60
- "@ngx-loading-bar/http-client": "6.0.2",
61
- "@ngx-loading-bar/router": "6.0.2",
62
62
  "@ngx-translate/core": "14.0.0",
63
63
  "@ngx-translate/http-loader": "7.0.0",
64
- "@swimlane/ngx-datatable": "20.0.0",
65
64
  "@types/chai": "4.1.2",
66
65
  "@types/chokidar": "2.1.3",
67
66
  "@types/dateformat": "1.0.1",
@@ -99,13 +98,13 @@
99
98
  "better-sqlite3": "7.6.2",
100
99
  "body-parser": "1.18.2",
101
100
  "bootstrap": "4.6.2",
102
- "bs4-breakpoint": "13.0.33",
103
101
  "buffer-shims": "1.0.0",
104
102
  "callsite-record": "4.1.3",
105
103
  "chai": "4.2.0",
106
104
  "check-node-version": "3.2.0",
107
105
  "cheerio": "1.0.0-rc.3",
108
106
  "circular-json": "0.5.1",
107
+ "class-validator": "0.14.0",
109
108
  "command-exists": "1.2.2",
110
109
  "compression": "1.7.4",
111
110
  "concurrently": "3.5.1",
@@ -115,7 +114,6 @@
115
114
  "cpr": "3.0.1",
116
115
  "detect-mocha": "0.1.0",
117
116
  "diff": "3.2.0",
118
- "edit-table": "13.1.0",
119
117
  "element-resize-detector": "1.1.15",
120
118
  "enquirer": "2.3.0",
121
119
  "enum-values": "1.2.1",
@@ -127,7 +125,6 @@
127
125
  "express": "4.16.3",
128
126
  "express-fileupload": "1.4.0",
129
127
  "express-session": "1.17.3",
130
- "fbgraph": "1.4.1",
131
128
  "file-loader": "1.1.5",
132
129
  "file-saver": "2.0.5",
133
130
  "firedev": "^13",
@@ -135,7 +132,7 @@
135
132
  "firedev-crud-deamon": "~13.1.37",
136
133
  "firedev-ports": "~13.1.41",
137
134
  "firedev-storage": "~13.2.32",
138
- "firedev-typeorm": "~13.1.25",
135
+ "firedev-typeorm": "~13.1.26",
139
136
  "firedev-ui": "~13.1.20",
140
137
  "font-awesome": "4.7.0",
141
138
  "form-data": "4.0.0",
@@ -153,6 +150,7 @@
153
150
  "isomorphic-region-loader": "~13.1.35",
154
151
  "istanbul-instrumenter-loader": "2.0.0",
155
152
  "jasmine-core": "4.0.0",
153
+ "jimp": "0.22.8",
156
154
  "jscodeshift": "0.6.3",
157
155
  "json-stringify-safe": "5.0.1",
158
156
  "json10": "~13.1.42",
@@ -176,15 +174,12 @@
176
174
  "minimist": "1.2.0",
177
175
  "mocha": "5.2.0",
178
176
  "morphi": "~13.2.5",
177
+ "ng-in-viewport": "13.0.1",
179
178
  "ng-packagr": "13.0.0",
180
179
  "ng-talkback": "~13.1.19",
181
- "ng2-file-upload": "1.3.0",
182
180
  "ng2-logger": "~13.1.22",
183
181
  "ng2-rest": "~13.2.5",
184
- "ng4-icons": "~13.1.21",
185
- "ng4-modal": "~13.1.23",
186
182
  "ngx-ace-wrapper": "12",
187
- "ngx-bootstrap": "2.0.2",
188
183
  "ngx-editor": "12.2.1",
189
184
  "ngx-highlightjs": "6.1.3",
190
185
  "ngx-moment": "6.0.2",
@@ -192,8 +187,7 @@
192
187
  "ngx-progressbar": "8.0.0",
193
188
  "ngx-scrollbar": "9.0.2",
194
189
  "ngx-store": "3.1.1",
195
- "ngx-toastr": "14.2.2",
196
- "ngx-wig": "1.2.7",
190
+ "ngx-typed-js": "2.1.1",
197
191
  "node-cli-tester": "~13.1.19",
198
192
  "node-localstorage": "2.1.6",
199
193
  "node-notifier": "6.0.0",
@@ -206,6 +200,7 @@
206
200
  "passport": "0.3.2",
207
201
  "passport-http-bearer": "1.0.1",
208
202
  "password-hash": "1.2.2",
203
+ "pica": "9.0.1",
209
204
  "prettier": "2.5.1",
210
205
  "progress": "2.0.3",
211
206
  "prompts": "0.1.8",
@@ -223,13 +218,13 @@
223
218
  "string-similarity": "4.0.2",
224
219
  "sudo-block": "3.0.0",
225
220
  "systeminformation": "3.45.7",
226
- "task.js": "0.1.5",
221
+ "threads": "1.7.0",
227
222
  "tnp-cli": "~13.1.57",
228
223
  "tnp-config": "~13.1.73",
229
- "tnp-core": "~13.2.15",
224
+ "tnp-core": "~13.2.16",
230
225
  "tnp-db": "~13.1.19",
231
226
  "tnp-helpers": "~13.1.32",
232
- "tnp-models": "~13.1.23",
227
+ "tnp-models": "~13.1.24",
233
228
  "tnp-ui": "~13.1.27",
234
229
  "ts-debug": "1.3.0",
235
230
  "ts-loader": "2.3.1",
@@ -252,6 +247,6 @@
252
247
  "private": false,
253
248
  "main": "index.js",
254
249
  "name": "tnp-core",
255
- "version": "13.2.16",
256
- "lastBuildTagHash": "435cfa4802a9e1c0c790a65275590dddbb0d0938"
250
+ "version": "13.2.17",
251
+ "lastBuildTagHash": "e516d2b753743317c42abda11c2b2244b546c33d"
257
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
+ }
@@ -1,33 +1,33 @@
1
- import { HelpersIsomorphic } from './helpers-isomorphic';
2
- export declare class HelpersMessages extends HelpersIsomorphic {
3
- msgCacheClear(): void;
4
- error(details: any, noExit?: boolean, noTrace?: boolean): void;
5
- info(details: string, repeatable?: boolean): void;
6
- success(details: any | string): void;
7
- /**
8
- *
9
- * @param details
10
- * @param isLogTask is less important log task
11
- * @returns
12
- */
13
- taskStarted(details: any | string, isLogTask?: boolean): void;
14
- taskDone(details?: any | string, isLessImportant?: boolean): void;
15
- log(details: any, debugLevel?: number): void;
16
- /**
17
- * Logs not visible in normal use of firedev-cli
18
- */
19
- logSuccess(details: any | string): void;
20
- /**
21
- * Logs not visible in normal use of firedev-cli
22
- */
23
- logInfo(details: string, repeatable?: boolean): void;
24
- /**
25
- * Logs not visible in normal use of firedev-cli
26
- */
27
- logError(details: any, noExit?: boolean, noTrace?: boolean): void;
28
- /**
29
- * Logs not visible in normal use of firedev-cli
30
- */
31
- logWarn(details: string, trace?: boolean): void;
32
- warn(details: string, trace?: boolean): void;
33
- }
1
+ import { HelpersIsomorphic } from './helpers-isomorphic';
2
+ export declare class HelpersMessages extends HelpersIsomorphic {
3
+ msgCacheClear(): void;
4
+ error(details: any, noExit?: boolean, noTrace?: boolean): void;
5
+ info(details: string, repeatable?: boolean): void;
6
+ success(details: any | string): void;
7
+ /**
8
+ *
9
+ * @param details
10
+ * @param isLogTask is less important log task
11
+ * @returns
12
+ */
13
+ taskStarted(details: any | string, isLogTask?: boolean): void;
14
+ taskDone(details?: any | string, isLessImportant?: boolean): void;
15
+ log(details: any, debugLevel?: number): void;
16
+ /**
17
+ * Logs not visible in normal use of firedev-cli
18
+ */
19
+ logSuccess(details: any | string): void;
20
+ /**
21
+ * Logs not visible in normal use of firedev-cli
22
+ */
23
+ logInfo(details: string, repeatable?: boolean): void;
24
+ /**
25
+ * Logs not visible in normal use of firedev-cli
26
+ */
27
+ logError(details: any, noExit?: boolean, noTrace?: boolean): void;
28
+ /**
29
+ * Logs not visible in normal use of firedev-cli
30
+ */
31
+ logWarn(details: string, trace?: boolean): void;
32
+ warn(details: string, trace?: boolean): void;
33
+ }