Skip to content

Commit

Permalink
Merge pull request #217 from Namielusi/global-variables-import-fix
Browse files Browse the repository at this point in the history
Fix importing global variables
  • Loading branch information
hipstersmoothie authored Feb 10, 2023
2 parents 3d94659 + 117c496 commit 6102d9c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"@storybook/api": "^6.5.14",
"@storybook/components": "^6.5.14",
"@storybook/core-events": "^6.5.14",
"@storybook/global": "^5.0.0",
"@storybook/theming": "^6.5.14",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
"memoizerific": "^1.11.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Tool.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import global from 'global';
import { global } from '@storybook/global';
import { themes, ThemeVars } from '@storybook/theming';
import { IconButton } from '@storybook/components';
import {
Expand Down
1 change: 0 additions & 1 deletion typings/global.d.ts

This file was deleted.

5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,11 @@
lodash "^4.17.21"
regenerator-runtime "^0.13.7"

"@storybook/global@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@storybook/global/-/global-5.0.0.tgz#b793d34b94f572c1d7d9e0f44fac4e0dbc9572ed"
integrity sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==

"@storybook/manager-webpack4@6.5.14":
version "6.5.14"
resolved "https://registry.npmjs.org/@storybook/manager-webpack4/-/manager-webpack4-6.5.14.tgz#92cd3d34b9e28d7edd215b1e79b1f0757fb66eba"
Expand Down

0 comments on commit 6102d9c

Please sign in to comment.