From ede61ab316f40c500bb50762e50476e7d006938c Mon Sep 17 00:00:00 2001 From: Dennis <10233439+idea404@users.noreply.github.com> Date: Mon, 30 Jan 2023 13:49:16 +0100 Subject: [PATCH 1/2] fix typo in rollup command name --- packages/near-sdk-js/src/cli/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/near-sdk-js/src/cli/cli.ts b/packages/near-sdk-js/src/cli/cli.ts index 69f41f708..ebce1785b 100644 --- a/packages/near-sdk-js/src/cli/cli.ts +++ b/packages/near-sdk-js/src/cli/cli.ts @@ -57,7 +57,7 @@ program .action(checkTypescriptCom) ) .addCommand( - new Command("createJsFileWithRullup") + new Command("createJsFileWithRollup") .usage("[source] [target]") .description( "Create intermediate javascript file for later processing with QJSC" From 9c0852caac4fe19bd554a0aab88022e32c735e27 Mon Sep 17 00:00:00 2001 From: Bo Yao Date: Tue, 31 Jan 2023 09:37:13 +0800 Subject: [PATCH 2/2] rebuild cli.ts to cli.js --- packages/near-sdk-js/lib/cli/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/near-sdk-js/lib/cli/cli.js b/packages/near-sdk-js/lib/cli/cli.js index c1c1f136c..daf03f1ac 100755 --- a/packages/near-sdk-js/lib/cli/cli.js +++ b/packages/near-sdk-js/lib/cli/cli.js @@ -40,7 +40,7 @@ program .argument("[source]", "Typescript file to validate", "src/index.ts") .option("--verbose", "Whether to print more verbose output.", false) .action(checkTypescriptCom)) - .addCommand(new Command("createJsFileWithRullup") + .addCommand(new Command("createJsFileWithRollup") .usage("[source] [target]") .description("Create intermediate javascript file for later processing with QJSC") .argument("[source]", "Contract to build.", "src/index.js")