mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
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:
parent
f64b0e1fae
commit
8d42e1b169
@ -48,7 +48,7 @@
|
||||
"typecheck": "tsc --noEmit && yarn run packages:typecheck",
|
||||
"plugins:build-bundled": "grafana-toolkit plugin:bundle-managed",
|
||||
"watch": "yarn start -d watch,start core:start --watchTheme",
|
||||
"ci:test-frontend": "yarn run test:ci && yarn grafana-toolkit node-version-check",
|
||||
"ci:test-frontend": "yarn run test:ci",
|
||||
"postinstall": "husky install",
|
||||
"i18n:clean": "rimraf public/locales/en-US/grafana.json",
|
||||
"i18n:extract": "yarn i18n:clean && yarn run i18next -c public/locales/i18next-parser.config.js 'public/**/*.{tsx,ts}' 'packages/grafana-ui/**/*.{tsx,ts}' && node ./public/locales/psuedo.js",
|
||||
|
@ -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)({});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user