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

chore: Make linkable push happen automatically for development

Note that because lerna-running the non-cached script "linkable-push"
it gets run only when required, and after its dependency script "build"
is ran.

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

Signed-off-by: Mikko Aspiala <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-turso 2023-06-06 11:15:51 +03:00
parent b408d5693d
commit 1755c498de
2 changed files with 8 additions and 1 deletions

View File

@ -40,6 +40,13 @@
"^build"
]
},
"linkable-push": {
"dependsOn": [
"build"
],
"inputs": [],
"outputs": []
},
"test:integration": {
"dependsOn": [
"^build"

View File

@ -19,7 +19,7 @@
"clean:node_modules": "lerna clean -y && rimraf node_modules",
"clean:build-cache": "nx reset",
"rebuild:dev": "npm run clean:build-cache && npm run build:dev",
"build:dev": "cross-env NODE_ENV=development lerna run build",
"build:dev": "cross-env NODE_ENV=development lerna run build,linkable-push",
"build:dev:watch": "lerna watch -- npm run build:dev -- --scope \\$LERNA_PACKAGE_NAME",
"start-dev-application": "cross-env NODE_ENV=development lerna run dev:main,dev:renderer,dev-run --stream --scope open-lens",
"dev": "npm run build:dev; npm run build:dev:watch",