Skip to content

Commit e9b789e

Browse files
Merge pull request #8 from PatchPulse/update-prompt
Add option to update patch/minor/major after dependency check
2 parents 4d3b226 + fbf6b79 commit e9b789e

File tree

12 files changed

+1018
-185
lines changed

12 files changed

+1018
-185
lines changed

README.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ That's it! Patch Pulse scans your `package.json` and shows which dependencies ar
2424
# Check all dependencies
2525
npx patch-pulse
2626

27-
# Show help
28-
npx patch-pulse --help
27+
```
2928

3029
# Show version
30+
3131
npx patch-pulse --version
3232

3333
# Skip specific packages
34-
npx patch-pulse --skip "lodash,@types/*"
35-
```
34+
35+
npx patch-pulse --skip "lodash,@types/\*"
36+
37+
````
3638
3739
**Checks:** `dependencies`, `devDependencies`, `peerDependencies`, `optionalDependencies`
3840
@@ -48,9 +50,11 @@ Patch Pulse supports configuration files for persistent settings. Create one of
4850
4951
```json
5052
{
51-
"skip": ["lodash", "@types/*", "test-*"]
53+
"skip": ["lodash", "@types/*", "test-*"],
54+
"packageManager": "npm",
55+
"noUpdatePrompt": false
5256
}
53-
```
57+
````
5458

5559
### Skip Patterns
5660

@@ -60,13 +64,26 @@ The `skip` array supports multiple pattern types:
6064
- **Glob patterns**: `"@types/*"`, `"test-*"`, `"*-dev"`
6165
- **Regex patterns**: `".*-dev"`, `"^@angular/.*"`, `"zone\\.js"`
6266

67+
### Package Manager
68+
69+
The `packageManager` option allows you to override the package manager detection.
70+
71+
- `npm`
72+
- `pnpm`
73+
- `yarn`
74+
- `bun`
75+
76+
### No Update Prompt
77+
78+
The `noUpdatePrompt` option allows you to skip the update prompt.
79+
6380
### CLI vs File Configuration
6481

6582
CLI arguments override file configuration:
6683

6784
```bash
6885
# This will override any skip settings in patchpulse.config.json
69-
npx patch-pulse --skip "react,react-dom"
86+
npx patch-pulse --skip "react,react-dom" --package-manager pnpm --no-update-prompt
7087
```
7188

7289
## Example

0 commit comments

Comments
 (0)