tnp-helpers 16.444.20 → 16.444.22

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 (114) hide show
  1. package/assets/shared/shared_folder_info.txt +1 -1
  2. package/browser/esm2022/lib/base/base-git.mjs +85 -2
  3. package/browser/esm2022/lib/base/base-library-build.mjs +4 -2
  4. package/browser/esm2022/lib/base/base-npm-helpers.mjs +168 -15
  5. package/browser/esm2022/lib/base/base-project.mjs +14 -1
  6. package/browser/esm2022/lib/base/base-release-process.mjs +582 -0
  7. package/browser/esm2022/lib/base/base-vscode.mjs +10 -1
  8. package/browser/esm2022/lib/base/commit-data.mjs +116 -44
  9. package/browser/esm2022/lib/base/core-project.mjs +1 -1
  10. package/browser/esm2022/lib/base/index.mjs +3 -1
  11. package/browser/esm2022/lib/models.mjs +1 -1
  12. package/browser/fesm2022/tnp-helpers.mjs +1016 -113
  13. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  14. package/browser/lib/base/base-git.d.ts +22 -4
  15. package/browser/lib/base/base-library-build.d.ts +1 -1
  16. package/browser/lib/base/base-npm-helpers.d.ts +28 -1
  17. package/browser/lib/base/base-project.d.ts +7 -0
  18. package/browser/lib/base/base-release-process.d.ts +70 -0
  19. package/browser/lib/base/commit-data.d.ts +18 -13
  20. package/browser/lib/base/core-project.d.ts +9 -0
  21. package/browser/lib/base/index.d.ts +1 -0
  22. package/browser/lib/models.d.ts +11 -1
  23. package/client/esm2022/lib/base/base-git.mjs +85 -2
  24. package/client/esm2022/lib/base/base-library-build.mjs +4 -2
  25. package/client/esm2022/lib/base/base-npm-helpers.mjs +168 -15
  26. package/client/esm2022/lib/base/base-project.mjs +14 -1
  27. package/client/esm2022/lib/base/base-release-process.mjs +582 -0
  28. package/client/esm2022/lib/base/base-vscode.mjs +10 -1
  29. package/client/esm2022/lib/base/commit-data.mjs +116 -44
  30. package/client/esm2022/lib/base/core-project.mjs +1 -1
  31. package/client/esm2022/lib/base/index.mjs +3 -1
  32. package/client/esm2022/lib/models.mjs +1 -1
  33. package/client/fesm2022/tnp-helpers.mjs +1016 -113
  34. package/client/fesm2022/tnp-helpers.mjs.map +1 -1
  35. package/client/lib/base/base-git.d.ts +22 -4
  36. package/client/lib/base/base-library-build.d.ts +1 -1
  37. package/client/lib/base/base-npm-helpers.d.ts +28 -1
  38. package/client/lib/base/base-project.d.ts +7 -0
  39. package/client/lib/base/base-release-process.d.ts +70 -0
  40. package/client/lib/base/commit-data.d.ts +18 -13
  41. package/client/lib/base/core-project.d.ts +9 -0
  42. package/client/lib/base/index.d.ts +1 -0
  43. package/client/lib/models.d.ts +11 -1
  44. package/client/package.json +32 -31
  45. package/lib/base/base-command-line.backend.d.ts +4 -0
  46. package/lib/base/base-command-line.backend.js +113 -1
  47. package/lib/base/base-command-line.backend.js.map +1 -1
  48. package/lib/base/base-git.d.ts +19 -1
  49. package/lib/base/base-git.js +156 -41
  50. package/lib/base/base-git.js.map +1 -1
  51. package/lib/base/base-library-build.d.ts +1 -1
  52. package/lib/base/base-library-build.js +33 -31
  53. package/lib/base/base-library-build.js.map +1 -1
  54. package/lib/base/base-npm-helpers.d.ts +30 -2
  55. package/lib/base/base-npm-helpers.js +212 -17
  56. package/lib/base/base-npm-helpers.js.map +1 -1
  57. package/lib/base/base-project.d.ts +7 -0
  58. package/lib/base/base-project.js +26 -2
  59. package/lib/base/base-project.js.map +1 -1
  60. package/lib/base/base-release-process.d.ts +69 -0
  61. package/lib/base/base-release-process.js +894 -0
  62. package/lib/base/base-release-process.js.map +1 -0
  63. package/lib/base/base-vscode.js +9 -0
  64. package/lib/base/base-vscode.js.map +1 -1
  65. package/lib/base/commit-data.d.ts +17 -12
  66. package/lib/base/commit-data.js +138 -78
  67. package/lib/base/commit-data.js.map +1 -1
  68. package/lib/base/core-project.d.ts +9 -0
  69. package/lib/base/core-project.js.map +1 -1
  70. package/lib/base/index.d.ts +2 -0
  71. package/lib/base/index.js +2 -0
  72. package/lib/base/index.js.map +1 -1
  73. package/lib/base/translate.d.ts +227 -1
  74. package/lib/base/translate.js +566 -54
  75. package/lib/base/translate.js.map +1 -1
  76. package/lib/helpers/for-backend/helpers-console-gui.d.ts +2 -1
  77. package/lib/helpers/for-backend/helpers-console-gui.js +3 -2
  78. package/lib/helpers/for-backend/helpers-console-gui.js.map +1 -1
  79. package/lib/helpers/for-backend/helpers-dependencies.backend.js +1 -2
  80. package/lib/helpers/for-backend/helpers-dependencies.backend.js.map +1 -1
  81. package/lib/helpers/for-backend/helpers-git.backend.d.ts +29 -1
  82. package/lib/helpers/for-backend/helpers-git.backend.js +204 -15
  83. package/lib/helpers/for-backend/helpers-git.backend.js.map +1 -1
  84. package/lib/helpers/for-backend/helpers-process.backend.d.ts +10 -8
  85. package/lib/helpers/for-backend/helpers-process.backend.js +56 -56
  86. package/lib/helpers/for-backend/helpers-process.backend.js.map +1 -1
  87. package/lib/helpers/for-browser/angular.helper.js +3 -3
  88. package/lib/models.d.ts +11 -1
  89. package/lib/old/base-component.js +3 -3
  90. package/lib/old/base-formly-component.js +3 -3
  91. package/lib/old/dual-component-ctrl.js +3 -3
  92. package/package.json +4 -4
  93. package/tmp-environment.json +36 -35
  94. package/websql/esm2022/lib/base/base-git.mjs +85 -2
  95. package/websql/esm2022/lib/base/base-library-build.mjs +4 -2
  96. package/websql/esm2022/lib/base/base-npm-helpers.mjs +168 -15
  97. package/websql/esm2022/lib/base/base-project.mjs +16 -3
  98. package/websql/esm2022/lib/base/base-release-process.mjs +582 -0
  99. package/websql/esm2022/lib/base/base-vscode.mjs +10 -1
  100. package/websql/esm2022/lib/base/commit-data.mjs +116 -44
  101. package/websql/esm2022/lib/base/core-project.mjs +1 -1
  102. package/websql/esm2022/lib/base/index.mjs +3 -1
  103. package/websql/esm2022/lib/models.mjs +1 -1
  104. package/websql/fesm2022/tnp-helpers.mjs +1018 -115
  105. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  106. package/websql/lib/base/base-git.d.ts +22 -4
  107. package/websql/lib/base/base-library-build.d.ts +1 -1
  108. package/websql/lib/base/base-npm-helpers.d.ts +28 -1
  109. package/websql/lib/base/base-project.d.ts +7 -0
  110. package/websql/lib/base/base-release-process.d.ts +70 -0
  111. package/websql/lib/base/commit-data.d.ts +18 -13
  112. package/websql/lib/base/core-project.d.ts +9 -0
  113. package/websql/lib/base/index.d.ts +1 -0
  114. package/websql/lib/models.d.ts +11 -1
@@ -1,5 +1,5 @@
1
1
  import * as core from 'tnp-core/browser';
2
- import { _, CoreHelpers, crossPlatformPath, path } from 'tnp-core/browser';
2
+ import { _, CoreHelpers, crossPlatformPath, path, chalk } from 'tnp-core/browser';
3
3
  import { Subject } from 'rxjs';
4
4
  import * as fuzzy from 'fuzzy';
5
5
  import { CLASS } from 'typescript-class-helpers/browser';
@@ -1396,6 +1396,9 @@ class BaseProject {
1396
1396
  /* */
1397
1397
  /* */
1398
1398
  /* */
1399
+ /* */
1400
+ /* */
1401
+ /* */
1399
1402
  }
1400
1403
  get isMonorepo() {
1401
1404
  return false;
@@ -1737,6 +1740,7 @@ class BaseProject {
1737
1740
  /* */
1738
1741
  /* */
1739
1742
  /* */
1743
+ /* */
1740
1744
  return (void 0);
1741
1745
  }
1742
1746
  readJson(fileRelativeToProjectPath) {
@@ -2004,6 +2008,15 @@ class BaseProject {
2004
2008
  async build(buildOptions) {
2005
2009
  throw new Error('TODO IMPLEMENT');
2006
2010
  }
2011
+ /**
2012
+ * publish project to npm
2013
+ */
2014
+ async publish(publishOptions) {
2015
+ throw new Error('TODO IMPLEMENT');
2016
+ }
2017
+ async release(releaseOptions) {
2018
+ throw new Error('TODO IMPLEMENT');
2019
+ }
2007
2020
  /**
2008
2021
  * lint porject
2009
2022
  */
@@ -2213,7 +2226,9 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2213
2226
  /**
2214
2227
  * Angular library build
2215
2228
  */
2216
- async buildLibraries({ watch = false, strategy, buildType, copylink_to_node_modules, } = {}) {
2229
+ async buildLibraries({ watch = false, strategy, releaseBuild = false, buildType, copylink_to_node_modules, } = {}) {
2230
+ /* */
2231
+ /* */
2217
2232
  /* */
2218
2233
  /* */
2219
2234
  /* */
@@ -2449,12 +2464,26 @@ class BaseLibraryBuild extends BaseFeatureForProject {
2449
2464
  ;
2450
2465
  ({}); // @--end-of-file-for-module=tnp-helpers lib/base/base-library-build.ts
2451
2466
 
2467
+ /* */
2468
+ /* */
2469
+ /* */
2470
+ /* */
2471
+ /* */
2472
+ /* */
2452
2473
  /* */
2453
2474
  /* */
2454
2475
  class BaseNpmHelpers extends BaseFeatureForProject {
2455
2476
  constructor(project) {
2456
2477
  super(project);
2457
- this.packageJSON = project.readJson(config.file.package_json);
2478
+ this.project = project;
2479
+ this.reloadPackageJsonInMemory();
2480
+ }
2481
+ /**
2482
+ * if something else change package.json in this project
2483
+ * and you know that you need to reload it..
2484
+ */
2485
+ reloadPackageJsonInMemory() {
2486
+ this.packageJSON = this.project.readJson(config.file.package_json);
2458
2487
  }
2459
2488
  get name() {
2460
2489
  return this.packageJSON?.name || '';
@@ -2465,6 +2494,56 @@ class BaseNpmHelpers extends BaseFeatureForProject {
2465
2494
  get version() {
2466
2495
  return this.packageJSON?.version;
2467
2496
  }
2497
+ set version(newVersion) {
2498
+ this.packageJSON.version = newVersion;
2499
+ this.project.writeJson(config.file.package_json, this.packageJSON);
2500
+ }
2501
+ updateDependency(packageName, version) {
2502
+ /* */
2503
+ /* */
2504
+ /* */
2505
+ /* */
2506
+ /* */
2507
+ /* */
2508
+ /* */
2509
+ /* */
2510
+ /* */
2511
+ /* */
2512
+ return (void 0);
2513
+ }
2514
+ get versionWithPatchPlusOne() {
2515
+ const ver = this.version.split('.');
2516
+ if (ver.length > 0) {
2517
+ ver[ver.length - 1] = (parseInt(_.last(ver)) + 1).toString();
2518
+ }
2519
+ return ver.join('.');
2520
+ }
2521
+ get versionWithMinorPlusOneAndPatchZero() {
2522
+ const ver = this.version.split('.');
2523
+ if (ver.length > 1) {
2524
+ ver[1] = (parseInt(ver[1]) + 1).toString();
2525
+ for (let index = 2; index < ver.length; index++) {
2526
+ ver[index] = '0';
2527
+ }
2528
+ }
2529
+ else {
2530
+ Helpers.warn(`[npm-project] something went wrong with bumping minor version`);
2531
+ }
2532
+ return ver.join('.');
2533
+ }
2534
+ get versionWithMajorPlusOneAndMinorZeroAndPatchZero() {
2535
+ const ver = this.version.split('.');
2536
+ if (ver.length > 0) {
2537
+ ver[0] = (parseInt(_.first(ver)) + 1).toString();
2538
+ for (let index = 1; index < ver.length; index++) {
2539
+ ver[index] = '0';
2540
+ }
2541
+ }
2542
+ else {
2543
+ Helpers.warn(`[npm-project] something went wrong with bumping major version`);
2544
+ }
2545
+ return ver.join('.');
2546
+ }
2468
2547
  /**
2469
2548
  * Major Version from package.json
2470
2549
  */
@@ -2564,18 +2643,6 @@ class BaseNpmHelpers extends BaseFeatureForProject {
2564
2643
  ...(packageJson.resolutions || {}),
2565
2644
  });
2566
2645
  }
2567
- checkIfLogginInToNpm() {
2568
- /* */
2569
- /* */
2570
- /* */
2571
- /* */
2572
- /* */
2573
- /* */
2574
- /* */
2575
- /* */
2576
- /* */
2577
- return (void 0);
2578
- }
2579
2646
  linkNodeModulesTo(proj) {
2580
2647
  /* */
2581
2648
  /* */
@@ -2732,7 +2799,10 @@ class BaseNpmHelpers extends BaseFeatureForProject {
2732
2799
  }
2733
2800
  const command = `npm run ${taskName} ${additionalArguments ? ' -- ' + additionalArguments : ''}`;
2734
2801
  Helpers.info(`Starting npm task: "${command}"`);
2735
- return this.project.run(command, { output: true, biggerBuffer: true });
2802
+ return this.project.run(command, {
2803
+ output: true,
2804
+ biggerBuffer: true,
2805
+ });
2736
2806
  }
2737
2807
  async prepareCommand(optiosn) {
2738
2808
  let { pkg, remove, silent, useYarn, force, removeYarnOrPackageJsonLock, generateYarnOrPackageJsonLock, ignoreOptional, } = optiosn || {};
@@ -2768,6 +2838,104 @@ class BaseNpmHelpers extends BaseFeatureForProject {
2768
2838
  }
2769
2839
  return command;
2770
2840
  }
2841
+ /**
2842
+ *
2843
+ * @param registry without specified registr is checking npm registry
2844
+ * @returns
2845
+ */
2846
+ async isLoggedInToRegistry(registry) {
2847
+ /* */
2848
+ /* */
2849
+ /* */
2850
+ /* */
2851
+ /* */
2852
+ /* */
2853
+ /* */
2854
+ /* */
2855
+ /* */
2856
+ /* */
2857
+ /* */
2858
+ /* */
2859
+ /* */
2860
+ /* */
2861
+ /* */
2862
+ /* */
2863
+ /* */
2864
+ /* */
2865
+ /* */
2866
+ /* */
2867
+ /* */
2868
+ /* */
2869
+ return (void 0);
2870
+ }
2871
+ /**
2872
+ * Prompt the user to log in to a specific npm registry.
2873
+ * @param {string} [registry] - Optional npm registry URL.
2874
+ * @returns {Promise<void>} - A promise that resolves when the login process completes.
2875
+ */
2876
+ async loginToRegistry(registry) {
2877
+ /* */
2878
+ /* */
2879
+ /* */
2880
+ /* */
2881
+ /* */
2882
+ /* */
2883
+ /* */
2884
+ /* */
2885
+ /* */
2886
+ /* */
2887
+ /* */
2888
+ /* */
2889
+ /* */
2890
+ /* */
2891
+ /* */
2892
+ /* */
2893
+ /* */
2894
+ /* */
2895
+ return (void 0);
2896
+ }
2897
+ async makeSureLoggedInToNpmRegistry(registry) {
2898
+ /* */
2899
+ /* */
2900
+ /* */
2901
+ /* */
2902
+ /* */
2903
+ /* */
2904
+ /* */
2905
+ /* */
2906
+ /* */
2907
+ /* */
2908
+ /* */
2909
+ /* */
2910
+ /* */
2911
+ /* */
2912
+ /* */
2913
+ /* */
2914
+ /* */
2915
+ /* */
2916
+ /* */
2917
+ /* */
2918
+ /* */
2919
+ /* */
2920
+ /* */
2921
+ return (void 0);
2922
+ }
2923
+ /**
2924
+ * @deprecated
2925
+ * use makeSureLoggedInToNpmRegistry()
2926
+ */
2927
+ checkIfLogginInToNpm() {
2928
+ /* */
2929
+ /* */
2930
+ /* */
2931
+ /* */
2932
+ /* */
2933
+ /* */
2934
+ /* */
2935
+ /* */
2936
+ /* */
2937
+ return (void 0);
2938
+ }
2771
2939
  }
2772
2940
  ;
2773
2941
  ({}); // @--end-of-file-for-module=tnp-helpers lib/base/base-npm-helpers.ts
@@ -3105,7 +3273,7 @@ class BaseGit extends BaseFeatureForProject {
3105
3273
  /* */
3106
3274
  return (void 0);
3107
3275
  }
3108
- restoreLastVersion(localFilePath) {
3276
+ restoreLastVersion(relativeFilePath) {
3109
3277
  /* */
3110
3278
  /* */
3111
3279
  return (void 0);
@@ -3267,6 +3435,32 @@ class BaseGit extends BaseFeatureForProject {
3267
3435
  /* */
3268
3436
  return (void 0);
3269
3437
  }
3438
+ async penultimateCommitMessage() {
3439
+ /* */
3440
+ /* */
3441
+ return (void 0);
3442
+ }
3443
+ async getCommitMessageByIndex(index) {
3444
+ /* */
3445
+ /* */
3446
+ /* */
3447
+ /* */
3448
+ /* */
3449
+ return (void 0);
3450
+ }
3451
+ async getCommitMessageByHash(hash) {
3452
+ /* */
3453
+ /* */
3454
+ /* */
3455
+ /* */
3456
+ /* */
3457
+ return (void 0);
3458
+ }
3459
+ async getCommitHashByIndex(index) {
3460
+ /* */
3461
+ /* */
3462
+ return (void 0);
3463
+ }
3270
3464
  penultimateCommitHash() {
3271
3465
  /* */
3272
3466
  /* */
@@ -3602,20 +3796,6 @@ class BaseGit extends BaseFeatureForProject {
3602
3796
  /* */
3603
3797
  /* */
3604
3798
  /* */
3605
- /* */
3606
- /* */
3607
- /* */
3608
- /* */
3609
- /* */
3610
- /* */
3611
- /* */
3612
- /* */
3613
- /* */
3614
- /* */
3615
- /* */
3616
- return (void 0);
3617
- }
3618
- _beforeAnyActionOnGitRoot() {
3619
3799
  /* */
3620
3800
  /* */
3621
3801
  /* */
@@ -3632,10 +3812,6 @@ class BaseGit extends BaseFeatureForProject {
3632
3812
  /* */
3633
3813
  /* */
3634
3814
  /* */
3635
- /* */
3636
- return (void 0);
3637
- }
3638
- async _beforePushProcessAction() {
3639
3815
  /* */
3640
3816
  /* */
3641
3817
  /* */
@@ -3656,9 +3832,6 @@ class BaseGit extends BaseFeatureForProject {
3656
3832
  /* */
3657
3833
  /* */
3658
3834
  /* */
3659
- return (void 0);
3660
- }
3661
- async _beforePullProcessAction(cloneChildren = false) {
3662
3835
  /* */
3663
3836
  /* */
3664
3837
  /* */
@@ -3667,8 +3840,7 @@ class BaseGit extends BaseFeatureForProject {
3667
3840
  /* */
3668
3841
  return (void 0);
3669
3842
  }
3670
- async _getCommitMessage(typeofCommit, args, commitMessageRequired) {
3671
- /* */
3843
+ _beforeAnyActionOnGitRoot() {
3672
3844
  /* */
3673
3845
  /* */
3674
3846
  /* */
@@ -3686,6 +3858,9 @@ class BaseGit extends BaseFeatureForProject {
3686
3858
  /* */
3687
3859
  /* */
3688
3860
  /* */
3861
+ return (void 0);
3862
+ }
3863
+ async _beforePushProcessAction() {
3689
3864
  /* */
3690
3865
  /* */
3691
3866
  /* */
@@ -3708,22 +3883,7 @@ class BaseGit extends BaseFeatureForProject {
3708
3883
  /* */
3709
3884
  return (void 0);
3710
3885
  }
3711
- }
3712
- ;
3713
- ({}); // @--end-of-file-for-module=tnp-helpers lib/base/base-git.ts
3714
-
3715
- const regexTeamsID = /[A-Z0-9]+\#/;
3716
- const regexCommitModuleInArgs = /\[[a-z|\-|\,]+\]/;
3717
- const regexCommitModuleInBranch = /\-\-[a-z|\-|\_]+\-\-/;
3718
- class CommitData {
3719
- /**
3720
- *
3721
- * @returns jiras (from oldest to newset)
3722
- */
3723
- static extractAndOrderJiraNumbers(commitOrBranchName) {
3724
- /* */
3725
- /* */
3726
- /* */
3886
+ async _beforePullProcessAction(cloneChildren = false) {
3727
3887
  /* */
3728
3888
  /* */
3729
3889
  /* */
@@ -3732,46 +3892,8 @@ class CommitData {
3732
3892
  /* */
3733
3893
  return (void 0);
3734
3894
  }
3735
- static cleanHttpFromCommitMessage(commitMsg) {
3736
- if (!commitMsg) {
3737
- return commitMsg;
3738
- }
3739
- commitMsg = commitMsg.replace('https://', '');
3740
- commitMsg = commitMsg.replace('http://', '');
3741
- return commitMsg;
3742
- }
3743
- static getTeamsIdFrom(commitMsg) {
3744
- let teamID = _.first(commitMsg.match(regexTeamsID));
3745
- if (teamID) {
3746
- commitMsg = commitMsg.replace(teamID, '');
3747
- }
3748
- return {
3749
- commitMsgOrBranchName: commitMsg, teamID
3750
- };
3751
- }
3752
- static getModuleNameFrom(commitMsg) {
3753
- let commitModuleName = _.first(commitMsg.match(regexCommitModuleInArgs));
3754
- if (commitModuleName) {
3755
- commitMsg = commitMsg.replace(commitModuleName, '');
3756
- }
3757
- commitModuleName = commitModuleName?.replace(/\[/g, '').replace(/\]/g, '');
3758
- return {
3759
- commitMsg, commitModuleName,
3760
- };
3761
- }
3762
- static getModuleNameFromBranch(branchName) {
3763
- let commitModuleName = _.first(branchName.match(regexCommitModuleInBranch));
3764
- if (commitModuleName) {
3765
- branchName = branchName.replace(commitModuleName, '');
3766
- commitModuleName = commitModuleName?.replace(/^\-\-/, '')?.replace(/\-\-$/, '');
3767
- if (commitModuleName.startsWith('-')) {
3768
- commitModuleName = commitModuleName.replace(/^\-/, '');
3769
- }
3770
- }
3771
- commitModuleName = commitModuleName?.replace(/^\-\-/, '')?.replace(/\-\-$/, '').replace(/\_/, ',');
3772
- return { commitModuleName };
3773
- }
3774
- static async getFromArgs(args, typeOfCommit) {
3895
+ async _getCommitMessage(typeofCommit, args, commitMessageRequired) {
3896
+ /* */
3775
3897
  /* */
3776
3898
  /* */
3777
3899
  /* */
@@ -3811,7 +3933,508 @@ class CommitData {
3811
3933
  /* */
3812
3934
  return (void 0);
3813
3935
  }
3814
- static async getFromBranch(currentBranchName) {
3936
+ /**
3937
+ * This will prevent accidental branch change for firedev projects
3938
+ * @returns branch name
3939
+ */
3940
+ duringPushWarnIfProjectNotOnSpecyficDevBranch() {
3941
+ return void 0;
3942
+ }
3943
+ async getChangedFilesInCommitByHash(hash) {
3944
+ /* */
3945
+ /* */
3946
+ /* */
3947
+ /* */
3948
+ /* */
3949
+ return (void 0);
3950
+ }
3951
+ /**
3952
+ * @param index 0 - means last commit
3953
+ */
3954
+ async getChangedFilesInCommitByIndex(index) {
3955
+ /* */
3956
+ /* */
3957
+ /* */
3958
+ /* */
3959
+ /* */
3960
+ return (void 0);
3961
+ }
3962
+ }
3963
+ ;
3964
+ ({}); // @--end-of-file-for-module=tnp-helpers lib/base/base-git.ts
3965
+
3966
+ /* */
3967
+ /* */
3968
+ class BaseReleaseProcess extends BaseFeatureForProject {
3969
+ constructor() {
3970
+ super(...arguments);
3971
+ /**
3972
+ * Automatic release process of patch plus one version
3973
+ */
3974
+ this.automaticRelease = false;
3975
+ this.commitsForChangelog = [];
3976
+ }
3977
+ getReleaseWords() {
3978
+ return ['release'];
3979
+ }
3980
+ async startRelease(options) {
3981
+ while (true) {
3982
+ Helpers.clearConsole();
3983
+ this.newVersion = options?.newVersion;
3984
+ this.automaticRelease = options?.automaticRelease || false;
3985
+ await this.resetReleaseFiles();
3986
+ this.project.npmHelpers.reloadPackageJsonInMemory();
3987
+ this.lastChangesSummary = await this.generateLastChangesSummary();
3988
+ console.log(`${chalk.bold.underline(`Release process for ${this.project.name}`)}:\n` +
3989
+ (await this.lastChangesSummary));
3990
+ this.type = await this.selectReleaseType();
3991
+ await this.confirmNewVersion();
3992
+ this.commitsForChangelog = await this.selectChangelogCommits();
3993
+ await this.updateChangeLogFromCommits();
3994
+ await this.bumpNewVersionEverywhere();
3995
+ await this.buildAllLibraries();
3996
+ if (!(await this.testBeforePublish())) {
3997
+ continue;
3998
+ }
3999
+ if (!(await this.publishToNpm())) {
4000
+ continue;
4001
+ }
4002
+ await this.reinstallNodeModules();
4003
+ if (!(await this.testAfterPublish())) {
4004
+ continue;
4005
+ }
4006
+ await this.commitAndPush();
4007
+ }
4008
+ }
4009
+ async reinstallNodeModules() {
4010
+ Helpers.taskStarted(`Reinstalling node_modules to recreate package-lock.json`);
4011
+ this.project.npmHelpers.reinstalNodeModules();
4012
+ Helpers.taskDone(`Reinstalling node_modules to recreate package-lock.json`);
4013
+ }
4014
+ async selectChangelogCommits() {
4015
+ /* */
4016
+ /* */
4017
+ /* */
4018
+ /* */
4019
+ /* */
4020
+ /* */
4021
+ /* */
4022
+ /* */
4023
+ /* */
4024
+ /* */
4025
+ /* */
4026
+ /* */
4027
+ /* */
4028
+ /* */
4029
+ /* */
4030
+ /* */
4031
+ /* */
4032
+ /* */
4033
+ /* */
4034
+ /* */
4035
+ /* */
4036
+ /* */
4037
+ /* */
4038
+ /* */
4039
+ /* */
4040
+ return (void 0);
4041
+ }
4042
+ async getCommitsUpToReleaseCommit() {
4043
+ /* */
4044
+ /* */
4045
+ /* */
4046
+ /* */
4047
+ /* */
4048
+ /* */
4049
+ /* */
4050
+ /* */
4051
+ /* */
4052
+ /* */
4053
+ /* */
4054
+ /* */
4055
+ /* */
4056
+ return (void 0);
4057
+ }
4058
+ async publishToNpm() {
4059
+ /* */
4060
+ /* */
4061
+ /* */
4062
+ /* */
4063
+ /* */
4064
+ /* */
4065
+ /* */
4066
+ /* */
4067
+ /* */
4068
+ /* */
4069
+ /* */
4070
+ /* */
4071
+ /* */
4072
+ /* */
4073
+ /* */
4074
+ /* */
4075
+ /* */
4076
+ /* */
4077
+ /* */
4078
+ return (void 0);
4079
+ }
4080
+ async testAfterPublish() {
4081
+ /* */
4082
+ /* */
4083
+ /* */
4084
+ /* */
4085
+ /* */
4086
+ /* */
4087
+ /* */
4088
+ /* */
4089
+ /* */
4090
+ /* */
4091
+ /* */
4092
+ /* */
4093
+ /* */
4094
+ /* */
4095
+ /* */
4096
+ /* */
4097
+ return (void 0);
4098
+ }
4099
+ async testBeforePublish() {
4100
+ /* */
4101
+ /* */
4102
+ /* */
4103
+ /* */
4104
+ /* */
4105
+ /* */
4106
+ /* */
4107
+ /* */
4108
+ /* */
4109
+ /* */
4110
+ /* */
4111
+ /* */
4112
+ /* */
4113
+ /* */
4114
+ /* */
4115
+ /* */
4116
+ return (void 0);
4117
+ }
4118
+ async commitAndPush() {
4119
+ /* */
4120
+ /* */
4121
+ /* */
4122
+ /* */
4123
+ /* */
4124
+ /* */
4125
+ /* */
4126
+ /* */
4127
+ /* */
4128
+ /* */
4129
+ /* */
4130
+ /* */
4131
+ /* */
4132
+ /* */
4133
+ /* */
4134
+ /* */
4135
+ /* */
4136
+ /* */
4137
+ return (void 0);
4138
+ }
4139
+ releaseCommitTemplate() {
4140
+ return `Release v${this.newVersion} + changelog.md update`;
4141
+ }
4142
+ async testLibraries() {
4143
+ try {
4144
+ this.project.run('npm run test', { output: true }).sync();
4145
+ return true;
4146
+ }
4147
+ catch (error) {
4148
+ Helpers.info(`Test failed, you can run test manually`);
4149
+ return false;
4150
+ }
4151
+ }
4152
+ async buildAllLibraries() {
4153
+ await this.project.libraryBuild.buildLibraries({
4154
+ watch: false,
4155
+ releaseBuild: true,
4156
+ buildType: 'angular',
4157
+ });
4158
+ }
4159
+ async resetReleaseFiles() {
4160
+ /* */
4161
+ /* */
4162
+ /* */
4163
+ /* */
4164
+ /* */
4165
+ /* */
4166
+ return (void 0);
4167
+ }
4168
+ get toBumpProjects() {
4169
+ const toBumpProjects = [
4170
+ this.project,
4171
+ ...this.project.libraryBuild.libraries,
4172
+ ];
4173
+ return toBumpProjects;
4174
+ }
4175
+ async bumpNewVersionEverywhere() {
4176
+ /* */
4177
+ /* */
4178
+ /* */
4179
+ /* */
4180
+ /* */
4181
+ /* */
4182
+ /* */
4183
+ /* */
4184
+ /* */
4185
+ /* */
4186
+ /* */
4187
+ /* */
4188
+ /* */
4189
+ /* */
4190
+ /* */
4191
+ return (void 0);
4192
+ }
4193
+ async confirmNewVersion() {
4194
+ /* */
4195
+ /* */
4196
+ /* */
4197
+ /* */
4198
+ /* */
4199
+ /* */
4200
+ /* */
4201
+ /* */
4202
+ /* */
4203
+ /* */
4204
+ /* */
4205
+ /* */
4206
+ /* */
4207
+ /* */
4208
+ /* */
4209
+ /* */
4210
+ /* */
4211
+ /* */
4212
+ /* */
4213
+ /* */
4214
+ /* */
4215
+ /* */
4216
+ /* */
4217
+ /* */
4218
+ /* */
4219
+ /* */
4220
+ /* */
4221
+ /* */
4222
+ /* */
4223
+ /* */
4224
+ /* */
4225
+ /* */
4226
+ /* */
4227
+ /* */
4228
+ /* */
4229
+ /* */
4230
+ /* */
4231
+ /* */
4232
+ /* */
4233
+ /* */
4234
+ return (void 0);
4235
+ }
4236
+ async selectReleaseType() {
4237
+ /* */
4238
+ /* */
4239
+ /* */
4240
+ /* */
4241
+ /* */
4242
+ /* */
4243
+ /* */
4244
+ /* */
4245
+ /* */
4246
+ /* */
4247
+ /* */
4248
+ /* */
4249
+ /* */
4250
+ /* */
4251
+ /* */
4252
+ /* */
4253
+ /* */
4254
+ /* */
4255
+ /* */
4256
+ /* */
4257
+ /* */
4258
+ /* */
4259
+ /* */
4260
+ return (void 0);
4261
+ }
4262
+ async commitMessageInChangelogTransformFn(message) {
4263
+ return message;
4264
+ }
4265
+ async getChangelogContentToAppend(askForEveryItem) {
4266
+ /* */
4267
+ /* */
4268
+ /* */
4269
+ /* */
4270
+ /* */
4271
+ /* */
4272
+ /* */
4273
+ /* */
4274
+ /* */
4275
+ /* */
4276
+ /* */
4277
+ /* */
4278
+ /* */
4279
+ /* */
4280
+ /* */
4281
+ /* */
4282
+ /* */
4283
+ /* */
4284
+ return (void 0);
4285
+ }
4286
+ /**
4287
+ * TODO extend this to all commits from last release
4288
+ */
4289
+ async updateChangeLogFromCommits() {
4290
+ /* */
4291
+ /* */
4292
+ /* */
4293
+ /* */
4294
+ /* */
4295
+ /* */
4296
+ /* */
4297
+ /* */
4298
+ /* */
4299
+ /* */
4300
+ /* */
4301
+ /* */
4302
+ /* */
4303
+ /* */
4304
+ /* */
4305
+ /* */
4306
+ /* */
4307
+ /* */
4308
+ /* */
4309
+ /* */
4310
+ /* */
4311
+ /* */
4312
+ /* */
4313
+ /* */
4314
+ /* */
4315
+ return (void 0);
4316
+ }
4317
+ async extractChangedLibrariesInCommit(hashOrIndex) {
4318
+ /* */
4319
+ /* */
4320
+ /* */
4321
+ /* */
4322
+ /* */
4323
+ /* */
4324
+ /* */
4325
+ /* */
4326
+ /* */
4327
+ /* */
4328
+ /* */
4329
+ /* */
4330
+ /* */
4331
+ /* */
4332
+ /* */
4333
+ /* */
4334
+ return (void 0);
4335
+ }
4336
+ async changelogItemTemplate(hashOrIndex, confirmEveryItem = false) {
4337
+ /* */
4338
+ /* */
4339
+ /* */
4340
+ /* */
4341
+ /* */
4342
+ /* */
4343
+ /* */
4344
+ /* */
4345
+ /* */
4346
+ /* */
4347
+ /* */
4348
+ /* */
4349
+ /* */
4350
+ /* */
4351
+ /* */
4352
+ /* */
4353
+ /* */
4354
+ /* */
4355
+ /* */
4356
+ /* */
4357
+ /* */
4358
+ /* */
4359
+ /* */
4360
+ /* */
4361
+ /* */
4362
+ /* */
4363
+ /* */
4364
+ /* */
4365
+ /* */
4366
+ /* */
4367
+ /* */
4368
+ /* */
4369
+ /* */
4370
+ /* */
4371
+ /* */
4372
+ /* */
4373
+ /* */
4374
+ /* */
4375
+ /* */
4376
+ /* */
4377
+ /* */
4378
+ /* */
4379
+ /* */
4380
+ /* */
4381
+ /* */
4382
+ /* */
4383
+ /* */
4384
+ return (void 0);
4385
+ }
4386
+ async generateLastChangesSummary() {
4387
+ const lastReleaseCommitData = await this.getLastReleaseCommitData();
4388
+ const hasLastReleaseCommit = lastReleaseCommitData.index !== -1;
4389
+ const lastReleaseCommitMsg = !hasLastReleaseCommit
4390
+ ? '< nothing release yet >'
4391
+ : lastReleaseCommitData.lastRelaseCommitMsg;
4392
+ return `${chalk.bold.gray('Last changelog.md notes summary')}:
4393
+ ${await this.getLastPackageVersionChangesFromChnagelog()}
4394
+
4395
+ ${chalk.bold.gray(hasLastReleaseCommit ? 'Last commits up to relase commit' : 'Last 3 commits')}:
4396
+ ${await this.getLastChangesFromCommits({
4397
+ maxMessagesToCheck: hasLastReleaseCommit ? Number.POSITIVE_INFINITY : 3,
4398
+ stopOnCommitMessage: hasLastReleaseCommit
4399
+ ? lastReleaseCommitData.lastRelaseCommitMsg
4400
+ : '',
4401
+ })}
4402
+ `;
4403
+ }
4404
+ async getLastChangesFromCommits({ maxMessagesToCheck = 3, stopOnCommitMessage = '', } = {}) {
4405
+ /* */
4406
+ /* */
4407
+ /* */
4408
+ /* */
4409
+ /* */
4410
+ /* */
4411
+ /* */
4412
+ /* */
4413
+ /* */
4414
+ /* */
4415
+ /* */
4416
+ /* */
4417
+ /* */
4418
+ /* */
4419
+ /* */
4420
+ /* */
4421
+ /* */
4422
+ /* */
4423
+ /* */
4424
+ /* */
4425
+ /* */
4426
+ /* */
4427
+ return (void 0);
4428
+ }
4429
+ async getLastReleaseCommitData() {
4430
+ /* */
4431
+ /* */
4432
+ /* */
4433
+ /* */
4434
+ /* */
4435
+ /* */
4436
+ /* */
4437
+ /* */
3815
4438
  /* */
3816
4439
  /* */
3817
4440
  /* */
@@ -3821,6 +4444,19 @@ class CommitData {
3821
4444
  /* */
3822
4445
  /* */
3823
4446
  /* */
4447
+ /* */
4448
+ /* */
4449
+ /* */
4450
+ /* */
4451
+ /* */
4452
+ /* */
4453
+ /* */
4454
+ /* */
4455
+ /* */
4456
+ /* */
4457
+ return (void 0);
4458
+ }
4459
+ async getLastPackageVersionChangesFromChnagelog() {
3824
4460
  /* */
3825
4461
  /* */
3826
4462
  /* */
@@ -3860,17 +4496,124 @@ class CommitData {
3860
4496
  /* */
3861
4497
  return (void 0);
3862
4498
  }
3863
- static from(options) {
3864
- options = (options ? options : {});
3865
- const opt = _.merge(new CommitData(), _.cloneDeep(options));
3866
- return opt;
4499
+ get changeLogPath() {
4500
+ /* */
4501
+ /* */
4502
+ /* */
4503
+ /* */
4504
+ return (void 0);
3867
4505
  }
3868
- clearMessage(message) {
3869
- if (this.teamID && _.isString(this.teamID)) {
3870
- message = message.replace(this.teamID.toLowerCase().replace('-', ' '), ' ');
3871
- message = message.replace(this.teamID.toUpperCase().replace('-', ' '), ' ');
4506
+ get changelogContent() {
4507
+ return this.project.readFile(this.changeLogPath) || '';
4508
+ }
4509
+ changeLogKeyWord() {
4510
+ return 'Changes in version';
4511
+ }
4512
+ getChnagelogData() {
4513
+ /* */
4514
+ /* */
4515
+ /* */
4516
+ /* */
4517
+ /* */
4518
+ /* */
4519
+ /* */
4520
+ /* */
4521
+ /* */
4522
+ /* */
4523
+ /* */
4524
+ /* */
4525
+ /* */
4526
+ /* */
4527
+ /* */
4528
+ /* */
4529
+ /* */
4530
+ /* */
4531
+ /* */
4532
+ /* */
4533
+ /* */
4534
+ /* */
4535
+ /* */
4536
+ /* */
4537
+ /* */
4538
+ /* */
4539
+ return (void 0);
4540
+ }
4541
+ }
4542
+ ;
4543
+ ({}); // @--end-of-file-for-module=tnp-helpers lib/base/base-release-process.ts
4544
+
4545
+ const regexTeamsID = /[A-Z0-9]+\#/;
4546
+ const regexCommitModuleInArgs = /\[[a-z|\-|\,]+\]/;
4547
+ const regexCommitModuleInBranch = /\-\-[a-z|\-|\_]+\-\-/;
4548
+ class CommitData {
4549
+ static cleanHttpFromCommitMessage(commitMsg) {
4550
+ if (!commitMsg) {
4551
+ return commitMsg;
4552
+ }
4553
+ commitMsg = commitMsg.replace('https://', '');
4554
+ commitMsg = commitMsg.replace('http://', '');
4555
+ return commitMsg;
4556
+ }
4557
+ static getTeamsIdFrom(commitMsg) {
4558
+ let teamID = _.first(commitMsg.match(regexTeamsID));
4559
+ if (teamID) {
4560
+ commitMsg = commitMsg.replace(teamID, '');
4561
+ }
4562
+ return {
4563
+ commitMsgOrBranchName: commitMsg,
4564
+ teamID,
4565
+ };
4566
+ }
4567
+ static getModuleNameFrom(commitMsg) {
4568
+ let commitModuleName = _.first(commitMsg.match(regexCommitModuleInArgs));
4569
+ if (commitModuleName) {
4570
+ commitMsg = commitMsg.replace(commitModuleName, '');
4571
+ }
4572
+ commitModuleName = commitModuleName?.replace(/\[/g, '').replace(/\]/g, '');
4573
+ return {
4574
+ commitMsg,
4575
+ commitModuleName,
4576
+ };
4577
+ }
4578
+ /**
4579
+ *
4580
+ * @returns jiras (from oldest to newset)
4581
+ */
4582
+ static extractAndOrderJiraNumbers(commitOrBranchName) {
4583
+ /* */
4584
+ /* */
4585
+ /* */
4586
+ /* */
4587
+ /* */
4588
+ /* */
4589
+ /* */
4590
+ /* */
4591
+ /* */
4592
+ /* */
4593
+ /* */
4594
+ /* */
4595
+ /* */
4596
+ /* */
4597
+ /* */
4598
+ /* */
4599
+ /* */
4600
+ /* */
4601
+ return (void 0);
4602
+ }
4603
+ static cleanMessageFromJiraNumTeamIdEtc(message, optinos) {
4604
+ message = message || '';
4605
+ let { teamID, commitModuleName, jiraNumbers } = optinos || {};
4606
+ teamID = teamID || this.getTeamsIdFrom(message).teamID || '';
4607
+ commitModuleName =
4608
+ commitModuleName ||
4609
+ this.getModuleNameFrom(message).commitModuleName ||
4610
+ '';
4611
+ jiraNumbers = jiraNumbers || this.extractAndOrderJiraNumbers(message) || [];
4612
+ if (!!teamID.trim()) {
4613
+ message = message.replace(teamID.toLowerCase().replace('-', ' '), ' ');
4614
+ message = message.replace(teamID.toUpperCase().replace('-', ' '), ' ');
3872
4615
  }
3873
- for (const jira of (this.jiraNumbers || [])) {
4616
+ for (const jira of jiraNumbers || []) {
3874
4617
  message = message.replace(jira.toLowerCase().replace('-', ' '), ' ');
3875
4618
  message = message.replace(jira.toUpperCase().replace('-', ' '), ' ');
3876
4619
  message = message.replace(jira, ' ');
@@ -3879,15 +4622,143 @@ class CommitData {
3879
4622
  message = message.replace(regexCommitModuleInBranch, ' ');
3880
4623
  message = message.replace(/\ \ /g, ' ');
3881
4624
  }
3882
- if (this.teamID && _.isString(this.teamID)) {
4625
+ if (!!teamID.trim()) {
3883
4626
  message = message.replace(/\_/g, ' ');
3884
4627
  }
3885
- if (this.commitModuleName) {
3886
- message = message.replace(this.commitModuleName.replace(/\-/g, ' '), ' ');
3887
- message = message.replace(this.commitModuleName.replace(/\,/g, ' '), ' ');
3888
- message = message.replace(this.commitModuleName.replace(/\,/g, '_'), ' ');
4628
+ if (!!commitModuleName.trim()) {
4629
+ message = message.replace(commitModuleName.replace(/\-/g, ' '), ' ');
4630
+ message = message.replace(commitModuleName.replace(/\,/g, ' '), ' ');
4631
+ message = message.replace(commitModuleName.replace(/\,/g, '_'), ' ');
3889
4632
  }
3890
- return message;
4633
+ return message
4634
+ .replace(/\ \ /g, ' ')
4635
+ .replace(/\ \ /g, ' ')
4636
+ .replace(/\ \ /g, ' ');
4637
+ }
4638
+ static getModuleNameFromBranch(branchName) {
4639
+ let commitModuleName = _.first(branchName.match(regexCommitModuleInBranch));
4640
+ if (commitModuleName) {
4641
+ branchName = branchName.replace(commitModuleName, '');
4642
+ commitModuleName = commitModuleName
4643
+ ?.replace(/^\-\-/, '')
4644
+ ?.replace(/\-\-$/, '');
4645
+ if (commitModuleName.startsWith('-')) {
4646
+ commitModuleName = commitModuleName.replace(/^\-/, '');
4647
+ }
4648
+ }
4649
+ commitModuleName = commitModuleName
4650
+ ?.replace(/^\-\-/, '')
4651
+ ?.replace(/\-\-$/, '')
4652
+ .replace(/\_/, ',');
4653
+ return { commitModuleName };
4654
+ }
4655
+ static async getFromArgs(args, typeOfCommit) {
4656
+ /* */
4657
+ /* */
4658
+ /* */
4659
+ /* */
4660
+ /* */
4661
+ /* */
4662
+ /* */
4663
+ /* */
4664
+ /* */
4665
+ /* */
4666
+ /* */
4667
+ /* */
4668
+ /* */
4669
+ /* */
4670
+ /* */
4671
+ /* */
4672
+ /* */
4673
+ /* */
4674
+ /* */
4675
+ /* */
4676
+ /* */
4677
+ /* */
4678
+ /* */
4679
+ /* */
4680
+ /* */
4681
+ /* */
4682
+ /* */
4683
+ /* */
4684
+ /* */
4685
+ /* */
4686
+ /* */
4687
+ /* */
4688
+ /* */
4689
+ /* */
4690
+ /* */
4691
+ /* */
4692
+ return (void 0);
4693
+ }
4694
+ static async getFromBranch(currentBranchName) {
4695
+ /* */
4696
+ /* */
4697
+ /* */
4698
+ /* */
4699
+ /* */
4700
+ /* */
4701
+ /* */
4702
+ /* */
4703
+ /* */
4704
+ /* */
4705
+ /* */
4706
+ /* */
4707
+ /* */
4708
+ /* */
4709
+ /* */
4710
+ /* */
4711
+ /* */
4712
+ /* */
4713
+ /* */
4714
+ /* */
4715
+ /* */
4716
+ /* */
4717
+ /* */
4718
+ /* */
4719
+ /* */
4720
+ /* */
4721
+ /* */
4722
+ /* */
4723
+ /* */
4724
+ /* */
4725
+ /* */
4726
+ /* */
4727
+ /* */
4728
+ /* */
4729
+ /* */
4730
+ /* */
4731
+ /* */
4732
+ /* */
4733
+ /* */
4734
+ /* */
4735
+ /* */
4736
+ /* */
4737
+ /* */
4738
+ /* */
4739
+ /* */
4740
+ /* */
4741
+ /* */
4742
+ /* */
4743
+ /* */
4744
+ /* */
4745
+ /* */
4746
+ /* */
4747
+ /* */
4748
+ /* */
4749
+ return (void 0);
4750
+ }
4751
+ static from(options) {
4752
+ options = (options ? options : {});
4753
+ const opt = _.merge(new CommitData(), _.cloneDeep(options));
4754
+ return opt;
4755
+ }
4756
+ clearMessage(message) {
4757
+ return CommitData.cleanMessageFromJiraNumTeamIdEtc(message, {
4758
+ teamID: this.teamID,
4759
+ commitModuleName: this.commitModuleName,
4760
+ jiraNumbers: this.jiraNumbers,
4761
+ });
3891
4762
  }
3892
4763
  /**
3893
4764
  * pure message what was done (without jira or prefixes)
@@ -3913,6 +4784,29 @@ class CommitData {
3913
4784
  return (void 0);
3914
4785
  }
3915
4786
  get commitMessage() {
4787
+ /* */
4788
+ /* */
4789
+ /* */
4790
+ /* */
4791
+ /* */
4792
+ /* */
4793
+ /* */
4794
+ /* */
4795
+ /* */
4796
+ /* */
4797
+ /* */
4798
+ /* */
4799
+ /* */
4800
+ /* */
4801
+ /* */
4802
+ /* */
4803
+ /* */
4804
+ /* */
4805
+ /* */
4806
+ /* */
4807
+ /* */
4808
+ /* */
4809
+ /* */
3916
4810
  /* */
3917
4811
  /* */
3918
4812
  /* */
@@ -3951,6 +4845,14 @@ class CommitData {
3951
4845
  /* */
3952
4846
  /* */
3953
4847
  /* */
4848
+ /* */
4849
+ /* */
4850
+ /* */
4851
+ /* */
4852
+ /* */
4853
+ /* */
4854
+ /* */
4855
+ /* */
3954
4856
  return (void 0);
3955
4857
  }
3956
4858
  get isActionCommit() {
@@ -4152,6 +5054,7 @@ class LinkedPorjectsConfig {
4152
5054
  /* */
4153
5055
  /* */
4154
5056
  /* */
5057
+ /* */
4155
5058
  ;
4156
5059
  ({}); // @--end-of-file-for-module=tnp-helpers lib/base/index.ts
4157
5060
 
@@ -4172,5 +5075,5 @@ const Helpers = HelpersFiredev.Instance;
4172
5075
  * Generated bundle index. Do not edit.
4173
5076
  */
4174
5077
 
4175
- export { BaseFeatureForProject, BaseGit, BaseLibraryBuild, BaseLinkedProjects, BaseNpmHelpers, BaseProject, BaseProjectResolver, BaseProjectTypeArr, CommitData, CoreAngularProject, CoreProject, CoreTypescriptProject, Helpers, HelpersAngular, LinkedPorjectsConfig, LinkedProject, Validators };
5078
+ export { BaseFeatureForProject, BaseGit, BaseLibraryBuild, BaseLinkedProjects, BaseNpmHelpers, BaseProject, BaseProjectResolver, BaseProjectTypeArr, BaseReleaseProcess, CommitData, CoreAngularProject, CoreProject, CoreTypescriptProject, Helpers, HelpersAngular, LinkedPorjectsConfig, LinkedProject, Validators };
4176
5079
  //# sourceMappingURL=tnp-helpers.mjs.map