Skip to content

Commit 9e3ac9c

Browse files
authored
Merge pull request #34 from CodeRibbon/switching-to-lumino
phosphor to lumino
2 parents f0b5b58 + 745b4c0 commit 9e3ac9c

27 files changed

+1588
-1115
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: end-of-file-fixer
6+
- id: trailing-whitespace
7+
- id: check-json
8+
- id: check-merge-conflict
9+
- repo: https://github.com/pre-commit/mirrors-prettier
10+
rev: v3.1.0
11+
hooks:
12+
- id: prettier

.prettierrc.cjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
semi: true,
3+
singleQuote: false,
4+
tabWidth: 2,
5+
useTabs: false,
6+
trailingComma: "all",
7+
objectWrap: "preserve",
8+
requirePragma: true,
9+
endOfLine: "lf",
10+
};

BUILDING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1+
Build process is not finalized yet, currently only Appimage is built for linux systems.
12

2-
Build process is not finalized yet, but you can run the full app with extension support enabled.
3+
It is recommended to build from source for now, see `DEVELOPING.md` first for basic environment setup.
34

4-
See `DEVELOPING.md` first for basic environment setup.
5-
6-
The sources for the two kinds of builds are in `applications/`, with Electron builds being packaged by electron-builder.
5+
The sources for the two kinds of builds are `browser-app` and `electron-app`, with Electron builds being packaged by electron-builder.

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Start watching either type of build you're working with:
2626
# or
2727
yarn watch:electron
2828

29-
> right now there seems to be a problem with the 'watch' automatic recompilation, for now just use `build:*` instead.
29+
> right now there seems to be a problem with the 'watch' automatic recompilation, for now just use `build:*` or `start:*` instead.
3030
3131
To build without watching, use `build:browser` or `build:electron` instead.
3232

browser-app/package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
"name": "browser-app",
44
"version": "0.0.0",
55
"dependencies": {
6-
"@theia/core": "1.58.1",
7-
"@theia/editor": "1.58.1",
8-
"@theia/filesystem": "1.58.1",
9-
"@theia/markers": "1.58.1",
10-
"@theia/messages": "1.58.1",
11-
"@theia/monaco": "1.58.1",
12-
"@theia/navigator": "1.58.1",
13-
"@theia/plugin-dev": "^1.58.1",
14-
"@theia/plugin-ext": "^1.58.1",
15-
"@theia/plugin-ext-vscode": "^1.58.1",
16-
"@theia/preferences": "1.58.1",
17-
"@theia/process": "1.58.1",
18-
"@theia/terminal": "1.58.1",
19-
"@theia/vsx-registry": "^1.58.1",
20-
"@theia/workspace": "1.58.1",
6+
"@theia/core": "1.65.0",
7+
"@theia/editor": "1.65.0",
8+
"@theia/filesystem": "1.65.0",
9+
"@theia/markers": "1.65.0",
10+
"@theia/messages": "1.65.0",
11+
"@theia/monaco": "1.65.0",
12+
"@theia/navigator": "1.65.0",
13+
"@theia/plugin-dev": "1.65.0",
14+
"@theia/plugin-ext": "1.65.0",
15+
"@theia/plugin-ext-vscode": "1.65.0",
16+
"@theia/preferences": "1.65.0",
17+
"@theia/process": "1.65.0",
18+
"@theia/terminal": "1.65.0",
19+
"@theia/vsx-registry": "1.65.0",
20+
"@theia/workspace": "1.65.0",
2121
"coderibbon-theia": "^0.0.0"
2222
},
2323
"devDependencies": {
24-
"@theia/cli": "1.58.1"
24+
"@theia/cli": "1.65.0"
2525
},
2626
"scripts": {
2727
"bundle": "yarn rebuild && theia build --mode development",
@@ -32,4 +32,4 @@
3232
"theia": {
3333
"target": "browser"
3434
}
35-
}
35+
}

coderibbon-theia/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"src"
1010
],
1111
"dependencies": {
12-
"@theia/core": "1.58.1"
12+
"@theia/core": "1.65.0"
1313
},
1414
"devDependencies": {
1515
"less": "^4.1.3",
@@ -28,4 +28,4 @@
2828
"frontend": "lib/browser/coderibbon-theia-frontend-module"
2929
}
3030
]
31-
}
31+
}

coderibbon-theia/src/browser/coderibbon-theia-commands.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** @format */
2+
13
import { injectable, inject } from "@theia/core/shared/inversify";
24

35
import {

coderibbon-theia/src/browser/coderibbon-theia-frontend-module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** @format */
2+
13
import { ContainerModule } from "@theia/core/shared/inversify";
24

35
import {
@@ -13,7 +15,7 @@ import {
1315
// bindViewContribution, WidgetFactory,
1416
KeybindingContribution,
1517
} from "@theia/core/lib/browser";
16-
import { PreferenceContribution } from "@theia/core/lib/browser/preferences";
18+
import { PreferenceContribution } from "@theia/core/lib/common/preferences";
1719
import { ApplicationShell } from "@theia/core/lib/browser/shell/application-shell";
1820

1921
// import { CodeRibbonTheiaRibbonViewContribution } from './coderibbon-theia-ribbon';

coderibbon-theia/src/browser/coderibbon-theia-keybinds.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** @format */
2+
13
import { injectable, inject } from "@theia/core/shared/inversify";
24

35
// import {

coderibbon-theia/src/browser/coderibbon-theia-manager.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
/** @format */
2+
13
import { injectable, inject } from "@theia/core/shared/inversify";
24

3-
import { Widget } from "@phosphor/widgets";
5+
import { Widget } from "@lumino/widgets";
46
import { MessageService } from "@theia/core/lib/common";
57
import {
68
AbstractViewContribution,
@@ -10,7 +12,7 @@ import {
1012
import { FrontendApplication } from "@theia/core/lib/browser/frontend-application";
1113
import { FrontendApplicationStateService } from "@theia/core/lib/browser/frontend-application-state";
1214
import { ApplicationShell } from "@theia/core/lib/browser/shell/application-shell";
13-
import { CorePreferences } from "@theia/core/lib/browser/core-preferences";
15+
import { CorePreferences } from "@theia/core/lib/common/core-preferences";
1416

1517
// import { CodeRibbonApplicationShell } from './cr-application-shell';
1618

0 commit comments

Comments
 (0)