@storybook/core-server 7.0.0-alpha.20 → 7.0.0-alpha.24
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.
|
@@ -176,20 +176,14 @@ var frameworkOptions = async function (_, options) {
|
|
|
176
176
|
var config = await options.presets.apply('framework');
|
|
177
177
|
|
|
178
178
|
if (typeof config === 'string') {
|
|
179
|
-
return {
|
|
180
|
-
name: config,
|
|
181
|
-
options: {}
|
|
182
|
-
};
|
|
179
|
+
return {};
|
|
183
180
|
}
|
|
184
181
|
|
|
185
182
|
if (typeof config === 'undefined') {
|
|
186
183
|
return null;
|
|
187
184
|
}
|
|
188
185
|
|
|
189
|
-
return
|
|
190
|
-
name: config.name,
|
|
191
|
-
options: config.options
|
|
192
|
-
};
|
|
186
|
+
return config.options;
|
|
193
187
|
};
|
|
194
188
|
|
|
195
189
|
exports.frameworkOptions = frameworkOptions;
|
|
@@ -126,20 +126,14 @@ export var frameworkOptions = async function (_, options) {
|
|
|
126
126
|
var config = await options.presets.apply('framework');
|
|
127
127
|
|
|
128
128
|
if (typeof config === 'string') {
|
|
129
|
-
return {
|
|
130
|
-
name: config,
|
|
131
|
-
options: {}
|
|
132
|
-
};
|
|
129
|
+
return {};
|
|
133
130
|
}
|
|
134
131
|
|
|
135
132
|
if (typeof config === 'undefined') {
|
|
136
133
|
return null;
|
|
137
134
|
}
|
|
138
135
|
|
|
139
|
-
return
|
|
140
|
-
name: config.name,
|
|
141
|
-
options: config.options
|
|
142
|
-
};
|
|
136
|
+
return config.options;
|
|
143
137
|
};
|
|
144
138
|
export var docs = function (docsOptions, {
|
|
145
139
|
docs: docsMode
|
|
@@ -28,5 +28,5 @@ export declare const core: (existing: CoreConfig, options: Options) => Promise<C
|
|
|
28
28
|
export declare const config: (base: any, options: Options) => Promise<any[]>;
|
|
29
29
|
export declare const features: (existing: StorybookConfig['features']) => Promise<StorybookConfig['features']>;
|
|
30
30
|
export declare const storyIndexers: (indexers?: StoryIndexer[]) => Promise<StoryIndexer[]>;
|
|
31
|
-
export declare const frameworkOptions: (_: never, options: Options) => Promise<
|
|
31
|
+
export declare const frameworkOptions: (_: never, options: Options) => Promise<Record<string, any> | null>;
|
|
32
32
|
export declare const docs: (docsOptions: StorybookConfig['docs'], { docs: docsMode }: CLIOptions) => StorybookConfig['docs'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/core-server",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.24",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@aw-web-design/x-default-browser": "1.4.88",
|
|
37
37
|
"@discoveryjs/json-ext": "^0.5.3",
|
|
38
|
-
"@storybook/builder-manager": "7.0.0-alpha.
|
|
39
|
-
"@storybook/core-client": "7.0.0-alpha.
|
|
40
|
-
"@storybook/core-common": "7.0.0-alpha.
|
|
41
|
-
"@storybook/core-events": "7.0.0-alpha.
|
|
38
|
+
"@storybook/builder-manager": "7.0.0-alpha.24",
|
|
39
|
+
"@storybook/core-client": "7.0.0-alpha.24",
|
|
40
|
+
"@storybook/core-common": "7.0.0-alpha.24",
|
|
41
|
+
"@storybook/core-events": "7.0.0-alpha.24",
|
|
42
42
|
"@storybook/csf": "0.0.2--canary.0899bb7.0",
|
|
43
|
-
"@storybook/csf-tools": "7.0.0-alpha.
|
|
43
|
+
"@storybook/csf-tools": "7.0.0-alpha.24",
|
|
44
44
|
"@storybook/docs-mdx": "0.0.1-canary.12433cf.0",
|
|
45
|
-
"@storybook/node-logger": "7.0.0-alpha.
|
|
45
|
+
"@storybook/node-logger": "7.0.0-alpha.24",
|
|
46
46
|
"@storybook/semver": "^7.3.2",
|
|
47
|
-
"@storybook/store": "7.0.0-alpha.
|
|
48
|
-
"@storybook/telemetry": "7.0.0-alpha.
|
|
47
|
+
"@storybook/store": "7.0.0-alpha.24",
|
|
48
|
+
"@storybook/telemetry": "7.0.0-alpha.24",
|
|
49
49
|
"@types/node": "^14.0.10 || ^16.0.0",
|
|
50
50
|
"@types/node-fetch": "^2.5.7",
|
|
51
51
|
"@types/pretty-hrtime": "^1.0.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"ws": "^8.2.3"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@storybook/builder-webpack5": "7.0.0-alpha.
|
|
80
|
+
"@storybook/builder-webpack5": "7.0.0-alpha.24",
|
|
81
81
|
"@types/compression": "^1.7.0",
|
|
82
82
|
"@types/ip": "^1.1.0",
|
|
83
83
|
"@types/serve-favicon": "^2.5.2",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"publishConfig": {
|
|
102
102
|
"access": "public"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "e3232cb426b8381afa48f42e6baa45fd9af9bc3a"
|
|
105
105
|
}
|