@tsed/cli-core 3.19.5 → 3.20.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/lib/index.js CHANGED
@@ -21,6 +21,7 @@ var chalk = require('chalk');
21
21
  var url = require('url');
22
22
  var Consolidate = require('consolidate');
23
23
  var globby = require('globby');
24
+ var handlebars = require('handlebars');
24
25
  var JsYaml = require('js-yaml');
25
26
  var updateNotifier = require('update-notifier');
26
27
 
@@ -59,6 +60,7 @@ var chalk__default = /*#__PURE__*/_interopDefaultLegacy(chalk);
59
60
  var url__default = /*#__PURE__*/_interopDefaultLegacy(url);
60
61
  var Consolidate__default = /*#__PURE__*/_interopDefaultLegacy(Consolidate);
61
62
  var globby__default = /*#__PURE__*/_interopDefaultLegacy(globby);
63
+ var handlebars__default = /*#__PURE__*/_interopDefaultLegacy(handlebars);
62
64
  var JsYaml__default = /*#__PURE__*/_interopDefaultLegacy(JsYaml);
63
65
  var updateNotifier__default = /*#__PURE__*/_interopDefaultLegacy(updateNotifier);
64
66
 
@@ -1870,7 +1872,7 @@ exports.CliRunScript = tslib.__decorate([di.Injectable()], exports.CliRunScript)
1870
1872
 
1871
1873
  const util$3 = require("handlebars-utils");
1872
1874
 
1873
- const helpers$3 = {};
1875
+ const helpers$4 = {};
1874
1876
 
1875
1877
  const contains = (val, obj, start) => {
1876
1878
  if (val == null || obj == null || !core.isNumber(val.length)) {
@@ -1899,7 +1901,7 @@ const contains = (val, obj, start) => {
1899
1901
  */
1900
1902
 
1901
1903
 
1902
- helpers$3.and = (...args) => {
1904
+ helpers$4.and = (...args) => {
1903
1905
  const len = args.length - 1;
1904
1906
  const options = args[len];
1905
1907
  let val = true;
@@ -1929,7 +1931,7 @@ helpers$3.and = (...args) => {
1929
1931
  */
1930
1932
 
1931
1933
 
1932
- helpers$3.compare = function (a, operator, b, options) {
1934
+ helpers$4.compare = function (a, operator, b, options) {
1933
1935
  /*eslint eqeqeq: 0*/
1934
1936
  if (arguments.length < 4) {
1935
1937
  throw new Error("handlebars Helper {{compare}} expects 4 arguments");
@@ -2006,7 +2008,7 @@ helpers$3.compare = function (a, operator, b, options) {
2006
2008
  */
2007
2009
 
2008
2010
 
2009
- helpers$3.contains = function (collection, value, startIndex, options) {
2011
+ helpers$4.contains = function (collection, value, startIndex, options) {
2010
2012
  if (typeof startIndex === "object") {
2011
2013
  options = startIndex;
2012
2014
  startIndex = undefined;
@@ -2026,7 +2028,7 @@ helpers$3.contains = function (collection, value, startIndex, options) {
2026
2028
  */
2027
2029
 
2028
2030
 
2029
- helpers$3.default = (...args) => {
2031
+ helpers$4.default = (...args) => {
2030
2032
  for (let i = 0; i < args.length - 1; i++) {
2031
2033
  if (args[i] != null) return args[i];
2032
2034
  }
@@ -2049,7 +2051,7 @@ helpers$3.default = (...args) => {
2049
2051
  */
2050
2052
 
2051
2053
 
2052
- helpers$3.eq = function (a, b, options) {
2054
+ helpers$4.eq = function (a, b, options) {
2053
2055
  if (arguments.length === 2) {
2054
2056
  options = b;
2055
2057
  b = options.hash.compare;
@@ -2073,7 +2075,7 @@ helpers$3.eq = function (a, b, options) {
2073
2075
  */
2074
2076
 
2075
2077
 
2076
- helpers$3.gt = function (a, b, options) {
2078
+ helpers$4.gt = function (a, b, options) {
2077
2079
  if (arguments.length === 2) {
2078
2080
  options = b;
2079
2081
  b = options.hash.compare;
@@ -2098,7 +2100,7 @@ helpers$3.gt = function (a, b, options) {
2098
2100
  */
2099
2101
 
2100
2102
 
2101
- helpers$3.gte = function (a, b, options) {
2103
+ helpers$4.gte = function (a, b, options) {
2102
2104
  if (arguments.length === 2) {
2103
2105
  options = b;
2104
2106
  b = options.hash.compare;
@@ -2120,7 +2122,7 @@ helpers$3.gte = function (a, b, options) {
2120
2122
  */
2121
2123
 
2122
2124
 
2123
- helpers$3.is = function (a, b, options) {
2125
+ helpers$4.is = function (a, b, options) {
2124
2126
  if (arguments.length === 2) {
2125
2127
  options = b;
2126
2128
  b = options.hash.compare;
@@ -2143,7 +2145,7 @@ helpers$3.is = function (a, b, options) {
2143
2145
  */
2144
2146
 
2145
2147
 
2146
- helpers$3.isnt = function (a, b, options) {
2148
+ helpers$4.isnt = function (a, b, options) {
2147
2149
  if (arguments.length === 2) {
2148
2150
  options = b;
2149
2151
  b = options.hash.compare;
@@ -2166,7 +2168,7 @@ helpers$3.isnt = function (a, b, options) {
2166
2168
  */
2167
2169
 
2168
2170
 
2169
- helpers$3.lt = function (a, b, options) {
2171
+ helpers$4.lt = function (a, b, options) {
2170
2172
  if (arguments.length === 2) {
2171
2173
  options = b;
2172
2174
  b = options.hash.compare;
@@ -2191,7 +2193,7 @@ helpers$3.lt = function (a, b, options) {
2191
2193
  */
2192
2194
 
2193
2195
 
2194
- helpers$3.lte = function (a, b, options) {
2196
+ helpers$4.lte = function (a, b, options) {
2195
2197
  if (arguments.length === 2) {
2196
2198
  options = b;
2197
2199
  b = options.hash.compare;
@@ -2213,7 +2215,7 @@ helpers$3.lte = function (a, b, options) {
2213
2215
  */
2214
2216
 
2215
2217
 
2216
- helpers$3.neither = function (a, b, options) {
2218
+ helpers$4.neither = function (a, b, options) {
2217
2219
  return util$3.value(!a && !b, this, options);
2218
2220
  };
2219
2221
  /**
@@ -2227,7 +2229,7 @@ helpers$3.neither = function (a, b, options) {
2227
2229
  */
2228
2230
 
2229
2231
 
2230
- helpers$3.not = function (val, options) {
2232
+ helpers$4.not = function (val, options) {
2231
2233
  return util$3.value(!val, this, options);
2232
2234
  };
2233
2235
  /**
@@ -2249,7 +2251,7 @@ helpers$3.not = function (val, options) {
2249
2251
  */
2250
2252
 
2251
2253
 
2252
- helpers$3.or = function (...args) {
2254
+ helpers$4.or = function (...args) {
2253
2255
  const len = args.length - 1;
2254
2256
  const options = args[len];
2255
2257
  let val = false;
@@ -2276,7 +2278,7 @@ helpers$3.or = function (...args) {
2276
2278
  */
2277
2279
 
2278
2280
 
2279
- helpers$3.unlessEq = function (a, b, options) {
2281
+ helpers$4.unlessEq = function (a, b, options) {
2280
2282
  if (util$3.isOptions(b)) {
2281
2283
  options = b;
2282
2284
  b = options.hash.compare;
@@ -2297,7 +2299,7 @@ helpers$3.unlessEq = function (a, b, options) {
2297
2299
  */
2298
2300
 
2299
2301
 
2300
- helpers$3.unlessGt = function (a, b, options) {
2302
+ helpers$4.unlessGt = function (a, b, options) {
2301
2303
  if (util$3.isOptions(b)) {
2302
2304
  options = b;
2303
2305
  b = options.hash.compare;
@@ -2318,7 +2320,7 @@ helpers$3.unlessGt = function (a, b, options) {
2318
2320
  */
2319
2321
 
2320
2322
 
2321
- helpers$3.unlessLt = function (a, b, options) {
2323
+ helpers$4.unlessLt = function (a, b, options) {
2322
2324
  if (util$3.isOptions(b)) {
2323
2325
  options = b;
2324
2326
  b = options.hash.compare;
@@ -2339,7 +2341,7 @@ helpers$3.unlessLt = function (a, b, options) {
2339
2341
  */
2340
2342
 
2341
2343
 
2342
- helpers$3.unlessGteq = function (a, b, options) {
2344
+ helpers$4.unlessGteq = function (a, b, options) {
2343
2345
  if (util$3.isOptions(b)) {
2344
2346
  options = b;
2345
2347
  b = options.hash.compare;
@@ -2360,7 +2362,7 @@ helpers$3.unlessGteq = function (a, b, options) {
2360
2362
  */
2361
2363
 
2362
2364
 
2363
- helpers$3.unlessLteq = function (a, b, options) {
2365
+ helpers$4.unlessLteq = function (a, b, options) {
2364
2366
  if (util$3.isOptions(b)) {
2365
2367
  options = b;
2366
2368
  b = options.hash.compare;
@@ -2373,7 +2375,7 @@ const createFrame$1 = require("create-frame");
2373
2375
 
2374
2376
  const util$2 = require("handlebars-utils");
2375
2377
 
2376
- const helpers$2 = {};
2378
+ const helpers$3 = {};
2377
2379
  /**
2378
2380
  * Returns all of the items in an array after the specified index.
2379
2381
  * Opposite of [before](#before).
@@ -2389,7 +2391,7 @@ const helpers$2 = {};
2389
2391
  * @api public
2390
2392
  */
2391
2393
 
2392
- helpers$2.after = function (array, n) {
2394
+ helpers$3.after = function (array, n) {
2393
2395
  if (util$2.isUndefined(array)) return "";
2394
2396
  return array.slice(n);
2395
2397
  };
@@ -2406,7 +2408,7 @@ helpers$2.after = function (array, n) {
2406
2408
  */
2407
2409
 
2408
2410
 
2409
- helpers$2.arrayify = function (value) {
2411
+ helpers$3.arrayify = function (value) {
2410
2412
  return value ? core.isArray(value) ? value : [value] : [];
2411
2413
  };
2412
2414
  /**
@@ -2425,7 +2427,7 @@ helpers$2.arrayify = function (value) {
2425
2427
  */
2426
2428
 
2427
2429
 
2428
- helpers$2.before = function (array, n) {
2430
+ helpers$3.before = function (array, n) {
2429
2431
  if (util$2.isUndefined(array)) return "";
2430
2432
  return array.slice(0, -n);
2431
2433
  };
@@ -2444,7 +2446,7 @@ helpers$2.before = function (array, n) {
2444
2446
  */
2445
2447
 
2446
2448
 
2447
- helpers$2.eachIndex = function (array, options) {
2449
+ helpers$3.eachIndex = function (array, options) {
2448
2450
  let result = "";
2449
2451
 
2450
2452
  for (let i = 0; i < array.length; i++) {
@@ -2474,7 +2476,7 @@ helpers$2.eachIndex = function (array, options) {
2474
2476
  */
2475
2477
 
2476
2478
 
2477
- helpers$2.filter = function (array, value, options) {
2479
+ helpers$3.filter = function (array, value, options) {
2478
2480
  let content = "";
2479
2481
  let results = []; // filter on a specific property
2480
2482
 
@@ -2515,7 +2517,7 @@ helpers$2.filter = function (array, value, options) {
2515
2517
  */
2516
2518
 
2517
2519
 
2518
- helpers$2.first = function (array, n) {
2520
+ helpers$3.first = function (array, n) {
2519
2521
  if (array === undefined) return "";
2520
2522
 
2521
2523
  if (!core.isNumber(n)) {
@@ -2559,7 +2561,7 @@ helpers$2.first = function (array, n) {
2559
2561
  */
2560
2562
 
2561
2563
 
2562
- helpers$2.forEach = function (array, options) {
2564
+ helpers$3.forEach = function (array, options) {
2563
2565
  const data = createFrame$1(options, options.hash);
2564
2566
  const len = array.length;
2565
2567
  let buffer = "";
@@ -2602,7 +2604,7 @@ helpers$2.forEach = function (array, options) {
2602
2604
  */
2603
2605
 
2604
2606
 
2605
- helpers$2.inArray = function (array, value, options) {
2607
+ helpers$3.inArray = function (array, value, options) {
2606
2608
  return util$2.value(util$2.indexOf(array, value) > -1, this, options);
2607
2609
  };
2608
2610
  /**
@@ -2622,7 +2624,7 @@ helpers$2.inArray = function (array, value, options) {
2622
2624
  */
2623
2625
 
2624
2626
 
2625
- helpers$2.isArray = function (value) {
2627
+ helpers$3.isArray = function (value) {
2626
2628
  return Array.isArray(value);
2627
2629
  };
2628
2630
  /**
@@ -2641,7 +2643,7 @@ helpers$2.isArray = function (value) {
2641
2643
  */
2642
2644
 
2643
2645
 
2644
- helpers$2.itemAt = function (array, idx) {
2646
+ helpers$3.itemAt = function (array, idx) {
2645
2647
  array = util$2.result(array);
2646
2648
 
2647
2649
  if (core.isArray(array)) {
@@ -2675,7 +2677,7 @@ helpers$2.itemAt = function (array, idx) {
2675
2677
  */
2676
2678
 
2677
2679
 
2678
- helpers$2.join = function (array, separator) {
2680
+ helpers$3.join = function (array, separator) {
2679
2681
  if (core.isString(array)) return array;
2680
2682
  if (!core.isArray(array)) return "";
2681
2683
  separator = util$2.isString(separator) ? separator : ", ";
@@ -2694,7 +2696,7 @@ helpers$2.join = function (array, separator) {
2694
2696
  */
2695
2697
 
2696
2698
 
2697
- helpers$2.equalsLength = function (value, length, options) {
2699
+ helpers$3.equalsLength = function (value, length, options) {
2698
2700
  if (util$2.isOptions(length)) {
2699
2701
  options = length;
2700
2702
  length = 0;
@@ -2731,7 +2733,7 @@ helpers$2.equalsLength = function (value, length, options) {
2731
2733
  */
2732
2734
 
2733
2735
 
2734
- helpers$2.last = function (value, n) {
2736
+ helpers$3.last = function (value, n) {
2735
2737
  if (!core.isArray(value) && typeof value !== "string") {
2736
2738
  return "";
2737
2739
  }
@@ -2763,7 +2765,7 @@ helpers$2.last = function (value, n) {
2763
2765
  */
2764
2766
 
2765
2767
 
2766
- helpers$2.length = function (value) {
2768
+ helpers$3.length = function (value) {
2767
2769
  if (core.isObject(value) && !util$2.isOptions(value)) {
2768
2770
  value = Object.keys(value);
2769
2771
  }
@@ -2792,7 +2794,7 @@ helpers$2.length = function (value) {
2792
2794
  */
2793
2795
 
2794
2796
 
2795
- helpers$2.map = function (array, iter) {
2797
+ helpers$3.map = function (array, iter) {
2796
2798
  if (!Array.isArray(array)) return "";
2797
2799
  const len = array.length;
2798
2800
  const res = new Array(len);
@@ -2824,7 +2826,7 @@ helpers$2.map = function (array, iter) {
2824
2826
  */
2825
2827
 
2826
2828
 
2827
- helpers$2.pluck = function (arr, prop) {
2829
+ helpers$3.pluck = function (arr, prop) {
2828
2830
  if (util$2.isUndefined(arr)) return "";
2829
2831
  const res = [];
2830
2832
 
@@ -2855,7 +2857,7 @@ helpers$2.pluck = function (arr, prop) {
2855
2857
  */
2856
2858
 
2857
2859
 
2858
- helpers$2.reverse = function (val) {
2860
+ helpers$3.reverse = function (val) {
2859
2861
  if (Array.isArray(val)) {
2860
2862
  val.reverse();
2861
2863
  return val;
@@ -2887,7 +2889,7 @@ helpers$2.reverse = function (val) {
2887
2889
  */
2888
2890
 
2889
2891
 
2890
- helpers$2.some = function (array, iter, options) {
2892
+ helpers$3.some = function (array, iter, options) {
2891
2893
  if (Array.isArray(array)) {
2892
2894
  for (let i = 0; i < array.length; i++) {
2893
2895
  if (iter(array[i], i, array)) {
@@ -2916,7 +2918,7 @@ helpers$2.some = function (array, iter, options) {
2916
2918
  */
2917
2919
 
2918
2920
 
2919
- helpers$2.sort = function (array, options) {
2921
+ helpers$3.sort = function (array, options) {
2920
2922
  if (!Array.isArray(array)) return "";
2921
2923
 
2922
2924
  if (core.getValue(options, "hash.reverse")) {
@@ -2941,7 +2943,7 @@ helpers$2.sort = function (array, options) {
2941
2943
  */
2942
2944
 
2943
2945
 
2944
- helpers$2.unique = function (array) {
2946
+ helpers$3.unique = function (array) {
2945
2947
  if (util$2.isUndefined(array)) return "";
2946
2948
  return array.filter(function (item, index, arr) {
2947
2949
  return arr.indexOf(item) === index;
@@ -2954,7 +2956,7 @@ const util$1 = require("handlebars-utils");
2954
2956
 
2955
2957
  const createFrame = require("create-frame");
2956
2958
 
2957
- const helpers$1 = {};
2959
+ const helpers$2 = {};
2958
2960
  /**
2959
2961
  * Extend the context with the properties of other objects.
2960
2962
  * A shallow merge is performed to avoid mutating the context.
@@ -2964,7 +2966,7 @@ const helpers$1 = {};
2964
2966
  * @api public
2965
2967
  */
2966
2968
 
2967
- helpers$1.extend = function ()
2969
+ helpers$2.extend = function ()
2968
2970
  /*objects*/
2969
2971
  {
2970
2972
  // eslint-disable-next-line prefer-rest-params
@@ -3007,7 +3009,7 @@ helpers$1.extend = function ()
3007
3009
  */
3008
3010
 
3009
3011
 
3010
- helpers$1.forIn = function (obj, options) {
3012
+ helpers$2.forIn = function (obj, options) {
3011
3013
  if (!util$1.isOptions(options)) {
3012
3014
  return obj.inverse(this);
3013
3015
  }
@@ -3036,7 +3038,7 @@ helpers$1.forIn = function (obj, options) {
3036
3038
  */
3037
3039
 
3038
3040
 
3039
- helpers$1.forOwn = function (obj, options) {
3041
+ helpers$2.forOwn = function (obj, options) {
3040
3042
  if (!util$1.isOptions(options)) {
3041
3043
  return obj.inverse(this);
3042
3044
  }
@@ -3064,7 +3066,7 @@ helpers$1.forOwn = function (obj, options) {
3064
3066
  */
3065
3067
 
3066
3068
 
3067
- helpers$1.toPath = function (...args) {
3069
+ helpers$2.toPath = function (...args) {
3068
3070
  const prop = [];
3069
3071
 
3070
3072
  for (let i = 0; i < arguments.length; i++) {
@@ -3088,7 +3090,7 @@ helpers$1.toPath = function (...args) {
3088
3090
  */
3089
3091
 
3090
3092
 
3091
- helpers$1.get = function (prop, context, options) {
3093
+ helpers$2.get = function (prop, context, options) {
3092
3094
  const val = core.getValue(context, prop);
3093
3095
 
3094
3096
  if (options && options.fn) {
@@ -3112,7 +3114,7 @@ helpers$1.get = function (prop, context, options) {
3112
3114
  */
3113
3115
 
3114
3116
 
3115
- helpers$1.hasOwn = function (context, key) {
3117
+ helpers$2.hasOwn = function (context, key) {
3116
3118
  return hasOwn.call(context, key);
3117
3119
  };
3118
3120
  /**
@@ -3128,7 +3130,7 @@ helpers$1.hasOwn = function (context, key) {
3128
3130
  */
3129
3131
 
3130
3132
 
3131
- helpers$1.isObject = core.isObject;
3133
+ helpers$2.isObject = core.isObject;
3132
3134
  /**
3133
3135
  * Parses the given string using `JSON.parse`.
3134
3136
  *
@@ -3143,7 +3145,7 @@ helpers$1.isObject = core.isObject;
3143
3145
  * @api public
3144
3146
  */
3145
3147
 
3146
- helpers$1.JSONparse = function (str) {
3148
+ helpers$2.JSONparse = function (str) {
3147
3149
  return JSON.parse(str);
3148
3150
  };
3149
3151
  /**
@@ -3160,7 +3162,7 @@ helpers$1.JSONparse = function (str) {
3160
3162
  */
3161
3163
 
3162
3164
 
3163
- helpers$1.JSONstringify = function (obj, indent) {
3165
+ helpers$2.JSONstringify = function (obj, indent) {
3164
3166
  if (!core.isNumber(indent)) {
3165
3167
  indent = 0;
3166
3168
  }
@@ -3178,7 +3180,7 @@ helpers$1.JSONstringify = function (obj, indent) {
3178
3180
  */
3179
3181
 
3180
3182
 
3181
- helpers$1.merge = function (...args1) {
3183
+ helpers$2.merge = function (...args1) {
3182
3184
  // eslint-disable-next-line prefer-rest-params
3183
3185
  const args = [].slice.call(args1);
3184
3186
  let opts = {};
@@ -3198,7 +3200,7 @@ helpers$1.merge = function (...args1) {
3198
3200
  */
3199
3201
 
3200
3202
 
3201
- helpers$1.parseJSON = helpers$1.JSONparse;
3203
+ helpers$2.parseJSON = helpers$2.JSONparse;
3202
3204
  /**
3203
3205
  * Pick properties from the context object.
3204
3206
  *
@@ -3210,14 +3212,14 @@ helpers$1.parseJSON = helpers$1.JSONparse;
3210
3212
  * @api public
3211
3213
  */
3212
3214
 
3213
- helpers$1.pick = function (props, context, options) {
3214
- const keys = helpers$2.arrayify(props);
3215
+ helpers$2.pick = function (props, context, options) {
3216
+ const keys = helpers$3.arrayify(props);
3215
3217
  const len = keys.length;
3216
3218
  let i = -1;
3217
3219
  let result = {};
3218
3220
 
3219
3221
  while (++i < len) {
3220
- result = helpers$1.extend({}, result, core.getValue(context, keys[i]));
3222
+ result = helpers$2.extend({}, result, core.getValue(context, keys[i]));
3221
3223
  }
3222
3224
 
3223
3225
  if (options.fn) {
@@ -3236,12 +3238,12 @@ helpers$1.pick = function (props, context, options) {
3236
3238
  */
3237
3239
 
3238
3240
 
3239
- helpers$1.stringify = helpers$1.JSONstringify;
3241
+ helpers$2.stringify = helpers$2.JSONstringify;
3240
3242
 
3241
3243
  const util = require("handlebars-utils");
3242
- const forEach = helpers$2.forEach;
3243
- const forOwn = helpers$1.forOwn;
3244
- const helpers = {};
3244
+ const forEach = helpers$3.forEach;
3245
+ const forOwn = helpers$2.forOwn;
3246
+ const helpers$1 = {};
3245
3247
  /**
3246
3248
  * Inline, subexpression, or block helper that returns true (or the block)
3247
3249
  * if the given collection is empty, or false (or the inverse block, if
@@ -3263,7 +3265,7 @@ const helpers = {};
3263
3265
  * @api public
3264
3266
  */
3265
3267
 
3266
- helpers.isEmpty = function (collection, options) {
3268
+ helpers$1.isEmpty = function (collection, options) {
3267
3269
  if (!util.isOptions(options)) {
3268
3270
  options = collection;
3269
3271
  return util.fn(true, this, options);
@@ -3291,7 +3293,7 @@ helpers.isEmpty = function (collection, options) {
3291
3293
  */
3292
3294
 
3293
3295
 
3294
- helpers.iterate = function (collection, options) {
3296
+ helpers$1.iterate = function (collection, options) {
3295
3297
  if (Array.isArray(collection)) {
3296
3298
  return forEach.apply(null, [collection, options]);
3297
3299
  }
@@ -3303,12 +3305,24 @@ helpers.iterate = function (collection, options) {
3303
3305
  return options.inverse(this);
3304
3306
  };
3305
3307
 
3306
- const handlebars = require("handlebars");
3308
+ const helpers = {};
3309
+
3310
+ helpers.switch = function (value, options) {
3311
+ this.switch_value = value;
3312
+ return options.fn(this);
3313
+ };
3314
+
3315
+ helpers.case = function (value, options) {
3316
+ if (value == this.switch_value) {
3317
+ return options.fn(this);
3318
+ }
3319
+ };
3307
3320
 
3308
- handlebars.registerHelper(helpers$2);
3309
- handlebars.registerHelper(helpers$1);
3310
- handlebars.registerHelper(helpers);
3311
- handlebars.registerHelper(helpers$3);
3321
+ handlebars__default['default'].registerHelper(helpers$3);
3322
+ handlebars__default['default'].registerHelper(helpers$2);
3323
+ handlebars__default['default'].registerHelper(helpers$1);
3324
+ handlebars__default['default'].registerHelper(helpers$4);
3325
+ handlebars__default['default'].registerHelper(helpers);
3312
3326
 
3313
3327
  function insertImport(fileContent, content) {
3314
3328
  const lines = fileContent.split("\n");
@@ -3873,6 +3887,7 @@ exports.createTasks = createTasks;
3873
3887
  exports.createTasksRunner = createTasksRunner;
3874
3888
  exports.getCommandMetadata = getCommandMetadata;
3875
3889
  exports.getLogger = getLogger;
3890
+ exports.getPackageJson = getPackageJson;
3876
3891
  exports.loadPlugins = loadPlugins;
3877
3892
  exports.logToCurl = logToCurl;
3878
3893
  exports.mapCommanderArgs = mapCommanderArgs;