@pnpm/pnpr 0.0.0-26062301 → 0.0.0-26062401
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 +4 -4
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -28,11 +28,11 @@ Start the server with the bundled default config:
|
|
|
28
28
|
pnpr
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
It listens on `127.0.0.1:
|
|
31
|
+
It listens on `127.0.0.1:7677` and proxies `https://registry.npmjs.org/`
|
|
32
32
|
by default. Point a client at it with:
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
|
-
pnpm config set registry http://127.0.0.1:
|
|
35
|
+
pnpm config set registry http://127.0.0.1:7677/
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## CLI flags
|
|
@@ -40,7 +40,7 @@ pnpm config set registry http://127.0.0.1:4873/
|
|
|
40
40
|
| Flag | Description |
|
|
41
41
|
| --- | --- |
|
|
42
42
|
| `-c, --config <path>` | Path to a verdaccio-shaped YAML config. When omitted, the bundled default is used. |
|
|
43
|
-
| `--listen <addr>` | Address to bind to. Defaults to `127.0.0.1:
|
|
43
|
+
| `--listen <addr>` | Address to bind to. Defaults to `127.0.0.1:7677`. |
|
|
44
44
|
| `--storage <path>` | Override the storage directory from the loaded config. |
|
|
45
45
|
| `--cache <path>` | Override the disposable proxy-cache directory (the mirror of upstream registries plus the resolver cache). Defaults to a `.pnpr-cache` subdirectory of `--storage`. |
|
|
46
46
|
| `--public-url <url>` | URL clients should use to reach the server, used when rewriting `dist.tarball` in served packuments. Defaults to `http://<listen>`. |
|
|
@@ -165,7 +165,7 @@ packages:
|
|
|
165
165
|
```sh
|
|
166
166
|
export AWS_ACCESS_KEY_ID="<r2-access-key-id>"
|
|
167
167
|
export AWS_SECRET_ACCESS_KEY="<r2-secret-access-key>"
|
|
168
|
-
pnpr -c ./pnpr.yaml --listen 0.0.0.0:
|
|
168
|
+
pnpr -c ./pnpr.yaml --listen 0.0.0.0:7677 --public-url https://registry.example.com
|
|
169
169
|
```
|
|
170
170
|
|
|
171
171
|
(`--public-url` is what rewrites the `dist.tarball` URLs in served
|
package/package.json
CHANGED
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"bin/pnpr",
|
|
22
22
|
"LICENSE.md"
|
|
23
23
|
],
|
|
24
|
-
"version": "0.0.0-
|
|
24
|
+
"version": "0.0.0-26062401",
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@pnpm/pnpr.win32-x64": "0.0.0-
|
|
27
|
-
"@pnpm/pnpr.win32-arm64": "0.0.0-
|
|
28
|
-
"@pnpm/pnpr.darwin-x64": "0.0.0-
|
|
29
|
-
"@pnpm/pnpr.darwin-arm64": "0.0.0-
|
|
30
|
-
"@pnpm/pnpr.linux-x64": "0.0.0-
|
|
31
|
-
"@pnpm/pnpr.linux-arm64": "0.0.0-
|
|
32
|
-
"@pnpm/pnpr.linux-x64-musl": "0.0.0-
|
|
33
|
-
"@pnpm/pnpr.linux-arm64-musl": "0.0.0-
|
|
26
|
+
"@pnpm/pnpr.win32-x64": "0.0.0-26062401",
|
|
27
|
+
"@pnpm/pnpr.win32-arm64": "0.0.0-26062401",
|
|
28
|
+
"@pnpm/pnpr.darwin-x64": "0.0.0-26062401",
|
|
29
|
+
"@pnpm/pnpr.darwin-arm64": "0.0.0-26062401",
|
|
30
|
+
"@pnpm/pnpr.linux-x64": "0.0.0-26062401",
|
|
31
|
+
"@pnpm/pnpr.linux-arm64": "0.0.0-26062401",
|
|
32
|
+
"@pnpm/pnpr.linux-x64-musl": "0.0.0-26062401",
|
|
33
|
+
"@pnpm/pnpr.linux-arm64-musl": "0.0.0-26062401"
|
|
34
34
|
},
|
|
35
35
|
"bin": {
|
|
36
36
|
"pnpr": "bin/pnpr"
|