@cloud-cli/px 1.1.1 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +3 -5
package/README.md CHANGED
@@ -10,7 +10,6 @@ Reverse proxy to map local services to http(s) subdomains
10
10
  import proxy from '@cloud-cli/px';
11
11
 
12
12
  export default { proxy };
13
-
14
13
  ```
15
14
 
16
15
  #### API
@@ -18,7 +17,7 @@ export default { proxy };
18
17
  **Add a certificate**
19
18
 
20
19
  ```
21
- cy proxy.addCertificate --domain="example.com" --certificate @path/to/cert --key @path/to/key
20
+ cy proxy.addCertificate --domain example.com --certificate @path/to/cert --key @path/to/key
22
21
  ```
23
22
 
24
23
  **Remove a certificate**
@@ -39,6 +38,12 @@ cy proxy.addProxy --domain "foo.example.com" --target "localhost:1234"
39
38
  cy proxy.removeProxy --domain "foo.example.com"
40
39
  ```
41
40
 
41
+ **Get details of a proxy**
42
+
43
+ ```
44
+ cy proxy.getProxy --domain "foo.example.com"
45
+ ```
46
+
42
47
  **List proxies**
43
48
 
44
49
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloud-cli/px",
3
- "version": "1.1.1",
4
- "description": "Reverse Proxy API/module",
3
+ "version": "1.1.2",
4
+ "description": "Reverse Proxy",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
7
7
  "types": "./dist/index.d.ts",
@@ -9,8 +9,7 @@
9
9
  "test": "echo true",
10
10
  "xtest": "jest",
11
11
  "tdd": "jest --watchAll",
12
- "build": "rm -rf ./dist/* && tsc --project ./tsconfig.json",
13
- "start": "node dist/server.js"
12
+ "build": "rm -rf ./dist/* && tsc --project ./tsconfig.json"
14
13
  },
15
14
  "keywords": [
16
15
  "cloudy"
@@ -37,7 +36,6 @@
37
36
  "access": "public"
38
37
  },
39
38
  "dependencies": {
40
- "@cloud-cli/gw": "^1.1.2",
41
39
  "redbird": "^0.10.0"
42
40
  }
43
41
  }