mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
unignore package-lock.json files, make command should be suffiently sub-shelled
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
9f25260160
commit
5257a3a43a
10 files changed
+46513
-9
No files matched your search
@@ -15,5 +15,4 @@ src/extensions/*/*.d.ts
|
||||
types/extension-api.d.ts
|
||||
types/extension-renderer-api.d.ts
|
||||
extensions/*/dist
|
||||
extensions/*/package-lock.json
|
||||
docs/extensions/api
|
||||
@@ -56,10 +56,10 @@ else
|
||||
endif
|
||||
|
||||
build-extensions:
|
||||
$(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), cd $(dir) && npm install && npm build;)
|
||||
$(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), (cd $(dir) && npm install && npm run build || exit);)
|
||||
|
||||
test-extensions:
|
||||
$(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), cd $(dir) && npm test;)
|
||||
$(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), (cd $(dir) && npm run test || exit);)
|
||||
|
||||
build-npm: build-extension-types
|
||||
yarn npm:fix-package-version
|
||||
|
||||
@@ -2,10 +2,10 @@ import { LensMainExtension } from "@k8slens/extensions";
|
||||
|
||||
export default class ExampleExtensionMain extends LensMainExtension {
|
||||
onActivate() {
|
||||
console.log('EXAMPLE EXTENSION MAIN: ACTIVATED');
|
||||
console.log('EXAMPLE EXTENSION MAIN: ACTIVATED', this.name, this.id);
|
||||
}
|
||||
|
||||
onDeactivate() {
|
||||
console.log('EXAMPLE EXTENSION MAIN: DEACTIVATED');
|
||||
console.log('EXAMPLE EXTENSION MAIN: DEACTIVATED', this.name, this.id);
|
||||
}
|
||||
}
|
||||
+6903
File diff suppressed because it is too large.
Load diff
+7040
File diff suppressed because it is too large.
Load diff
+6955
File diff suppressed because it is too large.
Load diff
Generated
+6943
File diff suppressed because it is too large.
Load diff
Generated
+6943
File diff suppressed because it is too large.
Load diff
+4603
-4
File diff suppressed because it is too large.
Load diff
Generated
+7122
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user