@cedarjs/cli-storybook-vite 5.0.6-rc.4 → 5.0.7-next.186
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.
- package/dist/commands/storybook.d.ts +1 -1
- package/dist/commands/storybook.d.ts.map +1 -1
- package/dist/commands/storybook.js +6 -45
- package/dist/commands/storybookHandler.d.ts +1 -1
- package/dist/commands/storybookHandler.d.ts.map +1 -1
- package/dist/commands/storybookHandler.js +46 -76
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -32
- package/dist/types.js +0 -16
- package/package.json +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Argv } from 'yargs';
|
|
2
|
-
import type { StorybookYargsOptions } from '../types';
|
|
2
|
+
import type { StorybookYargsOptions } from '../types.js';
|
|
3
3
|
export declare const command = "storybook";
|
|
4
4
|
export declare const aliases: string[];
|
|
5
5
|
export declare const description = "Launch Storybook: a tool for building UI components and pages in isolation";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storybook.d.ts","sourceRoot":"","sources":["../../src/commands/storybook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"storybook.d.ts","sourceRoot":"","sources":["../../src/commands/storybook.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAExD,eAAO,MAAM,OAAO,cAAc,CAAA;AAClC,eAAO,MAAM,OAAO,UAAS,CAAA;AAC7B,eAAO,MAAM,WAAW,+EACsD,CAAA;AAE9E,eAAO,MAAM,cAAc,EAAE,qBAO5B,CAAA;AAED,wBAAgB,OAAO,CACrB,KAAK,EAAE,IAAI,CAAC,qBAAqB,CAAC,GACjC,IAAI,CAAC,qBAAqB,CAAC,CAwC7B;AAED,wBAAsB,OAAO,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgB3E"}
|
|
@@ -1,43 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var storybook_exports = {};
|
|
30
|
-
__export(storybook_exports, {
|
|
31
|
-
aliases: () => aliases,
|
|
32
|
-
builder: () => builder,
|
|
33
|
-
command: () => command,
|
|
34
|
-
defaultOptions: () => defaultOptions,
|
|
35
|
-
description: () => description,
|
|
36
|
-
handler: () => handler
|
|
37
|
-
});
|
|
38
|
-
module.exports = __toCommonJS(storybook_exports);
|
|
39
|
-
var import_termi_link = require("termi-link");
|
|
40
|
-
var import_cli_helpers = require("@cedarjs/cli-helpers");
|
|
1
|
+
import { terminalLink } from "termi-link";
|
|
2
|
+
import { recordTelemetryAttributes } from "@cedarjs/cli-helpers";
|
|
41
3
|
const command = "storybook";
|
|
42
4
|
const aliases = ["sb"];
|
|
43
5
|
const description = "Launch Storybook: a tool for building UI components and pages in isolation";
|
|
@@ -75,14 +37,14 @@ function builder(yargs) {
|
|
|
75
37
|
type: "boolean",
|
|
76
38
|
default: defaultOptions.smokeTest
|
|
77
39
|
}).epilogue(
|
|
78
|
-
`Also see the ${
|
|
40
|
+
`Also see the ${terminalLink(
|
|
79
41
|
"CedarJS CLI Reference",
|
|
80
42
|
"https://cedarjs.com/docs/cli-commands#storybook"
|
|
81
43
|
)}`
|
|
82
44
|
);
|
|
83
45
|
}
|
|
84
46
|
async function handler(options) {
|
|
85
|
-
|
|
47
|
+
recordTelemetryAttributes({
|
|
86
48
|
command: "storybook",
|
|
87
49
|
build: options.build,
|
|
88
50
|
ci: options.ci,
|
|
@@ -93,12 +55,11 @@ async function handler(options) {
|
|
|
93
55
|
const { handler: storybookHandler } = await import("./storybookHandler.js");
|
|
94
56
|
await storybookHandler(options);
|
|
95
57
|
}
|
|
96
|
-
|
|
97
|
-
0 && (module.exports = {
|
|
58
|
+
export {
|
|
98
59
|
aliases,
|
|
99
60
|
builder,
|
|
100
61
|
command,
|
|
101
62
|
defaultOptions,
|
|
102
63
|
description,
|
|
103
64
|
handler
|
|
104
|
-
}
|
|
65
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { StorybookYargsOptions } from '../types';
|
|
1
|
+
import type { StorybookYargsOptions } from '../types.js';
|
|
2
2
|
export declare function handler({ build, buildDirectory, ci, open, port, smokeTest, }: StorybookYargsOptions): Promise<void>;
|
|
3
3
|
//# sourceMappingURL=storybookHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storybookHandler.d.ts","sourceRoot":"","sources":["../../src/commands/storybookHandler.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"storybookHandler.d.ts","sourceRoot":"","sources":["../../src/commands/storybookHandler.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAkBxD,wBAAsB,OAAO,CAAC,EAC5B,KAAK,EACL,cAAc,EACd,EAAE,EACF,IAAI,EACJ,IAAI,EACJ,SAAS,GACV,EAAE,qBAAqB,iBA+IvB"}
|
|
@@ -1,55 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var storybookHandler_exports = {};
|
|
30
|
-
__export(storybookHandler_exports, {
|
|
31
|
-
handler: () => handler
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(storybookHandler_exports);
|
|
34
|
-
var import_node_fs = __toESM(require("node:fs"));
|
|
35
|
-
var import_node_path = __toESM(require("node:path"));
|
|
36
|
-
var import_node_process = __toESM(require("node:process"));
|
|
37
|
-
var import_execa = __toESM(require("execa"));
|
|
38
|
-
var import_semver = __toESM(require("semver"));
|
|
39
|
-
var import_cli_helpers = require("@cedarjs/cli-helpers");
|
|
40
|
-
var import_project_config = require("@cedarjs/project-config");
|
|
41
|
-
var import_telemetry = require("@cedarjs/telemetry");
|
|
42
|
-
const readFile = (target) => import_node_fs.default.readFileSync(target, { encoding: "utf8" });
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import process from "node:process";
|
|
4
|
+
import execa from "execa";
|
|
5
|
+
import semver from "semver";
|
|
6
|
+
import {
|
|
7
|
+
isTypeScriptProject,
|
|
8
|
+
transformTSToJS,
|
|
9
|
+
colors as c
|
|
10
|
+
} from "@cedarjs/cli-helpers";
|
|
11
|
+
import { getPaths } from "@cedarjs/project-config";
|
|
12
|
+
import { errorTelemetry } from "@cedarjs/telemetry";
|
|
13
|
+
const readFile = (target) => fs.readFileSync(target, { encoding: "utf8" });
|
|
43
14
|
const writeFile = (target, contents) => {
|
|
44
|
-
const { base } =
|
|
45
|
-
if (
|
|
15
|
+
const { base } = getPaths();
|
|
16
|
+
if (fs.existsSync(target)) {
|
|
46
17
|
throw new Error(`${target} already exists.`);
|
|
47
18
|
}
|
|
48
|
-
const filename =
|
|
19
|
+
const filename = path.basename(target);
|
|
49
20
|
const targetDir = target.replace(filename, "");
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
console.log(`Successfully wrote file \`./${
|
|
21
|
+
fs.mkdirSync(targetDir, { recursive: true });
|
|
22
|
+
fs.writeFileSync(target, contents);
|
|
23
|
+
console.log(`Successfully wrote file \`./${path.relative(base, target)}\``);
|
|
53
24
|
};
|
|
54
25
|
async function handler({
|
|
55
26
|
build,
|
|
@@ -60,7 +31,7 @@ async function handler({
|
|
|
60
31
|
smokeTest
|
|
61
32
|
}) {
|
|
62
33
|
console.log(
|
|
63
|
-
|
|
34
|
+
c.bold(
|
|
64
35
|
`
|
|
65
36
|
Please find documentation and links to provide feedback for this new command at:
|
|
66
37
|
-> https://community.redwoodjs.com/t/7212
|
|
@@ -68,8 +39,8 @@ Please find documentation and links to provide feedback for this new command at:
|
|
|
68
39
|
`
|
|
69
40
|
)
|
|
70
41
|
);
|
|
71
|
-
|
|
72
|
-
|
|
42
|
+
fs.rmSync(
|
|
43
|
+
path.join(getPaths().generated.types.includes, "web-storybook.d.ts"),
|
|
73
44
|
{ force: true }
|
|
74
45
|
);
|
|
75
46
|
if (build && smokeTest) {
|
|
@@ -77,38 +48,38 @@ Please find documentation and links to provide feedback for this new command at:
|
|
|
77
48
|
}
|
|
78
49
|
if (build && open) {
|
|
79
50
|
console.warn(
|
|
80
|
-
|
|
51
|
+
c.warning(
|
|
81
52
|
"Warning: --open option has no effect when running Storybook build"
|
|
82
53
|
)
|
|
83
54
|
);
|
|
84
55
|
}
|
|
85
|
-
const cwd =
|
|
86
|
-
const staticAssetsFolder =
|
|
56
|
+
const cwd = getPaths().web.base;
|
|
57
|
+
const staticAssetsFolder = path.join(cwd, "public");
|
|
87
58
|
const execaOptions = {
|
|
88
59
|
stdio: "inherit",
|
|
89
60
|
shell: true,
|
|
90
61
|
cwd
|
|
91
62
|
};
|
|
92
|
-
await
|
|
63
|
+
await execa.command(
|
|
93
64
|
`yarn msw init "${staticAssetsFolder}" --no-save`,
|
|
94
65
|
execaOptions
|
|
95
66
|
);
|
|
96
|
-
const usingTS =
|
|
67
|
+
const usingTS = isTypeScriptProject();
|
|
97
68
|
const mainFileName = usingTS ? "main.ts" : "main.js";
|
|
98
|
-
const cedarProjectPaths =
|
|
99
|
-
const storybookConfigPath =
|
|
69
|
+
const cedarProjectPaths = getPaths();
|
|
70
|
+
const storybookConfigPath = path.dirname(
|
|
100
71
|
`${cedarProjectPaths.web.storybook}/${mainFileName}`
|
|
101
72
|
);
|
|
102
|
-
const storybookMainFilePath =
|
|
103
|
-
const storybookPreviewBodyFilePath =
|
|
73
|
+
const storybookMainFilePath = path.join(storybookConfigPath, mainFileName);
|
|
74
|
+
const storybookPreviewBodyFilePath = path.join(
|
|
104
75
|
storybookConfigPath,
|
|
105
76
|
"preview-body.html"
|
|
106
77
|
);
|
|
107
|
-
if (!
|
|
108
|
-
const isTSProject =
|
|
78
|
+
if (!fs.existsSync(storybookMainFilePath)) {
|
|
79
|
+
const isTSProject = isTypeScriptProject();
|
|
109
80
|
console.log(`Storybook's ${mainFileName} not found. Creating it now...`);
|
|
110
|
-
const mainConfigTemplatePath =
|
|
111
|
-
|
|
81
|
+
const mainConfigTemplatePath = path.join(
|
|
82
|
+
import.meta.dirname,
|
|
112
83
|
"templates/main.ts.template"
|
|
113
84
|
// The template is TS, and we'll convert it to JS if needed
|
|
114
85
|
);
|
|
@@ -116,7 +87,7 @@ Please find documentation and links to provide feedback for this new command at:
|
|
|
116
87
|
if (isTSProject) {
|
|
117
88
|
writeFile(storybookMainFilePath, mainConfigContentTS);
|
|
118
89
|
} else {
|
|
119
|
-
const mainConfigContentJS = await
|
|
90
|
+
const mainConfigContentJS = await transformTSToJS(
|
|
120
91
|
storybookMainFilePath,
|
|
121
92
|
mainConfigContentTS
|
|
122
93
|
);
|
|
@@ -124,10 +95,10 @@ Please find documentation and links to provide feedback for this new command at:
|
|
|
124
95
|
}
|
|
125
96
|
console.log(`${mainFileName} created!`);
|
|
126
97
|
}
|
|
127
|
-
if (!
|
|
98
|
+
if (!fs.existsSync(storybookPreviewBodyFilePath)) {
|
|
128
99
|
console.log("Storybook's preview-body.html not found. Creating it now...");
|
|
129
|
-
const previewBodyTemplatePath =
|
|
130
|
-
|
|
100
|
+
const previewBodyTemplatePath = path.join(
|
|
101
|
+
import.meta.dirname,
|
|
131
102
|
"templates/preview-body.html.template"
|
|
132
103
|
);
|
|
133
104
|
const previewBodyConfigContent = readFile(previewBodyTemplatePath);
|
|
@@ -159,20 +130,19 @@ Please find documentation and links to provide feedback for this new command at:
|
|
|
159
130
|
].filter(Boolean).join(" ")}`;
|
|
160
131
|
}
|
|
161
132
|
const env = {};
|
|
162
|
-
if (
|
|
133
|
+
if (semver.parse(process.version) !== null && semver.lt(process.version, "22.0.0") && semver.gte(process.version, "20.19.0")) {
|
|
163
134
|
env.NODE_OPTIONS = "--no-experimental-require-module";
|
|
164
135
|
}
|
|
165
136
|
try {
|
|
166
|
-
await
|
|
137
|
+
await execa.command(command, { ...execaOptions, env });
|
|
167
138
|
} catch (e) {
|
|
168
139
|
if (e.signal !== "SIGINT") {
|
|
169
|
-
console.log(
|
|
170
|
-
|
|
140
|
+
console.log(c.error(e.message));
|
|
141
|
+
errorTelemetry(process.argv, e.message);
|
|
171
142
|
}
|
|
172
|
-
|
|
143
|
+
process.exit(e.exitCode ?? 1);
|
|
173
144
|
}
|
|
174
145
|
}
|
|
175
|
-
|
|
176
|
-
0 && (module.exports = {
|
|
146
|
+
export {
|
|
177
147
|
handler
|
|
178
|
-
}
|
|
148
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,OAAO,EACP,OAAO,EACR,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,OAAO,EACP,OAAO,EACR,MAAM,yBAAyB,CAAA;AAEhC,eAAO,MAAM,QAAQ;;;;;;GAQpB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,37 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var index_exports = {};
|
|
20
|
-
__export(index_exports, {
|
|
21
|
-
commands: () => commands
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(index_exports);
|
|
24
|
-
var import_storybook = require("./commands/storybook");
|
|
1
|
+
import {
|
|
2
|
+
command,
|
|
3
|
+
aliases,
|
|
4
|
+
description,
|
|
5
|
+
builder,
|
|
6
|
+
handler
|
|
7
|
+
} from "./commands/storybook.js";
|
|
25
8
|
const commands = [
|
|
26
9
|
{
|
|
27
|
-
command
|
|
28
|
-
aliases
|
|
29
|
-
description
|
|
30
|
-
builder
|
|
31
|
-
handler
|
|
10
|
+
command,
|
|
11
|
+
aliases,
|
|
12
|
+
description,
|
|
13
|
+
builder,
|
|
14
|
+
handler
|
|
32
15
|
}
|
|
33
16
|
];
|
|
34
|
-
|
|
35
|
-
0 && (module.exports = {
|
|
17
|
+
export {
|
|
36
18
|
commands
|
|
37
|
-
}
|
|
19
|
+
};
|
package/dist/types.js
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
var types_exports = {};
|
|
16
|
-
module.exports = __toCommonJS(types_exports);
|
package/package.json
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli-storybook-vite",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.7-next.186",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
7
7
|
"directory": "packages/cli-packages/storybook-vite"
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"type": "
|
|
10
|
+
"type": "module",
|
|
11
11
|
"main": "./dist/index.js",
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
|
-
"build": "node ./build.mts
|
|
17
|
+
"build": "node ./build.mts",
|
|
18
18
|
"build:pack": "yarn pack -o cedarjs-cli-storybook-vite.tgz",
|
|
19
|
-
"build:types": "tsc --build --verbose",
|
|
19
|
+
"build:types": "tsc --build --verbose ./tsconfig.build.json",
|
|
20
20
|
"build:watch": "nodemon --watch src --ext \"js,jsx,ts,tsx\" --ignore dist --exec \"yarn build\"",
|
|
21
21
|
"prepublishOnly": "NODE_ENV=production yarn build",
|
|
22
22
|
"test": "yarn test:unit",
|
|
23
23
|
"test:unit": "vitest run"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@cedarjs/cli-helpers": "5.0.
|
|
27
|
-
"@cedarjs/project-config": "5.0.
|
|
28
|
-
"@cedarjs/telemetry": "5.0.
|
|
26
|
+
"@cedarjs/cli-helpers": "5.0.7-next.186",
|
|
27
|
+
"@cedarjs/project-config": "5.0.7-next.186",
|
|
28
|
+
"@cedarjs/telemetry": "5.0.7-next.186",
|
|
29
29
|
"execa": "5.1.1",
|
|
30
30
|
"semver": "7.7.4",
|
|
31
31
|
"storybook": "8.6.18",
|
|
32
|
-
"storybook-framework-cedarjs": "5.0.
|
|
32
|
+
"storybook-framework-cedarjs": "5.0.7-next.186",
|
|
33
33
|
"termi-link": "1.1.0",
|
|
34
|
-
"vitest": "
|
|
34
|
+
"vitest": "4.1.10",
|
|
35
35
|
"yargs": "17.7.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@cedarjs/framework-tools": "5.0.
|
|
38
|
+
"@cedarjs/framework-tools": "5.0.7-next.186",
|
|
39
39
|
"@types/semver": "^7",
|
|
40
40
|
"@types/yargs": "17.0.35",
|
|
41
41
|
"typescript": "5.9.3"
|