@baicie/ncu 0.2.2 → 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.
- package/README.md +1 -9
- package/dist/cjs/chunks/src.cjs +35 -35
- package/dist/cjs/chunks/src.cjs.map +1 -1
- package/dist/esm/chunks/src.mjs +35 -35
- package/dist/esm/chunks/src.mjs.map +1 -1
- package/dist/esm/index.d.mts +1 -8
- package/package.json +5 -4
package/dist/esm/index.d.mts
CHANGED
|
@@ -86,14 +86,7 @@ interface RunOptions {
|
|
|
86
86
|
* @default "~/.ncu-cache.json"
|
|
87
87
|
*/
|
|
88
88
|
cacheFile?: string;
|
|
89
|
-
/**
|
|
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.
|
|
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",
|
|
@@ -198,6 +198,7 @@
|
|
|
198
198
|
"test:e2e": "./test/e2e.sh",
|
|
199
199
|
"ncu": "node dist/cjs/cli.cjs",
|
|
200
200
|
"release": "tsx scripts/release.ts",
|
|
201
|
-
"ci-publish": "tsx scripts/publish.ts"
|
|
201
|
+
"ci-publish": "tsx scripts/publish.ts",
|
|
202
|
+
"postinstall": "simple-git-hooks"
|
|
202
203
|
}
|
|
203
204
|
}
|