@storybook/addon-docs 6.5.0-alpha.41 → 6.5.0-alpha.42

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.
@@ -132,7 +132,7 @@ function _webpack() {
132
132
  builder = _yield$options$preset2 === void 0 ? 'webpack4' : _yield$options$preset2;
133
133
  builderName = typeof builder === 'string' ? builder : builder.name;
134
134
  resolvedBabelLoader = require.resolve('babel-loader', {
135
- paths: builderName.match(/(webpack4|webpack5)/) ? [require.resolve("@storybook/builder-".concat(builder))] : [builderName]
135
+ paths: builderName.match(/^webpack(4|5)$/) ? [require.resolve("@storybook/builder-".concat(builderName))] : [builderName]
136
136
  });
137
137
  _webpackConfig$module = webpackConfig.module, module = _webpackConfig$module === void 0 ? {} : _webpackConfig$module; // it will reuse babel options that are already in use in storybook
138
138
  // also, these babel options are chained with other presets.
@@ -104,7 +104,7 @@ function _webpack() {
104
104
  builder = _yield$options$preset2 === void 0 ? 'webpack4' : _yield$options$preset2;
105
105
  builderName = typeof builder === 'string' ? builder : builder.name;
106
106
  resolvedBabelLoader = require.resolve('babel-loader', {
107
- paths: builderName.match(/(webpack4|webpack5)/) ? [require.resolve("@storybook/builder-".concat(builder))] : [builderName]
107
+ paths: builderName.match(/^webpack(4|5)$/) ? [require.resolve("@storybook/builder-".concat(builderName))] : [builderName]
108
108
  });
109
109
  _webpackConfig$module = webpackConfig.module, module = _webpackConfig$module === void 0 ? {} : _webpackConfig$module; // it will reuse babel options that are already in use in storybook
110
110
  // also, these babel options are chained with other presets.
@@ -31,7 +31,7 @@ export async function webpack(webpackConfig = {}, options) {
31
31
  const builderName = typeof builder === 'string' ? builder : builder.name;
32
32
 
33
33
  const resolvedBabelLoader = require.resolve('babel-loader', {
34
- paths: builderName.match(/(webpack4|webpack5)/) ? [require.resolve(`@storybook/builder-${builder}`)] : [builderName]
34
+ paths: builderName.match(/^webpack(4|5)$/) ? [require.resolve(`@storybook/builder-${builderName}`)] : [builderName]
35
35
  });
36
36
 
37
37
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-docs",
3
- "version": "6.5.0-alpha.41",
3
+ "version": "6.5.0-alpha.42",
4
4
  "description": "Document component usage and properties in Markdown",
5
5
  "keywords": [
6
6
  "addon",
@@ -64,21 +64,21 @@
64
64
  "@mdx-js/loader": "^1.6.22",
65
65
  "@mdx-js/mdx": "^1.6.22",
66
66
  "@mdx-js/react": "^1.6.22",
67
- "@storybook/addons": "6.5.0-alpha.41",
68
- "@storybook/api": "6.5.0-alpha.41",
69
- "@storybook/builder-webpack4": "6.5.0-alpha.41",
70
- "@storybook/client-logger": "6.5.0-alpha.41",
71
- "@storybook/components": "6.5.0-alpha.41",
72
- "@storybook/core": "6.5.0-alpha.41",
73
- "@storybook/core-events": "6.5.0-alpha.41",
67
+ "@storybook/addons": "6.5.0-alpha.42",
68
+ "@storybook/api": "6.5.0-alpha.42",
69
+ "@storybook/builder-webpack4": "6.5.0-alpha.42",
70
+ "@storybook/client-logger": "6.5.0-alpha.42",
71
+ "@storybook/components": "6.5.0-alpha.42",
72
+ "@storybook/core": "6.5.0-alpha.42",
73
+ "@storybook/core-events": "6.5.0-alpha.42",
74
74
  "@storybook/csf": "0.0.2--canary.87bc651.0",
75
- "@storybook/csf-tools": "6.5.0-alpha.41",
76
- "@storybook/node-logger": "6.5.0-alpha.41",
77
- "@storybook/postinstall": "6.5.0-alpha.41",
78
- "@storybook/preview-web": "6.5.0-alpha.41",
79
- "@storybook/source-loader": "6.5.0-alpha.41",
80
- "@storybook/store": "6.5.0-alpha.41",
81
- "@storybook/theming": "6.5.0-alpha.41",
75
+ "@storybook/csf-tools": "6.5.0-alpha.42",
76
+ "@storybook/node-logger": "6.5.0-alpha.42",
77
+ "@storybook/postinstall": "6.5.0-alpha.42",
78
+ "@storybook/preview-web": "6.5.0-alpha.42",
79
+ "@storybook/source-loader": "6.5.0-alpha.42",
80
+ "@storybook/store": "6.5.0-alpha.42",
81
+ "@storybook/theming": "6.5.0-alpha.42",
82
82
  "acorn": "^7.4.1",
83
83
  "acorn-jsx": "^5.3.1",
84
84
  "acorn-walk": "^7.2.0",
@@ -107,11 +107,11 @@
107
107
  "@babel/core": "^7.12.10",
108
108
  "@emotion/core": "^10.3.1",
109
109
  "@emotion/styled": "^10.0.27",
110
- "@storybook/angular": "6.5.0-alpha.41",
111
- "@storybook/html": "6.5.0-alpha.41",
112
- "@storybook/react": "6.5.0-alpha.41",
113
- "@storybook/vue": "6.5.0-alpha.41",
114
- "@storybook/web-components": "6.5.0-alpha.41",
110
+ "@storybook/angular": "6.5.0-alpha.42",
111
+ "@storybook/html": "6.5.0-alpha.42",
112
+ "@storybook/react": "6.5.0-alpha.42",
113
+ "@storybook/vue": "6.5.0-alpha.42",
114
+ "@storybook/web-components": "6.5.0-alpha.42",
115
115
  "@types/cross-spawn": "^6.0.2",
116
116
  "@types/doctrine": "^0.0.3",
117
117
  "@types/enzyme": "^3.10.8",
@@ -199,7 +199,7 @@
199
199
  "publishConfig": {
200
200
  "access": "public"
201
201
  },
202
- "gitHead": "10663a4c9ea6c04a04047b5bb22254d6b64201c2",
202
+ "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
203
203
  "sbmodern": "dist/modern/index.js",
204
204
  "storybook": {
205
205
  "displayName": "Docs",