From 1dda6a2e9dc4d2d42d9cd00db8bba8d1ef791fc2 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 17 Nov 2020 11:18:34 +0100 Subject: [PATCH] engine-web instead of engine for HostPlugin and ViewPlugin --- apps/remix-ide/src/app/components/panel.js | 2 +- apps/remix-ide/src/app/components/plugin-manager-component.js | 3 +-- apps/remix-ide/src/app/panels/file-panel.js | 2 +- apps/remix-ide/src/app/tabs/analysis-tab.js | 2 +- apps/remix-ide/src/app/tabs/compile-tab.js | 2 +- apps/remix-ide/src/app/tabs/debugger-tab.js | 2 +- apps/remix-ide/src/app/tabs/settings-tab.js | 2 +- apps/remix-ide/src/app/tabs/test-tab.js | 2 +- apps/remix-ide/src/app/ui/landing-page/landing-page.js | 2 +- 9 files changed, 9 insertions(+), 10 deletions(-) diff --git a/apps/remix-ide/src/app/components/panel.js b/apps/remix-ide/src/app/components/panel.js index 91b1c07e85..3567fa84ec 100644 --- a/apps/remix-ide/src/app/components/panel.js +++ b/apps/remix-ide/src/app/components/panel.js @@ -1,5 +1,5 @@ import { EventEmitter } from 'events' -import { HostPlugin } from '@remixproject/engine' +import { HostPlugin } from '@remixproject/engine-web' const csjs = require('csjs-inject') const yo = require('yo-yo') diff --git a/apps/remix-ide/src/app/components/plugin-manager-component.js b/apps/remix-ide/src/app/components/plugin-manager-component.js index 9bb93455d6..26793dc977 100644 --- a/apps/remix-ide/src/app/components/plugin-manager-component.js +++ b/apps/remix-ide/src/app/components/plugin-manager-component.js @@ -3,8 +3,7 @@ const yo = require('yo-yo') const csjs = require('csjs-inject') const EventEmitter = require('events') const LocalPlugin = require('./local-plugin') -import { IframePlugin, WebsocketPlugin } from '@remixproject/engine-web' -import { ViewPlugin } from '@remixproject/engine' +import { IframePlugin, ViewPlugin, WebsocketPlugin } from '@remixproject/engine-web' import { PluginManagerSettings } from './plugin-manager-settings' import * as packageJson from '../../../../../package.json' const addToolTip = require('../ui/tooltip') diff --git a/apps/remix-ide/src/app/panels/file-panel.js b/apps/remix-ide/src/app/panels/file-panel.js index 24bb09c3f4..65e1664b7e 100644 --- a/apps/remix-ide/src/app/panels/file-panel.js +++ b/apps/remix-ide/src/app/panels/file-panel.js @@ -1,4 +1,4 @@ -import { ViewPlugin } from '@remixproject/engine' +import { ViewPlugin } from '@remixproject/engine-web' import * as packageJson from '../../../../../package.json' var yo = require('yo-yo') diff --git a/apps/remix-ide/src/app/tabs/analysis-tab.js b/apps/remix-ide/src/app/tabs/analysis-tab.js index 987c098921..7128c3fe87 100644 --- a/apps/remix-ide/src/app/tabs/analysis-tab.js +++ b/apps/remix-ide/src/app/tabs/analysis-tab.js @@ -1,4 +1,4 @@ -import { ViewPlugin } from '@remixproject/engine' +import { ViewPlugin } from '@remixproject/engine-web' import { EventEmitter } from 'events' import * as packageJson from '../../../../../package.json' diff --git a/apps/remix-ide/src/app/tabs/compile-tab.js b/apps/remix-ide/src/app/tabs/compile-tab.js index 2d4a04b862..ee1e20a6f4 100644 --- a/apps/remix-ide/src/app/tabs/compile-tab.js +++ b/apps/remix-ide/src/app/tabs/compile-tab.js @@ -1,5 +1,5 @@ /* global */ -import { ViewPlugin } from '@remixproject/engine' +import { ViewPlugin } from '@remixproject/engine-web' import * as packageJson from '../../../../../package.json' import publishToStorage from '../../publishToStorage' import { compile } from '../compiler/compiler-helpers' diff --git a/apps/remix-ide/src/app/tabs/debugger-tab.js b/apps/remix-ide/src/app/tabs/debugger-tab.js index fcdd4dde36..9e3a88566c 100644 --- a/apps/remix-ide/src/app/tabs/debugger-tab.js +++ b/apps/remix-ide/src/app/tabs/debugger-tab.js @@ -1,6 +1,6 @@ import toaster from '../ui/tooltip' import { DebuggerUI } from '@remix-ui/debugger-ui' // eslint-disable-line -import { ViewPlugin } from '@remixproject/engine' +import { ViewPlugin } from '@remixproject/engine-web' import remixDebug, { TransactionDebugger as Debugger } from '@remix-project/remix-debug' import * as packageJson from '../../../../../package.json' import React from 'react' // eslint-disable-line diff --git a/apps/remix-ide/src/app/tabs/settings-tab.js b/apps/remix-ide/src/app/tabs/settings-tab.js index 7936122ef8..67bdbcddb3 100644 --- a/apps/remix-ide/src/app/tabs/settings-tab.js +++ b/apps/remix-ide/src/app/tabs/settings-tab.js @@ -1,4 +1,4 @@ -import { ViewPlugin } from '@remixproject/engine' +import { ViewPlugin } from '@remixproject/engine-web' import * as packageJson from '../../../../../package.json' const yo = require('yo-yo') const globalRegistry = require('../../global/registry') diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index fa80351b8a..d1eb0b8e5e 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -1,4 +1,4 @@ -import { ViewPlugin } from '@remixproject/engine' +import { ViewPlugin } from '@remixproject/engine-web' import { canUseWorker, urlFromVersion } from '../compiler/compiler-utils' var yo = require('yo-yo') var async = require('async') diff --git a/apps/remix-ide/src/app/ui/landing-page/landing-page.js b/apps/remix-ide/src/app/ui/landing-page/landing-page.js index 8f82ceb911..272f79a5b3 100644 --- a/apps/remix-ide/src/app/ui/landing-page/landing-page.js +++ b/apps/remix-ide/src/app/ui/landing-page/landing-page.js @@ -1,5 +1,5 @@ import * as packageJson from '../../../../../../package.json' -import { ViewPlugin } from '@remixproject/engine' +import { ViewPlugin } from '@remixproject/engine-web' const yo = require('yo-yo') const csjs = require('csjs-inject')