tnp-helpers 21.0.18 → 21.0.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 (84) hide show
  1. package/browser/fesm2022/tnp-helpers-browser.mjs +340 -48
  2. package/browser/fesm2022/tnp-helpers-browser.mjs.map +1 -1
  3. package/browser/package.json +1 -1
  4. package/browser/types/tnp-helpers-browser.d.ts +18 -14
  5. package/lib/base/classes/base-compiler-for-project.js +3 -3
  6. package/lib/base/classes/base-compiler-for-project.js.map +1 -1
  7. package/lib/base/classes/base-git.d.ts +0 -7
  8. package/lib/base/classes/base-git.js +0 -11
  9. package/lib/base/classes/base-git.js.map +1 -1
  10. package/lib/base/classes/base-global-command-line.d.ts +5 -2
  11. package/lib/base/classes/base-global-command-line.js +72 -39
  12. package/lib/base/classes/base-global-command-line.js.map +1 -1
  13. package/lib/base/classes/base-java-jdk.js +5 -5
  14. package/lib/base/classes/base-java-jdk.js.map +1 -1
  15. package/lib/base/classes/base-json-file-reader.js +8 -8
  16. package/lib/base/classes/base-json-file-reader.js.map +1 -1
  17. package/lib/base/classes/base-library-build.js +29 -3
  18. package/lib/base/classes/base-library-build.js.map +1 -1
  19. package/lib/base/classes/base-linter.d.ts +1 -1
  20. package/lib/base/classes/base-linter.js +72 -3
  21. package/lib/base/classes/base-linter.js.map +1 -1
  22. package/lib/base/classes/base-npm-helpers.js +2 -2
  23. package/lib/base/classes/base-npm-helpers.js.map +1 -1
  24. package/lib/base/classes/base-package-json.d.ts +1 -0
  25. package/lib/base/classes/base-package-json.js +10 -0
  26. package/lib/base/classes/base-package-json.js.map +1 -1
  27. package/lib/base/classes/base-project.d.ts +4 -2
  28. package/lib/base/classes/base-project.js +99 -78
  29. package/lib/base/classes/base-project.js.map +1 -1
  30. package/lib/base/classes/base-vscode.d.ts +1 -0
  31. package/lib/base/classes/base-vscode.js +26 -2
  32. package/lib/base/classes/base-vscode.js.map +1 -1
  33. package/lib/base/core-project.d.ts +2 -2
  34. package/lib/base/index-rebuilder.backend.d.ts +1 -0
  35. package/lib/base/tcp-udp-ports/not-assignable-port.entity.d.ts +1 -0
  36. package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
  37. package/lib/base/tcp-udp-ports/ports.entity.d.ts +1 -1
  38. package/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +5 -5
  39. package/lib/build-info._auto-generated_.d.ts +5 -1
  40. package/lib/build-info._auto-generated_.js +6 -2
  41. package/lib/build-info._auto-generated_.js.map +1 -1
  42. package/lib/env/env.angular-node-app.d.ts +0 -2
  43. package/lib/env/env.angular-node-app.js +1 -3
  44. package/lib/env/env.angular-node-app.js.map +1 -1
  45. package/lib/env/env.docs-webapp.d.ts +0 -2
  46. package/lib/env/env.docs-webapp.js +1 -3
  47. package/lib/env/env.docs-webapp.js.map +1 -1
  48. package/lib/env/env.electron-app.d.ts +0 -2
  49. package/lib/env/env.electron-app.js +1 -3
  50. package/lib/env/env.electron-app.js.map +1 -1
  51. package/lib/env/env.mobile-app.d.ts +0 -2
  52. package/lib/env/env.mobile-app.js +1 -3
  53. package/lib/env/env.mobile-app.js.map +1 -1
  54. package/lib/env/env.npm-lib-and-cli-tool.d.ts +0 -2
  55. package/lib/env/env.npm-lib-and-cli-tool.js +1 -3
  56. package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -1
  57. package/lib/env/env.vscode-plugin.d.ts +0 -2
  58. package/lib/env/env.vscode-plugin.js +1 -3
  59. package/lib/env/env.vscode-plugin.js.map +1 -1
  60. package/lib/helpers/for-browser/angular.helper.js +2 -2
  61. package/lib/index._auto-generated_.d.ts +1 -0
  62. package/lib/index._auto-generated_.js +1 -1
  63. package/lib/index._auto-generated_.js.map +1 -1
  64. package/lib/lowdb/examples/cli.d.ts +1 -0
  65. package/lib/lowdb/examples/in-memory.d.ts +1 -0
  66. package/lib/lowdb/examples/server.d.ts +1 -0
  67. package/lib/models.d.ts +1 -0
  68. package/lib/models.js.map +1 -1
  69. package/lib/old/base-component.d.ts +1 -0
  70. package/lib/old/base-component.js +2 -2
  71. package/lib/old/base-formly-component.d.ts +1 -0
  72. package/lib/old/base-formly-component.js +2 -2
  73. package/lib/old/condition-wait.d.ts +1 -0
  74. package/lib/old/dual-component-ctrl.d.ts +1 -0
  75. package/lib/old/dual-component-ctrl.js +2 -2
  76. package/lib/utils.d.ts +4 -1
  77. package/lib/utils.js +105 -16
  78. package/lib/utils.js.map +1 -1
  79. package/package.json +1 -1
  80. package/scss/app/helpers-check/helpers-check.container.scss +3 -0
  81. package/websql/fesm2022/tnp-helpers-websql.mjs +344 -51
  82. package/websql/fesm2022/tnp-helpers-websql.mjs.map +1 -1
  83. package/websql/package.json +1 -1
  84. package/websql/types/tnp-helpers-websql.d.ts +18 -14
@@ -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, isCallExpression, SyntaxKind, isImportDeclaration, isExportDeclaration, forEachChild, ScriptKind } from 'typescript';
3
+ import { createSourceFile, ScriptTarget, isCallExpression, SyntaxKind, isImportDeclaration, isExportDeclaration, forEachChild, ScriptKind, getLeadingCommentRanges, getTrailingCommentRanges, isArrayLiteralExpression, isObjectLiteralExpression } 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';
@@ -992,7 +992,7 @@ var UtilsTypescript;
992
992
  };
993
993
  //#endregion
994
994
  //#region recognize imports from file
995
- //#region helpers / ts import export class
995
+ //#region recognize imports from file / ts import export class
996
996
  class TsImportExport {
997
997
  //#endregion
998
998
  //#region constructor
@@ -1067,7 +1067,7 @@ var UtilsTypescript;
1067
1067
  }
1068
1068
  UtilsTypescript.TsImportExport = TsImportExport;
1069
1069
  //#endregion
1070
- //#region helpers / get quote type
1070
+ //#region recognize imports from file / get quote type
1071
1071
  const getQuoteType = (text) => {
1072
1072
  /* */
1073
1073
  /* */
@@ -1076,6 +1076,7 @@ var UtilsTypescript;
1076
1076
  return (void 0);
1077
1077
  };
1078
1078
  //#endregion
1079
+ //#region recognize imports from file / extract import export elements
1079
1080
  const extractImportExportElements = (node) => {
1080
1081
  /* */
1081
1082
  /* */
@@ -1100,12 +1101,16 @@ var UtilsTypescript;
1100
1101
  /* */
1101
1102
  return (void 0);
1102
1103
  };
1104
+ //#endregion
1105
+ //#region recognize imports from file / recognize imports from file
1103
1106
  UtilsTypescript.recognizeImportsFromFile = (fileAbsPAth) => {
1104
1107
  /* */
1105
1108
  /* */
1106
1109
  /* */
1107
1110
  return (void 0);
1108
1111
  };
1112
+ //#endregion
1113
+ //#region recognize imports from file / recognize imports from content
1109
1114
  UtilsTypescript.recognizeImportsFromContent = (fileContent) => {
1110
1115
  if (!fileContent) {
1111
1116
  return [];
@@ -1150,6 +1155,7 @@ var UtilsTypescript;
1150
1155
  return results;
1151
1156
  };
1152
1157
  //#endregion
1158
+ //#endregion
1153
1159
  //#region transform Angular component standalone option
1154
1160
  /**
1155
1161
  * Transition methods ng18 => ng19
@@ -1221,9 +1227,8 @@ var UtilsTypescript;
1221
1227
  };
1222
1228
  //#endregion
1223
1229
  //#region remove tagged imports/exports
1224
- function removeTaggedImportExport(tsFileContent, tags) {
1230
+ function removeTaggedImportExport(tsFileContent, tags, replaceWithEmptyLine = false) {
1225
1231
  const sourceFile = createSourceFile('temp.ts', tsFileContent, ScriptTarget.Latest, true, ScriptKind.TS);
1226
- // debug && console.log(tsFileContent);
1227
1232
  const lines = tsFileContent.split(/\r?\n/);
1228
1233
  const tagRegex = new RegExp(tags
1229
1234
  .map(t => (Array.isArray(t) ? t[0] : t))
@@ -1244,27 +1249,111 @@ var UtilsTypescript;
1244
1249
  const endLineText = lines[endLine]; // ← get real line content from file
1245
1250
  if (!tagRegex.test(endLineText))
1246
1251
  continue;
1247
- // debug &&
1248
- // console.log(`
1249
- // start: ${start}
1250
- // end: ${end}
1251
- // startLine: ${startLine}
1252
- // endLine: ${endLine}
1253
- // endLineText: >> ${endLineText} <<
1254
- // `);
1255
- // console.log('removing line ' + startLine + ' to ' + endLine);
1256
1252
  for (let i = startLine; i <= endLine; i++) {
1257
1253
  const original = lines[i];
1258
- lines[i] = '/* */' + ' '.repeat(Math.max(0, original.length - 4));
1254
+ if (replaceWithEmptyLine) {
1255
+ lines[i] = '';
1256
+ }
1257
+ else {
1258
+ lines[i] = '/* */' + ' '.repeat(Math.max(0, original.length - 4));
1259
+ }
1259
1260
  }
1260
1261
  }
1261
- // debug && console.log('\n\n\n\n');
1262
1262
  const result = lines.join('\n');
1263
- // debug && console.log(result)
1264
1263
  return result;
1265
1264
  }
1266
1265
  UtilsTypescript.removeTaggedImportExport = removeTaggedImportExport;
1267
1266
  //#endregion
1267
+ //#region remove tagged array objects
1268
+ function removeTaggedArrayObjects(tsFileContent, tags, replaceWithEmptyLine = false) {
1269
+ const sourceFile = createSourceFile('temp.ts', tsFileContent, ScriptTarget.Latest, true, ScriptKind.TS);
1270
+ const lines = tsFileContent.split(/\r?\n/);
1271
+ const tagRegex = new RegExp(tags.map(t => Utils.escapeStringForRegEx(t)).join('|'), 'i');
1272
+ function hasTag(node) {
1273
+ const fullText = sourceFile.getFullText();
1274
+ // comments BEFORE object
1275
+ const leading = getLeadingCommentRanges(fullText, node.getFullStart()) ?? [];
1276
+ for (const c of leading) {
1277
+ const text = fullText.slice(c.pos, c.end);
1278
+ if (tagRegex.test(text))
1279
+ return true;
1280
+ }
1281
+ // comments AFTER `{` (same-line)
1282
+ const trailing = getTrailingCommentRanges(fullText, node.getStart()) ?? [];
1283
+ for (const c of trailing) {
1284
+ const text = fullText.slice(c.pos, c.end);
1285
+ if (tagRegex.test(text))
1286
+ return true;
1287
+ }
1288
+ return false;
1289
+ }
1290
+ function commentOutNode(node) {
1291
+ const startLine = sourceFile.getLineAndCharacterOfPosition(node.getStart()).line;
1292
+ const endLine = sourceFile.getLineAndCharacterOfPosition(node.getEnd()).line;
1293
+ for (let i = startLine; i <= endLine; i++) {
1294
+ const original = lines[i];
1295
+ if (replaceWithEmptyLine) {
1296
+ lines[i] = '';
1297
+ }
1298
+ else {
1299
+ lines[i] = '/* */' + ' '.repeat(Math.max(0, original.length - 4));
1300
+ }
1301
+ }
1302
+ }
1303
+ function visit(node) {
1304
+ if (isArrayLiteralExpression(node)) {
1305
+ for (const element of node.elements) {
1306
+ if (isObjectLiteralExpression(element) && hasTag(element)) {
1307
+ commentOutNode(element);
1308
+ }
1309
+ }
1310
+ }
1311
+ forEachChild(node, visit);
1312
+ }
1313
+ visit(sourceFile);
1314
+ return lines.join('\n');
1315
+ }
1316
+ UtilsTypescript.removeTaggedArrayObjects = removeTaggedArrayObjects;
1317
+ //#endregion
1318
+ //#region remove tagged lines
1319
+ function removeTaggedLines(tsFileContent, tags, replaceWithEmptyLine = false) {
1320
+ const lines = tsFileContent.split(/\r?\n/);
1321
+ const tagRegex = new RegExp(tags
1322
+ .filter(Boolean)
1323
+ .map(t => Utils.escapeStringForRegEx(t))
1324
+ .join('|'), 'i');
1325
+ for (let i = 0; i < lines.length; i++) {
1326
+ const original = lines[i];
1327
+ if (!tagRegex.test(original))
1328
+ continue;
1329
+ // preserve line length
1330
+ if (replaceWithEmptyLine) {
1331
+ lines[i] = '';
1332
+ }
1333
+ else {
1334
+ lines[i] = '/* */' + ' '.repeat(Math.max(0, original.length - 4));
1335
+ }
1336
+ }
1337
+ return lines.join('\n');
1338
+ }
1339
+ UtilsTypescript.removeTaggedLines = removeTaggedLines;
1340
+ //#endregion
1341
+ //#region add content below placeholder
1342
+ function addBelowPlaceholder(tsFileContent, placeholderTag, contentToAdd) {
1343
+ const lines = tsFileContent.split(/\r?\n/);
1344
+ const insertLines = contentToAdd.split(/\r?\n/);
1345
+ const placeholderRegex = new RegExp(Utils.escapeStringForRegEx(placeholderTag), 'i');
1346
+ for (let i = 0; i < lines.length; i++) {
1347
+ if (!placeholderRegex.test(lines[i]))
1348
+ continue;
1349
+ // insert directly BELOW the placeholder line
1350
+ lines.splice(i + 1, 0, ...insertLines);
1351
+ break;
1352
+ }
1353
+ return lines.join('\n');
1354
+ }
1355
+ UtilsTypescript.addBelowPlaceholder = addBelowPlaceholder;
1356
+ //#endregion
1268
1357
  //#region wrap first imports in region
1269
1358
  UtilsTypescript.wrapFirstImportsInImportsRegion = (fileContent) => {
1270
1359
  /* */
@@ -7945,10 +8034,14 @@ const BUILD_BASE_HREF = '';
7945
8034
  * This value can be change in taon.jsonc (overrideNpmName)
7946
8035
  */
7947
8036
  const PROJECT_NPM_NAME = 'tnp-helpers';
8037
+ /**
8038
+ * Taon version from you project taon.json
8039
+ */
8040
+ const CURRENT_PACKAGE_TAON_VERSION = 'v21';
7948
8041
  /**
7949
8042
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
7950
8043
  */
7951
- const CURRENT_PACKAGE_VERSION = '21.0.18';
8044
+ const CURRENT_PACKAGE_VERSION = '21.0.20';
7952
8045
  // THIS FILE IS GENERATED - DO NOT MODIFY
7953
8046
 
7954
8047
  //#endregion
@@ -8546,6 +8639,17 @@ class BaseProject {
8546
8639
  //#endregion
8547
8640
  //#region methods & getters / parent
8548
8641
  get parent() {
8642
+ /* */
8643
+ /* */
8644
+ /* */
8645
+ /* */
8646
+ /* */
8647
+ /* */
8648
+ /* */
8649
+ /* */
8650
+ /* */
8651
+ /* */
8652
+ /* */
8549
8653
  /* */
8550
8654
  /* */
8551
8655
  /* */
@@ -9122,7 +9226,21 @@ class BaseProject {
9122
9226
  }
9123
9227
  //#endregion
9124
9228
  //#region methods & getters / reset process
9125
- async resetProcess(overrideBranch, recrusive = false) {
9229
+ async resetProcess(overrideBranch, options) {
9230
+ /* */
9231
+ /* */
9232
+ /* */
9233
+ /* */
9234
+ /* */
9235
+ /* */
9236
+ /* */
9237
+ /* */
9238
+ /* */
9239
+ /* */
9240
+ /* */
9241
+ /* */
9242
+ /* */
9243
+ /* */
9126
9244
  /* */
9127
9245
  /* */
9128
9246
  /* */
@@ -9762,6 +9880,14 @@ class BaseLibraryBuild extends BaseFeatureForProject {
9762
9880
  /* */
9763
9881
  /* */
9764
9882
  /* */
9883
+ /* */
9884
+ /* */
9885
+ /* */
9886
+ /* */
9887
+ /* */
9888
+ /* */
9889
+ /* */
9890
+ /* */
9765
9891
  }
9766
9892
  //#endregion
9767
9893
  //#region getters & methods / lib watch build process
@@ -9818,6 +9944,29 @@ class BaseLibraryBuild extends BaseFeatureForProject {
9818
9944
  /* */
9819
9945
  /* */
9820
9946
  /* */
9947
+ /* */
9948
+ /* */
9949
+ /* */
9950
+ /* */
9951
+ /* */
9952
+ /* */
9953
+ /* */
9954
+ /* */
9955
+ /* */
9956
+ /* */
9957
+ /* */
9958
+ /* */
9959
+ /* */
9960
+ /* */
9961
+ /* */
9962
+ /* */
9963
+ /* */
9964
+ /* */
9965
+ /* */
9966
+ /* */
9967
+ /* */
9968
+ /* */
9969
+ /* */
9821
9970
  return (void 0);
9822
9971
  }
9823
9972
  //#endregion
@@ -9923,10 +10072,6 @@ class BaseLibraryBuild extends BaseFeatureForProject {
9923
10072
  /* */
9924
10073
  /* */
9925
10074
  /* */
9926
- /* */
9927
- /* */
9928
- /* */
9929
- /* */
9930
10075
  return (void 0);
9931
10076
  }
9932
10077
  //#endregion
@@ -10545,6 +10690,15 @@ class BasePackageJson extends BaseJsonFileReader {
10545
10690
  /* */
10546
10691
  return (void 0);
10547
10692
  }
10693
+ getBumpedOrCurrentVersionFor(releaseType) {
10694
+ /* */
10695
+ /* */
10696
+ /* */
10697
+ /* */
10698
+ /* */
10699
+ /* */
10700
+ return (void 0);
10701
+ }
10548
10702
  //#endregion
10549
10703
  //#region update deps from locations
10550
10704
  updateDepsFrom(locations) {
@@ -12344,7 +12498,6 @@ class BaseGit extends BaseFeatureForProject {
12344
12498
  /* */
12345
12499
  /* */
12346
12500
  /* */
12347
- /* */
12348
12501
  return (void 0);
12349
12502
  }
12350
12503
  //#region methods & getters / has action commits to melt
@@ -13211,8 +13364,6 @@ class BaseGit extends BaseFeatureForProject {
13211
13364
  /* */
13212
13365
  /* */
13213
13366
  /* */
13214
- /* */
13215
- /* */
13216
13367
  return (void 0);
13217
13368
  }
13218
13369
  //#endregion
@@ -13400,17 +13551,6 @@ class BaseGit extends BaseFeatureForProject {
13400
13551
  return (void 0);
13401
13552
  }
13402
13553
  //#endregion
13403
- //#region methods & getters / reset is resting also children
13404
- /**
13405
- * If true command navi reset will reset project
13406
- * and its children.
13407
- *
13408
- * If false command navi reset will reset only project.
13409
- */
13410
- resetIsRestingAlsoChildren() {
13411
- return true;
13412
- }
13413
- //#endregion
13414
13554
  useBranchNameDirectlyAsCommitMessage() {
13415
13555
  return false;
13416
13556
  }
@@ -13710,9 +13850,6 @@ trim_trailing_whitespace = false
13710
13850
  return (void 0);
13711
13851
  }
13712
13852
  //#endregion
13713
- isEnableForProject() {
13714
- return true;
13715
- }
13716
13853
  //#region write lint files
13717
13854
  writeLintFiles() {
13718
13855
  /* */
@@ -13734,6 +13871,84 @@ trim_trailing_whitespace = false
13734
13871
  /* */
13735
13872
  return (void 0);
13736
13873
  }
13874
+ //#endregion
13875
+ async start(throwInstedExit = false) {
13876
+ /* */
13877
+ /* */
13878
+ /* */
13879
+ /* */
13880
+ /* */
13881
+ /* */
13882
+ /* */
13883
+ /* */
13884
+ /* */
13885
+ /* */
13886
+ /* */
13887
+ /* */
13888
+ /* */
13889
+ /* */
13890
+ /* */
13891
+ /* */
13892
+ /* */
13893
+ /* */
13894
+ /* */
13895
+ /* */
13896
+ /* */
13897
+ /* */
13898
+ /* */
13899
+ /* */
13900
+ /* */
13901
+ /* */
13902
+ /* */
13903
+ /* */
13904
+ /* */
13905
+ /* */
13906
+ /* */
13907
+ /* */
13908
+ /* */
13909
+ /* */
13910
+ /* */
13911
+ /* */
13912
+ /* */
13913
+ /* */
13914
+ /* */
13915
+ /* */
13916
+ /* */
13917
+ /* */
13918
+ /* */
13919
+ /* */
13920
+ /* */
13921
+ /* */
13922
+ /* */
13923
+ /* */
13924
+ /* */
13925
+ /* */
13926
+ /* */
13927
+ /* */
13928
+ /* */
13929
+ /* */
13930
+ /* */
13931
+ /* */
13932
+ /* */
13933
+ /* */
13934
+ /* */
13935
+ /* */
13936
+ /* */
13937
+ /* */
13938
+ /* */
13939
+ /* */
13940
+ /* */
13941
+ /* */
13942
+ /* */
13943
+ /* */
13944
+ /* */
13945
+ /* */
13946
+ /* */
13947
+ /* */
13948
+ /* */
13949
+ /* */
13950
+ /* */
13951
+ }
13737
13952
  }
13738
13953
 
13739
13954
  class BaseVscodeHelpers extends BaseFeatureForProject {
@@ -13902,9 +14117,18 @@ class BaseVscodeHelpers extends BaseFeatureForProject {
13902
14117
  /* */
13903
14118
  /* */
13904
14119
  /* */
14120
+ /* */
13905
14121
  ]).map(c => c.toLowerCase());
13906
14122
  }
13907
14123
  //#endregion
14124
+ getDeprecatedExtension() {
14125
+ return [
14126
+ 'ivangabriele.vscode-git-add-and-commit',
14127
+ 'alexiv.vscode-angular2-files',
14128
+ 'taddison.gitlazy',
14129
+ 'xabikos.JavaScriptSnippets',
14130
+ ];
14131
+ }
13908
14132
  //#region extensions
13909
14133
  /**
13910
14134
  * @deprecated use getExtensions() instead
@@ -14423,6 +14647,16 @@ class BaseVscodeHelpers extends BaseFeatureForProject {
14423
14647
  /* */
14424
14648
  /* */
14425
14649
  /* */
14650
+ /* */
14651
+ /* */
14652
+ /* */
14653
+ /* */
14654
+ /* */
14655
+ /* */
14656
+ /* */
14657
+ /* */
14658
+ /* */
14659
+ /* */
14426
14660
  return (void 0);
14427
14661
  }
14428
14662
  //#endregion
@@ -14497,6 +14731,8 @@ class BaseVscodeHelpers extends BaseFeatureForProject {
14497
14731
  // 'github.copilot.nextEditSuggestions.enabled': true,
14498
14732
  // 'github.copilot.chat.languageContext.inline.typescript.enabled': true,
14499
14733
  // 'github.copilot.chat.languageContext.typescript.enabled': true,
14734
+ "typescript.suggest.autoImports": false,
14735
+ "javascript.suggest.autoImports": false
14500
14736
  };
14501
14737
  settings['search.useIgnoreFiles'] = false;
14502
14738
  settings['search.include'] = ['**/src/**'];
@@ -16542,6 +16778,14 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
16542
16778
  /* */
16543
16779
  /* */
16544
16780
  /* */
16781
+ /* */
16782
+ /* */
16783
+ /* */
16784
+ /* */
16785
+ /* */
16786
+ /* */
16787
+ /* */
16788
+ /* */
16545
16789
  return (void 0);
16546
16790
  }
16547
16791
  //#region commands / force update
@@ -16801,7 +17045,29 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
16801
17045
  }
16802
17046
  //#endregion
16803
17047
  //#region commands / reset
16804
- __resetInfo(branchToReset, withChildren) {
17048
+ async fetch() {
17049
+ /* */
17050
+ /* */
17051
+ /* */
17052
+ /* */
17053
+ /* */
17054
+ return (void 0);
17055
+ }
17056
+ async reset() {
17057
+ await this.resetProject({ commandActionType: 'only-this' });
17058
+ }
17059
+ async resetAll() {
17060
+ await this.resetProject({ commandActionType: 'first-level' });
17061
+ }
17062
+ async resetDeep() {
17063
+ await this.resetProject({ commandActionType: 'deep' });
17064
+ }
17065
+ async resetProject(options) {
17066
+ /* */
17067
+ /* */
17068
+ /* */
17069
+ /* */
17070
+ /* */
16805
17071
  /* */
16806
17072
  /* */
16807
17073
  /* */
@@ -16821,17 +17087,11 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
16821
17087
  /* */
16822
17088
  /* */
16823
17089
  /* */
16824
- return (void 0);
16825
- }
16826
- async fetch() {
16827
17090
  /* */
16828
17091
  /* */
16829
17092
  /* */
16830
17093
  /* */
16831
17094
  /* */
16832
- return (void 0);
16833
- }
16834
- async reset() {
16835
17095
  /* */
16836
17096
  /* */
16837
17097
  /* */
@@ -16942,6 +17202,8 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
16942
17202
  /* */
16943
17203
  /* */
16944
17204
  /* */
17205
+ /* */
17206
+ /* */
16945
17207
  return (void 0);
16946
17208
  }
16947
17209
  //#endregion
@@ -17279,6 +17541,7 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
17279
17541
  /* */
17280
17542
  /* */
17281
17543
  /* */
17544
+ /* */
17282
17545
  return (void 0);
17283
17546
  }
17284
17547
  //#endregion
@@ -17676,6 +17939,8 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
17676
17939
  /* */
17677
17940
  /* */
17678
17941
  /* */
17942
+ /* */
17943
+ /* */
17679
17944
  return (void 0);
17680
17945
  }
17681
17946
  //#endregion
@@ -17811,6 +18076,8 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
17811
18076
  /* */
17812
18077
  /* */
17813
18078
  /* */
18079
+ /* */
18080
+ /* */
17814
18081
  return (void 0);
17815
18082
  }
17816
18083
  //#endregion
@@ -18112,7 +18379,7 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
18112
18379
  }
18113
18380
  //#endregion
18114
18381
  //#region select branch from list of branches
18115
- async __selectBrach(branches, task) {
18382
+ async __selectBranch(branches, task, commandActionType) {
18116
18383
  /* */
18117
18384
  /* */
18118
18385
  /* */
@@ -18364,9 +18631,12 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
18364
18631
  /* */
18365
18632
  /* */
18366
18633
  /* */
18634
+ /* */
18635
+ /* */
18367
18636
  return (void 0);
18368
18637
  }
18369
18638
  //#endregion
18639
+ //#region commands / symlink
18370
18640
  symlink() {
18371
18641
  /* */
18372
18642
  /* */
@@ -18403,6 +18673,20 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
18403
18673
  /* */
18404
18674
  return (void 0);
18405
18675
  }
18676
+ //#endregion
18677
+ isSymlinkFileExitedOrUnexisted() {
18678
+ /* */
18679
+ /* */
18680
+ /* */
18681
+ /* */
18682
+ /* */
18683
+ /* */
18684
+ /* */
18685
+ /* */
18686
+ /* */
18687
+ /* */
18688
+ return (void 0);
18689
+ }
18406
18690
  //#region commands / remove symlinks
18407
18691
  removeSymlinksDryRun() {
18408
18692
  /* */
@@ -18595,6 +18879,10 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
18595
18879
  /* */
18596
18880
  /* */
18597
18881
  /* */
18882
+ /* */
18883
+ /* */
18884
+ /* */
18885
+ /* */
18598
18886
  return (void 0);
18599
18887
  }
18600
18888
  //#endregion
@@ -19025,6 +19313,10 @@ class BaseGlobalCommandLine extends BaseCommandLineFeature {
19025
19313
  /* */
19026
19314
  /* */
19027
19315
  /* */
19316
+ /* */
19317
+ /* */
19318
+ /* */
19319
+ /* */
19028
19320
  return (void 0);
19029
19321
  }
19030
19322
  //#endregion