tnp-helpers 16.444.18 → 16.444.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.
Files changed (111) hide show
  1. package/assets/shared/shared_folder_info.txt +1 -1
  2. package/browser/README.md +24 -24
  3. package/browser/esm2022/lib/base/base-git.mjs +34 -4
  4. package/browser/esm2022/lib/base/base-library-build.mjs +39 -27
  5. package/browser/esm2022/lib/base/base-linked-projects.mjs +15 -4
  6. package/browser/esm2022/lib/base/base-npm-helpers.mjs +16 -6
  7. package/browser/esm2022/lib/base/base-project-resolver.mjs +10 -1
  8. package/browser/esm2022/lib/base/base-project.mjs +67 -9
  9. package/browser/esm2022/lib/base/base-vscode.mjs +66 -0
  10. package/browser/esm2022/lib/base/core-project.mjs +1 -1
  11. package/browser/esm2022/lib/base/linked-project.mjs +2 -7
  12. package/browser/esm2022/lib/models.mjs +1 -1
  13. package/browser/fesm2022/tnp-helpers.mjs +175 -51
  14. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  15. package/browser/lib/base/base-git.d.ts +11 -0
  16. package/browser/lib/base/base-library-build.d.ts +31 -6
  17. package/browser/lib/base/base-npm-helpers.d.ts +0 -1
  18. package/browser/lib/base/base-project-resolver.d.ts +9 -8
  19. package/browser/lib/base/base-project.d.ts +9 -4
  20. package/browser/lib/base/base-vscode.d.ts +6 -0
  21. package/browser/lib/base/core-project.d.ts +14 -3
  22. package/browser/lib/models.d.ts +1 -5
  23. package/client/README.md +24 -24
  24. package/client/esm2022/lib/base/base-git.mjs +34 -4
  25. package/client/esm2022/lib/base/base-library-build.mjs +39 -27
  26. package/client/esm2022/lib/base/base-linked-projects.mjs +15 -4
  27. package/client/esm2022/lib/base/base-npm-helpers.mjs +16 -6
  28. package/client/esm2022/lib/base/base-project-resolver.mjs +10 -1
  29. package/client/esm2022/lib/base/base-project.mjs +67 -9
  30. package/client/esm2022/lib/base/base-vscode.mjs +66 -0
  31. package/client/esm2022/lib/base/core-project.mjs +1 -1
  32. package/client/esm2022/lib/base/linked-project.mjs +2 -7
  33. package/client/esm2022/lib/models.mjs +1 -1
  34. package/client/fesm2022/tnp-helpers.mjs +175 -51
  35. package/client/fesm2022/tnp-helpers.mjs.map +1 -1
  36. package/client/lib/base/base-git.d.ts +11 -0
  37. package/client/lib/base/base-library-build.d.ts +31 -6
  38. package/client/lib/base/base-npm-helpers.d.ts +0 -1
  39. package/client/lib/base/base-project-resolver.d.ts +9 -8
  40. package/client/lib/base/base-project.d.ts +9 -4
  41. package/client/lib/base/base-vscode.d.ts +6 -0
  42. package/client/lib/base/core-project.d.ts +14 -3
  43. package/client/lib/models.d.ts +1 -5
  44. package/client/package.json +25 -25
  45. package/firedev.jsonc +61 -61
  46. package/lib/base/base-command-line.backend.d.ts +7 -1
  47. package/lib/base/base-command-line.backend.js +83 -7
  48. package/lib/base/base-command-line.backend.js.map +1 -1
  49. package/lib/base/base-git.d.ts +11 -0
  50. package/lib/base/base-git.js +92 -56
  51. package/lib/base/base-git.js.map +1 -1
  52. package/lib/base/base-library-build.d.ts +39 -8
  53. package/lib/base/base-library-build.js +256 -231
  54. package/lib/base/base-library-build.js.map +1 -1
  55. package/lib/base/base-linked-projects.js +14 -4
  56. package/lib/base/base-linked-projects.js.map +1 -1
  57. package/lib/base/base-npm-helpers.d.ts +0 -1
  58. package/lib/base/base-npm-helpers.js +15 -8
  59. package/lib/base/base-npm-helpers.js.map +1 -1
  60. package/lib/base/base-project-resolver.d.ts +10 -9
  61. package/lib/base/base-project-resolver.js +11 -1
  62. package/lib/base/base-project-resolver.js.map +1 -1
  63. package/lib/base/base-project.d.ts +10 -5
  64. package/lib/base/base-project.js +84 -22
  65. package/lib/base/base-project.js.map +1 -1
  66. package/lib/base/base-vscode.d.ts +5 -0
  67. package/lib/base/base-vscode.js +79 -0
  68. package/lib/base/base-vscode.js.map +1 -0
  69. package/lib/base/command-line-feature.backend.d.ts +6 -1
  70. package/lib/base/command-line-feature.backend.js +67 -1
  71. package/lib/base/command-line-feature.backend.js.map +1 -1
  72. package/lib/base/core-project.d.ts +14 -3
  73. package/lib/base/core-project.js.map +1 -1
  74. package/lib/base/linked-project.js +8 -10
  75. package/lib/base/linked-project.js.map +1 -1
  76. package/lib/helpers/for-backend/helpers-file-folders.backend.d.ts +16 -8
  77. package/lib/helpers/for-backend/helpers-file-folders.backend.js +156 -65
  78. package/lib/helpers/for-backend/helpers-file-folders.backend.js.map +1 -1
  79. package/lib/helpers/for-backend/helpers-git.backend.d.ts +2 -0
  80. package/lib/helpers/for-backend/helpers-git.backend.js +72 -0
  81. package/lib/helpers/for-backend/helpers-git.backend.js.map +1 -1
  82. package/lib/helpers/for-backend/helpers-process.backend.js +3 -1
  83. package/lib/helpers/for-backend/helpers-process.backend.js.map +1 -1
  84. package/lib/helpers/for-browser/angular.helper.js +3 -3
  85. package/lib/models.d.ts +1 -5
  86. package/lib/old/base-component.js +3 -3
  87. package/lib/old/base-formly-component.js +3 -3
  88. package/lib/old/dual-component-ctrl.js +3 -3
  89. package/package.json +4 -4
  90. package/tmp-environment.json +30 -30
  91. package/websql/README.md +24 -24
  92. package/websql/esm2022/lib/base/base-git.mjs +34 -4
  93. package/websql/esm2022/lib/base/base-library-build.mjs +39 -27
  94. package/websql/esm2022/lib/base/base-linked-projects.mjs +15 -4
  95. package/websql/esm2022/lib/base/base-npm-helpers.mjs +16 -6
  96. package/websql/esm2022/lib/base/base-project-resolver.mjs +10 -1
  97. package/websql/esm2022/lib/base/base-project.mjs +76 -18
  98. package/websql/esm2022/lib/base/base-vscode.mjs +66 -0
  99. package/websql/esm2022/lib/base/core-project.mjs +1 -1
  100. package/websql/esm2022/lib/base/linked-project.mjs +2 -7
  101. package/websql/esm2022/lib/models.mjs +1 -1
  102. package/websql/fesm2022/tnp-helpers.mjs +183 -59
  103. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  104. package/websql/lib/base/base-git.d.ts +11 -0
  105. package/websql/lib/base/base-library-build.d.ts +31 -6
  106. package/websql/lib/base/base-npm-helpers.d.ts +0 -1
  107. package/websql/lib/base/base-project-resolver.d.ts +9 -8
  108. package/websql/lib/base/base-project.d.ts +10 -8
  109. package/websql/lib/base/base-vscode.d.ts +6 -0
  110. package/websql/lib/base/core-project.d.ts +14 -3
  111. package/websql/lib/models.d.ts +1 -5
@@ -1290,6 +1290,15 @@ class BaseProjectResolver {
1290
1290
  /* */
1291
1291
  /* */
1292
1292
  /* */
1293
+ /* */
1294
+ /* */
1295
+ /* */
1296
+ /* */
1297
+ /* */
1298
+ /* */
1299
+ return (void 0);
1300
+ }
1301
+ allProjectsFromFolder(folderLocation) {
1293
1302
  /* */
1294
1303
  /* */
1295
1304
  /* */
@@ -1341,12 +1350,27 @@ class BaseProject {
1341
1350
  get globalCache() {
1342
1351
  return BaseProject.cache;
1343
1352
  }
1353
+ get location() {
1354
+ return this.__location;
1355
+ }
1356
+ set location(v) {
1357
+ this.__location = crossPlatformPath(v);
1358
+ }
1344
1359
  // @ts-ignore
1345
1360
  constructor(
1346
1361
  /**
1347
1362
  * doesn't need to be real path -> can be link
1348
1363
  */
1349
1364
  location) {
1365
+ this.cache = {};
1366
+ this.type = 'unknow';
1367
+ this.toString = () => {
1368
+ return `${this.name}=>${this.location}`;
1369
+ };
1370
+ this.location = location;
1371
+ /* */
1372
+ /* */
1373
+ /* */
1350
1374
  /* */
1351
1375
  /* */
1352
1376
  /* */
@@ -1360,12 +1384,6 @@ class BaseProject {
1360
1384
  /* */
1361
1385
  /* */
1362
1386
  /* */
1363
- this.location = location;
1364
- this.cache = {};
1365
- this.type = 'unknow';
1366
- this.toString = () => {
1367
- return `${this.name}=>${this.location}`;
1368
- };
1369
1387
  }
1370
1388
  get isMonorepo() {
1371
1389
  return false;
@@ -1512,18 +1530,38 @@ class BaseProject {
1512
1530
  return grandpa;
1513
1531
  }
1514
1532
  get genericName() {
1515
- let parent = this.parent;
1516
- return [
1517
- parent ? path.basename(path.dirname(parent.location)) : void 0,
1518
- parent ? parent.basename : path.basename(this.location),
1519
- this.basename,
1533
+ if (!_.isUndefined(this.cache['genericName'])) {
1534
+ return this.cache['genericName'];
1535
+ }
1536
+ let nameFromPackageJson = this.name;
1537
+ /* */
1538
+ /* */
1539
+ const sliceMinus = 8;
1540
+ const shortPath = '/' +
1541
+ crossPlatformPath(this.location)
1542
+ .split('/')
1543
+ .slice(-1 * sliceMinus)
1544
+ .join('/');
1545
+ const result = (shortPath.includes(crossPlatformPath(this.location)) ? '' : '(..)') +
1546
+ this.checkAndBoldenPath(this.location)
1547
+ .split('/')
1548
+ .slice(-1 * sliceMinus)
1549
+ .join('/') +
1550
+ `(${nameFromPackageJson})`;
1551
+ this.cache['genericName'] = result;
1552
+ return this.cache['genericName'];
1553
+ }
1554
+ checkAndBoldenPath(fullPath) {
1555
+ const parts = fullPath.split('/');
1556
+ const result = parts.map((part, index) => {
1557
+ const pathTocheck = parts.slice(0, index + 1).join('/');
1520
1558
  /* */
1521
1559
  /* */
1522
1560
  /* */
1523
- ]
1524
- .filter(f => !!f)
1525
- .join('/')
1526
- .replace(/\(\)/, '');
1561
+ /* */
1562
+ return part;
1563
+ });
1564
+ return result.join('/');
1527
1565
  }
1528
1566
  /**
1529
1567
  * same has project.hasFile();
@@ -1628,6 +1666,7 @@ class BaseProject {
1628
1666
  /* */
1629
1667
  /* */
1630
1668
  /* */
1669
+ /* */
1631
1670
  return (void 0);
1632
1671
  }
1633
1672
  /**
@@ -1836,6 +1875,29 @@ class BaseProject {
1836
1875
  /* */
1837
1876
  /* */
1838
1877
  }
1878
+ setValueToJSON(relativePath, lodashGetPath, value) {
1879
+ /* */
1880
+ /* */
1881
+ return (void 0);
1882
+ }
1883
+ getValueFromJSON(relativePath, lodashGetPath, defaultValue = void 0) {
1884
+ /* */
1885
+ /* */
1886
+ /* */
1887
+ /* */
1888
+ /* */
1889
+ /* */
1890
+ return (void 0);
1891
+ }
1892
+ getValueFromJSONC(relativePath, lodashGetPath, defaultValue = void 0) {
1893
+ /* */
1894
+ /* */
1895
+ /* */
1896
+ /* */
1897
+ /* */
1898
+ /* */
1899
+ return (void 0);
1900
+ }
1839
1901
  writeFile(relativePath, content) {
1840
1902
  /* */
1841
1903
  /* */
@@ -1938,7 +2000,12 @@ ${proj?.children.map(c => '+' + c.genericName).join('\n')}
1938
2000
  linked porject prefix: "${this.linkedProjects.linkedProjectsPrefix}"
1939
2001
 
1940
2002
  linked projects from json (${this.linkedProjects.linkedProjects?.length || 0}):
1941
- ${(this.linkedProjects.linkedProjects || []).map(c => '- ' + c.relativeClonePath).join('\n')}
2003
+ ${(this.linkedProjects.linkedProjects || [])
2004
+ .map(c => {
2005
+ const proj = this.ins.From(this.pathFor(c.relativeClonePath));
2006
+ return '- ' + proj ? proj.genericName : c.relativeClonePath;
2007
+ })
2008
+ .join('\n')}
1942
2009
 
1943
2010
  `);
1944
2011
  }
@@ -1965,12 +2032,21 @@ class BaseLibraryBuild extends BaseFeatureForProject {
1965
2032
  super(...arguments);
1966
2033
  this.cache = {};
1967
2034
  }
1968
- get sortedLibrariesByDeps() {
1969
- /* */
1970
- /* */
1971
- /* */
1972
- /* */
1973
- /* */
2035
+ sortByDeps(libraries) {
2036
+ return libraries;
2037
+ }
2038
+ /**
2039
+ * Use cases:
2040
+ * 1. build all libraries in normal mode
2041
+ * 2. build all libraries in watch mode
2042
+ * 3. build selected libraries in normal mode
2043
+ * (with first time all libraries will be build)
2044
+ * 4. build selected libraries in watch mode
2045
+ * (use normal build for not selected libraries)
2046
+ * 5. build selected libraries in watch mode
2047
+ * (skip normal build for not selected libraries)
2048
+ */
2049
+ async selectAndSaveLibraries({ libs: selectedLibs, watch, watchBuildSupported, }) {
1974
2050
  /* */
1975
2051
  /* */
1976
2052
  /* */
@@ -2006,10 +2082,6 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2006
2082
  /* */
2007
2083
  /* */
2008
2084
  /* */
2009
- /* */
2010
- return (void 0);
2011
- }
2012
- async getSortedLibrariesByDepsForBuild(libs, dontSugestBuildAll = false) {
2013
2085
  /* */
2014
2086
  /* */
2015
2087
  /* */
@@ -2053,6 +2125,12 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2053
2125
  /* */
2054
2126
  /* */
2055
2127
  /* */
2128
+ return (void 0);
2129
+ }
2130
+ /**
2131
+ * angular libraries from angular.json
2132
+ */
2133
+ get libraries() {
2056
2134
  /* */
2057
2135
  /* */
2058
2136
  /* */
@@ -2070,15 +2148,12 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2070
2148
  /* */
2071
2149
  /* */
2072
2150
  /* */
2151
+ return (void 0);
2152
+ }
2153
+ async selectLibraries({ watch, watchBuildSupported, }) {
2073
2154
  /* */
2074
2155
  /* */
2075
2156
  /* */
2076
- return (void 0);
2077
- }
2078
- /**
2079
- * angular libraries from angular.json
2080
- */
2081
- get libraries() {
2082
2157
  /* */
2083
2158
  /* */
2084
2159
  /* */
@@ -2099,6 +2174,12 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2099
2174
  /* */
2100
2175
  /* */
2101
2176
  /* */
2177
+ return (void 0);
2178
+ }
2179
+ /**
2180
+ * Angular library build
2181
+ */
2182
+ async buildLibraries({ watch = false, strategy, buildType, copylink_to_node_modules, } = {}) {
2102
2183
  /* */
2103
2184
  /* */
2104
2185
  /* */
@@ -2115,9 +2196,6 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2115
2196
  /* */
2116
2197
  /* */
2117
2198
  /* */
2118
- return (void 0);
2119
- }
2120
- async selectLibraries({ onlySelectedLibs }) {
2121
2199
  /* */
2122
2200
  /* */
2123
2201
  /* */
@@ -2141,9 +2219,6 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2141
2219
  /* */
2142
2220
  /* */
2143
2221
  /* */
2144
- return (void 0);
2145
- }
2146
- async buildLibraries({ rebuild = false, watch = false, strategy, onlySelectedLibs, buildType, } = {}) {
2147
2222
  /* */
2148
2223
  /* */
2149
2224
  /* */
@@ -2279,6 +2354,8 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2279
2354
  /* */
2280
2355
  /* */
2281
2356
  /* */
2357
+ }
2358
+ getLibraryBuildComamnd(options) {
2282
2359
  /* */
2283
2360
  /* */
2284
2361
  /* */
@@ -2293,6 +2370,9 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2293
2370
  /* */
2294
2371
  /* */
2295
2372
  /* */
2373
+ return (void 0);
2374
+ }
2375
+ get getLibraryBuildSuccessComamnd() {
2296
2376
  /* */
2297
2377
  /* */
2298
2378
  /* */
@@ -2302,8 +2382,10 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2302
2382
  /* */
2303
2383
  /* */
2304
2384
  /* */
2385
+ return (void 0);
2305
2386
  }
2306
- getLibraryBuildComamnd(options) {
2387
+ async selectCopytoProjects() {
2388
+ /* */
2307
2389
  /* */
2308
2390
  /* */
2309
2391
  /* */
@@ -2318,9 +2400,6 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2318
2400
  /* */
2319
2401
  /* */
2320
2402
  /* */
2321
- return (void 0);
2322
- }
2323
- get getLibraryBuildSuccessComamnd() {
2324
2403
  /* */
2325
2404
  /* */
2326
2405
  /* */
@@ -2497,6 +2576,12 @@ class BaseNpmHelpers extends BaseFeatureForProject {
2497
2576
  /* */
2498
2577
  /* */
2499
2578
  /* */
2579
+ /* */
2580
+ /* */
2581
+ /* */
2582
+ /* */
2583
+ /* */
2584
+ /* */
2500
2585
  return (void 0);
2501
2586
  }
2502
2587
  reinstalNodeModules(options) {
@@ -2611,12 +2696,15 @@ class BaseNpmHelpers extends BaseFeatureForProject {
2611
2696
  .map(k => `--${k} ${additionalArguments[k]}`)
2612
2697
  .join(' ');
2613
2698
  }
2614
- return this.project.run(`npm run ${taskName} ${additionalArguments ? ' -- ' + additionalArguments : ''}`, { output: true });
2699
+ const command = `npm run ${taskName} ${additionalArguments ? ' -- ' + additionalArguments : ''}`;
2700
+ Helpers.info(`Starting npm task: "${command}"`);
2701
+ return this.project.run(command, { output: true, biggerBuffer: true });
2615
2702
  }
2616
2703
  async prepareCommand(optiosn) {
2617
- const { pkg, remove, silent, useYarn, force, removeYarnOrPackageJsonLock, generateYarnOrPackageJsonLock, ignoreOptional, } = optiosn || {};
2704
+ let { pkg, remove, silent, useYarn, force, removeYarnOrPackageJsonLock, generateYarnOrPackageJsonLock, ignoreOptional, } = optiosn || {};
2705
+ force = true; // TODO QUICK_FIX
2618
2706
  let command = '';
2619
- const commonOptions = `--ignore-engines --no-audit`;
2707
+ const commonOptions = `--ignore-engines`;
2620
2708
  if (useYarn) {
2621
2709
  const argsForFasterInstall = `${force ? '--force' : ''} ${commonOptions} `;
2622
2710
  command =
@@ -2624,13 +2712,13 @@ class BaseNpmHelpers extends BaseFeatureForProject {
2624
2712
  ? `rm ${config.file.yarn_lock} ` +
2625
2713
  `&& touch ${config.file.yarn_lock} && `
2626
2714
  : ''}` +
2627
- `yarn ${remove ? 'remove' : 'add'} ${pkg ? pkg.name : ''} ` +
2715
+ `yarn ${pkg ? (remove ? 'remove' : 'add') : 'install'} ${pkg ? pkg.name : ''} ` +
2628
2716
  ` ${generateYarnOrPackageJsonLock ? '' : '--no-lockfile'} ` +
2629
2717
  ` ${argsForFasterInstall} ` +
2630
2718
  ` ${pkg && pkg.installType && pkg.installType === '--save-dev' ? '-dev' : ''} `;
2631
2719
  }
2632
2720
  else {
2633
- const argsForFasterInstall = `${force ? '--force' : ''} ${commonOptions} ` +
2721
+ const argsForFasterInstall = `${force ? '--force' : ''} ${commonOptions} --no-audit ` +
2634
2722
  `${silent ? '--silent --no-progress' : ''} `;
2635
2723
  command =
2636
2724
  `${removeYarnOrPackageJsonLock
@@ -2664,9 +2752,18 @@ class BaseLinkedProjects extends BaseFeatureForProject {
2664
2752
  return this.cache[cacheKey];
2665
2753
  }
2666
2754
  const nearsetProj = this.project.ins.nearestTo(crossPlatformPath([this.project.location, '..']));
2667
- const linkedPorj = nearsetProj?.linkedProjects?.find(l => {
2668
- return (this.project.location ===
2669
- crossPlatformPath([nearsetProj.location, l.relativeClonePath]));
2755
+ const linkedPorj = nearsetProj?.linkedProjects?.linkedProjects.find(l => {
2756
+ const copareTo = crossPlatformPath([
2757
+ nearsetProj.location,
2758
+ l.relativeClonePath,
2759
+ ]);
2760
+ if (this.project.location === copareTo) {
2761
+ return true;
2762
+ }
2763
+ if (l.remoteUrl() === this.project.git.originURL) {
2764
+ return true;
2765
+ }
2766
+ return false;
2670
2767
  });
2671
2768
  if (!linkedPorj || !linkedPorj.internalRealtiveProjectPath) {
2672
2769
  return;
@@ -2931,6 +3028,8 @@ class BaseLinkedProjects extends BaseFeatureForProject {
2931
3028
  /* */
2932
3029
  /* */
2933
3030
  /* */
3031
+ /* */
3032
+ /* */
2934
3033
  return (void 0);
2935
3034
  }
2936
3035
  }
@@ -3280,6 +3379,33 @@ class BaseGit extends BaseFeatureForProject {
3280
3379
  /* */
3281
3380
  return (void 0);
3282
3381
  }
3382
+ /**
3383
+ * This is only for push/pull process
3384
+ *
3385
+ * There are 2 types of projects:
3386
+ * - with linked-projects.json
3387
+ * - with children from external folder
3388
+ *
3389
+ * projects that are children of this project (with its own git repo)
3390
+ */
3391
+ get gitChildren() {
3392
+ let childrenRepos = [];
3393
+ if (this.project.linkedProjects.linkedProjects.length > 0) {
3394
+ childrenRepos = this.project.linkedProjects.linkedProjects
3395
+ .map(c => {
3396
+ return this.project.ins.From([
3397
+ this.project.location,
3398
+ c.relativeClonePath,
3399
+ ]);
3400
+ })
3401
+ .filter(f => !!f);
3402
+ }
3403
+ else {
3404
+ childrenRepos = this.project.children;
3405
+ }
3406
+ childrenRepos = childrenRepos.filter(f => f.git.isInsideGitRepo && f.git.isGitRoot);
3407
+ return childrenRepos;
3408
+ }
3283
3409
  async pullProcess(cloneChildren = false) {
3284
3410
  /* */
3285
3411
  /* */
@@ -3308,9 +3434,6 @@ class BaseGit extends BaseFeatureForProject {
3308
3434
  /* */
3309
3435
  /* */
3310
3436
  /* */
3311
- /* */
3312
- /* */
3313
- /* */
3314
3437
  return (void 0);
3315
3438
  }
3316
3439
  async pushProcess(options = {}) {
@@ -3450,6 +3573,12 @@ class BaseGit extends BaseFeatureForProject {
3450
3573
  /* */
3451
3574
  /* */
3452
3575
  /* */
3576
+ /* */
3577
+ /* */
3578
+ /* */
3579
+ /* */
3580
+ /* */
3581
+ /* */
3453
3582
  return (void 0);
3454
3583
  }
3455
3584
  _beforeAnyActionOnGitRoot() {
@@ -3955,7 +4084,6 @@ class LinkedProject {
3955
4084
  /* */
3956
4085
  /* */
3957
4086
  /* */
3958
- /* */
3959
4087
  return (void 0);
3960
4088
  }
3961
4089
  /**
@@ -3974,15 +4102,11 @@ class LinkedProject {
3974
4102
  class LinkedPorjectsConfig {
3975
4103
  static from(options) {
3976
4104
  options = options || {};
3977
- options.projects = (options.projects || [])
3978
- .map(linkedProjOrname => {
4105
+ options.projects = (options.projects || []).map(linkedProjOrname => {
3979
4106
  if (_.isString(linkedProjOrname)) {
3980
4107
  return LinkedProject.fromName(linkedProjOrname);
3981
4108
  }
3982
4109
  return LinkedProject.from(linkedProjOrname);
3983
- })
3984
- .sort((a, b) => {
3985
- return (a.relativeClonePath || '').localeCompare((b.relativeClonePath || ''));
3986
4110
  });
3987
4111
  return _.merge(new LinkedPorjectsConfig(), _.cloneDeep(options));
3988
4112
  }