@baicie/ncu 0.1.31 → 0.2.0
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 +16 -0
- package/dist/cjs/chunks/src.cjs +59 -59
- package/dist/cjs/chunks/src.cjs.map +1 -1
- package/dist/cjs/chunks/strip-ansi.cjs.map +1 -1
- package/dist/cjs/cli.cjs +1 -1
- package/dist/cjs/cli.cjs.map +1 -1
- package/dist/esm/chunks/src.mjs +59 -59
- package/dist/esm/chunks/src.mjs.map +1 -1
- package/dist/esm/chunks/strip-ansi.mjs.map +1 -1
- package/dist/esm/cli.mjs.map +1 -1
- package/dist/esm/index.d.mts +11 -0
- package/package.json +35 -33
package/README.md
CHANGED
|
@@ -196,6 +196,18 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
|
|
|
196
196
|
<td>--cacheFile <path></td>
|
|
197
197
|
<td>Filepath for the cache file. Only works with <code>--cache</code>. (default: "~/.ncu-cache.json")</td>
|
|
198
198
|
</tr>
|
|
199
|
+
<tr>
|
|
200
|
+
<td>--catalog <names></td>
|
|
201
|
+
<td>Specify which catalogs to check/upgrade. Accepts a comma-separated list of catalog names, or a glob pattern (e.g., "default", "test,staging", "prod*"). If not specified, all catalogs are included.</td>
|
|
202
|
+
</tr>
|
|
203
|
+
<tr>
|
|
204
|
+
<td>--catalogTarget <value></td>
|
|
205
|
+
<td>Version target strategy specifically for catalog dependencies. If not specified, uses the global --target option. Supports: latest, newest, greatest, minor, patch, semver, @[tag], or a custom function.</td>
|
|
206
|
+
</tr>
|
|
207
|
+
<tr>
|
|
208
|
+
<td>--catalogs</td>
|
|
209
|
+
<td>Include catalog dependencies in upgrade checks when using --workspaces or --workspace. Set to false to skip catalogs entirely. (default: true)</td>
|
|
210
|
+
</tr>
|
|
199
211
|
<tr>
|
|
200
212
|
<td>--color</td>
|
|
201
213
|
<td>Force color in terminal.</td>
|
|
@@ -328,6 +340,10 @@ Options that take no arguments can be negated by prefixing them with `--no-`, e.
|
|
|
328
340
|
<td><a href="#peer">--peer</a></td>
|
|
329
341
|
<td>Check peer dependencies of installed packages and filter updates to compatible versions.</td>
|
|
330
342
|
</tr>
|
|
343
|
+
<tr>
|
|
344
|
+
<td>--pinVersions <json></td>
|
|
345
|
+
<td>Pin packages to specific versions, bypassing target strategy. Accepts a JSON object mapping package names to versions (e.g., '{"lodash":"4.17.21"}').</td>
|
|
346
|
+
</tr>
|
|
331
347
|
<tr>
|
|
332
348
|
<td>--pre <n></td>
|
|
333
349
|
<td>Include prerelease versions, e.g. -alpha.0, -beta.5, -rc.2. Automatically set to 1 when <code>--target</code> is newest or greatest, or when the current version is a prerelease. (default: 0)</td>
|