@yabasha/gex 1.0.1 → 1.3.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 -4
- package/dist/cli-bun.mjs +916 -0
- package/dist/cli-bun.mjs.map +1 -0
- package/dist/cli-node.cjs +766 -0
- package/dist/cli-node.cjs.map +1 -0
- package/dist/cli-node.mjs +734 -0
- package/dist/cli-node.mjs.map +1 -0
- package/dist/cli.cjs +359 -302
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +356 -300
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +18 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +18 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -47,10 +47,12 @@ gex global [options]
|
|
|
47
47
|
|
|
48
48
|
Common options:
|
|
49
49
|
|
|
50
|
-
- f, --output-format <md|json> (default: json)
|
|
51
|
-
- o, --out-file <path>
|
|
52
|
-
-
|
|
53
|
-
-
|
|
50
|
+
- -f, --output-format <md|json> (default: json)
|
|
51
|
+
- -o, --out-file <path>
|
|
52
|
+
- --full-tree Include the full npm ls JSON under `tree` (default uses depth=0)
|
|
53
|
+
- --omit-dev Local only; exclude devDependencies
|
|
54
|
+
- -c, --check-outdated Print a table of outdated packages (skips console report output unless `-o` is set)
|
|
55
|
+
- -u, --update-outdated [pkg1 pkg2 ...] Update outdated packages (omit names to update everything). Node CLI shells out to `npm update`, Bun CLI runs `bun update`/`bun update --global`.
|
|
54
56
|
|
|
55
57
|
Examples:
|
|
56
58
|
|
|
@@ -83,6 +85,16 @@ gex read global.md -i
|
|
|
83
85
|
# Shell redirection (alternative to -o flag)
|
|
84
86
|
gex > report.json # redirect JSON output to file
|
|
85
87
|
gex global | jq '.global_packages' # pipe output to jq for processing
|
|
88
|
+
|
|
89
|
+
# Check outdated packages / update them (Node runtime)
|
|
90
|
+
gex local --check-outdated # show outdated local deps as a table
|
|
91
|
+
gex global --check-outdated # show outdated globals
|
|
92
|
+
gex local --update-outdated # update every outdated local dependency
|
|
93
|
+
gex local --update-outdated axios react # update specific packages
|
|
94
|
+
|
|
95
|
+
# Bun runtime uses the same flags
|
|
96
|
+
gex-bun local --check-outdated
|
|
97
|
+
gex-bun global --update-outdated # updates global Bun installs via `bun update`
|
|
86
98
|
```
|
|
87
99
|
|
|
88
100
|
> **Note**: Starting from v0.4.0, GEX outputs to console by default instead of creating files automatically. Use the `-o/--out-file` flag to write to a file.
|