Skip to content

Commit a135b12

Browse files
tree-editor: add missing jsonforms peer dependencies (#174)
The tree editor framework was updated to require jsonforms as peer dependencies instead of direct dependencies. Thus, they were no longer installed. This commit adds them to the generated tree extension. See also eclipse-emfcloud/theia-tree-editor#78 Contributed on behalf of STMicroelectronics Signed-off-by: Lucas Koehler <[email protected]>
1 parent 53d5d83 commit a135b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ module.exports = class TheiaExtension extends Base {
247247
this.params.dependencies = '';
248248
this.params.browserDevDependencies = '';
249249
if (this.params.extensionType === ExtensionType.TreeEditor) {
250-
this.params.dependencies = `,\n "@theia/editor": "${this.params.theiaVersion}",\n "@theia/filesystem": "${this.params.theiaVersion}",\n "@theia/workspace": "${this.params.theiaVersion}",\n "@eclipse-emfcloud/theia-tree-editor": "next",\n "uuid": "^3.3.2"`;
250+
this.params.dependencies = `,\n "@theia/editor": "${this.params.theiaVersion}",\n "@theia/filesystem": "${this.params.theiaVersion}",\n "@theia/workspace": "${this.params.theiaVersion}",\n "@eclipse-emfcloud/theia-tree-editor": "next",\n "@jsonforms/core": "^3.1.0",\n "@jsonforms/react": "^3.1.0",\n "@jsonforms/vanilla-renderers": "^3.1.0",\n "uuid": "^3.3.2"`;
251251
}
252252
if (this.params.extensionType === ExtensionType.Widget) {
253253
this.params.devdependencies = `,\n "@testing-library/react": "^11.2.7",\n "@types/jest": "^26.0.20",\n "jest": "^26.6.3",\n "ts-node": "^10.9.1",\n "ts-jest": "^26.5.6"`;

0 commit comments

Comments
 (0)