@storybook/addon-essentials 7.0.0-alpha.10 → 7.0.0-alpha.11

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.
Files changed (2) hide show
  1. package/dist/cjs/index.js +4 -2
  2. package/package.json +19 -17
package/dist/cjs/index.js CHANGED
@@ -25,9 +25,11 @@ const requireMain = configDir => {
25
25
 
26
26
  function addons(options) {
27
27
  const checkInstalled = (addon, main) => {
28
- const existingAddon = main.addons?.find(entry => {
28
+ var _main$addons;
29
+
30
+ const existingAddon = (_main$addons = main.addons) === null || _main$addons === void 0 ? void 0 : _main$addons.find(entry => {
29
31
  const name = typeof entry === 'string' ? entry : entry.name;
30
- return name?.startsWith(addon);
32
+ return name === null || name === void 0 ? void 0 : name.startsWith(addon);
31
33
  });
32
34
 
33
35
  if (existingAddon) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-essentials",
3
- "version": "7.0.0-alpha.10",
3
+ "version": "7.0.0-alpha.11",
4
4
  "description": "Curated addons to bring out the best of Storybook",
5
5
  "keywords": [
6
6
  "addon",
@@ -29,29 +29,31 @@
29
29
  "README.md"
30
30
  ],
31
31
  "scripts": {
32
+ "check": "tsc --noEmit",
32
33
  "prepare": "node ../../scripts/prepare.js"
33
34
  },
34
35
  "dependencies": {
35
- "@storybook/addon-actions": "7.0.0-alpha.10",
36
- "@storybook/addon-backgrounds": "7.0.0-alpha.10",
37
- "@storybook/addon-controls": "7.0.0-alpha.10",
38
- "@storybook/addon-docs": "7.0.0-alpha.10",
39
- "@storybook/addon-highlight": "7.0.0-alpha.10",
40
- "@storybook/addon-measure": "7.0.0-alpha.10",
41
- "@storybook/addon-outline": "7.0.0-alpha.10",
42
- "@storybook/addon-toolbars": "7.0.0-alpha.10",
43
- "@storybook/addon-viewport": "7.0.0-alpha.10",
44
- "@storybook/addons": "7.0.0-alpha.10",
45
- "@storybook/api": "7.0.0-alpha.10",
46
- "@storybook/core-common": "7.0.0-alpha.10",
47
- "@storybook/node-logger": "7.0.0-alpha.10",
36
+ "@storybook/addon-actions": "7.0.0-alpha.11",
37
+ "@storybook/addon-backgrounds": "7.0.0-alpha.11",
38
+ "@storybook/addon-controls": "7.0.0-alpha.11",
39
+ "@storybook/addon-docs": "7.0.0-alpha.11",
40
+ "@storybook/addon-highlight": "7.0.0-alpha.11",
41
+ "@storybook/addon-measure": "7.0.0-alpha.11",
42
+ "@storybook/addon-outline": "7.0.0-alpha.11",
43
+ "@storybook/addon-toolbars": "7.0.0-alpha.11",
44
+ "@storybook/addon-viewport": "7.0.0-alpha.11",
45
+ "@storybook/addons": "7.0.0-alpha.11",
46
+ "@storybook/api": "7.0.0-alpha.11",
47
+ "@storybook/core-common": "7.0.0-alpha.11",
48
+ "@storybook/node-logger": "7.0.0-alpha.11",
48
49
  "core-js": "^3.8.2",
49
50
  "ts-dedent": "^2.0.0"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@babel/core": "^7.12.10",
53
- "@storybook/vue": "7.0.0-alpha.10",
54
- "@types/jest": "^26.0.16"
54
+ "@storybook/vue": "7.0.0-alpha.11",
55
+ "@types/jest": "^26.0.16",
56
+ "typescript": "~4.6.3"
55
57
  },
56
58
  "peerDependencies": {
57
59
  "@babel/core": "^7.9.6"
@@ -97,5 +99,5 @@
97
99
  "publishConfig": {
98
100
  "access": "public"
99
101
  },
100
- "gitHead": "b13dd8fb52819d73d4983148af8ffc5d683e8b75"
102
+ "gitHead": "688d338903e84a7e83cb104472e868e734399f65"
101
103
  }