@salesforce/source-tracking 2.2.16-dev.3 → 2.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022, Salesforce.com, Inc.
1
+ Copyright (c) 2023, Salesforce.com, Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -28,8 +28,7 @@ class ShadowRepo {
28
28
  this.projectPath = options.projectPath;
29
29
  this.packageDirs = options.packageDirs;
30
30
  this.isWindows = os.type() === 'Windows_NT';
31
- const batchSize = kit_1.env.getNumber('SFDX_SOURCE_TRACKING_BATCH_SIZE');
32
- this.maxFileAdd = batchSize ? batchSize : this.isWindows ? 8000 : 15000;
31
+ this.maxFileAdd = kit_1.env.getNumber('SFDX_SOURCE_TRACKING_BATCH_SIZE', this.isWindows ? 8000 : 15000);
33
32
  }
34
33
  // think of singleton behavior but unique to the projectPath
35
34
  static async getInstance(options) {
@@ -192,7 +191,7 @@ class ShadowRepo {
192
191
  if (e instanceof git.Errors.MultipleGitError) {
193
192
  this.logger.error('multiple errors on git.add', e.errors.slice(0, 5));
194
193
  const error = new core_1.SfError(e.message, e.name, [
195
- `This error may be thrown because the number of files that source tracking is batching is exceeding your user specific file limits. Either increase your hard file limit in the same session with 'ulimit -Hn ${this.maxFileAdd}', or set the 'SFDX_SOURCE_TRACKING_BATCH_SIZE' environment variable to a value lower than the output of 'ulimit -Hn'.\nNote: Do set this env var too close or your system will still hit the limit. If you continue to get the error, lower the value of the env var even more.`,
194
+ `One potential reason you're getting this error is that the number of files that source tracking is batching exceeds your user-specific file limits. Increase your hard file limit in the same session by executing 'ulimit -Hn ${this.maxFileAdd}'. Or set the 'SFDX_SOURCE_TRACKING_BATCH_SIZE' environment variable to a value lower than the output of 'ulimit -Hn'.\nNote: Don't set this environment variable too close to the upper limit or your system will still hit it. If you continue to get the error, lower the value of the environment variable even more.`,
196
195
  ], 1);
197
196
  error.setData(e.errors);
198
197
  throw error;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/source-tracking",
3
3
  "description": "API for tracking local and remote Salesforce metadata changes",
4
- "version": "2.2.16-dev.3",
4
+ "version": "2.2.16",
5
5
  "author": "Salesforce",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "lib/index.js",
@@ -43,9 +43,9 @@
43
43
  "/oclif.manifest.json"
44
44
  ],
45
45
  "dependencies": {
46
- "@salesforce/core": "^3.32.8",
47
- "@salesforce/kit": "^1.8.0",
48
- "@salesforce/source-deploy-retrieve": "^7.5.16",
46
+ "@salesforce/core": "^3.32.12",
47
+ "@salesforce/kit": "^1.8.1",
48
+ "@salesforce/source-deploy-retrieve": "^7.5.22",
49
49
  "graceful-fs": "^4.2.10",
50
50
  "isomorphic-git": "1.17.0",
51
51
  "ts-retry-promise": "^0.7.0"