From a5ca8fba9bb5e462cb4ab41067d18ccf50d72116 Mon Sep 17 00:00:00 2001 From: "Tanner B. Hess Webber" Date: Tue, 2 Jan 2024 23:10:33 -0500 Subject: [PATCH] fix(npm/pnpm): corrects target command for create The `create` commands in `yarn`, `npm`, and `pnpm` are all effectively the same, but the `npm`/`pnpm` target command was mistakenly set to align with `init` (which is also largely the same across package managers). --- lib/narn-lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/narn-lib.js b/lib/narn-lib.js index b7b92a0..8082a8d 100644 --- a/lib/narn-lib.js +++ b/lib/narn-lib.js @@ -125,7 +125,7 @@ exports.getNpmArgs = (narnArgs, isPnpm = false) => { return result; } case "create": - npmTarget = "init"; + npmTarget = "create"; npmArgs = yarnSubCommands; break; case "publish":