mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-14 06:46:36 +00:00
Renamed the applications.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
b82d5e4f0b
commit
cd94608aee
3
.gitignore
vendored
3
.gitignore
vendored
@ -6,7 +6,8 @@ build/
|
|||||||
downloads/
|
downloads/
|
||||||
!electron/build/
|
!electron/build/
|
||||||
src-gen/
|
src-gen/
|
||||||
arduino-ide-*/webpack.config.js
|
browser-app/webpack.config.js
|
||||||
|
electron-app/webpack.config.js
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/workspace/static
|
/workspace/static
|
||||||
# switching from `electron` to `browser` in dev mode.
|
# switching from `electron` to `browser` in dev mode.
|
||||||
|
@ -8,7 +8,7 @@ ports:
|
|||||||
tasks:
|
tasks:
|
||||||
- init: >
|
- init: >
|
||||||
yarn &&
|
yarn &&
|
||||||
yarn --cwd ./arduino-ide-browser start
|
yarn --cwd ./browser-app start
|
||||||
|
|
||||||
github:
|
github:
|
||||||
prebuilds:
|
prebuilds:
|
||||||
|
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
@ -14,7 +14,7 @@
|
|||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Launch Backend",
|
"name": "Launch Backend",
|
||||||
"program": "${workspaceRoot}/arduino-ide-browser/src-gen/backend/main.js",
|
"program": "${workspaceRoot}/browser-app/src-gen/backend/main.js",
|
||||||
"args": [
|
"args": [
|
||||||
"--hostname=0.0.0.0",
|
"--hostname=0.0.0.0",
|
||||||
"--port=3000",
|
"--port=3000",
|
||||||
@ -26,8 +26,8 @@
|
|||||||
},
|
},
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": [
|
||||||
"${workspaceRoot}/arduino-ide-browser/src-gen/backend/*.js",
|
"${workspaceRoot}/browser-app/src-gen/backend/*.js",
|
||||||
"${workspaceRoot}/arduino-ide-browser/lib/**/*.js",
|
"${workspaceRoot}/browser-app/lib/**/*.js",
|
||||||
"${workspaceRoot}/arduino-ide-extension/*/lib/**/*.js"
|
"${workspaceRoot}/arduino-ide-extension/*/lib/**/*.js"
|
||||||
],
|
],
|
||||||
"smartStep": true,
|
"smartStep": true,
|
||||||
|
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@ -6,7 +6,7 @@
|
|||||||
{
|
{
|
||||||
"label": "Arduino Editor - Start Browser Example",
|
"label": "Arduino Editor - Start Browser Example",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "yarn --cwd ./arduino-ide-browser start",
|
"command": "yarn --cwd ./browser-app start",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
@ -28,7 +28,7 @@
|
|||||||
{
|
{
|
||||||
"label": "Arduino Editor - Watch Browser Example",
|
"label": "Arduino Editor - Watch Browser Example",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "yarn --cwd ./arduino-ide-browser watch",
|
"command": "yarn --cwd ./browser-app watch",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
|
@ -26,7 +26,7 @@ yarn rebuild:browser
|
|||||||
```
|
```
|
||||||
Then you can start the browser example again:
|
Then you can start the browser example again:
|
||||||
```
|
```
|
||||||
yarn --cwd arduino-ide-browser start
|
yarn --cwd browser-app start
|
||||||
```
|
```
|
||||||
|
|
||||||
## Arduino-PoC Electron Application
|
## Arduino-PoC Electron Application
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "arduino-ide-browser",
|
"name": "browser-app",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "arduino-ide-electron",
|
"name": "electron-app",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
@ -47,13 +47,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------+
|
//-----------------------------------------------------+
|
||||||
// No need to build the `arduino-ide-browser` example. |
|
// No need to build the `browser-app` example. |
|
||||||
//-----------------------------------------------------+
|
//-----------------------------------------------------+
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
let pkg = require('../working-copy/package.json');
|
let pkg = require('../working-copy/package.json');
|
||||||
const workspaces = pkg.workspaces;
|
const workspaces = pkg.workspaces;
|
||||||
// We cannot remove the `arduino-ide-electron`. Otherwise, there is not way to collect the unused dependencies.
|
// We cannot remove the `arduino-ide-electron`. Otherwise, there is not way to collect the unused dependencies.
|
||||||
const dependenciesToRemove = ['arduino-ide-browser'];
|
const dependenciesToRemove = ['browser-app'];
|
||||||
for (const dependencyToRemove of dependenciesToRemove) {
|
for (const dependencyToRemove of dependenciesToRemove) {
|
||||||
const index = workspaces.indexOf(dependencyToRemove);
|
const index = workspaces.indexOf(dependencyToRemove);
|
||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
"prepare": "lerna run prepare",
|
"prepare": "lerna run prepare",
|
||||||
"rebuild:browser": "theia rebuild:browser",
|
"rebuild:browser": "theia rebuild:browser",
|
||||||
"rebuild:electron": "theia rebuild:electron",
|
"rebuild:electron": "theia rebuild:electron",
|
||||||
"start": "yarn --cwd ./arduino-ide-browser start",
|
"start": "yarn --cwd ./browser-app start",
|
||||||
"watch": "lerna run watch --parallel"
|
"watch": "lerna run watch --parallel"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"arduino-ide-electron",
|
"arduino-ide-extension",
|
||||||
"arduino-ide-browser",
|
"electron-app",
|
||||||
"arduino-ide-extension"
|
"browser-app"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user