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-tursoandJanne Savolainen committed 2023-06-06 11:55:52 +03:00
1 parent b408d5693d
commit 1755c498de
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -40,6 +40,13 @@
"^build"
]
},
"linkable-push": {
"dependsOn": [
"build"
],
"inputs": [],
"outputs": []
},
"test:integration": {
"dependsOn": [
"^build"
+1 -1
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",