@baicie/ncu 0.2.2 → 0.3.4

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.2",
3
+ "version": "0.3.4",
4
4
  "author": "Tomas Junnonen <tomas1@gmail.com>",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -182,13 +182,12 @@
182
182
  },
183
183
  "scripts": {
184
184
  "dev": "rolldown --watch -c",
185
- "build": "rimraf dist && npm run build:options && rolldown -m -c",
185
+ "build": "rimraf dist && npm run build:options && rolldown -m -c && chmod +x dist/cjs/cli.cjs dist/cjs/index.cjs",
186
186
  "build:options": "vite-node src/scripts/build-options.ts",
187
187
  "build:analyze": "rimraf dist && npm run build:options && ANALYZER=true vite build",
188
188
  "lint": "cross-env FORCE_COLOR=1 npm-run-all --parallel --aggregate-output lint:*",
189
189
  "lint:markdown": "markdownlint \"**/*.md\" --ignore \"**/node_modules/**/*.md\" --ignore build --config .markdownlint.cjs",
190
190
  "lint:src": "eslint --cache",
191
- "lint:fix": "eslint --cache --fix",
192
191
  "type-check": "tsc --noEmit --incremental",
193
192
  "prettier": "prettier . --check",
194
193
  "prettier:fix": "prettier . --write",
@@ -198,6 +197,7 @@
198
197
  "test:e2e": "./test/e2e.sh",
199
198
  "ncu": "node dist/cjs/cli.cjs",
200
199
  "release": "tsx scripts/release.ts",
201
- "ci-publish": "tsx scripts/publish.ts"
200
+ "ci-publish": "tsx scripts/publish.ts",
201
+ "postinstall": "simple-git-hooks"
202
202
  }
203
203
  }