@storybook/core-server 6.5.0-alpha.24 → 6.5.0-alpha.25
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/cjs/build-static.js +1 -1
- package/dist/cjs/utils/server-statics.js +1 -1
- package/dist/esm/build-static.js +1 -1
- package/dist/esm/utils/server-statics.js +1 -1
- package/dist/modern/build-static.js +1 -1
- package/dist/modern/utils/server-statics.js +1 -1
- package/package.json +14 -15
- package/{dist/cjs/public → public}/favicon.ico +0 -0
- package/dist/cjs/utils/__mockdata__/src/nested/Page.mdx +0 -1
- package/dist/cjs/utils/__mockdata__/src/nested/Page.stories.mdx +0 -5
- package/dist/esm/public/favicon.ico +0 -0
- package/dist/esm/utils/__mockdata__/src/nested/Page.mdx +0 -1
- package/dist/esm/utils/__mockdata__/src/nested/Page.stories.mdx +0 -5
- package/dist/modern/public/favicon.ico +0 -0
- package/dist/modern/utils/__mockdata__/src/nested/Page.mdx +0 -1
- package/dist/modern/utils/__mockdata__/src/nested/Page.stories.mdx +0 -5
package/dist/cjs/build-static.js
CHANGED
|
@@ -84,7 +84,7 @@ async function buildStaticStandalone(options) {
|
|
|
84
84
|
options.configDir = _path.default.resolve(options.configDir);
|
|
85
85
|
/* eslint-enable no-param-reassign */
|
|
86
86
|
|
|
87
|
-
var defaultFavIcon = require.resolve('
|
|
87
|
+
var defaultFavIcon = require.resolve('@storybook/core-server/public/favicon.ico');
|
|
88
88
|
|
|
89
89
|
_nodeLogger.logger.info((0, _chalk.default)`=> Cleaning outputDir: {cyan ${options.outputDir}}`);
|
|
90
90
|
|
|
@@ -40,7 +40,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
40
40
|
|
|
41
41
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
42
42
|
|
|
43
|
-
var defaultFavIcon = require.resolve('
|
|
43
|
+
var defaultFavIcon = require.resolve('@storybook/core-server/public/favicon.ico');
|
|
44
44
|
|
|
45
45
|
async function useStatics(router, options) {
|
|
46
46
|
var hasCustomFavicon = false;
|
package/dist/esm/build-static.js
CHANGED
|
@@ -55,7 +55,7 @@ export async function buildStaticStandalone(options) {
|
|
|
55
55
|
options.configDir = path.resolve(options.configDir);
|
|
56
56
|
/* eslint-enable no-param-reassign */
|
|
57
57
|
|
|
58
|
-
var defaultFavIcon = require.resolve('
|
|
58
|
+
var defaultFavIcon = require.resolve('@storybook/core-server/public/favicon.ico');
|
|
59
59
|
|
|
60
60
|
logger.info(chalk`=> Cleaning outputDir: {cyan ${options.outputDir}}`);
|
|
61
61
|
|
|
@@ -21,7 +21,7 @@ import path from 'path';
|
|
|
21
21
|
import favicon from 'serve-favicon';
|
|
22
22
|
import dedent from 'ts-dedent';
|
|
23
23
|
|
|
24
|
-
var defaultFavIcon = require.resolve('
|
|
24
|
+
var defaultFavIcon = require.resolve('@storybook/core-server/public/favicon.ico');
|
|
25
25
|
|
|
26
26
|
export async function useStatics(router, options) {
|
|
27
27
|
var hasCustomFavicon = false;
|
|
@@ -55,7 +55,7 @@ export async function buildStaticStandalone(options) {
|
|
|
55
55
|
options.configDir = path.resolve(options.configDir);
|
|
56
56
|
/* eslint-enable no-param-reassign */
|
|
57
57
|
|
|
58
|
-
var defaultFavIcon = require.resolve('
|
|
58
|
+
var defaultFavIcon = require.resolve('@storybook/core-server/public/favicon.ico');
|
|
59
59
|
|
|
60
60
|
logger.info(chalk`=> Cleaning outputDir: {cyan ${options.outputDir}}`);
|
|
61
61
|
|
|
@@ -21,7 +21,7 @@ import path from 'path';
|
|
|
21
21
|
import favicon from 'serve-favicon';
|
|
22
22
|
import dedent from 'ts-dedent';
|
|
23
23
|
|
|
24
|
-
var defaultFavIcon = require.resolve('
|
|
24
|
+
var defaultFavIcon = require.resolve('@storybook/core-server/public/favicon.ico');
|
|
25
25
|
|
|
26
26
|
export async function useStatics(router, options) {
|
|
27
27
|
var hasCustomFavicon = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/core-server",
|
|
3
|
-
"version": "6.5.0-alpha.
|
|
3
|
+
"version": "6.5.0-alpha.25",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -31,8 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"dist/**/*",
|
|
34
|
-
"
|
|
35
|
-
"types/**/*",
|
|
34
|
+
"public/**/*",
|
|
36
35
|
"*.js",
|
|
37
36
|
"*.d.ts"
|
|
38
37
|
],
|
|
@@ -41,16 +40,16 @@
|
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
42
|
"@discoveryjs/json-ext": "^0.5.3",
|
|
44
|
-
"@storybook/builder-webpack4": "6.5.0-alpha.
|
|
45
|
-
"@storybook/core-client": "6.5.0-alpha.
|
|
46
|
-
"@storybook/core-common": "6.5.0-alpha.
|
|
47
|
-
"@storybook/core-events": "6.5.0-alpha.
|
|
43
|
+
"@storybook/builder-webpack4": "6.5.0-alpha.25",
|
|
44
|
+
"@storybook/core-client": "6.5.0-alpha.25",
|
|
45
|
+
"@storybook/core-common": "6.5.0-alpha.25",
|
|
46
|
+
"@storybook/core-events": "6.5.0-alpha.25",
|
|
48
47
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
49
|
-
"@storybook/csf-tools": "6.5.0-alpha.
|
|
50
|
-
"@storybook/manager-webpack4": "6.5.0-alpha.
|
|
51
|
-
"@storybook/node-logger": "6.5.0-alpha.
|
|
48
|
+
"@storybook/csf-tools": "6.5.0-alpha.25",
|
|
49
|
+
"@storybook/manager-webpack4": "6.5.0-alpha.25",
|
|
50
|
+
"@storybook/node-logger": "6.5.0-alpha.25",
|
|
52
51
|
"@storybook/semver": "^7.3.2",
|
|
53
|
-
"@storybook/store": "6.5.0-alpha.
|
|
52
|
+
"@storybook/store": "6.5.0-alpha.25",
|
|
54
53
|
"@types/node": "^14.0.10 || ^16.0.0",
|
|
55
54
|
"@types/node-fetch": "^2.5.7",
|
|
56
55
|
"@types/pretty-hrtime": "^1.0.0",
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
"x-default-browser": "^0.4.0"
|
|
87
86
|
},
|
|
88
87
|
"devDependencies": {
|
|
89
|
-
"@storybook/builder-webpack5": "6.5.0-alpha.
|
|
88
|
+
"@storybook/builder-webpack5": "6.5.0-alpha.25",
|
|
90
89
|
"@types/compression": "^1.7.0",
|
|
91
90
|
"@types/ip": "^1.1.0",
|
|
92
91
|
"@types/serve-favicon": "^2.5.2",
|
|
@@ -94,8 +93,8 @@
|
|
|
94
93
|
"jest-specific-snapshot": "^4.0.0"
|
|
95
94
|
},
|
|
96
95
|
"peerDependencies": {
|
|
97
|
-
"@storybook/builder-webpack5": "6.5.0-alpha.
|
|
98
|
-
"@storybook/manager-webpack5": "6.5.0-alpha.
|
|
96
|
+
"@storybook/builder-webpack5": "6.5.0-alpha.25",
|
|
97
|
+
"@storybook/manager-webpack5": "6.5.0-alpha.25",
|
|
99
98
|
"react": "^16.8.0 || ^17.0.0",
|
|
100
99
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
101
100
|
},
|
|
@@ -113,6 +112,6 @@
|
|
|
113
112
|
"publishConfig": {
|
|
114
113
|
"access": "public"
|
|
115
114
|
},
|
|
116
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "25ed23c17e07452af0dbd34665eb9a6dfdac526c",
|
|
117
116
|
"sbmodern": "dist/modern/index.js"
|
|
118
117
|
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<h1>Some MDX</h1>
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<h1>Some MDX</h1>
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<h1>Some MDX</h1>
|