tnp-helpers 19.0.74 → 21.0.2

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 (67) hide show
  1. package/browser/fesm2022/tnp-helpers.mjs +404 -154
  2. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  3. package/browser/lib/base/classes/base-db.d.ts +1 -1
  4. package/browser/lib/base/classes/base-git.d.ts +3 -1
  5. package/browser/lib/base/classes/base-global-command-line.d.ts +30 -15
  6. package/browser/lib/build-info._auto-generated_.d.ts +1 -1
  7. package/browser/lib/utils.d.ts +28 -4
  8. package/browser/package.json +1 -1
  9. package/lib/base/classes/base-cli-worker/base-cli-worker-database-config.js +1 -1
  10. package/lib/base/classes/base-cli-worker/base-cli-worker-database-config.js.map +1 -1
  11. package/lib/base/classes/base-cli-worker/base-cli-worker.utils.js +1 -1
  12. package/lib/base/classes/base-cli-worker/base-cli-worker.utils.js.map +1 -1
  13. package/lib/base/classes/base-db.d.ts +2 -2
  14. package/lib/base/classes/base-db.js +5 -3
  15. package/lib/base/classes/base-db.js.map +1 -1
  16. package/lib/base/classes/base-git.d.ts +3 -1
  17. package/lib/base/classes/base-git.js +8 -3
  18. package/lib/base/classes/base-git.js.map +1 -1
  19. package/lib/base/classes/base-global-command-line.d.ts +27 -12
  20. package/lib/base/classes/base-global-command-line.js +307 -215
  21. package/lib/base/classes/base-global-command-line.js.map +1 -1
  22. package/lib/base/classes/base-node-modules.js +7 -7
  23. package/lib/base/classes/base-node-modules.js.map +1 -1
  24. package/lib/base/classes/base-vscode.js +5 -1
  25. package/lib/base/classes/base-vscode.js.map +1 -1
  26. package/lib/base/gh-temp-code.js +6 -5
  27. package/lib/base/gh-temp-code.js.map +1 -1
  28. package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
  29. package/lib/base/tcp-udp-ports/ports.entity.d.ts +1 -1
  30. package/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +1 -19
  31. package/lib/build-info._auto-generated_.d.ts +1 -1
  32. package/lib/build-info._auto-generated_.js +1 -1
  33. package/lib/build-info._auto-generated_.js.map +1 -1
  34. package/lib/env/env.angular-node-app.d.ts +1 -0
  35. package/lib/env/env.angular-node-app.js +3 -2
  36. package/lib/env/env.angular-node-app.js.map +1 -1
  37. package/lib/env/env.docs-webapp.d.ts +1 -0
  38. package/lib/env/env.docs-webapp.js +3 -2
  39. package/lib/env/env.docs-webapp.js.map +1 -1
  40. package/lib/env/env.electron-app.d.ts +1 -0
  41. package/lib/env/env.electron-app.js +3 -2
  42. package/lib/env/env.electron-app.js.map +1 -1
  43. package/lib/env/env.mobile-app.d.ts +1 -0
  44. package/lib/env/env.mobile-app.js +3 -2
  45. package/lib/env/env.mobile-app.js.map +1 -1
  46. package/lib/env/env.npm-lib-and-cli-tool.d.ts +1 -0
  47. package/lib/env/env.npm-lib-and-cli-tool.js +3 -2
  48. package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -1
  49. package/lib/env/env.vscode-plugin.d.ts +1 -0
  50. package/lib/env/env.vscode-plugin.js +3 -2
  51. package/lib/env/env.vscode-plugin.js.map +1 -1
  52. package/lib/helpers/for-browser/angular.helper.js +2 -2
  53. package/lib/old/base-component.js +2 -2
  54. package/lib/old/base-formly-component.js +2 -2
  55. package/lib/old/dual-component-ctrl.js +2 -2
  56. package/lib/utils.d.ts +28 -4
  57. package/lib/utils.js +167 -26
  58. package/lib/utils.js.map +1 -1
  59. package/package.json +5 -5
  60. package/websql/fesm2022/tnp-helpers.mjs +404 -154
  61. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  62. package/websql/lib/base/classes/base-db.d.ts +1 -1
  63. package/websql/lib/base/classes/base-git.d.ts +3 -1
  64. package/websql/lib/base/classes/base-global-command-line.d.ts +30 -15
  65. package/websql/lib/build-info._auto-generated_.d.ts +1 -1
  66. package/websql/lib/utils.d.ts +28 -4
  67. package/websql/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { Subject, BehaviorSubject } from 'rxjs';
2
2
  import { CoreModels, Utils, crossPlatformPath, _, CoreHelpers, UtilsTerminal, chalk, path, config, Helpers as Helpers$1, fse, folderName, fileName, UtilsNetwork, UtilsSudo, isElevated } from 'tnp-core/browser';
3
- import { createSourceFile, ScriptTarget, ScriptKind, isImportDeclaration, isExportDeclaration } from 'typescript';
3
+ import { createSourceFile, ScriptTarget, isCallExpression, SyntaxKind, isImportDeclaration, isExportDeclaration, forEachChild, ScriptKind } from 'typescript';
4
4
  import * as fuzzy from 'fuzzy';
5
5
  import { Level } from 'ng2-logger/browser';
6
6
  import { CLASS } from 'typescript-class-helpers/browser';
@@ -100,13 +100,19 @@ var HelpersAngular;
100
100
  //#region utils npm
101
101
  var UtilsNpm;
102
102
  (function (UtilsNpm) {
103
- //#region is special version
103
+ UtilsNpm.isProperVersion = (npmVersion) => {
104
+ /* */
105
+ /* */
106
+ return (void 0);
107
+ };
108
+ //#region utils npm / is special version
104
109
  UtilsNpm.isSpecialVersion = (version) => {
105
110
  return CoreModels.NpmSpecialVersions.includes(version);
106
111
  };
107
112
  //#endregion
108
- //#region clear version
113
+ //#region utils npm / clear version
109
114
  UtilsNpm.clearVersion = (version, options) => {
115
+ options = options || {};
110
116
  const { removePrefixes, removeSuffix } = options || {};
111
117
  if (!version || UtilsNpm.isSpecialVersion(version)) {
112
118
  return version;
@@ -124,7 +130,7 @@ var UtilsNpm;
124
130
  return UtilsNpm.fixMajorVerNumber(`${major}.${minor}.${patch}${alphaOrBetaOrRc ? '.' + alphaOrBetaOrRc : ''}`);
125
131
  };
126
132
  //#endregion
127
- //#region fix major version number
133
+ //#region utils npm / fix major version number
128
134
  UtilsNpm.fixMajorVerNumber = (version) => {
129
135
  if (!version || UtilsNpm.isSpecialVersion(version)) {
130
136
  return version;
@@ -143,7 +149,183 @@ var UtilsNpm;
143
149
  }
144
150
  return `${major}.${minor}.${patch}${alphaOrBetaOrRc ? '.' + alphaOrBetaOrRc : ''}`;
145
151
  };
152
+ UtilsNpm.getLatestVersionFromNpm = async (packageName, options) => {
153
+ /* */
154
+ /* */
155
+ /* */
156
+ /* */
157
+ /* */
158
+ /* */
159
+ /* */
160
+ /* */
161
+ /* */
162
+ /* */
163
+ /* */
164
+ /* */
165
+ /* */
166
+ /* */
167
+ /* */
168
+ /* */
169
+ /* */
170
+ /* */
171
+ /* */
172
+ /* */
173
+ /* */
174
+ /* */
175
+ /* */
176
+ /* */
177
+ /* */
178
+ /* */
179
+ /* */
180
+ /* */
181
+ /* */
182
+ /* */
183
+ /* */
184
+ /* */
185
+ /* */
186
+ /* */
187
+ /* */
188
+ /* */
189
+ /* */
190
+ /* */
191
+ /* */
192
+ /* */
193
+ /* */
194
+ /* */
195
+ /* */
196
+ /* */
197
+ /* */
198
+ /* */
199
+ /* */
200
+ /* */
201
+ /* */
202
+ /* */
203
+ /* */
204
+ /* */
205
+ /* */
206
+ /* */
207
+ /* */
208
+ /* */
209
+ /* */
210
+ /* */
211
+ /* */
212
+ /* */
213
+ /* */
214
+ /* */
215
+ /* */
216
+ /* */
217
+ /* */
218
+ /* */
219
+ /* */
220
+ /* */
221
+ /* */
222
+ /* */
223
+ /* */
224
+ /* */
225
+ return (void 0);
226
+ };
227
+ //#endregion
228
+ //#region utils npm / check if package version available
229
+ UtilsNpm.checkIfPackageVersionAvailable = async (pkgName, pkgVersion) => {
230
+ /* */
231
+ /* */
232
+ /* */
233
+ /* */
234
+ /* */
235
+ return (void 0);
236
+ };
237
+ //#endregion
238
+ //#region utils npm / get last major versions
239
+ UtilsNpm.getLastMajorVersions = async (pkgName) => {
240
+ /* */
241
+ /* */
242
+ /* */
243
+ /* */
244
+ /* */
245
+ /* */
246
+ /* */
247
+ /* */
248
+ /* */
249
+ /* */
250
+ return (void 0);
251
+ };
252
+ //#endregion
253
+ //#region helpers / get last minor versions for major
254
+ UtilsNpm.getLastMinorVersionsForMajor = async (majorVer, pkgName) => {
255
+ /* */
256
+ /* */
257
+ /* */
258
+ /* */
259
+ /* */
260
+ /* */
261
+ /* */
262
+ /* */
263
+ /* */
264
+ /* */
265
+ return (void 0);
266
+ };
267
+ UtilsNpm.getVerObj = (version) => {
268
+ /* */
269
+ /* */
270
+ /* */
271
+ /* */
272
+ /* */
273
+ /* */
274
+ /* */
275
+ /* */
276
+ /* */
277
+ /* */
278
+ /* */
279
+ /* */
280
+ /* */
281
+ /* */
282
+ /* */
283
+ return (void 0);
284
+ };
146
285
  //#endregion
286
+ /**
287
+ * @deprecated TODO remvoe
288
+ */
289
+ UtilsNpm.getLastVersions = async (pkgName, currentVerObj, latestVerObj) => {
290
+ /* */
291
+ /* */
292
+ /* */
293
+ /* */
294
+ /* */
295
+ /* */
296
+ /* */
297
+ /* */
298
+ /* */
299
+ /* */
300
+ /* */
301
+ /* */
302
+ /* */
303
+ /* */
304
+ /* */
305
+ /* */
306
+ /* */
307
+ /* */
308
+ /* */
309
+ /* */
310
+ /* */
311
+ /* */
312
+ /* */
313
+ /* */
314
+ /* */
315
+ /* */
316
+ /* */
317
+ /* */
318
+ /* */
319
+ /* */
320
+ /* */
321
+ /* */
322
+ /* */
323
+ /* */
324
+ /* */
325
+ /* */
326
+ /* */
327
+ return (void 0);
328
+ };
147
329
  })(UtilsNpm || (UtilsNpm = {}));
148
330
  //#endregion
149
331
  //#region utils typescript
@@ -924,91 +1106,47 @@ var UtilsTypescript;
924
1106
  return (void 0);
925
1107
  };
926
1108
  UtilsTypescript.recognizeImportsFromContent = (fileContent) => {
927
- /* */
928
- /* */
929
- /* */
930
- /* */
931
- /* */
932
- /* */
933
- /* */
934
- /* */
935
- /* */
936
- /* */
937
- /* */
938
- /* */
939
- /* */
940
- /* */
941
- /* */
942
- /* */
943
- /* */
944
- /* */
945
- /* */
946
- /* */
947
- /* */
948
- /* */
949
- /* */
950
- /* */
951
- /* */
952
- /* */
953
- /* */
954
- /* */
955
- /* */
956
- /* */
957
- /* */
958
- /* */
959
- /* */
960
- /* */
961
- /* */
962
- /* */
963
- /* */
964
- /* */
965
- /* */
966
- /* */
967
- /* */
968
- /* */
969
- /* */
970
- /* */
971
- /* */
972
- /* */
973
- /* */
974
- /* */
975
- /* */
976
- /* */
977
- /* */
978
- /* */
979
- /* */
980
- /* */
981
- /* */
982
- /* */
983
- /* */
984
- /* */
985
- /* */
986
- /* */
987
- /* */
988
- /* */
989
- /* */
990
- /* */
991
- /* */
992
- /* */
993
- /* */
994
- /* */
995
- /* */
996
- /* */
997
- /* */
998
- /* */
999
- /* */
1000
- /* */
1001
- /* */
1002
- /* */
1003
- /* */
1004
- /* */
1005
- /* */
1006
- /* */
1007
- /* */
1008
- /* */
1009
- /* */
1010
- /* */
1011
- return (void 0);
1109
+ if (!fileContent) {
1110
+ return [];
1111
+ }
1112
+ const sourceFile = createSourceFile('file.ts', // a name for the file
1113
+ fileContent, ScriptTarget.Latest, true);
1114
+ const results = [];
1115
+ const visit = (node) => {
1116
+ // Check for dynamic import expressions specifically
1117
+ if (isCallExpression(node) &&
1118
+ node.expression.kind === SyntaxKind.ImportKeyword) {
1119
+ const args = node.arguments;
1120
+ if (args.length) {
1121
+ const arg = args[0];
1122
+ const specifier = arg.getText(sourceFile);
1123
+ const parenthesisType = getQuoteType(specifier);
1124
+ results.push(new TsImportExport('async-import', specifier, sourceFile.getLineAndCharacterOfPosition(node.getStart()), sourceFile.getLineAndCharacterOfPosition(node.getEnd()), parenthesisType));
1125
+ }
1126
+ }
1127
+ if (isImportDeclaration(node) || isExportDeclaration(node)) {
1128
+ const specifier = node.moduleSpecifier
1129
+ ? node.moduleSpecifier.getText(sourceFile)
1130
+ : '';
1131
+ const parenthesisType = getQuoteType(specifier);
1132
+ const type = node.kind === SyntaxKind.ImportDeclaration ? 'import' : 'export';
1133
+ const importExportElements = extractImportExportElements(node);
1134
+ results.push(new TsImportExport(type, specifier, sourceFile.getLineAndCharacterOfPosition(node.getStart()), sourceFile.getLineAndCharacterOfPosition(node.getEnd()), parenthesisType, importExportElements));
1135
+ }
1136
+ if (isCallExpression(node) &&
1137
+ node.expression.getText(sourceFile) === 'require') {
1138
+ const args = node.arguments;
1139
+ if (args.length > 0) {
1140
+ const arg = args[0];
1141
+ const specifier = arg.getText(sourceFile);
1142
+ const parenthesisType = getQuoteType(specifier);
1143
+ results.push(new TsImportExport('require', specifier, sourceFile.getLineAndCharacterOfPosition(arg.getStart()), sourceFile.getLineAndCharacterOfPosition(arg.getEnd()), parenthesisType));
1144
+ }
1145
+ }
1146
+ forEachChild(node, visit);
1147
+ };
1148
+ forEachChild(sourceFile, visit);
1149
+ return results;
1012
1150
  };
1013
1151
  //#endregion
1014
1152
  /**
@@ -1412,13 +1550,7 @@ var UtilsMd;
1412
1550
  * @param level - The number of levels to go up (default is 1).
1413
1551
  * @returns The modified content with updated asset paths.
1414
1552
  */
1415
- UtilsMd.moveAssetsPathesToLevel = (mdfileContent, level = 1) => {
1416
- /* */
1417
- /* */
1418
- /* */
1419
- /* */
1420
- /* */
1421
- /* */
1553
+ UtilsMd.moveAssetsPathsToLevel = (mdfileContent, level = 1) => {
1422
1554
  /* */
1423
1555
  /* */
1424
1556
  /* */
@@ -2756,6 +2888,18 @@ var UtilsFileSync;
2756
2888
  /* */
2757
2889
  /* */
2758
2890
  /* */
2891
+ /* */
2892
+ /* */
2893
+ /* */
2894
+ /* */
2895
+ /* */
2896
+ /* */
2897
+ /* */
2898
+ /* */
2899
+ /* */
2900
+ /* */
2901
+ /* */
2902
+ /* */
2759
2903
  return (void 0);
2760
2904
  };
2761
2905
  //#endregion
@@ -5348,11 +5492,6 @@ applyMixins(HelpersTaon, [
5348
5492
  //#endregion
5349
5493
  // prettier-ignore-end
5350
5494
 
5351
- /* */
5352
- /* */
5353
- /* */
5354
- /* */
5355
- /* */
5356
5495
  //#endregion
5357
5496
  class BaseDb {
5358
5497
  constructor(ins, dbName, defaultDb) {
@@ -5374,6 +5513,9 @@ class BaseDb {
5374
5513
  /* */
5375
5514
  /* */
5376
5515
  /* */
5516
+ /* */
5517
+ /* */
5518
+ /* */
5377
5519
  return (void 0);
5378
5520
  }
5379
5521
  }
@@ -7424,7 +7566,7 @@ const PROJECT_NPM_NAME = 'tnp-helpers';
7424
7566
  /**
7425
7567
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
7426
7568
  */
7427
- const CURRENT_PACKAGE_VERSION = '19.0.74';
7569
+ const CURRENT_PACKAGE_VERSION = '21.0.2';
7428
7570
  // THIS FILE IS GENERATED - DO NOT MODIFY
7429
7571
 
7430
7572
  //#endregion
@@ -11791,6 +11933,9 @@ class BaseGit extends BaseFeatureForProject {
11791
11933
  /* */
11792
11934
  /* */
11793
11935
  /* */
11936
+ /* */
11937
+ /* */
11938
+ /* */
11794
11939
  return (void 0);
11795
11940
  }
11796
11941
  //#region methods & getters / has action commits to melt
@@ -12821,7 +12966,14 @@ class BaseGit extends BaseFeatureForProject {
12821
12966
  }
12822
12967
  //#endregion
12823
12968
  //#region methods & getters / get changes summary
12824
- async changesSummary() {
12969
+ async changesSummary(options) {
12970
+ /* */
12971
+ /* */
12972
+ /* */
12973
+ /* */
12974
+ /* */
12975
+ /* */
12976
+ /* */
12825
12977
  /* */
12826
12978
  /* */
12827
12979
  /* */
@@ -13338,6 +13490,7 @@ class BaseVscodeHelpers extends BaseFeatureForProject {
13338
13490
  /* */
13339
13491
  /* */
13340
13492
  /* */
13493
+ /* */
13341
13494
  ]).map(c => c.toLowerCase());
13342
13495
  }
13343
13496
  //#endregion
@@ -13926,6 +14079,9 @@ class BaseVscodeHelpers extends BaseFeatureForProject {
13926
14079
  // 'tslint.autoFixOnSave': false,
13927
14080
  // 'tslint.enable': false,
13928
14081
  // 'tslint.alwaysShowRuleFailuresAsWarnings': false,
14082
+ // 'github.copilot.nextEditSuggestions.enabled': true,
14083
+ // 'github.copilot.chat.languageContext.inline.typescript.enabled': true,
14084
+ // 'github.copilot.chat.languageContext.typescript.enabled': true,
13929
14085
  };
13930
14086
  settings['search.useIgnoreFiles'] = false;
13931
14087
  settings['search.include'] = ['**/src/**'];
@@ -15845,11 +16001,7 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
15845
16001
  return (void 0);
15846
16002
  }
15847
16003
  //#endregion
15848
- //#region commands / quick git update
15849
- /**
15850
- * quick git update push
15851
- */
15852
- async _update(commitMessage, force = false) {
16004
+ async updateProject(project, options) {
15853
16005
  /* */
15854
16006
  /* */
15855
16007
  /* */
@@ -15865,30 +16017,15 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
15865
16017
  /* */
15866
16018
  /* */
15867
16019
  /* */
15868
- return (void 0);
15869
- }
15870
- async forceup() {
15871
- await this.forceUpdate();
15872
- }
15873
- async forceUpdate() {
15874
16020
  /* */
15875
16021
  /* */
15876
16022
  /* */
15877
16023
  /* */
15878
16024
  /* */
15879
- return (void 0);
15880
- }
15881
- async update() {
15882
16025
  /* */
15883
16026
  /* */
15884
- return (void 0);
15885
- }
15886
- async docsUp() {
15887
16027
  /* */
15888
16028
  /* */
15889
- return (void 0);
15890
- }
15891
- async updateProject(project, force = false) {
15892
16029
  /* */
15893
16030
  /* */
15894
16031
  /* */
@@ -15911,39 +16048,16 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
15911
16048
  /* */
15912
16049
  /* */
15913
16050
  /* */
15914
- return (void 0);
15915
- }
15916
- async deepUp(noExit = false) {
15917
16051
  /* */
15918
16052
  /* */
15919
- return (void 0);
15920
- }
15921
- async upAll(noExit = false) {
15922
16053
  /* */
15923
16054
  /* */
15924
- return (void 0);
15925
- }
15926
- async deepUpForce(noExit = false) {
15927
- /* */
15928
- /* */
15929
- return (void 0);
15930
- }
15931
- async deepUpdateForce(noExit = false) {
15932
16055
  /* */
15933
16056
  /* */
15934
16057
  /* */
15935
16058
  /* */
15936
16059
  /* */
15937
16060
  /* */
15938
- /* */
15939
- /* */
15940
- /* */
15941
- /* */
15942
- /* */
15943
- /* */
15944
- return (void 0);
15945
- }
15946
- async deepUpdate(noExit = false) {
15947
16061
  /* */
15948
16062
  /* */
15949
16063
  /* */
@@ -15956,21 +16070,111 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
15956
16070
  /* */
15957
16071
  return (void 0);
15958
16072
  }
16073
+ //#region commands / force update
16074
+ async forceUpdate() {
16075
+ if (!(await this.cwdIsProject({ requireProjectWithGitRoot: true }))) {
16076
+ return;
16077
+ }
16078
+ await this.updateProject(this.project, {
16079
+ force: true,
16080
+ });
16081
+ this._exit();
16082
+ }
16083
+ /**
16084
+ * alias for forceupdate
16085
+ */
16086
+ async forceup() {
16087
+ await this.forceUpdate();
16088
+ }
16089
+ //#endregion
16090
+ //#region commands / update
16091
+ async update() {
16092
+ if (!(await this.cwdIsProject({ requireProjectWithGitRoot: true }))) {
16093
+ return;
16094
+ }
16095
+ await this.updateProject(this.project);
16096
+ this._exit();
16097
+ }
15959
16098
  /**
15960
- * Push update
16099
+ * alias for update
15961
16100
  */
15962
16101
  async up() {
15963
- /* */
15964
- /* */
15965
- return (void 0);
16102
+ await this.update();
15966
16103
  }
15967
16104
  /**
15968
- * Push update
16105
+ * alias for update
15969
16106
  */
15970
16107
  async pu() {
15971
- /* */
15972
- /* */
15973
- return (void 0);
16108
+ await this.update();
16109
+ }
16110
+ //#endregion
16111
+ //#region commands / docs update
16112
+ async docsUpdate() {
16113
+ if (!(await this.cwdIsProject({ requireProjectWithGitRoot: true }))) {
16114
+ return;
16115
+ }
16116
+ await this.updateProject(this.project, {
16117
+ commitType: 'docs',
16118
+ });
16119
+ this._exit();
16120
+ }
16121
+ /**
16122
+ * alias for docsUpdate
16123
+ */
16124
+ async docsUp() {
16125
+ await this.docsUpdate();
16126
+ }
16127
+ //#endregion
16128
+ //#region commands / deep update
16129
+ async deepUpdate() {
16130
+ if (!(await this.cwdIsProject({ requireProjectWithGitRoot: true }))) {
16131
+ return;
16132
+ }
16133
+ await this.updateProject(this.project, {
16134
+ updateType: 'deep',
16135
+ });
16136
+ this._exit();
16137
+ }
16138
+ /**
16139
+ * alias for deepupdate
16140
+ */
16141
+ async deepUp() {
16142
+ await this.deepUpdate();
16143
+ }
16144
+ //#endregion
16145
+ //#region commands / update all
16146
+ async updateAll() {
16147
+ if (!(await this.cwdIsProject({ requireProjectWithGitRoot: true }))) {
16148
+ return;
16149
+ }
16150
+ await this.updateProject(this.project, {
16151
+ updateType: 'first-level',
16152
+ });
16153
+ this._exit();
16154
+ }
16155
+ /**
16156
+ * alias for updateAll
16157
+ */
16158
+ async upAll() {
16159
+ await this.updateAll();
16160
+ }
16161
+ //#endregion
16162
+ //#region commands / deep update force
16163
+ async deepUpdateForce() {
16164
+ if (!(await this.cwdIsProject({ requireProjectWithGitRoot: true }))) {
16165
+ return;
16166
+ }
16167
+ await this.updateProject(this.project, {
16168
+ updateType: 'deep',
16169
+ force: true,
16170
+ });
16171
+ this._exit();
16172
+ }
16173
+ /**
16174
+ * alias for deepUpdateForce
16175
+ */
16176
+ async deepUpForce() {
16177
+ await this.deepUpdateForce();
15974
16178
  }
15975
16179
  //#endregion
15976
16180
  //#region commands / develop
@@ -16939,6 +17143,16 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
16939
17143
  return (void 0);
16940
17144
  }
16941
17145
  //#endregion
17146
+ //#region copy and rename (vscode option)
17147
+ async $COPY_AND_RENAME() {
17148
+ /* */
17149
+ /* */
17150
+ /* */
17151
+ /* */
17152
+ /* */
17153
+ return (void 0);
17154
+ }
17155
+ //#endregion
16942
17156
  //#region commands / rename origin
16943
17157
  async RENAME_ORIGIN() {
16944
17158
  /* */
@@ -17666,6 +17880,42 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
17666
17880
  return (void 0);
17667
17881
  }
17668
17882
  //#endregion
17883
+ symlink() {
17884
+ /* */
17885
+ /* */
17886
+ /* */
17887
+ /* */
17888
+ /* */
17889
+ /* */
17890
+ /* */
17891
+ /* */
17892
+ /* */
17893
+ /* */
17894
+ /* */
17895
+ /* */
17896
+ /* */
17897
+ /* */
17898
+ /* */
17899
+ /* */
17900
+ /* */
17901
+ /* */
17902
+ /* */
17903
+ /* */
17904
+ /* */
17905
+ /* */
17906
+ /* */
17907
+ /* */
17908
+ /* */
17909
+ /* */
17910
+ /* */
17911
+ /* */
17912
+ /* */
17913
+ /* */
17914
+ /* */
17915
+ /* */
17916
+ /* */
17917
+ return (void 0);
17918
+ }
17669
17919
  //#region commands / remove symlinks
17670
17920
  removeSymlinksDryRun() {
17671
17921
  /* */