You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cli/CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# patch-pulse
2
2
3
+
## 4.1.0
4
+
5
+
### Minor Changes
6
+
7
+
- Add `--no-peer-deps` CLI flag and `ignorePeerDeps` config option to exclude `peerDependencies` from the scan. Useful for published libraries where peer dep ranges are intentionally broad and not something you manage directly.
Combine `--json` and `--fail` for machine-readable output with a non-zero exit
149
149
code when updates are available.
150
150
</Aside>
151
+
152
+
---
153
+
154
+
### `--no-peer-deps`
155
+
156
+
Exclude `peerDependencies` from the scan. Useful for published libraries where peer dep ranges are intentionally broad and not something you manage directly.
157
+
158
+
```bash
159
+
npx patch-pulse --no-peer-deps
160
+
```
161
+
162
+
Can also be set persistently via [`ignorePeerDeps`](../configuration#ignorePeerDeps) in your config file.
Copy file name to clipboardExpand all lines: packages/docs/src/content/docs/cli/configuration.mdx
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@ The CLI supports a configuration file for persistent settings. Use `patchpulse.j
19
19
"skip": ["lodash", "@types/*", "test-*"],
20
20
"ignorePaths": ["packages/cli/e2e"],
21
21
"packageManager": "pnpm",
22
-
"interactive": true
22
+
"interactive": true,
23
+
"ignorePeerDeps": true
23
24
}
24
25
```
25
26
@@ -101,6 +102,20 @@ Enable the interactive update prompt automatically after every run.
101
102
102
103
---
103
104
105
+
### `ignorePeerDeps`
106
+
107
+
Exclude `peerDependencies` from the scan entirely. Useful for published libraries where peer dep ranges are intentionally broad and not something you manage directly.
108
+
109
+
```json
110
+
{
111
+
"ignorePeerDeps": true
112
+
}
113
+
```
114
+
115
+
Can also be set via the [`--no-peer-deps`](../commands#--no-peer-deps) CLI flag.
116
+
117
+
---
118
+
104
119
## CLI vs file precedence
105
120
106
121
CLI flags take precedence over file settings for most options. The `skip` array is an exception — values from both sources are **merged**.
0 commit comments