@yamada-ui/cli 2.0.3 → 2.0.4-dev-20251023013306
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5624,7 +5624,7 @@ function packageAddArgs(packageManager, { dev = false, exact = false } = {}) {
|
|
|
5624
5624
|
const args = [];
|
|
5625
5625
|
if (packageManager === "npm") args.push("install");
|
|
5626
5626
|
else args.push("add");
|
|
5627
|
-
if (dev) if (packageManager === "npm") args.push("--save-dev");
|
|
5627
|
+
if (dev) if (packageManager === "npm" || packageManager === "pnpm") args.push("--save-dev");
|
|
5628
5628
|
else args.push("--dev");
|
|
5629
5629
|
if (exact) args.push("--save-exact");
|
|
5630
5630
|
return args;
|