pnpm-catalog-updates 0.7.15 → 0.7.16
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 -77
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
A powerful CLI tool for managing pnpm workspace catalog dependencies with ease.
|
|
9
9
|
|
|
10
|
+
**📖 Complete Documentation**: [https://pcu-cli.dev](https://pcu-cli.dev/en)
|
|
11
|
+
|
|
10
12
|
## Quick Start
|
|
11
13
|
|
|
12
14
|
### Installation
|
|
@@ -19,7 +21,7 @@ npm install -g pcu
|
|
|
19
21
|
pnpm add -g pcu
|
|
20
22
|
|
|
21
23
|
# Or use legacy package name
|
|
22
|
-
npm install -g
|
|
24
|
+
npm install -g pcu
|
|
23
25
|
```
|
|
24
26
|
|
|
25
27
|
### Usage
|
|
@@ -53,84 +55,14 @@ pcu -s
|
|
|
53
55
|
|
|
54
56
|

|
|
55
57
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
| Command | Shorthand | Description |
|
|
59
|
-
| --------------- | --------- | ----------------------------------------------- |
|
|
60
|
-
| `pcu check` | `pcu -c` | Check for outdated catalog dependencies |
|
|
61
|
-
| `pcu update` | `pcu -u` | Update catalog dependencies |
|
|
62
|
-
| `pcu analyze` | `pcu -a` | Analyze impact of dependency updates |
|
|
63
|
-
| `pcu workspace` | `pcu -s` | Show workspace information and validation |
|
|
64
|
-
| `pcu init` | | Initialize workspace with catalog configuration |
|
|
65
|
-
| `pcu help` | `pcu -h` | Display help information |
|
|
66
|
-
|
|
67
|
-
## Common Examples
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
# Interactive update with backup
|
|
71
|
-
pcu update --interactive --backup
|
|
72
|
-
|
|
73
|
-
# Update only minor versions
|
|
74
|
-
pcu update --target minor
|
|
75
|
-
|
|
76
|
-
# Check specific catalog
|
|
77
|
-
pcu check --catalog node18
|
|
78
|
-
|
|
79
|
-
# Analyze before updating
|
|
80
|
-
pcu analyze default react
|
|
81
|
-
|
|
82
|
-
# Validate workspace
|
|
83
|
-
pcu workspace --validate
|
|
84
|
-
|
|
85
|
-
# Dry run update
|
|
86
|
-
pcu update --dry-run
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## Options
|
|
90
|
-
|
|
91
|
-
### Global Options
|
|
92
|
-
|
|
93
|
-
- `--help, -h`: Show help
|
|
94
|
-
- `--version, -v`: Show version
|
|
95
|
-
- `--verbose`: Enable verbose logging
|
|
96
|
-
- `--quiet`: Suppress non-error output
|
|
97
|
-
|
|
98
|
-
### Update Options
|
|
99
|
-
|
|
100
|
-
- `--interactive, -i`: Interactive mode
|
|
101
|
-
- `--dry-run, -d`: Show what would be updated without making changes
|
|
102
|
-
- `--backup, -b`: Create backup before updating
|
|
103
|
-
- `--target <level>`: Update target (patch|minor|major|latest)
|
|
104
|
-
- `--catalog <name>`: Target specific catalog
|
|
105
|
-
|
|
106
|
-
## Configuration
|
|
107
|
-
|
|
108
|
-
Create a `.pcurc.json` file in your project root:
|
|
109
|
-
|
|
110
|
-
```json
|
|
111
|
-
{
|
|
112
|
-
"catalogs": ["default", "node18", "dev"],
|
|
113
|
-
"updateTarget": "minor",
|
|
114
|
-
"backup": true,
|
|
115
|
-
"interactive": false
|
|
116
|
-
}
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## Requirements
|
|
120
|
-
|
|
121
|
-
- Node.js >= 22.0.0
|
|
122
|
-
- pnpm workspace with catalog configuration
|
|
123
|
-
- pnpm-workspace.yaml with catalog entries
|
|
124
|
-
|
|
125
|
-
## Documentation
|
|
126
|
-
|
|
127
|
-
For complete documentation, visit:
|
|
128
|
-
[pnpm-catalog-updates](https://github.com/houko/pnpm-catalog-updates#readme)
|
|
58
|
+
**➡️
|
|
59
|
+
[Complete Command Reference & Examples](https://pcu-cli.dev/en/command-reference)**
|
|
129
60
|
|
|
130
|
-
##
|
|
61
|
+
## Links
|
|
131
62
|
|
|
132
|
-
|
|
133
|
-
[
|
|
63
|
+
- 📖 [Complete Documentation](https://pcu-cli.dev/en)
|
|
64
|
+
- 🐛 [Report Issues](https://github.com/houko/pnpm-catalog-updates/issues)
|
|
65
|
+
- 💬 [GitHub Repository](https://github.com/houko/pnpm-catalog-updates)
|
|
134
66
|
|
|
135
67
|
## License
|
|
136
68
|
|