@salesforce/plugin-marketplace 1.2.26 → 1.3.1

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.2.26/src/commands/plugins/discover.ts)_
88
+ _See code: [src/commands/plugins/discover.ts](https://github.com/salesforcecli/plugin-marketplace/blob/1.3.1/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 { EOL } from 'node:os';
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(results.map(formatRow).map(colorizeRow), {
21
- name: { header: 'Package' },
22
- description: { header: 'Description' },
23
- homepage: { header: 'Homepage' },
24
- downloads: { header: 'DL/Wk' },
25
- published: { header: 'Published' },
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,GAAG,EAAE,MAAM,SAAS,CAAC;AAG9B,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACxE,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,CAAA;AAC5D,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,CAAC,CAAC;IACzD,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,KAAK,CAAC,GAAG;QACd,MAAM,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAClC,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAE9E,IAAI,CAAC,KAAK,C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BACD,WAAW;aACZ;YACD,QAAQ,EAAE,MAAM;SACjB,CAAC,CAAC;QACH,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,yCAAyC;QACrD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;QAC7C,OAAO,OAAO,CAAC;IACjB,CAAC;;AAGH,mIAAmI;AACnI,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAkB,EAAkB,EAAE,CAAC,CAAC;IAC5G,IAAI;IACJ,WAAW;IACX,QAAQ;IACR,SAAS;IACT,SAAS;CACV,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,CAAC,EAAkB,EAAkB,EAAE,CAAC,CAAC;IACzD,GAAG,EAAE;IACL,WAAW,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAAE,CAAC,WAAW,CAAC;CACzD,CAAC,CAAC"}
@@ -18,7 +18,6 @@ export const packages = [
18
18
  'aura-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',
@@ -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,iBAAiB;IACjB,wBAAwB;IACxB,8BAA8B;IAC9B,yBAAyB;IACzB,8BAA8B;IAC9B,4BAA4B;IAC5B,6BAA6B;IAC7B,iCAAiC;IACjC,cAAc;CACf,CAAC"}
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"}
@@ -46,5 +46,5 @@
46
46
  ]
47
47
  }
48
48
  },
49
- "version": "1.2.26"
49
+ "version": "1.3.1"
50
50
  }
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-marketplace",
3
3
  "description": "Find sf plugins",
4
- "version": "1.2.26",
4
+ "version": "1.3.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
- "@salesforce/core": "^8.5.2",
8
+ "@salesforce/core": "^8.6.3",
9
9
  "@salesforce/kit": "^3.2.1",
10
- "@salesforce/sf-plugins-core": "^11.3.4",
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
15
  "@oclif/plugin-command-snapshot": "^5.2.15",
16
- "@salesforce/cli-plugins-testkit": "^5.3.27",
16
+ "@salesforce/cli-plugins-testkit": "^5.3.34",
17
17
  "@salesforce/dev-scripts": "^10.2.10",
18
18
  "@salesforce/plugin-command-reference": "^3.1.20",
19
- "eslint-plugin-sf-plugin": "^1.20.5",
20
- "oclif": "^4.14.24",
19
+ "eslint-plugin-sf-plugin": "^1.20.9",
20
+ "oclif": "^4.15.12",
21
21
  "ts-node": "^10.9.2",
22
22
  "typescript": "^5.5.4"
23
23
  },
@@ -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.2.26.crt",
201
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-marketplace/1.2.26.sig"
200
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-marketplace/1.3.1.crt",
201
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-marketplace/1.3.1.sig"
202
202
  }
203
203
  }