UNPKG

612 BJavaScriptView Raw
1import './chunk-BYXBJQAS.js';
2import { __toESM, require_picocolors } from './chunk-3VVDG2YT.js';
3import { lt } from 'semver';
4import { dedent } from 'ts-dedent';
5
6var import_picocolors=__toESM(require_picocolors(),1);var blocker={id:"minimumNode16",async check(){let nodeVersion=process.versions.node;return nodeVersion&&lt(nodeVersion,"18.0.0")?{nodeVersion}:!1},log(options,data){return dedent`
7 We've detected you're using Node.js v${data.nodeVersion}.
8 Storybook needs Node.js 18 or higher.
9
10 ${import_picocolors.default.yellow("https://nodejs.org/en/download")}
11 `}};
12
13export { blocker };