1 | import './chunk-BYXBJQAS.js';
|
2 | import { __toESM, require_picocolors } from './chunk-3VVDG2YT.js';
|
3 | import { lt } from 'semver';
|
4 | import { dedent } from 'ts-dedent';
|
5 |
|
6 | var import_picocolors=__toESM(require_picocolors(),1);var blocker={id:"minimumNode16",async check(){let nodeVersion=process.versions.node;return nodeVersion&<(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 |
|
13 | export { blocker };
|