Skip to content

Commit

Permalink
feat(dependencies): Use @playos/kernel instead of internal kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
FranklinWaller committed Dec 10, 2019
1 parent 75d3f15 commit 8e7961e
Show file tree
Hide file tree
Showing 33 changed files with 191 additions and 806 deletions.
252 changes: 176 additions & 76 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@material-ui/core": "^4.7.2",
"@material-ui/icons": "^4.5.1",
"@playos/kernel": "file:../Kernel",
"@types/react-loadable": "^5.5.2",
"@types/react-resizable": "^1.7.1",
"@wasmer/wasm-terminal": "^0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/js/apps/Explorer/Explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Folder from './components/Folder';
import File from './components/File';
import Dirent from 'memfs/lib/Dirent';
import Dropzone from '../../components/molecules/Dropzone';
import Kernel from '../../kernel';
import Kernel from '@playos/kernel';
import BackgroundTerminal from '../../background/BackgroundTerminal';
const styles = require('./Explorer.scss');

Expand Down
2 changes: 1 addition & 1 deletion src/js/background/BackgroundTerminal.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-ignore
import WasmTerminal from '@wasmer/wasm-terminal/lib/unoptimized/wasm-terminal.esm';
import Kernel from '../kernel';
import Kernel from '@playos/kernel';
import TerminalService from '../services/TerminalService';

class BackgroundTerminal {
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/molecules/new/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { openApp } from '../../../../store/AppProcessesStore';
import resolveUrl from '../../../../services/micro/resolveUrl';
import InstanceBag from '../../../../InstanceBag';
import BackgroundTerminal from '../../../../background/BackgroundTerminal';
import { ParsedApplicationInfo } from '../../../../kernel';
import { ParsedApplicationInfo } from '@playos/kernel';
const styles = require('./App.scss');

interface Props {
Expand Down
4 changes: 2 additions & 2 deletions src/js/components/organims/AppSection/AppSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import AppGrid from '../../molecules/AppGrid';
import useMedia from '../../../services/hooks/useMedia';
import BulletNavigation from '../../atoms/BulletNavigation';
import AppTerminal from '../AppTerminal/index';
import { ParsedApplicationInfo } from '../../../kernel';
import { ParsedApplicationInfo } from '@playos/kernel';
// import Folder from '../Folder';
const styles = require('./AppSection.styles.scss');
const SwipeableViews = bindKeyboard(SwipeableViewsRaw)
const SwipeableViews = bindKeyboard(SwipeableViewsRaw);

interface Props {
apps: ParsedApplicationInfo[];
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/organims/AppTerminal/AppTerminal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import WasmTerminal from "@wasmer/wasm-terminal/lib/unoptimized/wasm-terminal.es
// import '@wasmer/wasm-terminal/dist/xterm/xterm.css';
import TerminalService from '../../../services/TerminalService';
import InstanceBag from '../../../InstanceBag';
import Kernel from '../../../kernel';
import Kernel from '@playos/kernel';

const styles = require('./AppTerminal.scss');

Expand Down
45 changes: 0 additions & 45 deletions src/js/kernel/Kernel.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/js/kernel/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions src/js/kernel/apps/Airhorner.wapp/manifest.json

This file was deleted.

Binary file removed src/js/kernel/apps/Explorer.wapp/icon.png
Binary file not shown.
22 changes: 0 additions & 22 deletions src/js/kernel/apps/Explorer.wapp/manifest.json

This file was deleted.

Binary file removed src/js/kernel/apps/Terminal.wapp/icon.png
Binary file not shown.
23 changes: 0 additions & 23 deletions src/js/kernel/apps/Terminal.wapp/manifest.json

This file was deleted.

27 changes: 0 additions & 27 deletions src/js/kernel/core/Encryption.ts

This file was deleted.

171 changes: 0 additions & 171 deletions src/js/kernel/core/FileSystem.ts

This file was deleted.

Loading

0 comments on commit 8e7961e

Please sign in to comment.