@salesforce/plugin-marketplace 1.2.25 → 1.3.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
|
@@ -85,6 +85,6 @@ EXAMPLES
|
|
|
85
85
|
$ sf plugins discover
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
_See code: [src/commands/plugins/discover.ts](https://github.com/salesforcecli/plugin-marketplace/blob/1.
|
|
88
|
+
_See code: [src/commands/plugins/discover.ts](https://github.com/salesforcecli/plugin-marketplace/blob/1.3.0/src/commands/plugins/discover.ts)_
|
|
89
89
|
|
|
90
90
|
<!-- commandsstop -->
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
8
|
-
import { SfCommand, StandardColors } from '@salesforce/sf-plugins-core';
|
|
7
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
9
8
|
import { Messages } from '@salesforce/core';
|
|
10
9
|
import shared from '../../shared/discoverQuery.js';
|
|
11
10
|
import { packages } from '../../shared/plugins.js';
|
|
@@ -17,12 +16,22 @@ export default class PluginsDiscover extends SfCommand {
|
|
|
17
16
|
async run() {
|
|
18
17
|
await this.parse(PluginsDiscover);
|
|
19
18
|
const results = shared.transform(await shared.query(packages)).map(limitJson);
|
|
20
|
-
this.table(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
this.table({
|
|
20
|
+
data: results.map(formatRow),
|
|
21
|
+
columns: [
|
|
22
|
+
{
|
|
23
|
+
key: 'name',
|
|
24
|
+
name: 'Package',
|
|
25
|
+
},
|
|
26
|
+
'description',
|
|
27
|
+
'homepage',
|
|
28
|
+
{
|
|
29
|
+
key: 'downloads',
|
|
30
|
+
name: 'DL/Wk',
|
|
31
|
+
},
|
|
32
|
+
'published',
|
|
33
|
+
],
|
|
34
|
+
overflow: 'wrap',
|
|
26
35
|
});
|
|
27
36
|
this.log(); // Add a blank line before the disclaimer
|
|
28
37
|
this.warn(messages.getMessage('disclaimer'));
|
|
@@ -39,10 +48,6 @@ const limitJson = ({ name, description, homepage, downloads, published }) => ({
|
|
|
39
48
|
});
|
|
40
49
|
const formatRow = (dr) => ({
|
|
41
50
|
...dr,
|
|
42
|
-
name: dr.name.split('/').join(`/${EOL} `),
|
|
43
51
|
description: shared.descriptionTransform(dr.description),
|
|
44
52
|
});
|
|
45
|
-
const colorizeRow = (row, index) => index % 2 === 0
|
|
46
|
-
? row
|
|
47
|
-
: Object.fromEntries(Object.entries(row).map(([key, value]) => [key, StandardColors.info(value)]));
|
|
48
53
|
//# sourceMappingURL=discover.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discover.js","sourceRoot":"","sources":["../../../src/commands/plugins/discover.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"discover.js","sourceRoot":"","sources":["../../../src/commands/plugins/discover.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,MAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAAC;AAI7F,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,SAA0B;IAC9D,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CA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helper-sfdx',
|
|
19
19
|
'sfdx-browserforce-plugin',
|
|
20
20
|
'sfdx-plugin-source-read',
|
|
21
|
-
'sfdx-essentials',
|
|
22
21
|
'lightning-flow-scanner',
|
|
23
22
|
'@jayree/sfdx-plugin-manifest',
|
|
24
23
|
'@jayree/sfdx-plugin-org',
|
|
25
24
|
'@jayree/sfdx-plugin-prettier',
|
|
26
25
|
'@jayree/sfdx-plugin-source',
|
|
27
26
|
'sfdx-plugin-update-notifier',
|
|
28
|
-
'@cristiand391/sf-plugin-api',
|
|
29
27
|
'@cristiand391/sf-plugin-fzf-cmp',
|
|
30
28
|
'kc-sf-plugin',
|
|
31
29
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/shared/plugins.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,cAAc;IACd,aAAa;IACb,eAAe;IACf,oBAAoB;IACpB,4CAA4C;IAC5C,2BAA2B;IAC3B,mBAAmB;IACnB,mBAAmB;IACnB,gBAAgB;IAChB,OAAO;IACP,kBAAkB;IAClB,0BAA0B;IAC1B,yBAAyB;IACzB,
|
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/shared/plugins.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,cAAc;IACd,aAAa;IACb,eAAe;IACf,oBAAoB;IACpB,4CAA4C;IAC5C,2BAA2B;IAC3B,mBAAmB;IACnB,mBAAmB;IACnB,gBAAgB;IAChB,OAAO;IACP,kBAAkB;IAClB,0BAA0B;IAC1B,yBAAyB;IACzB,wBAAwB;IACxB,8BAA8B;IAC9B,yBAAyB;IACzB,8BAA8B;IAC9B,4BAA4B;IAC5B,6BAA6B;IAC7B,iCAAiC;IACjC,cAAc;CACf,CAAC"}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-marketplace",
|
|
3
3
|
"description": "Find sf plugins",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@salesforce/core": "^8.5.
|
|
8
|
+
"@salesforce/core": "^8.5.7",
|
|
9
9
|
"@salesforce/kit": "^3.2.1",
|
|
10
|
-
"@salesforce/sf-plugins-core": "^
|
|
10
|
+
"@salesforce/sf-plugins-core": "^12.0.4",
|
|
11
11
|
"got": "^13.0.0",
|
|
12
12
|
"proxy-agent": "^6.4.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^5.2.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^5.2.15",
|
|
16
16
|
"@salesforce/cli-plugins-testkit": "^5.3.27",
|
|
17
|
-
"@salesforce/dev-scripts": "^10.2.
|
|
17
|
+
"@salesforce/dev-scripts": "^10.2.10",
|
|
18
18
|
"@salesforce/plugin-command-reference": "^3.1.20",
|
|
19
19
|
"eslint-plugin-sf-plugin": "^1.20.5",
|
|
20
20
|
"oclif": "^4.14.24",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"exports": "./lib/index.js",
|
|
198
198
|
"type": "module",
|
|
199
199
|
"sfdx": {
|
|
200
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-marketplace/1.
|
|
201
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-marketplace/1.
|
|
200
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-marketplace/1.3.0.crt",
|
|
201
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-marketplace/1.3.0.sig"
|
|
202
202
|
}
|
|
203
203
|
}
|