tnp-core 16.100.19 → 16.100.20

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.
@@ -557,6 +557,7 @@ const crossPlatformPath = (pathStringOrPathParts) => {
557
557
 
558
558
  var CoreModels;
559
559
  (function (CoreModels) {
560
+ CoreModels.BaseProjectTypeArr = ['typescript', 'angular', 'angular-lib', 'unknow', 'unknow-npm-project'];
560
561
  CoreModels.mimeTypes = {
561
562
  ".aac": "audio/aac",
562
563
  ".abw": "application/x-abiword",
@@ -2091,33 +2092,40 @@ class HelpersCore extends HelpersMessages {
2091
2092
  /* */
2092
2093
  /* */
2093
2094
  return {
2094
- /* */
2095
- /* */
2096
- /* */
2097
- /* */
2098
- /* */
2099
- /* */
2100
- /* */
2101
- /* */
2102
- /* */
2103
- /* */
2104
- /* */
2105
- /* */
2106
- /* */
2107
- /* */
2108
- /* */
2109
- /* */
2110
- /* */
2111
- /* */
2112
- /* */
2113
- /* */
2114
- /* */
2115
- /* */
2116
- /* */
2117
- /* */
2118
- /* */
2119
- /* */
2120
- /* */
2095
+ /**
2096
+ * start command as synchronous nodej proces
2097
+ */
2098
+ sync() {
2099
+ /* */
2100
+ /* */
2101
+ /* */
2102
+ /* */
2103
+ /* */
2104
+ /* */
2105
+ /* */
2106
+ /* */
2107
+ /* */
2108
+ /* */
2109
+ /* */
2110
+ /* */
2111
+ /* */
2112
+ /* */
2113
+ /* */
2114
+ /* */
2115
+ /* */
2116
+ /* */
2117
+ /* */
2118
+ /* */
2119
+ /* */
2120
+ /* */
2121
+ /* */
2122
+ /* */
2123
+ return (void 0);
2124
+ },
2125
+ /**
2126
+ * start command as asynchronous nodej proces
2127
+ * @param detach (default: false) - if true process will be detached
2128
+ */
2121
2129
  async(detach = false, mockFun) {
2122
2130
  if (mockFun) {
2123
2131
  const subStdoutSub = new Subject();
@@ -2204,109 +2212,113 @@ class HelpersCore extends HelpersMessages {
2204
2212
  /* */
2205
2213
  return (void 0);
2206
2214
  },
2207
- /* */
2208
- /* */
2209
- /* */
2210
- /* */
2211
- /* */
2212
- /* */
2213
- /* */
2214
- /* */
2215
- /* */
2216
- /* */
2217
- /* */
2218
- /* */
2219
- /* */
2220
- /* */
2221
- /* */
2222
- /* */
2223
- /* */
2224
- /* */
2225
- /* */
2226
- /* */
2227
- /* */
2228
- /* */
2229
- /* */
2230
- /* */
2231
- /* */
2232
- /* */
2233
- /* */
2234
- /* */
2235
- /* */
2236
- /* */
2237
- /* */
2238
- /* */
2239
- /* */
2240
- /* */
2241
- /* */
2242
- /* */
2243
- /* */
2244
- /* */
2245
- /* */
2246
- /* */
2247
- /* */
2248
- /* */
2249
- /* */
2250
- /* */
2251
- /* */
2252
- /* */
2253
- /* */
2254
- /* */
2255
- /* */
2256
- /* */
2257
- /* */
2258
- /* */
2259
- /* */
2260
- /* */
2261
- /* */
2262
- /* */
2263
- /* */
2264
- /* */
2265
- /* */
2266
- /* */
2267
- /* */
2268
- /* */
2269
- /* */
2270
- /* */
2271
- /* */
2272
- /* */
2273
- /* */
2274
- /* */
2275
- /* */
2276
- /* */
2277
- /* */
2278
- /* */
2279
- /* */
2280
- /* */
2281
- /* */
2282
- /* */
2283
- /* */
2284
- /* */
2285
- /* */
2286
- /* */
2287
- /* */
2288
- /* */
2289
- /* */
2290
- /* */
2291
- /* */
2292
- /* */
2293
- /* */
2294
- /* */
2295
- /* */
2296
- /* */
2297
- /* */
2298
- /* */
2299
- /* */
2300
- /* */
2301
- /* */
2302
- /* */
2303
- /* */
2304
- /* */
2305
- /* */
2306
- /* */
2307
- /* */
2308
- /* */
2309
- /* */
2215
+ /**
2216
+ * start command as asynchronous nodej proces inside promise
2217
+ */
2218
+ asyncAsPromise() {
2219
+ /* */
2220
+ /* */
2221
+ /* */
2222
+ /* */
2223
+ /* */
2224
+ /* */
2225
+ /* */
2226
+ /* */
2227
+ /* */
2228
+ /* */
2229
+ /* */
2230
+ /* */
2231
+ /* */
2232
+ /* */
2233
+ /* */
2234
+ /* */
2235
+ /* */
2236
+ /* */
2237
+ return (void 0);
2238
+ },
2239
+ /**
2240
+ * start command as asynchronous nodej proces inside promise
2241
+ * and wait until output contains some string
2242
+ */
2243
+ unitlOutputContains(stdoutMsg, stderMsg, timeout = 0, stdoutOutputContainsCallback) {
2244
+ /* */
2245
+ /* */
2246
+ /* */
2247
+ /* */
2248
+ /* */
2249
+ /* */
2250
+ /* */
2251
+ /* */
2252
+ /* */
2253
+ /* */
2254
+ /* */
2255
+ /* */
2256
+ /* */
2257
+ /* */
2258
+ /* */
2259
+ /* */
2260
+ /* */
2261
+ /* */
2262
+ /* */
2263
+ /* */
2264
+ /* */
2265
+ /* */
2266
+ /* */
2267
+ /* */
2268
+ /* */
2269
+ /* */
2270
+ /* */
2271
+ /* */
2272
+ /* */
2273
+ /* */
2274
+ /* */
2275
+ /* */
2276
+ /* */
2277
+ /* */
2278
+ /* */
2279
+ /* */
2280
+ /* */
2281
+ /* */
2282
+ /* */
2283
+ /* */
2284
+ /* */
2285
+ /* */
2286
+ /* */
2287
+ /* */
2288
+ /* */
2289
+ /* */
2290
+ /* */
2291
+ /* */
2292
+ /* */
2293
+ /* */
2294
+ /* */
2295
+ /* */
2296
+ /* */
2297
+ /* */
2298
+ /* */
2299
+ /* */
2300
+ /* */
2301
+ /* */
2302
+ /* */
2303
+ /* */
2304
+ /* */
2305
+ /* */
2306
+ /* */
2307
+ /* */
2308
+ /* */
2309
+ /* */
2310
+ /* */
2311
+ /* */
2312
+ /* */
2313
+ /* */
2314
+ /* */
2315
+ /* */
2316
+ /* */
2317
+ /* */
2318
+ /* */
2319
+ /* */
2320
+ return (void 0);
2321
+ }
2310
2322
  };
2311
2323
  }
2312
2324
  async questionYesNo(message, callbackTrue, callbackFalse, defaultValue = true,