@oclif/plugin-update 4.7.19 → 4.7.20-qa.0

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/README.md CHANGED
@@ -81,7 +81,7 @@ EXAMPLES
81
81
  $ oclif-example update --available
82
82
  ```
83
83
 
84
- _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v4.7.19/src/commands/update.ts)_
84
+ _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v4.7.20-qa.0/src/commands/update.ts)_
85
85
  <!-- commandsstop -->
86
86
 
87
87
  # Contributing
package/dist/update.js CHANGED
@@ -305,7 +305,14 @@ const debounce = async (cacheDir) => {
305
305
  };
306
306
  const setChannel = async (channel, dataDir) => writeFile(join(dataDir, 'channel'), channel, 'utf8');
307
307
  const fetchChannelManifest = async (channel, config) => {
308
- const s3Key = s3ChannelManifestKey(channel, config);
308
+ const hasCustomTemplates = Boolean(config.pjson.oclif?.update?.s3?.templates);
309
+ const s3Key = hasCustomTemplates
310
+ ? config.s3Key('manifest', {
311
+ arch: config.arch,
312
+ channel,
313
+ platform: determinePlatform(config),
314
+ })
315
+ : s3ChannelManifestKey(channel, config);
309
316
  try {
310
317
  return await fetchManifest(s3Key, config);
311
318
  }
@@ -106,5 +106,5 @@
106
106
  ]
107
107
  }
108
108
  },
109
- "version": "4.7.19"
109
+ "version": "4.7.20-qa.0"
110
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-update",
3
- "version": "4.7.19",
3
+ "version": "4.7.20-qa.0",
4
4
  "author": "Salesforce",
5
5
  "bugs": "https://github.com/oclif/plugin-update/issues",
6
6
  "dependencies": {
@@ -30,8 +30,8 @@
30
30
  "@types/tar-fs": "^2.0.2",
31
31
  "chai": "^4.5.0",
32
32
  "commitlint": "^19",
33
- "eslint": "^9.39.2",
34
- "eslint-config-oclif": "^6.0.135",
33
+ "eslint": "^9.39.3",
34
+ "eslint-config-oclif": "^6.0.142",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "husky": "^9.1.7",
37
37
  "lint-staged": "^15",