Skip to content

Commit 4f2ba5d

Browse files
authored
Fix Cannot find module '@k8slens/cluster-settings' while running in dev mode (lensapp#7412)
* Adding 'prepare' commands to cluster-settings package Signed-off-by: Alex Andreev <[email protected]> * Remove unused "lint" command from cluster-settings package Signed-off-by: Alex Andreev <[email protected]> --------- Signed-off-by: Alex Andreev <[email protected]>
1 parent 1deb988 commit 4f2ba5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/cluster-settings/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"clean": "rimraf dist/",
1919
"generate-types": "tsc --d --declarationDir ./dist --declarationMap --emitDeclarationOnly",
2020
"build": "npm run generate-types && swc ./src/index.ts -d ./dist",
21+
"prepare": "npm run build",
22+
"prepare:dev": "npm run build",
2123
"prepare:test": "npm run build"
2224
},
2325
"devDependencies": {

0 commit comments

Comments
 (0)