@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.
@@ -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('./public/favicon.ico');
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('../public/favicon.ico');
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;
@@ -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('./public/favicon.ico');
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('../public/favicon.ico');
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('./public/favicon.ico');
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('../public/favicon.ico');
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.24",
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
- "dll/**/*",
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.24",
45
- "@storybook/core-client": "6.5.0-alpha.24",
46
- "@storybook/core-common": "6.5.0-alpha.24",
47
- "@storybook/core-events": "6.5.0-alpha.24",
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.24",
50
- "@storybook/manager-webpack4": "6.5.0-alpha.24",
51
- "@storybook/node-logger": "6.5.0-alpha.24",
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.24",
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.24",
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.24",
98
- "@storybook/manager-webpack5": "6.5.0-alpha.24",
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": "9630a513a02d0faaa812d0761db396468cf8f3ca",
115
+ "gitHead": "25ed23c17e07452af0dbd34665eb9a6dfdac526c",
117
116
  "sbmodern": "dist/modern/index.js"
118
117
  }
File without changes
@@ -1 +0,0 @@
1
- <h1>Some MDX</h1>
@@ -1,5 +0,0 @@
1
- import { Meta, Story } from '@storybook/addon-docs';
2
-
3
- <Meta component={{}} />;
4
-
5
- <Story name="StoryOne" />
Binary file
@@ -1 +0,0 @@
1
- <h1>Some MDX</h1>
@@ -1,5 +0,0 @@
1
- import { Meta, Story } from '@storybook/addon-docs';
2
-
3
- <Meta component={{}} />;
4
-
5
- <Story name="StoryOne" />
Binary file
@@ -1 +0,0 @@
1
- <h1>Some MDX</h1>
@@ -1,5 +0,0 @@
1
- import { Meta, Story } from '@storybook/addon-docs';
2
-
3
- <Meta component={{}} />;
4
-
5
- <Story name="StoryOne" />