@henryqw/pi-deps 0.3.4 → 0.3.5
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 +9 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,18 +15,6 @@ pi install npm:@henryqw/pi-deps
|
|
|
15
15
|
|
|
16
16
|
Node 22.19 or newer, Git, and each selected package manager must be available on `PATH` used by Git.
|
|
17
17
|
|
|
18
|
-
## Supported managers
|
|
19
|
-
|
|
20
|
-
Only current major versions are supported; older majors are not handled and fall back to the lockfile default below.
|
|
21
|
-
|
|
22
|
-
| Manager | Command | Lockfile |
|
|
23
|
-
| --- | --- | --- |
|
|
24
|
-
| npm | `npm ci` | `package-lock.json`, `npm-shrinkwrap.json` |
|
|
25
|
-
| pnpm | `pnpm install --frozen-lockfile` | `pnpm-lock.yaml` |
|
|
26
|
-
| Yarn | `yarn install --immutable` | `yarn.lock` (Yarn Classic 1.x is not supported) |
|
|
27
|
-
| Bun | `bun install --frozen-lockfile` | `bun.lock`, `bun.lockb` |
|
|
28
|
-
| uv | `uv sync --locked` | `uv.lock` |
|
|
29
|
-
|
|
30
18
|
## Use
|
|
31
19
|
|
|
32
20
|
| Surface | Type | Purpose |
|
|
@@ -41,22 +29,14 @@ Creation returns immediately. The hook validates lockfiles synchronously — con
|
|
|
41
29
|
|
|
42
30
|
Dependency installation may execute repository-controlled build and install scripts. Enable only repositories you trust.
|
|
43
31
|
|
|
44
|
-
##
|
|
45
|
-
|
|
46
|
-
Disable each opted-in repository before removing package because copied Git hook is self-contained:
|
|
47
|
-
|
|
48
|
-
```text
|
|
49
|
-
/deps
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
pi remove npm:@henryqw/pi-deps
|
|
54
|
-
```
|
|
32
|
+
## Supported managers
|
|
55
33
|
|
|
56
|
-
|
|
34
|
+
Only current major versions are supported; older majors are not handled and fall back to the lockfile default below.
|
|
57
35
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
npm
|
|
61
|
-
|
|
62
|
-
|
|
36
|
+
| Manager | Command | Lockfile |
|
|
37
|
+
| --- | --- | --- |
|
|
38
|
+
| npm | `npm ci` | `package-lock.json`, `npm-shrinkwrap.json` |
|
|
39
|
+
| pnpm | `pnpm install --frozen-lockfile` | `pnpm-lock.yaml` |
|
|
40
|
+
| Yarn | `yarn install --immutable` | `yarn.lock` (Yarn Classic 1.x is not supported) |
|
|
41
|
+
| Bun | `bun install --frozen-lockfile` | `bun.lock`, `bun.lockb` |
|
|
42
|
+
| uv | `uv sync --locked` | `uv.lock` |
|