diff --git a/.pnp.cjs b/.pnp.cjs index deb287fa9..2040b66b8 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -10297,13 +10297,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:6.2.1", { - "packageLocation": "./.yarn/cache/commander-npm-6.2.1-d5b635f237-47856aae6f.zip/node_modules/commander/", - "packageDependencies": [ - ["commander", "npm:6.2.1"] - ], - "linkType": "HARD", - }], ["npm:7.1.0", { "packageLocation": "./.yarn/cache/commander-npm-7.1.0-632d393e57-2b6dacb11f.zip/node_modules/commander/", "packageDependencies": [ @@ -18057,7 +18050,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["chalk", "npm:4.1.0"], ["chokidar", "npm:3.5.1"], ["clean-webpack-plugin", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:3.0.0"], - ["commander", "npm:6.2.1"], + ["commander", "npm:7.1.0"], ["copy-webpack-plugin", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:7.0.0"], ["css-loader", "virtual:dddca670fd0b7758fb2e1b1a3e18ac7ebd1ecd06ecdd7acec2b78bccf1d35802cb22904bfbb233b16515a81f5cb819421786d20887823d98022b367036c1ad51#npm:5.0.2"], ["decompress", "npm:4.2.1"], diff --git a/.yarn/cache/commander-npm-6.2.1-d5b635f237-47856aae6f.zip b/.yarn/cache/commander-npm-6.2.1-d5b635f237-47856aae6f.zip deleted file mode 100644 index ea7b72684..000000000 Binary files a/.yarn/cache/commander-npm-6.2.1-d5b635f237-47856aae6f.zip and /dev/null differ diff --git a/packages/cli/package.json b/packages/cli/package.json index 39fd68899..110a54160 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -42,7 +42,7 @@ "axios": "0.21.1", "chalk": "4.1.0", "chokidar": "3.5.1", - "commander": "6.2.1", + "commander": "7.1.0", "decompress": "4.2.1", "decompress-targz": "4.1.1", "dotenv": "8.2.0", diff --git a/packages/cli/src/index.js b/packages/cli/src/index.js index 0d9c68a5b..44875b7ce 100755 --- a/packages/cli/src/index.js +++ b/packages/cli/src/index.js @@ -38,7 +38,6 @@ program '--output-directory ', 'Change the directory to which build artifacts are saved. Default is "/.lowdefy/build".' ) - .passCommandToAction(false) .action(errorHandler(build)); program @@ -49,7 +48,6 @@ program '--base-directory ', 'Change base directory. Default is the current working directory.' ) - .passCommandToAction(false) .action(errorHandler(buildNetlify)); program @@ -60,7 +58,6 @@ program '--base-directory ', 'Change base directory. Default is the current working directory.' ) - .passCommandToAction(false) .action(errorHandler(cleanCache)); program @@ -72,7 +69,6 @@ program 'Change base directory. Default is the current working directory.' ) .option('--port ', 'Change the port the server is hosted at. Default is 3000.') - .passCommandToAction(false) .action(errorHandler(dev)); program.parse(process.argv); diff --git a/yarn.lock b/yarn.lock index 5d632ec20..c2c4f5f04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6991,10 +6991,10 @@ __metadata: languageName: node linkType: hard -"commander@npm:6.2.1": - version: 6.2.1 - resolution: "commander@npm:6.2.1" - checksum: 47856aae6f194404122e359d8463e5e1a18f7cbab26722ce69f1379be8514bd49a160ef81a983d3d2091e3240022643354101d1276c797dcdd0b5bfc3c3f04a3 +"commander@npm:7.1.0, commander@npm:^7.0.0": + version: 7.1.0 + resolution: "commander@npm:7.1.0" + checksum: 2b6dacb11f17cd9b702ae18b586b060327590dd57e2702edefbff701ec7c63b55338e70544210893bad280fc9579ffb839dd8ae0a6bc652fceffe3f9ad1c2c44 languageName: node linkType: hard @@ -7019,13 +7019,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^7.0.0": - version: 7.1.0 - resolution: "commander@npm:7.1.0" - checksum: 2b6dacb11f17cd9b702ae18b586b060327590dd57e2702edefbff701ec7c63b55338e70544210893bad280fc9579ffb839dd8ae0a6bc652fceffe3f9ad1c2c44 - languageName: node - linkType: hard - "commander@npm:~6.1.0": version: 6.1.0 resolution: "commander@npm:6.1.0" @@ -13257,7 +13250,7 @@ fsevents@^1.2.7: chalk: 4.1.0 chokidar: 3.5.1 clean-webpack-plugin: 3.0.0 - commander: 6.2.1 + commander: 7.1.0 copy-webpack-plugin: 7.0.0 css-loader: 5.0.2 decompress: 4.2.1