@maxpeterkaya/web-proxy 1.0.2 → 1.0.3

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
@@ -12,6 +12,8 @@ Some of these frameworks may include:
12
12
  - NextJS
13
13
  - PrismaORM
14
14
 
15
+ ## [Installation Guide](https://github.com/maxpeterkaya/web-proxy/blob/main/INSTALL-GUIDE.md)
16
+
15
17
  ## Examples
16
18
 
17
19
  - [Container middleware](https://github.com/maxpeterkaya/web-proxy/tree/main/examples/container-middleware)
@@ -25,7 +25,7 @@ if (!assetName) {
25
25
  }
26
26
 
27
27
  const url = `https://github.com/maxpeterkaya/web-proxy/releases/latest/download/web-proxy_${assetName}`;
28
- const destDir = path.join(__dirname, 'bin');
28
+ const destDir = path.join(__dirname);
29
29
  const destFile = path.join(destDir, `${platform === "win32" ? "web-proxy.exe" : "web-proxy"}`);
30
30
 
31
31
  (async () => {
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@maxpeterkaya/web-proxy",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Server middleware enabling better logging for web apps through structured logs",
5
5
  "bin": {
6
6
  "web-proxy": "bin/run.js"
7
7
  },
8
8
  "scripts": {
9
- "postinstall": "node install.js"
9
+ "postinstall": "node bin/install.js",
10
+ "start": "npx web-proxy"
10
11
  },
11
12
  "repository": {
12
13
  "type": "git",