pcu 0.6.6 → 0.7.6
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/LICENSE +21 -0
- package/README.md +16 -9
- package/dist/index.js +2569 -2567
- package/dist/index.js.map +1 -1
- package/package.json +43 -43
- package/src/cli/commands/checkCommand.ts +2 -2
- package/src/cli/commands/initCommand.ts +3 -3
- package/src/cli/commands/securityCommand.ts +1 -1
- package/src/cli/commands/updateCommand.ts +1 -1
- package/src/cli/formatters/outputFormatter.ts +7 -2
- package/src/cli/index.ts +6 -6
- package/src/cli/interactive/interactivePrompts.ts +1 -1
- package/src/cli/validators/commandValidator.ts +1 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 pnpm-catalog-updates
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
# pcu
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/pcu)
|
|
4
|
+
[](https://www.npmjs.com/package/pcu)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[](https://nodejs.org/)
|
|
7
|
+
|
|
3
8
|
A powerful CLI tool for managing pnpm workspace catalog dependencies with ease.
|
|
4
9
|
|
|
5
|
-
##
|
|
10
|
+
## Quick Start
|
|
6
11
|
|
|
7
12
|
### Installation
|
|
8
13
|
|
|
@@ -46,7 +51,9 @@ pcu workspace
|
|
|
46
51
|
pcu -s
|
|
47
52
|
```
|
|
48
53
|
|
|
49
|
-
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
## Commands
|
|
50
57
|
|
|
51
58
|
| Command | Shorthand | Description |
|
|
52
59
|
| --------------- | --------- | ----------------------------------------------- |
|
|
@@ -57,7 +64,7 @@ pcu -s
|
|
|
57
64
|
| `pcu init` | | Initialize workspace with catalog configuration |
|
|
58
65
|
| `pcu help` | `pcu -h` | Display help information |
|
|
59
66
|
|
|
60
|
-
##
|
|
67
|
+
## Common Examples
|
|
61
68
|
|
|
62
69
|
```bash
|
|
63
70
|
# Interactive update with backup
|
|
@@ -79,7 +86,7 @@ pcu workspace --validate
|
|
|
79
86
|
pcu update --dry-run
|
|
80
87
|
```
|
|
81
88
|
|
|
82
|
-
##
|
|
89
|
+
## Options
|
|
83
90
|
|
|
84
91
|
### Global Options
|
|
85
92
|
|
|
@@ -96,7 +103,7 @@ pcu update --dry-run
|
|
|
96
103
|
- `--target <level>`: Update target (patch|minor|major|latest)
|
|
97
104
|
- `--catalog <name>`: Target specific catalog
|
|
98
105
|
|
|
99
|
-
##
|
|
106
|
+
## Configuration
|
|
100
107
|
|
|
101
108
|
Create a `.pcurc.json` file in your project root:
|
|
102
109
|
|
|
@@ -109,22 +116,22 @@ Create a `.pcurc.json` file in your project root:
|
|
|
109
116
|
}
|
|
110
117
|
```
|
|
111
118
|
|
|
112
|
-
##
|
|
119
|
+
## Requirements
|
|
113
120
|
|
|
114
121
|
- Node.js >= 22.0.0
|
|
115
122
|
- pnpm workspace with catalog configuration
|
|
116
123
|
- pnpm-workspace.yaml with catalog entries
|
|
117
124
|
|
|
118
|
-
##
|
|
125
|
+
## Documentation
|
|
119
126
|
|
|
120
127
|
For complete documentation, visit:
|
|
121
128
|
[pnpm-catalog-updates](https://github.com/houko/pnpm-catalog-updates#readme)
|
|
122
129
|
|
|
123
|
-
##
|
|
130
|
+
## Contributing
|
|
124
131
|
|
|
125
132
|
Found a bug or want to contribute? Visit our
|
|
126
133
|
[GitHub repository](https://github.com/houko/pnpm-catalog-updates).
|
|
127
134
|
|
|
128
|
-
##
|
|
135
|
+
## License
|
|
129
136
|
|
|
130
137
|
MIT © [Evan Hu](https://github.com/houko)
|