@soybeanjs/cli 1.7.3 → 1.7.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.
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { join as join$1 } from "path";
|
|
|
14
14
|
import { generateChangelog, generateTotalChangelog } from "@soybeanjs/changelog";
|
|
15
15
|
import { versionBump } from "bumpp";
|
|
16
16
|
//#region package.json
|
|
17
|
-
var version = "1.7.
|
|
17
|
+
var version = "1.7.4";
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/config/index.ts
|
|
20
20
|
const defaultOptions = {
|
|
@@ -247,11 +247,12 @@ async function resolveDefaultNcuArgs(cwd = process$1.cwd()) {
|
|
|
247
247
|
"--packageFile",
|
|
248
248
|
"package.json"
|
|
249
249
|
];
|
|
250
|
-
return [
|
|
250
|
+
if (uniquePackageFiles.length === 1) return [
|
|
251
251
|
"-u",
|
|
252
252
|
"--packageFile",
|
|
253
|
-
|
|
253
|
+
uniquePackageFiles[0]
|
|
254
254
|
];
|
|
255
|
+
return ["-u", ...uniquePackageFiles.flatMap((file) => ["--packageFile", file])];
|
|
255
256
|
}
|
|
256
257
|
//#endregion
|
|
257
258
|
//#region src/command/changelog.ts
|