Skip to content

Commit 437355d

Browse files
committed
Update paths
1 parent c522613 commit 437355d

File tree

292 files changed

+593
-549
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+593
-549
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build:prod": "lerna run build --scope homepage --stream && lerna run build --scope app --stream && gulp",
99
"build:embed": "lerna run build:embed --scope app --stream && gulp",
1010
"build:clean": "lerna run build:clean --scope app --scope homepage && rimraf www",
11-
"build:deps": "lerna run build:dev --scope codesandbox-api --scope codesandbox-browserfs --scope node-services && lerna run build:dev --scope sse-hooks",
11+
"build:deps": "lerna run build:dev --scope codesandbox-api --scope codesandbox-browserfs --scope node-services --scope && lerna run build:dev --scope sse-hooks",
1212
"start": "yarn build:deps && lerna run start --scope app --stream",
1313
"start:fast": "lerna run start --scope app --stream",
1414
"start:vscode": "VSCODE=1 yarn start:fast & cd standalone-packages/monaco-editor && yarn simpleserver & cd standalone-packages/vscode && yarn watch",

packages/app/config/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
77
const CopyWebpackPlugin = require('copy-webpack-plugin');
88
const HappyPack = require('happypack');
99
const WatchMissingNodeModulesPlugin = require('../scripts/utils/WatchMissingNodeModulesPlugin');
10-
const env = require('common/config/env');
10+
const env = require('common/lib/config/env');
1111
const getHost = require('common/utils/host');
1212

1313
const babelDev = require('./babel.dev');

packages/app/src/app/components/Button/elements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import styled, { css } from 'styled-components';
22
import Link from 'react-router-dom/Link';
3-
import theme from 'common/theme';
3+
import theme from 'common/libtheme';
44

55
const getBackgroundColor = ({
66
theme: internalTheme,

packages/app/src/app/components/CodeEditor/CodeMirror/elements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled, { css, keyframes } from 'styled-components';
2-
import theme from 'common/theme';
2+
import theme from 'common/libtheme';
33

44
const fadeInAnimation = keyframes`
55
0% { background-color: #374140; }

packages/app/src/app/components/CodeEditor/CodeMirror/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as React from 'react';
44
import CodeMirror from 'codemirror';
55
import { withTheme } from 'styled-components';
66

7-
import type { ModuleError, Module } from 'common/types';
7+
import type { ModuleError, Module } from 'common/libtypes';
88
import { getCodeMirror } from 'app/utils/codemirror';
99

1010
import 'codemirror/addon/dialog/dialog';

packages/app/src/app/components/CodeEditor/Configuration/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// @flow
22
import React from 'react';
33
import { TextOperation } from 'ot';
4-
import type { Module } from 'common/types';
5-
import getUI from 'common/templates/configuration/ui';
4+
import type { Module } from 'common/libtypes';
5+
import getUI from 'common/libtemplates/configuration/ui';
66
import getType from 'app/utils/get-type';
77
import EntryIcons from 'app/pages/Sandbox/Editor/Workspace/Files/DirectoryEntry/Entry/EntryIcons';
8-
import Tooltip from 'common/components/Tooltip';
8+
import Tooltip from 'common/libcomponents/Tooltip';
99

1010
import CodeIcon from 'react-icons/lib/md/code';
1111

packages/app/src/app/components/CodeEditor/FilePath/elements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import styled from 'styled-components';
22
import ChevronLeft from 'react-icons/lib/md/chevron-left';
33
import ExitZen from 'react-icons/lib/md/fullscreen-exit';
4-
import { withTooltip } from 'common/components/Tooltip';
4+
import { withTooltip } from 'common/libcomponents/Tooltip';
55

66
export const Container = styled.div`
77
background-color: rgba(0, 0, 0, 0.3);

packages/app/src/app/components/CodeEditor/FilePath/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { getModulePath } from 'common/sandbox/modules';
2+
import { getModulePath } from 'common/libsandbox/modules';
33
import EntryIcons from 'app/pages/Sandbox/Editor/Workspace/Files/DirectoryEntry/Entry/EntryIcons';
44
import getType from 'app/utils/get-type';
55

packages/app/src/app/components/CodeEditor/FuzzySearch/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import * as React from 'react';
22
import { sortBy, groupBy, flatten } from 'lodash-es';
33
import Downshift from 'downshift';
44
import matchSorter from 'match-sorter';
5-
import { getModulePath } from 'common/sandbox/modules';
6-
import Input from 'common/components/Input';
5+
import { getModulePath } from 'common/libsandbox/modules';
6+
import Input from 'common/libcomponents/Input';
77
import EntryIcons from 'app/pages/Sandbox/Editor/Workspace/Files/DirectoryEntry/Entry/EntryIcons';
88
import getType from 'app/utils/get-type';
9-
import { ESC } from 'common/utils/keycodes';
9+
import { ESC } from 'common/libutils/keycodes';
1010
import {
1111
Container,
1212
InputContainer,

packages/app/src/app/components/CodeEditor/ImageViewer/elements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from 'styled-components';
2-
import Centered from 'common/components/flex/Centered';
2+
import Centered from 'common/libcomponents/flex/Centered';
33

44
export const Container = styled(Centered)`
55
height: 100%;

0 commit comments

Comments
 (0)