mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Fix dev mode of open-lens running is circles
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
1a817d314c
commit
f2247adfdb
@ -1,3 +1,7 @@
|
|||||||
|
open-lens/dist
|
||||||
|
open-lens/static/build
|
||||||
|
open-lens/static/webpack
|
||||||
|
open-lens/binaries
|
||||||
packages/**/dist
|
packages/**/dist
|
||||||
packages/**/static/build
|
packages/**/static/build
|
||||||
packages/**/build/webpack
|
packages/**/build/webpack
|
||||||
|
|||||||
19
nx.json
19
nx.json
@ -15,24 +15,29 @@
|
|||||||
"^build"
|
"^build"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"build:app": {
|
||||||
|
"dependsOn": [
|
||||||
|
"^build"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"test:integration": {
|
||||||
|
"dependsOn": [
|
||||||
|
"^build"
|
||||||
|
]
|
||||||
|
},
|
||||||
"build:docs": {
|
"build:docs": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^build"
|
"^build"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dev": {
|
|
||||||
"dependsOn": [
|
|
||||||
"prepare:dev"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"lint": {
|
"lint": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^prepare:test"
|
"^build"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"test:unit": {
|
"test:unit": {
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"^prepare:test"
|
"^build"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,15 +19,12 @@
|
|||||||
"author": "OpenLens Authors <info@k8slens.dev>",
|
"author": "OpenLens Authors <info@k8slens.dev>",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rimraf binaries/ dist/ static/build",
|
"clean": "rimraf binaries/ dist/ static/build",
|
||||||
"build": "npm run compile",
|
"build": "cross-env NODE_ENV=production webpack --config webpack/webpack.ts --progress",
|
||||||
"postbuild": "npm run build:tray-icons && npm run download:binaries",
|
"postbuild": "npm run build:tray-icons && npm run download:binaries",
|
||||||
"build:app": "electron-builder --publish onTag",
|
"build:app": "electron-builder --publish onTag",
|
||||||
"prebuild:app": "run-script-os",
|
"prebuild:app": "run-script-os",
|
||||||
"prebuild:app:default": "exit 0",
|
"prebuild:app:default": "exit 0",
|
||||||
"prebuild:app:win32": "rimraf node_modules/win-ca/pem",
|
"prebuild:app:win32": "rimraf node_modules/win-ca/pem",
|
||||||
"build:dir": "npm run compile && electron-builder --dir",
|
|
||||||
"compile": "cross-env NODE_ENV=production webpack --config webpack/webpack.ts --progress",
|
|
||||||
"postcompile": "npm run build:tray-icons && npm run download:binaries",
|
|
||||||
"start": "concurrently -i -k \"npm run dev-run -C\" npm:dev:*",
|
"start": "concurrently -i -k \"npm run dev-run -C\" npm:dev:*",
|
||||||
"dev-run": "nodemon --watch ./static/build/main.js --exec \"electron --remote-debugging-port=9223 --inspect .\"",
|
"dev-run": "nodemon --watch ./static/build/main.js --exec \"electron --remote-debugging-port=9223 --inspect .\"",
|
||||||
"dev:main": "cross-env NODE_ENV=development webpack --config webpack/main.ts --progress --watch",
|
"dev:main": "cross-env NODE_ENV=development webpack --config webpack/main.ts --progress --watch",
|
||||||
|
|||||||
@ -20,8 +20,8 @@
|
|||||||
"clean": "lerna run clean --stream",
|
"clean": "lerna run clean --stream",
|
||||||
"clean:node_modules": "lerna clean -y && rimraf node_modules",
|
"clean:node_modules": "lerna clean -y && rimraf node_modules",
|
||||||
"dev": "cross-env NODE_ENV=development lerna run build --stream --skip-nx-cache",
|
"dev": "cross-env NODE_ENV=development lerna run build --stream --skip-nx-cache",
|
||||||
"postdev": "lerna watch -- lerna run build --stream --scope \\$LERNA_PACKAGE_NAME",
|
"postdev": "lerna watch -- lerna run build --stream --include-dependents --scope \\$LERNA_PACKAGE_NAME",
|
||||||
"prestart-dev": "cd ./open-lens && rimraf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
"prestart-dev": "cd ./open-lens && npm run build:tray-icons && npm run download:binaries",
|
||||||
"start-dev": "lerna run start",
|
"start-dev": "lerna run start",
|
||||||
"lint": "lerna run lint --stream --no-bail",
|
"lint": "lerna run lint --stream --no-bail",
|
||||||
"lint:fix": "lerna run lint:fix --stream",
|
"lint:fix": "lerna run lint:fix --stream",
|
||||||
|
|||||||
@ -102,18 +102,6 @@
|
|||||||
],
|
],
|
||||||
"runtime": "@side/jest-runtime"
|
"runtime": "@side/jest-runtime"
|
||||||
},
|
},
|
||||||
"nx": {
|
|
||||||
"targets": {
|
|
||||||
"build": {
|
|
||||||
"dependsOn": [
|
|
||||||
"^build"
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
"{workspaceRoot}/static/build/"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astronautlabs/jsonpath": "^1.1.0",
|
"@astronautlabs/jsonpath": "^1.1.0",
|
||||||
"@hapi/call": "^9.0.1",
|
"@hapi/call": "^9.0.1",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user