mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix feature install, updated bundledHelmVersion from package.json
This commit is contained in:
parent
adb8555239
commit
47ccd7c4cb
@ -40,7 +40,7 @@
|
||||
},
|
||||
"config": {
|
||||
"bundledKubectlVersion": "1.17.4",
|
||||
"bundledHelmVersion": "3.1.2"
|
||||
"bundledHelmVersion": "3.2.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0 <13.0"
|
||||
@ -76,14 +76,17 @@
|
||||
"extraResources": [
|
||||
{
|
||||
"from": "src/features/",
|
||||
"to": "features/",
|
||||
"filter": "**/*"
|
||||
},
|
||||
{
|
||||
"from": "locales/",
|
||||
"to": "locales/",
|
||||
"filter": "**/*.js"
|
||||
},
|
||||
{
|
||||
"from": "static/",
|
||||
"to": "static/",
|
||||
"filter": "**/*"
|
||||
},
|
||||
"LICENSE"
|
||||
|
||||
@ -99,6 +99,10 @@ export abstract class Feature {
|
||||
}
|
||||
|
||||
protected manifestPath() {
|
||||
return path.join(__dirname, '..', 'features', this.name);
|
||||
const devPath = path.join(__dirname, "..", 'src/features', this.name);
|
||||
if(fs.existsSync(devPath)) {
|
||||
return devPath;
|
||||
}
|
||||
return path.join(__dirname, "..", 'features', this.name);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user