diff --git a/package.json b/package.json index d1935eefd0e2c..d8298de70b518 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,6 @@ }, "scripts": { "build": "node ./scripts/rollup/build-all-release-channels.js", - "build-combined": "echo 'build-combined is deprecated. yarn build instead.'", "build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react-dom/index,react-dom/unstable_testing,react-dom/test-utils,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh,react-art --type=NODE", "build-for-devtools-dev": "yarn build-for-devtools --type=NODE_DEV", "build-for-devtools-prod": "yarn build-for-devtools --type=NODE_PROD", @@ -117,23 +116,11 @@ "lint-build": "node ./scripts/rollup/validate/index.js", "extract-errors": "node scripts/error-codes/extract-errors.js", "postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && node ./scripts/flow/createFlowConfigs.js", - "debug-test": "yarn test --deprecated 'yarn test --debug'", "test": "node ./scripts/jest/jest-cli.js", "test-stable": "node ./scripts/jest/jest-cli.js --release-channel=stable", "test-www": "node ./scripts/jest/jest-cli.js --release-channel=www-modern", "test-classic": "node ./scripts/jest/jest-cli.js --release-channel=www-classic", - "test-www-variant": "yarn test --deprecated 'yarn test-www --variant'", - "test-prod-www": "yarn test --deprecated 'yarn test-www --prod'", - "test-prod-www-variant": "yarn test --deprecated 'yarn test-www --prod --variant'", - "test-persistent": "yarn test --deprecated 'yarn test --persistent'", - "debug-test-persistent": "yarn test --deprecated 'yarn test --debug --persistent'", - "test-prod": "yarn test --deprecated 'yarn test --prod'", - "debug-test-prod": "yarn test --deprecated 'yarn test --debug --prod'", - "test-prod-build": "yarn test --deprecated 'yarn test --prod --build'", - "test-build": "yarn test --deprecated 'yarn test --build'", - "test-build-prod": "yarn test --deprecated 'yarn test --build --prod'", "test-build-devtools": "node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental", - "debug-test-build-devtools": "yarn test --deprecated 'yarn test-build-devtools --debug'", "test-dom-fixture": "cd fixtures/dom && yarn && yarn predev && yarn test", "flow": "node ./scripts/tasks/flow.js", "flow-ci": "node ./scripts/tasks/flow-ci.js", diff --git a/scripts/jest/jest-cli.js b/scripts/jest/jest-cli.js index af7bc3be77076..22098a190561e 100644 --- a/scripts/jest/jest-cli.js +++ b/scripts/jest/jest-cli.js @@ -93,11 +93,6 @@ const argv = yargs type: 'boolean', default: false, }, - deprecated: { - describe: 'Print deprecation message for command.', - requiresArg: true, - type: 'string', - }, compactConsole: { alias: 'c', describe: 'Compact console output (hide file locations).', @@ -349,11 +344,6 @@ function getEnvars() { } function main() { - if (argv.deprecated) { - console.log(chalk.red(`\nPlease run: \`${argv.deprecated}\` instead.\n`)); - return; - } - validateOptions(); const args = getCommandArgs();