@storybook/core-common 6.4.0-beta.31 → 6.4.0-beta.32

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,16 +2,16 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <title><%= options.title || 'Storybook'%></title>
5
+ <title><%= htmlWebpackPlugin.options.title || 'Storybook'%></title>
6
6
 
7
- <% if (files.favicon) { %>
8
- <link rel="shortcut icon" href="<%= files.favicon%>" />
7
+ <% if (htmlWebpackPlugin.files.favicon) { %>
8
+ <link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>" />
9
9
  <% } %>
10
10
 
11
11
  <meta name="viewport" content="width=device-width, initial-scale=1" />
12
12
 
13
13
  <% if (typeof headHtmlSnippet !== 'undefined') { %> <%= headHtmlSnippet %> <% } %> <%
14
- files.css.forEach(file => { %>
14
+ htmlWebpackPlugin.files.css.forEach(file => { %>
15
15
  <link href="<%= file %>" rel="stylesheet" />
16
16
  <% }); %>
17
17
 
@@ -23,25 +23,21 @@
23
23
  </style>
24
24
  </head>
25
25
  <body>
26
- <% if (typeof bodyHtmlSnippet !== 'undefined') { %>
27
- <%= bodyHtmlSnippet %>
28
- <% } %>
26
+ <% if (typeof bodyHtmlSnippet !== 'undefined') { %> <%= bodyHtmlSnippet %> <% } %>
29
27
 
30
28
  <div id="root"></div>
31
29
  <div id="docs-root"></div>
32
30
 
33
31
  <% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %>
34
- <script>
35
- <% for (var varName in globals) { %>
36
- <% if (globals[varName] != undefined) { %>
37
- window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
38
- <% } %>
39
- <% } %>
40
- </script>
41
- <% } %>
42
-
43
- <% files.js.forEach(file => { %>
44
- <script src="<%= file %>"></script>
32
+ <script>
33
+ <% for (var varName in globals) { %>
34
+ <% if (globals[varName] != undefined) { %>
35
+ window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
36
+ <% } %>
37
+ <% } %>
38
+ </script>
39
+ <% } %> <% htmlWebpackPlugin.files.js.forEach(file => { %>
40
+ <script src="<%= file %>"></script>
45
41
  <% }); %>
46
42
  </body>
47
43
  </html>
@@ -2,16 +2,16 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <title><%= options.title || 'Storybook'%></title>
5
+ <title><%= htmlWebpackPlugin.options.title || 'Storybook'%></title>
6
6
 
7
- <% if (files.favicon) { %>
8
- <link rel="shortcut icon" href="<%= files.favicon%>" />
7
+ <% if (htmlWebpackPlugin.files.favicon) { %>
8
+ <link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>" />
9
9
  <% } %>
10
10
 
11
11
  <meta name="viewport" content="width=device-width, initial-scale=1" />
12
12
 
13
13
  <% if (typeof headHtmlSnippet !== 'undefined') { %> <%= headHtmlSnippet %> <% } %> <%
14
- files.css.forEach(file => { %>
14
+ htmlWebpackPlugin.files.css.forEach(file => { %>
15
15
  <link href="<%= file %>" rel="stylesheet" />
16
16
  <% }); %>
17
17
 
@@ -23,25 +23,21 @@
23
23
  </style>
24
24
  </head>
25
25
  <body>
26
- <% if (typeof bodyHtmlSnippet !== 'undefined') { %>
27
- <%= bodyHtmlSnippet %>
28
- <% } %>
26
+ <% if (typeof bodyHtmlSnippet !== 'undefined') { %> <%= bodyHtmlSnippet %> <% } %>
29
27
 
30
28
  <div id="root"></div>
31
29
  <div id="docs-root"></div>
32
30
 
33
31
  <% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %>
34
- <script>
35
- <% for (var varName in globals) { %>
36
- <% if (globals[varName] != undefined) { %>
37
- window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
38
- <% } %>
39
- <% } %>
40
- </script>
41
- <% } %>
42
-
43
- <% files.js.forEach(file => { %>
44
- <script src="<%= file %>"></script>
32
+ <script>
33
+ <% for (var varName in globals) { %>
34
+ <% if (globals[varName] != undefined) { %>
35
+ window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
36
+ <% } %>
37
+ <% } %>
38
+ </script>
39
+ <% } %> <% htmlWebpackPlugin.files.js.forEach(file => { %>
40
+ <script src="<%= file %>"></script>
45
41
  <% }); %>
46
42
  </body>
47
43
  </html>
@@ -2,16 +2,16 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <title><%= options.title || 'Storybook'%></title>
5
+ <title><%= htmlWebpackPlugin.options.title || 'Storybook'%></title>
6
6
 
7
- <% if (files.favicon) { %>
8
- <link rel="shortcut icon" href="<%= files.favicon%>" />
7
+ <% if (htmlWebpackPlugin.files.favicon) { %>
8
+ <link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>" />
9
9
  <% } %>
10
10
 
11
11
  <meta name="viewport" content="width=device-width, initial-scale=1" />
12
12
 
13
13
  <% if (typeof headHtmlSnippet !== 'undefined') { %> <%= headHtmlSnippet %> <% } %> <%
14
- files.css.forEach(file => { %>
14
+ htmlWebpackPlugin.files.css.forEach(file => { %>
15
15
  <link href="<%= file %>" rel="stylesheet" />
16
16
  <% }); %>
17
17
 
@@ -23,25 +23,21 @@
23
23
  </style>
24
24
  </head>
25
25
  <body>
26
- <% if (typeof bodyHtmlSnippet !== 'undefined') { %>
27
- <%= bodyHtmlSnippet %>
28
- <% } %>
26
+ <% if (typeof bodyHtmlSnippet !== 'undefined') { %> <%= bodyHtmlSnippet %> <% } %>
29
27
 
30
28
  <div id="root"></div>
31
29
  <div id="docs-root"></div>
32
30
 
33
31
  <% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %>
34
- <script>
35
- <% for (var varName in globals) { %>
36
- <% if (globals[varName] != undefined) { %>
37
- window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
38
- <% } %>
39
- <% } %>
40
- </script>
41
- <% } %>
42
-
43
- <% files.js.forEach(file => { %>
44
- <script src="<%= file %>"></script>
32
+ <script>
33
+ <% for (var varName in globals) { %>
34
+ <% if (globals[varName] != undefined) { %>
35
+ window['<%=varName%>'] = <%= JSON.stringify(globals[varName]) %>;
36
+ <% } %>
37
+ <% } %>
38
+ </script>
39
+ <% } %> <% htmlWebpackPlugin.files.js.forEach(file => { %>
40
+ <script src="<%= file %>"></script>
45
41
  <% }); %>
46
42
  </body>
47
43
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/core-common",
3
- "version": "6.4.0-beta.31",
3
+ "version": "6.4.0-beta.32",
4
4
  "description": "Storybook framework-agnostic API",
5
5
  "keywords": [
6
6
  "storybook"
@@ -61,7 +61,7 @@
61
61
  "@babel/preset-react": "^7.12.10",
62
62
  "@babel/preset-typescript": "^7.12.7",
63
63
  "@babel/register": "^7.12.1",
64
- "@storybook/node-logger": "6.4.0-beta.31",
64
+ "@storybook/node-logger": "6.4.0-beta.32",
65
65
  "@storybook/semver": "^7.3.2",
66
66
  "@types/node": "^14.0.10",
67
67
  "@types/pretty-hrtime": "^1.0.0",
@@ -110,6 +110,6 @@
110
110
  "publishConfig": {
111
111
  "access": "public"
112
112
  },
113
- "gitHead": "17ef07b50965ad82f3c6a5f7442211bb8f140267",
113
+ "gitHead": "0f99f609b55928e48cca7c57f6e343d079bb94dd",
114
114
  "sbmodern": "dist/modern/index.js"
115
115
  }