Skip to content

Commit c7b8840

Browse files
vince-fugnittolmcbout
authored andcommitted
Fix @Theia implicit dependencies
Explicitly declared `@theia/...` dependencies in `@theia/...` extensions. Signed-off-by: Vincent Fugnitto <[email protected]>
1 parent 3d4501a commit c7b8840

File tree

8 files changed

+11
-2
lines changed

8 files changed

+11
-2
lines changed

packages/console/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.3.17",
44
"description": "Theia - Console Extension",
55
"dependencies": {
6+
"@theia/core": "^0.3.17",
67
"@theia/monaco": "^0.3.17",
78
"anser": "^1.4.7"
89
},

packages/cpp/src/browser/cpp-task-provider.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import { Container, injectable } from 'inversify';
1818
import { CppTaskProvider } from './cpp-task-provider';
1919
import { TaskResolverRegistry } from '@theia/task/lib/browser/task-contribution';
20-
import { CppBuildConfigurationManager, CppBuildConfiguration } from '@theia/cpp/src/browser/cpp-build-configurations';
20+
import { CppBuildConfigurationManager, CppBuildConfiguration } from './cpp-build-configurations';
2121
import { Event } from '@theia/core';
2222
import { expect } from 'chai';
2323
import { TaskConfiguration } from '@theia/task/src/common';
@@ -73,7 +73,7 @@ beforeEach(function() {
7373
// Register a task resolver of type 'shell', on which the cpp build tasks
7474
// depend. Just return the task as-is, since we only need to verify what
7575
// CppTaskProvider passed to the shell task resolver.
76-
container.get(TaskResolverRegistry).register('shell', {
76+
container.get(TaskResolverRegistry).register('shell', {
7777
async resolveTask(task: TaskConfiguration): Promise<TaskConfiguration> {
7878
return task;
7979
}

packages/editorconfig/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"dependencies": {
66
"@theia/core": "^0.3.17",
77
"@theia/editor": "^0.3.17",
8+
"@theia/languages": "^0.3.17",
89
"@theia/monaco": "^0.3.17",
910
"editorconfig": "^0.15.0"
1011
},

packages/extension-manager/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"dependencies": {
66
"@theia/application-manager": "^0.3.17",
77
"@theia/core": "^0.3.17",
8+
"@theia/application-package": "^0.3.17",
89
"@theia/filesystem": "^0.3.17",
910
"@types/fs-extra": "^4.0.2",
1011
"@types/sanitize-html": "^1.13.31",

packages/plugin-ext-vscode/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.3.17",
44
"description": "Theia - Plugin Extension for VsCode",
55
"dependencies": {
6+
"@theia/plugin": "^0.3.17",
67
"@theia/plugin-ext": "^0.3.17"
78
},
89
"publishConfig": {

packages/python/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"dependencies": {
66
"@theia/core": "^0.3.17",
77
"@theia/languages": "^0.3.17",
8+
"@theia/process": "^0.3.17",
89
"@theia/monaco": "^0.3.17"
910
},
1011
"publishConfig": {

packages/task/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Theia - Task extension. This extension adds support for executing raw or terminal processes in the backend.",
55
"dependencies": {
66
"@theia/core": "^0.3.17",
7+
"@theia/filesystem": "^0.3.17",
78
"@theia/markers": "^0.3.17",
89
"@theia/process": "^0.3.17",
910
"@theia/terminal": "^0.3.17",

packages/typescript/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "Theia - Typescript Extension",
55
"dependencies": {
66
"@theia/callhierarchy": "^0.3.17",
7+
"@theia/application-package": "^0.3.17",
8+
"@theia/filesystem": "^0.3.17",
9+
"@theia/editor": "^0.3.17",
710
"@theia/core": "^0.3.17",
811
"@theia/languages": "^0.3.17",
912
"@theia/monaco": "^0.3.17",

0 commit comments

Comments
 (0)