Skip to content

Commit cd94608

Browse files
author
Akos Kitta
committed
Renamed the applications.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent b82d5e4 commit cd94608

File tree

9 files changed

+17
-16
lines changed

9 files changed

+17
-16
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ build/
66
downloads/
77
!electron/build/
88
src-gen/
9-
arduino-ide-*/webpack.config.js
9+
browser-app/webpack.config.js
10+
electron-app/webpack.config.js
1011
.DS_Store
1112
/workspace/static
1213
# switching from `electron` to `browser` in dev mode.

.gitpod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ports:
88
tasks:
99
- init: >
1010
yarn &&
11-
yarn --cwd ./arduino-ide-browser start
11+
yarn --cwd ./browser-app start
1212
1313
github:
1414
prebuilds:

.vscode/launch.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "node",
1515
"request": "launch",
1616
"name": "Launch Backend",
17-
"program": "${workspaceRoot}/arduino-ide-browser/src-gen/backend/main.js",
17+
"program": "${workspaceRoot}/browser-app/src-gen/backend/main.js",
1818
"args": [
1919
"--hostname=0.0.0.0",
2020
"--port=3000",
@@ -26,8 +26,8 @@
2626
},
2727
"sourceMaps": true,
2828
"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",
3131
"${workspaceRoot}/arduino-ide-extension/*/lib/**/*.js"
3232
],
3333
"smartStep": true,

.vscode/tasks.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"label": "Arduino Editor - Start Browser Example",
88
"type": "shell",
9-
"command": "yarn --cwd ./arduino-ide-browser start",
9+
"command": "yarn --cwd ./browser-app start",
1010
"group": "build",
1111
"presentation": {
1212
"reveal": "always",
@@ -28,7 +28,7 @@
2828
{
2929
"label": "Arduino Editor - Watch Browser Example",
3030
"type": "shell",
31-
"command": "yarn --cwd ./arduino-ide-browser watch",
31+
"command": "yarn --cwd ./browser-app watch",
3232
"group": "build",
3333
"presentation": {
3434
"reveal": "always",

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ yarn rebuild:browser
2626
```
2727
Then you can start the browser example again:
2828
```
29-
yarn --cwd arduino-ide-browser start
29+
yarn --cwd browser-app start
3030
```
3131

3232
## Arduino-PoC Electron Application

arduino-ide-browser/package.json renamed to browser-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"name": "arduino-ide-browser",
3+
"name": "browser-app",
44
"version": "0.0.1",
55
"license": "MIT",
66
"dependencies": {

arduino-ide-electron/package.json renamed to electron-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"name": "arduino-ide-electron",
3+
"name": "electron-app",
44
"version": "0.0.1",
55
"license": "MIT",
66
"dependencies": {

electron/packager/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
}
4848

4949
//-----------------------------------------------------+
50-
// No need to build the `arduino-ide-browser` example. |
50+
// No need to build the `browser-app` example. |
5151
//-----------------------------------------------------+
5252
//@ts-ignore
5353
let pkg = require('../working-copy/package.json');
5454
const workspaces = pkg.workspaces;
5555
// 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'];
5757
for (const dependencyToRemove of dependenciesToRemove) {
5858
const index = workspaces.indexOf(dependencyToRemove);
5959
if (index !== -1) {

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"prepare": "lerna run prepare",
1515
"rebuild:browser": "theia rebuild:browser",
1616
"rebuild:electron": "theia rebuild:electron",
17-
"start": "yarn --cwd ./arduino-ide-browser start",
17+
"start": "yarn --cwd ./browser-app start",
1818
"watch": "lerna run watch --parallel"
1919
},
2020
"workspaces": [
21-
"arduino-ide-electron",
22-
"arduino-ide-browser",
23-
"arduino-ide-extension"
21+
"arduino-ide-extension",
22+
"electron-app",
23+
"browser-app"
2424
]
2525
}

0 commit comments

Comments
 (0)