Skip to content

Commit

Permalink
build(npm): updates external dependencies
Browse files Browse the repository at this point in the history
Up'em just updated these outdated dependencies in package.json:

@eslint/js                        9.16.0    -> 9.17.0   devDependencies   (policy: latest)
@swc/core                         1.10.1    -> 1.10.4   devDependencies   (policy: latest)
@typescript-eslint/eslint-plugin  8.18.0    -> 8.18.2   devDependencies   (policy: latest)
@typescript-eslint/parser         8.18.0    -> 8.18.2   devDependencies   (policy: latest)
commander                         12.1.0    -> 13.0.0   dependencies      (policy: latest)
enhanced-resolve                  5.17.1    -> 5.18.0   dependencies      (policy: latest)
eslint                            9.16.0    -> 9.17.0   devDependencies   (policy: latest)
eslint-plugin-n                   17.15.0   -> 17.15.1  devDependencies   (policy: latest)
globals                           15.13.0   -> 15.14.0  devDependencies   (policy: latest)
ignore                            6.0.2     -> 7.0.0    dependencies      (policy: latest)
lint-staged                       15.2.11   -> 15.3.0   devDependencies   (policy: latest)
svelte                            5.11.2    -> 5.16.0   devDependencies   (policy: latest)
symlink-dir                       6.0.3     -> 6.0.4    devDependencies   (policy: latest)

- Also updates the cli to handle a breaking change in commander.js
  • Loading branch information
sverweij committed Dec 30, 2024
1 parent d9d9ff1 commit 6862b2a
Show file tree
Hide file tree
Showing 5 changed files with 183 additions and 162 deletions.
2 changes: 1 addition & 1 deletion bin/depcruise-baseline.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ try {
".dependency-cruiser-known-violations.json",
)
.version(meta.version)
.arguments("<files-or-directories>")
.argument("<files-or-directories...>")
.parse(process.argv);

if (program.args[0]) {
Expand Down
4 changes: 2 additions & 2 deletions bin/depcruise-fmt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ try {
.option("-x, --exclude <regex>", "exclude all modules matching the regex")
.option(
"-S, --collapse <regex>",
"collapse a to a folder depth by passing a single digit (e.g. 2). Or pass a " +
"collapse to a folder depth by passing a single digit (e.g. 2). Or pass a " +
"regex to collapse to a pattern E.g. ^packages/[^/]+/ would collapse to " +
"modules/ folders directly under your packages folder. ",
)
Expand All @@ -66,7 +66,7 @@ try {
"dependency violations. Works for err, err-long and teamcity output types",
)
.version(meta.version)
.arguments("<dependency-cruiser-json>")
.argument("<dependency-cruiser-json>")
.parse(process.argv);

if (program.args[0]) {
Expand Down
3 changes: 2 additions & 1 deletion bin/dependency-cruise.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ try {
`${EOL} see https://github.com/sverweij/dependency-cruiser/blob/main/doc/cli.md${EOL}`,
)
.version(meta.version)
.arguments("[files-or-directories]")
.argument("[files-or-directories...]")
.allowExcessArguments()
.parse(process.argv);

if (Boolean(program.args[0]) || program.opts().info || program.opts().init) {
Expand Down
Loading

0 comments on commit 6862b2a

Please sign in to comment.