which-webstorm 4.0.0 → 4.0.2

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Finds WebStorm
4
4
 
5
- [![QA](https://github.com/oliversalzburg/which-webstorm/actions/workflows/test.yml/badge.svg)](https://github.com/oliversalzburg/which-webstorm/actions/workflows/test.yml)
5
+ [![NPM Version](https://img.shields.io/npm/v/which-webstorm)](https://www.npmjs.com/package/which-webstorm) [![QA](https://github.com/oliversalzburg/which-webstorm/actions/workflows/test.yml/badge.svg)](https://github.com/oliversalzburg/which-webstorm/actions/workflows/test.yml)
6
6
 
7
7
  ## Usage
8
8
 
package/bin/bin.js CHANGED
File without changes
@@ -0,0 +1,23 @@
1
+ export declare class WebStormLocator {
2
+ webstormBinary(): string;
3
+ findWebstorm(): string;
4
+ findWebstormAsync(): Promise<string>;
5
+ findJetbrainsProducts(): Array<string>;
6
+ findJetbrainsProductsAsync(): Promise<Array<string>>;
7
+ findManual(): string;
8
+ findManualAsync(): Promise<string>;
9
+ findManualWindows(jetbrainsProducts: Array<string>): string;
10
+ _customSort(a: {
11
+ version: string;
12
+ }, b: {
13
+ version: string;
14
+ }): 1 | -1;
15
+ _getLatest(entries: Array<{
16
+ path: string;
17
+ }>): string;
18
+ }
19
+ declare const _export: (() => Promise<string>) & {
20
+ sync: () => string;
21
+ webstormBinary: () => string;
22
+ };
23
+ export default _export;