@storybook/react-webpack5 7.0.0-alpha.12 → 7.0.0-alpha.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +1 -1
- package/dist/preset.d.ts +4 -0
- package/dist/preset.js +1 -1
- package/dist/preset.mjs +1 -1
- package/package.json +6 -7
- package/LICENSE +0 -21
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var
|
1
|
+
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(r,o,m,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==m&&a(r,e,{get:()=>o[e],enumerable:!(x=b(o,e))||x.enumerable});return r},p=(r,o,m)=>(t(r,o,"default"),m&&t(m,o,"default"));var g=r=>t(a({},"__esModule",{value:!0}),r);var f={};module.exports=g(f);p(f,require("@storybook/react"),module.exports);
|
package/dist/preset.d.ts
CHANGED
@@ -237,6 +237,10 @@ declare type DocsOptions = {
|
|
237
237
|
* Should we generate a docs entry per CSF file?
|
238
238
|
*/
|
239
239
|
docsPage?: boolean;
|
240
|
+
/**
|
241
|
+
* Only show doc entries in the side bar (usually set with the `--docs` CLI flag)
|
242
|
+
*/
|
243
|
+
docsMode?: boolean;
|
240
244
|
};
|
241
245
|
/**
|
242
246
|
* The interface for Storybook configuration in `main.ts` files.
|
package/dist/preset.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var
|
1
|
+
"use strict";var i=Object.create;var a=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty;var m=(o,e)=>{for(var r in e)a(o,r,{get:e[r],enumerable:!0})},n=(o,e,r,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of y(e))!c.call(o,s)&&s!==r&&a(o,s,{get:()=>e[s],enumerable:!(p=k(e,s))||p.enumerable});return o};var l=(o,e,r)=>(r=o!=null?i(b(o)):{},n(e||!o||!o.__esModule?a(r,"default",{value:o,enumerable:!0}):r,o)),d=o=>n(a({},"__esModule",{value:!0}),o);var j={};m(j,{addons:()=>u,core:()=>w,webpack:()=>f});module.exports=d(j);var t=l(require("path")),u=[t.default.dirname(require.resolve(t.default.join("@storybook/preset-react-webpack","package.json"))),t.default.dirname(require.resolve(t.default.join("@storybook/react","package.json")))],w=async(o,e)=>{let r=await e.presets.apply("framework");return{...o,builder:{name:t.default.dirname(require.resolve(t.default.join("@storybook/builder-webpack5","package.json"))),options:typeof r=="string"?{}:r.options.builder||{}}}},f=async o=>{var e;return o.resolve=o.resolve||{},o.resolve.alias={...(e=o.resolve)==null?void 0:e.alias,"@storybook/react":t.default.dirname(require.resolve(t.default.join("@storybook/react","package.json")))},o};0&&(module.exports={addons,core,webpack});
|
package/dist/preset.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var
|
1
|
+
var r=(o=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(o,{get:(s,t)=>(typeof require!="undefined"?require:s)[t]}):o)(function(o){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')});import e from"path";var i=[e.dirname(r.resolve(e.join("@storybook/preset-react-webpack","package.json"))),e.dirname(r.resolve(e.join("@storybook/react","package.json")))],k=async(o,s)=>{let t=await s.presets.apply("framework");return{...o,builder:{name:e.dirname(r.resolve(e.join("@storybook/builder-webpack5","package.json"))),options:typeof t=="string"?{}:t.options.builder||{}}}},y=async o=>(o.resolve=o.resolve||{},o.resolve.alias={...o.resolve?.alias,"@storybook/react":e.dirname(r.resolve(e.join("@storybook/react","package.json")))},o);export{i as addons,k as core,y as webpack};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/react-webpack5",
|
3
|
-
"version": "7.0.0-alpha.
|
3
|
+
"version": "7.0.0-alpha.17",
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -48,17 +48,16 @@
|
|
48
48
|
],
|
49
49
|
"scripts": {
|
50
50
|
"check": "tsc --noEmit",
|
51
|
-
"prepare": "
|
51
|
+
"prepare": "../../../scripts/prepare/bundle.ts"
|
52
52
|
},
|
53
53
|
"dependencies": {
|
54
|
-
"@storybook/builder-webpack5": "7.0.0-alpha.
|
55
|
-
"@storybook/preset-react-webpack": "7.0.0-alpha.
|
56
|
-
"@storybook/react": "7.0.0-alpha.
|
54
|
+
"@storybook/builder-webpack5": "7.0.0-alpha.17",
|
55
|
+
"@storybook/preset-react-webpack": "7.0.0-alpha.17",
|
56
|
+
"@storybook/react": "7.0.0-alpha.17",
|
57
57
|
"@types/node": "^14.14.20 || ^16.0.0",
|
58
58
|
"core-js": "^3.8.2"
|
59
59
|
},
|
60
60
|
"devDependencies": {
|
61
|
-
"@digitak/esrun": "^3.2.2",
|
62
61
|
"jest-specific-snapshot": "^4.0.0",
|
63
62
|
"typescript": "~4.6.3"
|
64
63
|
},
|
@@ -88,5 +87,5 @@
|
|
88
87
|
],
|
89
88
|
"platform": "node"
|
90
89
|
},
|
91
|
-
"gitHead": "
|
90
|
+
"gitHead": "7d44bfd3e759c6f17b75029ee2e067fab811f27b"
|
92
91
|
}
|
package/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2017 Kadira Inc. <hello@kadira.io>
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|