@salesforce/packaging 3.1.3 → 3.1.4

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.
@@ -92,6 +92,10 @@ class PackageVersion {
92
92
  const createResult = await pvc.createPackageVersion();
93
93
  if (createResult.Id) {
94
94
  return PackageVersion.pollCreateStatus(createResult.Id, options.connection, options.project, polling).catch((err) => {
95
+ if (err.name === 'PollingClientTimeout') {
96
+ err.setData({ VersionCreateRequestId: createResult.Id });
97
+ err.message += ` Run 'sf package version create report -i ${createResult.Id}' to check the status.`;
98
+ }
95
99
  // TODO
96
100
  // until package2 is GA, wrap perm-based errors w/ 'contact sfdc' action (REMOVE once package2 is GA'd)
97
101
  throw (0, packageUtils_1.applyErrorAction)((0, packageUtils_1.massageErrorMessage)(err));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/packaging",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "description": "Packaging library for the Salesforce packaging platform",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@salesforce/cli-plugins-testkit": "^4.4.12",
60
- "@salesforce/dev-scripts": "^8.1.2",
60
+ "@salesforce/dev-scripts": "^8.2.0",
61
61
  "@salesforce/ts-sinon": "^1.4.19",
62
62
  "@types/globby": "^9.1.0",
63
63
  "@types/jszip": "^3.4.1",
@@ -142,7 +142,7 @@
142
142
  "output": []
143
143
  },
144
144
  "link-check": {
145
- "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
145
+ "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
146
146
  "files": [
147
147
  "./*.md",
148
148
  "./!(CHANGELOG).md",