Skip to content

Commit

Permalink
Use upstream package for theia API
Browse files Browse the repository at this point in the history
Change-Id: Ic26d8b6b9459b09fdd64d2046eeec889bb7e5a90
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Jun 21, 2018
1 parent 39ba515 commit e681187
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"frontend": "dist/theia-frontend-plugin.js"
},
"devDependencies": {
"@wiptheia/plugin": "latest",
"@theia/plugin": "latest",
"@wiptheia/plugin-package": "latest",
"@types/lodash": "^4.14.105",
"clean-webpack-plugin": "^0.1.19",
Expand Down
2 changes: 1 addition & 1 deletion src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Red Hat, Inc. - initial API and implementation
*/

import * as theia from '@wiptheia/plugin';
import * as theia from '@theia/plugin';
import { CONSOLE_OUTPUT_PREFIX, COMMAND_NAME_PREFIX, PLUGIN_NAME } from './common/constants';

export function initEditorsCommands(disposables: theia.Disposable[]) {
Expand Down
2 changes: 1 addition & 1 deletion src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Red Hat, Inc. - initial API and implementation
*/

import * as theia from '@wiptheia/plugin';
import * as theia from '@theia/plugin';
import { COMMAND_NAME_PREFIX, PLUGIN_NAME } from './common/constants';

export function initEnvCommands(disposables: theia.Disposable[]) {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Red Hat, Inc. - initial API and implementation
*/

import * as theia from '@wiptheia/plugin';
import * as theia from '@theia/plugin';
import { COMMAND_NAME_PREFIX, CONSOLE_OUTPUT_COMMAND_SUFIX, CONSOLE_OUTPUT_PREFIX, PLUGIN_NAME } from './common/constants';
import { initEditorsCommands } from './editor';
import { initEnvCommands } from './env';
Expand Down
2 changes: 1 addition & 1 deletion src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Red Hat, Inc. - initial API and implementation
*/

import * as theia from '@wiptheia/plugin';
import * as theia from '@theia/plugin';
import { COMMAND_NAME_PREFIX, CONSOLE_OUTPUT_PREFIX, PLUGIN_NAME } from './common/constants';

export function initMessagesCommands(disposables: theia.Disposable[]) {
Expand Down
2 changes: 1 addition & 1 deletion src/quick-pick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Red Hat, Inc. - initial API and implementation
*/

import * as theia from '@wiptheia/plugin';
import * as theia from '@theia/plugin';
import { COMMAND_NAME_PREFIX, CONSOLE_OUTPUT_COMMAND_SUFIX, CONSOLE_OUTPUT_PREFIX, PLUGIN_NAME } from './common/constants';

export function initQuickPickCommands(disposables: theia.Disposable[]) {
Expand Down
2 changes: 1 addition & 1 deletion src/window-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Red Hat, Inc. - initial API and implementation
*/

import * as theia from '@wiptheia/plugin';
import * as theia from '@theia/plugin';
import { COMMAND_NAME_PREFIX, CONSOLE_OUTPUT_COMMAND_SUFIX, CONSOLE_OUTPUT_PREFIX, PLUGIN_NAME } from './common/constants';

export function initWindowStateCommands(disposables: theia.Disposable[]) {
Expand Down
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module.exports = {
path: path.resolve(__dirname, 'dist')
},
externals: {
"@wiptheia/plugin": "theia",
"@theia/plugin": "theia"
}
};

0 comments on commit e681187

Please sign in to comment.