Toolkit: Deprecate node-version-check command (#57591)

* Toolkit: Deprecate node-version-check command

* Do not check for nodejs version on frontend-test
This commit is contained in:
Esteban Beltran
2022-10-25 14:53:53 +02:00
committed by GitHub
parent f64b0e1fae
commit 8d42e1b169
2 changed files with 10 additions and 3 deletions

View File

@ -37,8 +37,15 @@ export const run = (includeInternalScripts = false) => {
program
.command('node-version-check')
.description('Verify node version')
.action(async (cmd) => {
.description('[deprecated] Verify node version')
.action(async () => {
chalk.yellow.bold(
`⚠️ This command is deprecated and will be removed in v10. No further support will be provided. ⚠️`
);
console.log(
'if you were reliant on this command we recommend https://www.npmjs.com/package/check-node-version'
);
await execTask(nodeVersionCheckerTask)({});
});