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

Fix Cannot find module '@k8slens/cluster-settings' while running in dev mode (#7412)

* Adding 'prepare' commands to cluster-settings package

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Remove unused "lint" command from cluster-settings package

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

---------

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-03-27 19:14:57 +03:00 committed by GitHub
parent 1deb988339
commit 4f2ba5df48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,8 @@
"clean": "rimraf dist/", "clean": "rimraf dist/",
"generate-types": "tsc --d --declarationDir ./dist --declarationMap --emitDeclarationOnly", "generate-types": "tsc --d --declarationDir ./dist --declarationMap --emitDeclarationOnly",
"build": "npm run generate-types && swc ./src/index.ts -d ./dist", "build": "npm run generate-types && swc ./src/index.ts -d ./dist",
"prepare": "npm run build",
"prepare:dev": "npm run build",
"prepare:test": "npm run build" "prepare:test": "npm run build"
}, },
"devDependencies": { "devDependencies": {