@storybook/html-webpack5 7.1.0-alpha.2 → 7.1.0-alpha.21

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/index.mjs CHANGED
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@storybook/html-webpack5",
3
- "version": "7.1.0-alpha.2",
3
+ "version": "7.1.0-alpha.21",
4
4
  "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
7
7
  ],
8
- "homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/html-webpack5",
8
+ "homepage": "https://github.com/storybookjs/storybook/tree/next/code/frameworks/html-webpack5",
9
9
  "bugs": {
10
10
  "url": "https://github.com/storybookjs/storybook/issues"
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "https://github.com/storybookjs/storybook.git",
15
- "directory": "frameworks/html-webpack5"
15
+ "directory": "code/frameworks/html-webpack5"
16
16
  },
17
17
  "funding": {
18
18
  "type": "opencollective",
@@ -21,15 +21,14 @@
21
21
  "license": "MIT",
22
22
  "exports": {
23
23
  ".": {
24
+ "types": "./dist/index.d.ts",
24
25
  "node": "./dist/index.js",
25
26
  "require": "./dist/index.js",
26
- "import": "./dist/index.mjs",
27
- "types": "./dist/index.d.ts"
27
+ "import": "./dist/index.mjs"
28
28
  },
29
29
  "./preset": {
30
- "require": "./dist/preset.js",
31
- "import": "./dist/preset.mjs",
32
- "types": "./dist/preset.d.ts"
30
+ "types": "./dist/preset.d.ts",
31
+ "require": "./dist/preset.js"
33
32
  },
34
33
  "./package.json": "./package.json"
35
34
  },
@@ -48,11 +47,11 @@
48
47
  "prep": "../../../scripts/prepare/bundle.ts"
49
48
  },
50
49
  "dependencies": {
51
- "@storybook/builder-webpack5": "7.1.0-alpha.2",
52
- "@storybook/core-common": "7.1.0-alpha.2",
50
+ "@storybook/builder-webpack5": "7.1.0-alpha.21",
51
+ "@storybook/core-common": "7.1.0-alpha.21",
53
52
  "@storybook/global": "^5.0.0",
54
- "@storybook/html": "7.1.0-alpha.2",
55
- "@storybook/preset-html-webpack": "7.1.0-alpha.2",
53
+ "@storybook/html": "7.1.0-alpha.21",
54
+ "@storybook/preset-html-webpack": "7.1.0-alpha.21",
56
55
  "@types/node": "^16.0.0"
57
56
  },
58
57
  "devDependencies": {
@@ -76,5 +75,5 @@
76
75
  ],
77
76
  "platform": "node"
78
77
  },
79
- "gitHead": "3f0c9a6636b9e69006ffb841234cf785598e0572"
78
+ "gitHead": "49d49518beeb39d14ad5f978fbf2c13e05fb5a61"
80
79
  }
package/dist/preset.mjs DELETED
@@ -1 +0,0 @@
1
- var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+x+'" is not supported')});import{dirname,join}from"path";var wrapForPnP=input=>dirname(__require.resolve(join(input,"package.json"))),addons=[wrapForPnP("@storybook/preset-html-webpack")],core=async(config,options)=>{let framework=await options.presets.apply("framework");return{...config,builder:{name:wrapForPnP("@storybook/builder-webpack5"),options:typeof framework=="string"?{}:framework.options.builder||{}},renderer:wrapForPnP("@storybook/html")}};export{addons,core};