1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

chore: Make "start-dev" start faster by caching icons and binaries

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-turso 2023-06-01 18:21:39 +03:00
parent e0d1de4207
commit cd8f7a23e3
2 changed files with 14 additions and 3 deletions

View File

@ -73,6 +73,16 @@
"{workspaceRoot}/dist/"
]
},
"build:tray-icons": {
"outputs": [
"{workspaceRoot}/static/build/tray/"
]
},
"download:binaries": {
"outputs": [
"{workspaceRoot}/binaries/"
]
},
"test:integration": {
"dependsOn": [
"build:app"
@ -80,12 +90,14 @@
},
"dev:main": {
"dependsOn": [
"^build"
"^build",
"download:binaries"
]
},
"dev:renderer": {
"dependsOn": [
"^build"
"^build",
"build:tray-icons"
]
},
"dev-run": {

View File

@ -18,7 +18,6 @@
"clean": "lerna run clean --stream",
"clean:node_modules": "lerna clean -y && rimraf node_modules",
"dev": "cross-env NODE_ENV=development lerna watch -- lerna run build --stream --scope \\$LERNA_PACKAGE_NAME",
"prestart-dev": "cd ./open-lens && npm run build:tray-icons && npm run download:binaries",
"start-dev": "lerna run dev:main,dev:renderer,dev-run --stream --scope open-lens",
"postinstall": "linkable",
"lint": "lerna run lint --stream --no-bail",