diff --git a/packages/kolibri-format/package.json b/packages/kolibri-format/package.json index b104a466492..7cf4417fecf 100644 --- a/packages/kolibri-format/package.json +++ b/packages/kolibri-format/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "chalk": "4.1.2", - "commander": "^12.1.0", + "commander": "^13.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.31.0", diff --git a/packages/kolibri-tools/lib/cli.js b/packages/kolibri-tools/lib/cli.js index b06b24dff6e..4eebd5cb8d5 100755 --- a/packages/kolibri-tools/lib/cli.js +++ b/packages/kolibri-tools/lib/cli.js @@ -357,6 +357,7 @@ program .command('test') .option('--config [config]', 'Set configuration for jest tests') .allowUnknownOption() + .allowExcessArguments(true) .action(function (options) { const baseConfigPath = path.resolve(__dirname, '../jest.conf'); if (process.env.NODE_ENV == null) { diff --git a/packages/kolibri-tools/package.json b/packages/kolibri-tools/package.json index 3d66233614f..b64b96bab40 100644 --- a/packages/kolibri-tools/package.json +++ b/packages/kolibri-tools/package.json @@ -36,7 +36,7 @@ "chalk": "4.1.2", "check-node-version": "^4.2.1", "cli-table": "^0.3.11", - "commander": "^12.1.0", + "commander": "^13.0.0", "core-js": "^3", "css-loader": "7.1.2", "css-minimizer-webpack-plugin": "7.0.0", diff --git a/yarn.lock b/yarn.lock index 733d3449f32..a24b69e5bc3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3882,6 +3882,11 @@ commander@^12.0.0, commander@^12.1.0: resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3" integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA== +commander@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-13.0.0.tgz#1b161f60ee3ceb8074583a0f95359a4f8701845c" + integrity sha512-oPYleIY8wmTVzkvQq10AEok6YcTC4sRUBl8F9gVuwchGVUCTbl/vhLTaQqutuuySYOsu8YTgV+OxKc/8Yvx+mQ== + commander@^2.19.0, commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"