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",
@@ -2088,33 +2089,40 @@ class HelpersCore extends HelpersMessages {
2088
2089
  /* */
2089
2090
  /* */
2090
2091
  return {
2091
- /* */
2092
- /* */
2093
- /* */
2094
- /* */
2095
- /* */
2096
- /* */
2097
- /* */
2098
- /* */
2099
- /* */
2100
- /* */
2101
- /* */
2102
- /* */
2103
- /* */
2104
- /* */
2105
- /* */
2106
- /* */
2107
- /* */
2108
- /* */
2109
- /* */
2110
- /* */
2111
- /* */
2112
- /* */
2113
- /* */
2114
- /* */
2115
- /* */
2116
- /* */
2117
- /* */
2092
+ /**
2093
+ * start command as synchronous nodej proces
2094
+ */
2095
+ sync() {
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
+ return (void 0);
2121
+ },
2122
+ /**
2123
+ * start command as asynchronous nodej proces
2124
+ * @param detach (default: false) - if true process will be detached
2125
+ */
2118
2126
  async(detach = false, mockFun) {
2119
2127
  if (mockFun) {
2120
2128
  const subStdoutSub = new Subject();
@@ -2201,109 +2209,113 @@ class HelpersCore extends HelpersMessages {
2201
2209
  /* */
2202
2210
  return (void 0);
2203
2211
  },
2204
- /* */
2205
- /* */
2206
- /* */
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
- /* */
2212
+ /**
2213
+ * start command as asynchronous nodej proces inside promise
2214
+ */
2215
+ asyncAsPromise() {
2216
+ /* */
2217
+ /* */
2218
+ /* */
2219
+ /* */
2220
+ /* */
2221
+ /* */
2222
+ /* */
2223
+ /* */
2224
+ /* */
2225
+ /* */
2226
+ /* */
2227
+ /* */
2228
+ /* */
2229
+ /* */
2230
+ /* */
2231
+ /* */
2232
+ /* */
2233
+ /* */
2234
+ return (void 0);
2235
+ },
2236
+ /**
2237
+ * start command as asynchronous nodej proces inside promise
2238
+ * and wait until output contains some string
2239
+ */
2240
+ unitlOutputContains(stdoutMsg, stderMsg, timeout = 0, stdoutOutputContainsCallback) {
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
+ /* */
2310
+ /* */
2311
+ /* */
2312
+ /* */
2313
+ /* */
2314
+ /* */
2315
+ /* */
2316
+ /* */
2317
+ return (void 0);
2318
+ }
2307
2319
  };
2308
2320
  }
2309
2321
  async questionYesNo(message, callbackTrue, callbackFalse, defaultValue = true,