File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ Please install all necessary [prerequisites](https://github.com/eclipse-theia/th
7
7
8
8
## Running the browser example
9
9
10
+ yarn build:browser
10
11
yarn start:browser
11
12
12
13
* or:*
13
14
14
- yarn rebuild :browser
15
+ yarn build :browser
15
16
cd browser-app
16
17
yarn start
17
18
@@ -21,11 +22,12 @@ Open http://localhost:3000 in the browser.
21
22
22
23
## Running the Electron example
23
24
25
+ yarn build:electron
24
26
yarn start:electron
25
27
26
28
* or:*
27
29
28
- yarn rebuild :electron
30
+ yarn build :electron
29
31
cd electron-app
30
32
yarn start
31
33
Original file line number Diff line number Diff line change 20
20
"@theia/cli" : " <%= params.theiaVersion %>" <% if (params.browserDevDependencies) { %><%- params.browserDevDependencies %><% } %>
21
21
},
22
22
"scripts" : {
23
- "prepare" : " theia build --mode development" ,
23
+ "bundle" : " yarn rebuild && theia build --mode development" ,
24
+ "rebuild" : " theia rebuild:browser" ,
24
25
"start" : " theia start" ,
25
- "watch" : " theia build --watch --mode development"
26
+ "watch" : " yarn rebuild && theia build --watch --mode development"
26
27
},
27
28
"theia" : {
28
29
"target" : " <%= appMode %>"
Original file line number Diff line number Diff line change 22
22
"electron" : " ^23.2.4"
23
23
},
24
24
"scripts" : {
25
- "prepare" : " theia build --mode development" ,
25
+ "bundle" : " yarn rebuild && theia build --mode development" ,
26
+ "rebuild" : " theia rebuild:electron" ,
26
27
"start" : " theia start" ,
27
- "watch" : " theia build --watch --mode development"
28
+ "watch" : " yarn rebuild && theia build --watch --mode development"
28
29
},
29
30
"theia" : {
30
31
"target" : " <%= appMode %>"
Original file line number Diff line number Diff line change 5
5
"node" : " >=14.18.0"
6
6
},
7
7
"scripts" : {
8
+ "build:browser" : " yarn --cwd browser-app bundle" ,
9
+ "build:electron" : " yarn --cwd electron-app bundle" ,
8
10
"prepare" : " lerna run prepare" ,
9
11
"postinstall" : " theia check:theia-version" ,
10
- "rebuild:browser" : " theia rebuild:browser" ,
11
- "rebuild:electron" : " theia rebuild:electron" ,
12
- "start:browser" : " yarn rebuild:browser && yarn --cwd browser-app start" ,
13
- "start:electron" : " yarn rebuild:electron && yarn --cwd electron-app start" ,
12
+ "start:browser" : " yarn --cwd browser-app start" ,
13
+ "start:electron" : " yarn --cwd electron-app start" ,
14
14
"watch" : " lerna run --parallel watch" <% if (params.rootscripts) { %><%- params.rootscripts %><% } %>
15
15
},
16
16
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments