persona-community-5/.pnpm-store/v3/files/c3/5793f3393af006ab4f4c9d3a7a325b533903dbbbfdce37a101fb04e3fe1531161fb12077f95b820207700db68781de3916ff52cce1d3c68fc1e437571aed15
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

18 lines
401 B
Plaintext

let { execSync } = require('child_process')
let pico = require('picocolors')
try {
let version = parseInt(execSync('npm -v'))
if (version <= 6) {
process.stderr.write(
pico.red(
'Update npm or call ' +
pico.yellow('npx browserslist@latest --update-db') +
'\n'
)
)
process.exit(1)
}
// eslint-disable-next-line no-unused-vars
} catch (e) {}