@oclif/plugin-update 4.7.18 → 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 +1 -1
- package/dist/update.js +8 -1
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
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.
|
|
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
|
|
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
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-update",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.20-qa.0",
|
|
4
4
|
"author": "Salesforce",
|
|
5
5
|
"bugs": "https://github.com/oclif/plugin-update/issues",
|
|
6
6
|
"dependencies": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"filesize": "^6.1.0",
|
|
13
13
|
"got": "^13",
|
|
14
14
|
"proxy-agent": "^6.5.0",
|
|
15
|
-
"semver": "^7.7.
|
|
15
|
+
"semver": "^7.7.4",
|
|
16
16
|
"tar-fs": "^2.1.4"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
@@ -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.
|
|
34
|
-
"eslint-config-oclif": "^6.0.
|
|
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",
|