@cedarjs/cli-storybook-vite 6.0.3-next.275 → 6.0.3-next.296
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ import fs from "node:fs";
|
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import execa from "execa";
|
|
5
|
-
import {
|
|
5
|
+
import { isGreaterThanOrEqual, isLessThan, tryParse } from "verkit";
|
|
6
6
|
import { colors as c } from "@cedarjs/cli-helpers/colors";
|
|
7
7
|
import { transformTSToJS } from "@cedarjs/cli-helpers/fileHelpers";
|
|
8
8
|
import { isTypeScriptProject } from "@cedarjs/cli-helpers/project";
|
|
@@ -128,7 +128,7 @@ Please find documentation and links to provide feedback for this new command at:
|
|
|
128
128
|
].filter(Boolean).join(" ")}`;
|
|
129
129
|
}
|
|
130
130
|
const env = {};
|
|
131
|
-
if (tryParse(process.version) !== null &&
|
|
131
|
+
if (tryParse(process.version) !== null && isLessThan(process.version, "22.0.0") && isGreaterThanOrEqual(process.version, "20.19.0")) {
|
|
132
132
|
env.NODE_OPTIONS = "--no-experimental-require-module";
|
|
133
133
|
}
|
|
134
134
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli-storybook-vite",
|
|
3
|
-
"version": "6.0.3-next.
|
|
3
|
+
"version": "6.0.3-next.296",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"test:unit": "vitest run"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@cedarjs/cli-helpers": "6.0.3-next.
|
|
27
|
-
"@cedarjs/project-config": "6.0.3-next.
|
|
28
|
-
"@cedarjs/telemetry": "6.0.3-next.
|
|
26
|
+
"@cedarjs/cli-helpers": "6.0.3-next.296",
|
|
27
|
+
"@cedarjs/project-config": "6.0.3-next.296",
|
|
28
|
+
"@cedarjs/telemetry": "6.0.3-next.296",
|
|
29
29
|
"execa": "5.1.1",
|
|
30
30
|
"storybook": "8.6.18",
|
|
31
|
-
"storybook-framework-cedarjs": "6.0.3-next.
|
|
31
|
+
"storybook-framework-cedarjs": "6.0.3-next.296",
|
|
32
32
|
"termi-link": "1.1.0",
|
|
33
|
-
"verkit": "0.
|
|
33
|
+
"verkit": "0.5.0",
|
|
34
34
|
"vitest": "4.1.11",
|
|
35
35
|
"yargs": "17.7.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@cedarjs/framework-tools": "6.0.3-next.
|
|
38
|
+
"@cedarjs/framework-tools": "6.0.3-next.296",
|
|
39
39
|
"@types/yargs": "17.0.35",
|
|
40
40
|
"typescript": "5.9.3"
|
|
41
41
|
},
|