Skip to content

Commit

Permalink
package.json: cleanup deprecated scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens committed Dec 4, 2023
1 parent f498aa2 commit bdd8ad2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
13 changes: 0 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
10 changes: 0 additions & 10 deletions scripts/jest/jest-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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).',
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit bdd8ad2

Please sign in to comment.