mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Kludge app:build to not be able to break npm install
This root problem is that app:build creates a package.json somewhere in a dist-directory, which then gets identified as part of the monorepo workspace, yet can't behave as such leading to error on most npm commands. The kludge is to remove said dist-directory before npm-installing. Co-authored-by: Gabriel <gaccettola@mirantis.com> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
parent
b9e8ce44b4
commit
1ca1efed6c
@ -9,6 +9,7 @@
|
||||
"scripts": {
|
||||
"all:reinstall": "npm run clean:node_modules && npm run all:install",
|
||||
"all:install": "npx --yes --package npm@9.6.5 npm install",
|
||||
"preall:install": "npx --yes --package rimraf rimraf packages/open-lens/dist",
|
||||
"adr:create": "echo \"What is the title?\"; read title; adr new \"$title\"",
|
||||
"adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision",
|
||||
"adr:update-readme": "adr update",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user