Skip to content

Commit 458390e

Browse files
committed
Clean up dependencies in packages/app
1 parent ab54af5 commit 458390e

File tree

7 files changed

+18
-39
lines changed

7 files changed

+18
-39
lines changed

packages/app/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@
125125
"fontfaceobserver": "^2.0.13",
126126
"framer-motion": "^1.8.4",
127127
"fuse.js": "^3.2.1",
128-
"geniejs": "^0.5.1",
129128
"glamor": "^2.20.25",
130129
"graphql": "^14.6.0",
131130
"graphql-subscriptions-client": "^0.12.0",
@@ -197,7 +196,6 @@
197196
"react-error-overlay": "^1.0.10",
198197
"react-icons": "^2.2.7",
199198
"react-input-autosize": "^2.2.1",
200-
"react-inspector": "^2.2.0",
201199
"react-instantsearch": "^5.7.0",
202200
"react-loadable": "^3.3.1",
203201
"react-markdown": "^4.3.1",
@@ -207,7 +205,6 @@
207205
"react-outside-click-handler": "^1.2.3",
208206
"react-refresh": "^0.7.2",
209207
"react-router-dom": "^5.0.1",
210-
"react-scrollbars-custom": "^4.0.20",
211208
"react-show": "^3.0.4",
212209
"react-split-pane": "^0.1.87",
213210
"react-spring": "^8.0.25",
@@ -216,11 +213,9 @@
216213
"react-use": "^9.7.2",
217214
"react-virtualized": "^9.19.1",
218215
"reakit": "^1.0.0-beta.4",
219-
"rebound": "^0.1.0",
220216
"resize-observer-polyfill": "^1.5.1",
221217
"sha1": "^1.1.1",
222218
"shelljs": "^0.7.8",
223-
"shortid": "^2.2.8",
224219
"store": "^2.0.12",
225220
"string-replace-loader": "^2.1.1",
226221
"styled-components": "^4.3.2",
@@ -334,7 +329,6 @@
334329
"recursive-readdir": "^2.2.1",
335330
"resolve-url-loader": "^3.1.0",
336331
"rimraf": "^2.6.1",
337-
"run-sequence": "^1.2.2",
338332
"sass-loader": "^7.1.0",
339333
"script-ext-html-webpack-plugin": "^2.1.4",
340334
"selenium-webdriver": "^4.0.0-alpha.1",

packages/app/src/app/components/CreateNewSandbox/CreateSandbox/SearchBox/SearchBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { useKey } from 'react-use';
2+
import useKey from 'react-use/lib/useKey';
33
import { ESC } from '@codesandbox/common/lib/utils/keycodes';
44
import { SearchElement, InputWrapper } from './elements';
55

packages/app/src/app/components/CreateNewSandbox/CreateSandbox/TemplateList/TemplateList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import getTemplateDefinition, {
55
TemplateType,
66
} from '@codesandbox/common/lib/templates';
77
import { useOvermind } from 'app/overmind';
8-
import { useKey } from 'react-use';
8+
import useKey from 'react-use/lib/useKey';
99
import { isMac } from '@codesandbox/common/lib/utils/platform';
1010
import { getSandboxName } from '@codesandbox/common/lib/utils/get-sandbox-name';
1111
import history from 'app/utils/history';

packages/app/src/app/pages/Sandbox/Editor/Content/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Icons } from 'app/components/CodeEditor/elements';
77
import { VSCode as CodeEditor } from 'app/components/CodeEditor/VSCode';
88
import { DevTools } from 'app/components/Preview/DevTools';
99
import { useOvermind } from 'app/overmind';
10-
import { useKey } from 'react-use';
10+
import useKey from 'react-use/lib/useKey';
1111
import React, { useCallback, useEffect, useRef, useState } from 'react';
1212
import QuestionIcon from 'react-icons/lib/go/question';
1313
import SplitPane from 'react-split-pane';

packages/app/src/app/pages/Sandbox/Editor/Workspace/Project/SandboxConfig/TemplateConfig/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as templates from '@codesandbox/common/lib/templates';
22
import React, { FunctionComponent, useRef, useState } from 'react';
33
import { SketchPicker } from 'react-color';
44
import { Link } from 'react-router-dom';
5-
import { useClickAway } from 'react-use';
5+
import useClickAway from 'react-use/lib/useClickAway';
66

77
import { useOvermind } from 'app/overmind';
88

packages/common/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"react-input-autosize": "2.2.1",
7070
"react-router-dom": "^5.0.1",
7171
"react-spring": "^8.0.25",
72+
"react-scrollbars-custom": "^4.0.20",
7273
"react-textarea-autosize": "^6.1.0",
7374
"semver": "^5.6.0",
7475
"sha1": "^1.1.1",

yarn.lock

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8065,14 +8065,6 @@ chain-function@^1.0.0:
80658065
version "1.0.0"
80668066
resolved "https://registry.yarnpkg.com/chain-function/-/chain-function-1.0.0.tgz#0d4ab37e7e18ead0bdc47b920764118ce58733dc"
80678067

8068-
chalk@*, chalk@^3.0.0:
8069-
version "3.0.0"
8070-
resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
8071-
integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==
8072-
dependencies:
8073-
ansi-styles "^4.1.0"
8074-
supports-color "^7.1.0"
8075-
80768068
[email protected], chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3:
80778069
version "1.1.3"
80788070
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
@@ -8101,6 +8093,14 @@ [email protected], chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.
81018093
escape-string-regexp "^1.0.5"
81028094
supports-color "^5.3.0"
81038095

8096+
chalk@^3.0.0:
8097+
version "3.0.0"
8098+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
8099+
integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==
8100+
dependencies:
8101+
ansi-styles "^4.1.0"
8102+
supports-color "^7.1.0"
8103+
81048104
[email protected], change-case@^3.0.1:
81058105
version "3.1.0"
81068106
resolved "https://registry.yarnpkg.com/change-case/-/change-case-3.1.0.tgz#0e611b7edc9952df2e8513b27b42de72647dd17e"
@@ -8484,9 +8484,9 @@ clone@^2.1.1:
84848484
integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=
84858485

84868486
cnbuilder@^1.1.7:
8487-
version "1.1.7"
8488-
resolved "https://registry.yarnpkg.com/cnbuilder/-/cnbuilder-1.1.7.tgz#04ef08d278efd69bc65a95b087328455a85a2eef"
8489-
integrity sha512-8D9dpabOVOh7GX/qPZ60sJpqxHaiLqSDsuZOYH1TvoNkgMrO7BJHCbNepHHoglSdU//M2sjLHaL9Vu0qibSV2A==
8487+
version "1.3.2"
8488+
resolved "https://registry.yarnpkg.com/cnbuilder/-/cnbuilder-1.3.2.tgz#f8ade3986543e6736fc2c8a304d74a244c36d541"
8489+
integrity sha512-4WygslpZg+W4uVGF4dzN/Vbz0q4arACdMfgPJlx2EZA6+/OhfRT7KFIX6MuN3P+0MUwx8R7sNe+xOKINatwJrg==
84908490

84918491
co@^4.6.0:
84928492
version "4.6.0"
@@ -13537,10 +13537,6 @@ genfun@^5.0.0:
1353713537
resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537"
1353813538
integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA==
1353913539

13540-
geniejs@^0.5.1:
13541-
version "0.5.1"
13542-
resolved "https://registry.yarnpkg.com/geniejs/-/geniejs-0.5.1.tgz#ed346b5d263d2ce9da94b30d476fbc72b2206dbc"
13543-
1354413540
get-caller-file@^1.0.1:
1354513541
version "1.0.3"
1354613542
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
@@ -14585,7 +14581,7 @@ gulp-rev@^7.1.2:
1458514581
through2 "^2.0.0"
1458614582
vinyl-file "^1.1.0"
1458714583

14588-
gulp-util@*, gulp-util@^3.0.0, gulp-util@^3.0.8:
14584+
gulp-util@^3.0.0, gulp-util@^3.0.8:
1458914585
version "3.0.8"
1459014586
resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
1459114587
dependencies:
@@ -24219,7 +24215,7 @@ react-input-autosize@^2.2.1, react-input-autosize@^2.2.2:
2421924215
dependencies:
2422024216
prop-types "^15.5.8"
2422124217

24222-
react-inspector@^2.2.0, react-inspector@^2.2.2:
24218+
react-inspector@^2.2.2:
2422324219
version "2.3.0"
2422424220
resolved "https://registry.yarnpkg.com/react-inspector/-/react-inspector-2.3.0.tgz#fc9c1d38ab687fc0d190dcaf133ae40158968fc8"
2422524221
dependencies:
@@ -24945,11 +24941,6 @@ realpath-native@^1.1.0:
2494524941
dependencies:
2494624942
util.promisify "^1.0.0"
2494724943

24948-
rebound@^0.1.0:
24949-
version "0.1.0"
24950-
resolved "https://registry.yarnpkg.com/rebound/-/rebound-0.1.0.tgz#0638c61a93666bb515a58a03e1cfb34021e88b72"
24951-
integrity sha1-BjjGGpNma7UVpYoD4c+zQCHoi3I=
24952-
2495324944
recast@^0.14.7:
2495424945
version "0.14.7"
2495524946
resolved "https://registry.yarnpkg.com/recast/-/recast-0.14.7.tgz#4f1497c2b5826d42a66e8e3c9d80c512983ff61d"
@@ -26052,13 +26043,6 @@ run-queue@^1.0.0, run-queue@^1.0.3:
2605226043
dependencies:
2605326044
aproba "^1.1.1"
2605426045

26055-
run-sequence@^1.2.2:
26056-
version "1.2.2"
26057-
resolved "https://registry.yarnpkg.com/run-sequence/-/run-sequence-1.2.2.tgz#5095a0bebe98733b0140bd08dd80ec030ddacdeb"
26058-
dependencies:
26059-
chalk "*"
26060-
gulp-util "*"
26061-
2606226046
run-series@^1.1.3:
2606326047
version "1.1.8"
2606426048
resolved "https://registry.yarnpkg.com/run-series/-/run-series-1.1.8.tgz#2c4558f49221e01cd6371ff4e0a1e203e460fc36"

0 commit comments

Comments
 (0)