File tree 9 files changed +17
-16
lines changed
9 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 6
6
downloads /
7
7
! electron /build /
8
8
src-gen /
9
- arduino-ide- * /webpack.config.js
9
+ browser-app /webpack.config.js
10
+ electron-app /webpack.config.js
10
11
.DS_Store
11
12
/workspace /static
12
13
# switching from `electron` to `browser` in dev mode.
Original file line number Diff line number Diff line change 8
8
tasks :
9
9
- init : >
10
10
yarn &&
11
- yarn --cwd ./arduino-ide- browser start
11
+ yarn --cwd ./browser-app start
12
12
13
13
github :
14
14
prebuilds :
Original file line number Diff line number Diff line change 14
14
"type" : " node" ,
15
15
"request" : " launch" ,
16
16
"name" : " Launch Backend" ,
17
- "program" : " ${workspaceRoot}/arduino-ide- browser/src-gen/backend/main.js" ,
17
+ "program" : " ${workspaceRoot}/browser-app /src-gen/backend/main.js" ,
18
18
"args" : [
19
19
" --hostname=0.0.0.0" ,
20
20
" --port=3000" ,
26
26
},
27
27
"sourceMaps" : true ,
28
28
"outFiles" : [
29
- " ${workspaceRoot}/arduino-ide- browser/src-gen/backend/*.js" ,
30
- " ${workspaceRoot}/arduino-ide- browser/lib/**/*.js" ,
29
+ " ${workspaceRoot}/browser-app /src-gen/backend/*.js" ,
30
+ " ${workspaceRoot}/browser-app /lib/**/*.js" ,
31
31
" ${workspaceRoot}/arduino-ide-extension/*/lib/**/*.js"
32
32
],
33
33
"smartStep" : true ,
Original file line number Diff line number Diff line change 6
6
{
7
7
"label" : " Arduino Editor - Start Browser Example" ,
8
8
"type" : " shell" ,
9
- "command" : " yarn --cwd ./arduino-ide- browser start" ,
9
+ "command" : " yarn --cwd ./browser-app start" ,
10
10
"group" : " build" ,
11
11
"presentation" : {
12
12
"reveal" : " always" ,
28
28
{
29
29
"label" : " Arduino Editor - Watch Browser Example" ,
30
30
"type" : " shell" ,
31
- "command" : " yarn --cwd ./arduino-ide- browser watch" ,
31
+ "command" : " yarn --cwd ./browser-app watch" ,
32
32
"group" : " build" ,
33
33
"presentation" : {
34
34
"reveal" : " always" ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ yarn rebuild:browser
26
26
```
27
27
Then you can start the browser example again:
28
28
```
29
- yarn --cwd arduino-ide- browser start
29
+ yarn --cwd browser-app start
30
30
```
31
31
32
32
## Arduino-PoC Electron Application
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
- "name" : " arduino-ide- browser" ,
3
+ "name" : " browser-app " ,
4
4
"version" : " 0.0.1" ,
5
5
"license" : " MIT" ,
6
6
"dependencies" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
- "name" : " arduino-ide- electron" ,
3
+ "name" : " electron-app " ,
4
4
"version" : " 0.0.1" ,
5
5
"license" : " MIT" ,
6
6
"dependencies" : {
Original file line number Diff line number Diff line change 47
47
}
48
48
49
49
//-----------------------------------------------------+
50
- // No need to build the `arduino-ide- browser` example. |
50
+ // No need to build the `browser-app ` example. |
51
51
//-----------------------------------------------------+
52
52
//@ts -ignore
53
53
let pkg = require ( '../working-copy/package.json' ) ;
54
54
const workspaces = pkg . workspaces ;
55
55
// We cannot remove the `arduino-ide-electron`. Otherwise, there is not way to collect the unused dependencies.
56
- const dependenciesToRemove = [ 'arduino-ide- browser' ] ;
56
+ const dependenciesToRemove = [ 'browser-app ' ] ;
57
57
for ( const dependencyToRemove of dependenciesToRemove ) {
58
58
const index = workspaces . indexOf ( dependencyToRemove ) ;
59
59
if ( index !== - 1 ) {
Original file line number Diff line number Diff line change 14
14
"prepare" : " lerna run prepare" ,
15
15
"rebuild:browser" : " theia rebuild:browser" ,
16
16
"rebuild:electron" : " theia rebuild:electron" ,
17
- "start" : " yarn --cwd ./arduino-ide- browser start" ,
17
+ "start" : " yarn --cwd ./browser-app start" ,
18
18
"watch" : " lerna run watch --parallel"
19
19
},
20
20
"workspaces" : [
21
- " arduino-ide-electron " ,
22
- " arduino-ide-browser " ,
23
- " arduino-ide-extension "
21
+ " arduino-ide-extension " ,
22
+ " electron-app " ,
23
+ " browser-app "
24
24
]
25
25
}
You can’t perform that action at this time.
0 commit comments