Skip to content

Commit

Permalink
fix: resizable props import
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jul 18, 2019
1 parent 924aada commit 2926896
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion core/docz-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
},
"devDependencies": {
"@types/cross-spawn": "^6.0.0",
"@types/find-up": "^4.0.0",
"@types/resolve": "^0.0.8",
"@types/shelljs": "^0.8.5",
"@types/signale": "^1.2.1",
Expand Down
6 changes: 5 additions & 1 deletion core/docz-core/src/utils/create-deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import { ServerMachineCtx } from '../bundler/machine/context'

const CORE_DEV_DEPS = ['gatsby-theme-docz']
const LOCAL_DEV_DEPS = ['gatsby-plugin-compile-es6-packages', 'p-reduce']
const REQUIRED_DEV_DEPS = ['gatsby', 'gatsby-plugin-typescript']
const REQUIRED_DEV_DEPS = [
'gatsby',
'gatsby-plugin-typescript',
'gatsby-plugin-eslint',
]

const depsFromPairs = async (deps: any[], callback: (dep: string) => any) => {
return fromPairs(await Promise.all(deps.map(callback)))
Expand Down
2 changes: 1 addition & 1 deletion core/gatsby-theme-docz/src/components/Playground/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useState } from 'react'
import { useConfig } from 'docz'
import { LiveProvider, LiveError, LivePreview, LiveEditor } from 'react-live'
import { merge } from 'lodash/fp'
import Resizable from 're-resizable'
import { Resizable } from 're-resizable'
import copy from 'copy-text-to-clipboard'

import { usePrismTheme } from '~utils/theme'
Expand Down

0 comments on commit 2926896

Please sign in to comment.