Extensions api types (#985)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman authored and GitHub committed 2020-09-29 07:37:25 +03:00
1 parent 9a402eab3d
commit 5ec6751ab4
11 files changed
+174 -199

No files matched your search

+10 -5
View File
@@ -15,12 +15,11 @@
"dev-run": "nodemon --watch static/build/main.js --exec \"electron --inspect .\"",
"dev:main": "yarn compile:main --watch",
"dev:renderer": "yarn compile:renderer --watch",
"dev:extensions": "tsc --project src/extensions/example-extension --watch",
"dev:extensions": "rollup --config src/extensions/rollup.config.js --watch",
"compile": "env NODE_ENV=production concurrently yarn:compile:*",
"compile:main": "webpack --config webpack.main.ts",
"compile:renderer": "webpack --config webpack.renderer.ts",
"compile:i18n": "lingui compile",
"compile:extension-api.d.ts": "tsc --project src/extensions",
"build:linux": "yarn compile && electron-builder --linux --dir -c.productName=Lens",
"build:mac": "yarn compile && electron-builder --mac --dir -c.productName=Lens",
"build:win": "yarn compile && electron-builder --win --dir -c.productName=Lens",
@@ -35,7 +34,7 @@
"download:kubectl": "yarn run ts-node build/download_kubectl.ts",
"download:helm": "yarn run ts-node build/download_helm.ts",
"lint": "eslint $@ --ext js,ts,tsx --max-warnings=0 src/",
"rebuild-pty": "yarn run electron-rebuild -f -w node-pty"
"extensions:example": "tsc --project src/extensions/example-extension/tsconfig.json --watch"
},
"config": {
"bundledKubectlVersion": "1.17.11",
@@ -72,7 +71,9 @@
"moduleNameMapper": {
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.ts"
},
"modulePathIgnorePatterns": ["<rootDir>/dist"]
"modulePathIgnorePatterns": [
"<rootDir>/dist"
]
},
"build": {
"afterSign": "build/notarize.js",
@@ -242,6 +243,7 @@
"@lingui/macro": "^3.0.0-13",
"@lingui/react": "^3.0.0-13",
"@material-ui/core": "^4.10.1",
"@rollup/plugin-json": "^4.1.0",
"@types/chart.js": "^2.9.21",
"@types/circular-dependency-plugin": "^5.0.1",
"@types/color": "^3.0.1",
@@ -290,7 +292,6 @@
"electron": "^9.1.2",
"electron-builder": "^22.7.0",
"electron-notarize": "^0.3.0",
"electron-rebuild": "^1.11.0",
"eslint": "^7.7.0",
"file-loader": "^6.0.0",
"flex.box": "^3.4.4",
@@ -317,6 +318,10 @@
"react-router-dom": "^5.2.0",
"react-select": "^3.1.0",
"react-window": "^1.8.5",
"rollup": "^2.28.2",
"rollup-plugin-dts": "^1.4.13",
"rollup-plugin-ignore-import": "^1.3.2",
"rollup-pluginutils": "^2.8.2",
"sass-loader": "^8.0.2",
"spectron": "11.0.0",
"style-loader": "^1.2.1",