@baicie/ncu 0.2.1 → 0.3.1

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.
@@ -86,14 +86,7 @@ interface RunOptions {
86
86
  * @default "~/.ncu-cache.json"
87
87
  */
88
88
  cacheFile?: string;
89
- /** 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. */
90
- catalog?: string | readonly string[];
91
- /** 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. */
92
- catalogTarget?: string;
93
- /** Include catalog dependencies in upgrade checks when using --workspaces or --workspace. Set to false to skip catalogs entirely.
94
- *
95
- * @default true
96
- */
89
+ /** Treat pnpm-workspace catalogs as a special workspace. Scans catalogs from pnpm-workspace.yaml, shows progress, and outputs a separate catalog section in the results. Works with --workspaces or standalone. */
97
90
  catalogs?: boolean;
98
91
  /** Force color in terminal. */
99
92
  color?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baicie/ncu",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "author": "Tomas Junnonen <tomas1@gmail.com>",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -62,6 +62,7 @@
62
62
  "@yarnpkg/parsers": "2.6.0"
63
63
  },
64
64
  "dependencies": {
65
+ "@baicie/ncu": "link:",
65
66
  "camelcase": "^9.0.0",
66
67
  "chalk": "^5.6.2",
67
68
  "cli-table3": "^0.6.5",
@@ -182,13 +183,12 @@
182
183
  },
183
184
  "scripts": {
184
185
  "dev": "rolldown --watch -c",
185
- "build": "rimraf dist && npm run build:options && rolldown -m -c",
186
+ "build": "rimraf dist && npm run build:options && rolldown -m -c && chmod +x dist/cjs/cli.cjs dist/cjs/index.cjs",
186
187
  "build:options": "vite-node src/scripts/build-options.ts",
187
188
  "build:analyze": "rimraf dist && npm run build:options && ANALYZER=true vite build",
188
189
  "lint": "cross-env FORCE_COLOR=1 npm-run-all --parallel --aggregate-output lint:*",
189
190
  "lint:markdown": "markdownlint \"**/*.md\" --ignore \"**/node_modules/**/*.md\" --ignore build --config .markdownlint.cjs",
190
191
  "lint:src": "eslint --cache",
191
- "lint:fix": "eslint --cache --fix",
192
192
  "type-check": "tsc --noEmit --incremental",
193
193
  "prettier": "prettier . --check",
194
194
  "prettier:fix": "prettier . --write",