mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
improve how extension-api is exposed/loaded
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
aa864fc199
commit
835b2e8916
14 files changed
+3487
-90
No files matched your search
+3445
File diff suppressed because it is too large.
Load diff
@@ -9,13 +9,17 @@
|
||||
"styles": []
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build": "npm run build:main && npm run build:renderer",
|
||||
"build:main": "tsc",
|
||||
"build:renderer": "webpack --config webpack.config.js",
|
||||
"dev": "tsc --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"react-open-doodles": "^1.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^4.0.3"
|
||||
"ts-loader": "^8.0.4",
|
||||
"typescript": "^4.0.3",
|
||||
"webpack": "^4.44.2"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Button, Icon, IconProps, LensRendererExtension, React } from "@lens/ui-extensions";
|
||||
import { Button, Icon, IconProps, LensRendererExtension } from "@lens/ui-extensions";
|
||||
import { CoffeeDoodle } from "react-open-doodles";
|
||||
import path from "path";
|
||||
import React from "react"
|
||||
|
||||
export function ExtensionIcon(props: IconProps) {
|
||||
return <Icon {...props} material="pages" tooltip={path.basename(__filename)}/>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
},
|
||||
"include": [
|
||||
"../../types",
|
||||
"./renderer.ts",
|
||||
"./main.ts"
|
||||
],
|
||||
"exclude": [
|
||||
|
||||
Reference in new issue
Block a user