@storybook/preact 6.5.0-alpha.52 → 6.5.0-alpha.55
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/server/framework-preset-preact.js +3 -3
- package/dist/esm/server/framework-preset-preact.js +1 -1
- package/dist/modern/server/framework-preset-preact.js +1 -1
- package/dist/ts3.4/server/framework-preset-preact.d.ts +1 -1
- package/dist/ts3.9/server/framework-preset-preact.d.ts +1 -1
- package/package.json +11 -10
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.babelDefault = babelDefault;
|
7
|
-
exports.
|
7
|
+
exports.previewAnnotations = void 0;
|
8
8
|
exports.webpackFinal = webpackFinal;
|
9
9
|
|
10
10
|
var _path = _interopRequireDefault(require("path"));
|
@@ -39,8 +39,8 @@ function webpackFinal(config) {
|
|
39
39
|
});
|
40
40
|
}
|
41
41
|
|
42
|
-
var
|
42
|
+
var previewAnnotations = function (entry = []) {
|
43
43
|
return [...entry, (0, _coreCommon.findDistEsm)(__dirname, 'client/preview/config')];
|
44
44
|
};
|
45
45
|
|
46
|
-
exports.
|
46
|
+
exports.previewAnnotations = previewAnnotations;
|
@@ -3,4 +3,4 @@ import { Configuration } from 'webpack';
|
|
3
3
|
import { StorybookConfig } from '@storybook/core-common';
|
4
4
|
export declare function babelDefault(config: TransformOptions): TransformOptions;
|
5
5
|
export declare function webpackFinal(config: Configuration): Configuration;
|
6
|
-
export declare const
|
6
|
+
export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
|
@@ -3,4 +3,4 @@ import type { Configuration } from 'webpack';
|
|
3
3
|
import type { StorybookConfig } from '@storybook/core-common';
|
4
4
|
export declare function babelDefault(config: TransformOptions): TransformOptions;
|
5
5
|
export declare function webpackFinal(config: Configuration): Configuration;
|
6
|
-
export declare const
|
6
|
+
export declare const previewAnnotations: StorybookConfig['previewAnnotations'];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/preact",
|
3
|
-
"version": "6.5.0-alpha.
|
3
|
+
"version": "6.5.0-alpha.55",
|
4
4
|
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -46,11 +46,11 @@
|
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
48
|
"@babel/plugin-transform-react-jsx": "^7.12.12",
|
49
|
-
"@storybook/addons": "6.5.0-alpha.
|
50
|
-
"@storybook/core": "6.5.0-alpha.
|
51
|
-
"@storybook/core-common": "6.5.0-alpha.
|
49
|
+
"@storybook/addons": "6.5.0-alpha.55",
|
50
|
+
"@storybook/core": "6.5.0-alpha.55",
|
51
|
+
"@storybook/core-common": "6.5.0-alpha.55",
|
52
52
|
"@storybook/csf": "0.0.2--canary.507502b.0",
|
53
|
-
"@storybook/store": "6.5.0-alpha.
|
53
|
+
"@storybook/store": "6.5.0-alpha.55",
|
54
54
|
"@types/node": "^14.14.20 || ^16.0.0",
|
55
55
|
"@types/webpack-env": "^1.16.0",
|
56
56
|
"core-js": "^3.8.2",
|
@@ -59,15 +59,16 @@
|
|
59
59
|
"react-dom": "16.14.0",
|
60
60
|
"read-pkg-up": "^7.0.1",
|
61
61
|
"regenerator-runtime": "^0.13.7",
|
62
|
-
"ts-dedent": "^2.0.0"
|
62
|
+
"ts-dedent": "^2.0.0",
|
63
|
+
"webpack": ">=4.0.0 <6.0.0"
|
63
64
|
},
|
64
65
|
"devDependencies": {
|
65
|
-
"preact": "^10.5.13"
|
66
|
+
"preact": "^10.5.13",
|
67
|
+
"webpack": "4"
|
66
68
|
},
|
67
69
|
"peerDependencies": {
|
68
70
|
"@babel/core": "*",
|
69
|
-
"preact": "^8.0.0||^10.0.0"
|
70
|
-
"webpack": "*"
|
71
|
+
"preact": "^8.0.0||^10.0.0"
|
71
72
|
},
|
72
73
|
"engines": {
|
73
74
|
"node": ">=10.13.0"
|
@@ -75,6 +76,6 @@
|
|
75
76
|
"publishConfig": {
|
76
77
|
"access": "public"
|
77
78
|
},
|
78
|
-
"gitHead": "
|
79
|
+
"gitHead": "0d051c3d8efb90e15d8734e6e6914b2439420953",
|
79
80
|
"sbmodern": "dist/modern/client/index.js"
|
80
81
|
}
|