Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 2926896

Browse files
committed
fix: resizable props import
1 parent 924aada commit 2926896

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

core/docz-core/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
},
5252
"devDependencies": {
5353
"@types/cross-spawn": "^6.0.0",
54-
"@types/find-up": "^4.0.0",
5554
"@types/resolve": "^0.0.8",
5655
"@types/shelljs": "^0.8.5",
5756
"@types/signale": "^1.2.1",

core/docz-core/src/utils/create-deps.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ import { ServerMachineCtx } from '../bundler/machine/context'
88

99
const CORE_DEV_DEPS = ['gatsby-theme-docz']
1010
const LOCAL_DEV_DEPS = ['gatsby-plugin-compile-es6-packages', 'p-reduce']
11-
const REQUIRED_DEV_DEPS = ['gatsby', 'gatsby-plugin-typescript']
11+
const REQUIRED_DEV_DEPS = [
12+
'gatsby',
13+
'gatsby-plugin-typescript',
14+
'gatsby-plugin-eslint',
15+
]
1216

1317
const depsFromPairs = async (deps: any[], callback: (dep: string) => any) => {
1418
return fromPairs(await Promise.all(deps.map(callback)))

core/gatsby-theme-docz/src/components/Playground/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useState } from 'react'
44
import { useConfig } from 'docz'
55
import { LiveProvider, LiveError, LivePreview, LiveEditor } from 'react-live'
66
import { merge } from 'lodash/fp'
7-
import Resizable from 're-resizable'
7+
import { Resizable } from 're-resizable'
88
import copy from 'copy-text-to-clipboard'
99

1010
import { usePrismTheme } from '~utils/theme'

0 commit comments

Comments
 (0)