1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Merge branch 'master' into table-injection-tokens

This commit is contained in:
Alex Andreev 2023-05-25 15:56:14 +03:00
commit 27de0e7c1b
56 changed files with 2673 additions and 3077 deletions

View File

@ -23,7 +23,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |

View File

@ -28,7 +28,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Get npm cache directory path - name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}

View File

@ -19,7 +19,7 @@ jobs:
registry-url: "https://npm.pkg.github.com" registry-url: "https://npm.pkg.github.com"
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Install deps - name: Install deps
run: | run: |

View File

@ -23,7 +23,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Install deps - name: Install deps
run: npm install run: npm install

View File

@ -36,7 +36,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |

View File

@ -33,7 +33,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |
@ -79,7 +79,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Generate Extensions API Reference using typedocs - name: Generate Extensions API Reference using typedocs
run: | run: |

View File

@ -31,7 +31,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Generate NPM packages - name: Generate NPM packages
run: | run: |

View File

@ -35,7 +35,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Get npm cache directory path - name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}
@ -105,7 +105,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Install specific npm version - name: Install specific npm version
run: npm install -g npm@^9.6.5 run: npm install -g npm@^9.6.7
- name: Get npm cache directory path - name: Get npm cache directory path
if: ${{ runner.os != 'Windows' }} if: ${{ runner.os != 'Windows' }}

View File

@ -3,6 +3,86 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 6.5.0-alpha.16 (2023-05-23)
# 6.5.0-alpha.14 (2023-05-23)
### Reverts
* Revert "chore: Extract sidebar item injection token into separate package" ([8f4aa49](https://github.com/lensapp/lens/commit/8f4aa497cc54655f83813d57c224f77dd1472141))
* Revert "chore: Update integration tests to new testid format" ([be1fbcf](https://github.com/lensapp/lens/commit/be1fbcf8c3642fbf5a5ee06c3b03ac1756e4b1dd))
* Revert "chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers" ([d4c12be](https://github.com/lensapp/lens/commit/d4c12becfc9020009d64f48e4c8f9dd3b7725bb6))
* Revert "chore: Fix integration tests failing due to helm testid's changing" ([96b7ecb](https://github.com/lensapp/lens/commit/96b7ecbaddedd45cc667cc2d6c25fdc0813557ec))
# 6.5.0-alpha.13 (2023-05-16)
### Bug Fixes
* Copy fonts from @k8slens/core to open-lens correctly ([33a9f3e](https://github.com/lensapp/lens/commit/33a9f3ea3501c04738c8d74b82725bbe83e148bb))
# 6.5.0-alpha.12 (2023-05-16)
# 6.5.0-alpha.11 (2023-05-11)
### Bug Fixes
* Add missing styles to fix terminal resizing ([6902851](https://github.com/lensapp/lens/commit/6902851026e74428f515fc5f3e01e6dc8a4c2d50))
# 6.5.0-alpha.15 (2023-05-23)
# 6.5.0-alpha.14 (2023-05-23)
### Reverts
* Revert "chore: Extract sidebar item injection token into separate package" ([8f4aa49](https://github.com/lensapp/lens/commit/8f4aa497cc54655f83813d57c224f77dd1472141))
* Revert "chore: Update integration tests to new testid format" ([be1fbcf](https://github.com/lensapp/lens/commit/be1fbcf8c3642fbf5a5ee06c3b03ac1756e4b1dd))
* Revert "chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers" ([d4c12be](https://github.com/lensapp/lens/commit/d4c12becfc9020009d64f48e4c8f9dd3b7725bb6))
* Revert "chore: Fix integration tests failing due to helm testid's changing" ([96b7ecb](https://github.com/lensapp/lens/commit/96b7ecbaddedd45cc667cc2d6c25fdc0813557ec))
# 6.5.0-alpha.13 (2023-05-16)
### Bug Fixes
* Copy fonts from @k8slens/core to open-lens correctly ([33a9f3e](https://github.com/lensapp/lens/commit/33a9f3ea3501c04738c8d74b82725bbe83e148bb))
# 6.5.0-alpha.12 (2023-05-16)
# 6.5.0-alpha.11 (2023-05-11)
### Bug Fixes
* Add missing styles to fix terminal resizing ([6902851](https://github.com/lensapp/lens/commit/6902851026e74428f515fc5f3e01e6dc8a4c2d50))
# 6.5.0-alpha.13 (2023-05-16) # 6.5.0-alpha.13 (2023-05-16)

View File

@ -4,7 +4,7 @@
"productName": "OpenLens", "productName": "OpenLens",
"description": "OpenLens - Open Source IDE for Kubernetes", "description": "OpenLens - Open Source IDE for Kubernetes",
"homepage": "https://github.com/lensapp/lens", "homepage": "https://github.com/lensapp/lens",
"version": "6.5.0-alpha.13", "version": "6.5.0-alpha.16",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/lensapp/lens.git" "url": "git+https://github.com/lensapp/lens.git"
@ -177,39 +177,125 @@
} }
}, },
"dependencies": { "dependencies": {
"@k8slens/application": "^6.5.0-alpha.8", "@astronautlabs/jsonpath": "^1.1.0",
"@k8slens/application-for-electron-main": "^6.5.0-alpha.7", "@hapi/call": "^9.0.1",
"@k8slens/core": "^6.5.0-alpha.13", "@hapi/subtext": "^7.1.0",
"@k8slens/ensure-binaries": "^6.5.0-alpha.6", "@k8slens/application": "^6.5.0-alpha.9",
"@k8slens/event-emitter": "^1.0.0-alpha.5", "@k8slens/application-for-electron-main": "^6.5.0-alpha.8",
"@k8slens/feature-core": "^6.5.0-alpha.7", "@k8slens/button": "^1.0.0-alpha.5",
"@k8slens/keyboard-shortcuts": "^1.0.0-alpha.7", "@k8slens/cluster-settings": "^6.5.0-alpha.1",
"@k8slens/kube-object": "^1.0.0-alpha.5", "@k8slens/core": "^6.5.0-alpha.15",
"@k8slens/kubectl-versions": "^1.0.0-alpha.6", "@k8slens/ensure-binaries": "^6.5.0-alpha.7",
"@k8slens/legacy-extension-example": "^1.0.0-alpha.11", "@k8slens/error-boundary": "^1.0.0-alpha.5",
"@k8slens/legacy-extensions": "^1.0.0-alpha.7", "@k8slens/event-emitter": "^1.0.0-alpha.6",
"@k8slens/legacy-global-di": "^1.0.0-alpha.4", "@k8slens/feature-core": "^6.5.0-alpha.8",
"@k8slens/logger": "^1.0.0-alpha.6", "@k8slens/keyboard-shortcuts": "^1.0.0-alpha.8",
"@k8slens/messaging": "^1.0.0-alpha.7", "@k8slens/kube-object": "^1.0.0-alpha.6",
"@k8slens/messaging-for-main": "^1.0.0-alpha.7", "@k8slens/kubectl-versions": "^1.0.0-alpha.9",
"@k8slens/messaging-for-renderer": "^1.0.0-alpha.7", "@k8slens/legacy-extension-example": "^1.0.0-alpha.13",
"@k8slens/legacy-extensions": "^1.0.0-alpha.8",
"@k8slens/legacy-global-di": "^1.0.0-alpha.5",
"@k8slens/list-layout": "^1.0.0-alpha.4",
"@k8slens/logger": "^1.0.0-alpha.7",
"@k8slens/messaging": "^1.0.0-alpha.8",
"@k8slens/messaging-for-main": "^1.0.0-alpha.8",
"@k8slens/messaging-for-renderer": "^1.0.0-alpha.8",
"@k8slens/metrics": "^6.5.0-alpha.7",
"@k8slens/node-fetch": "^6.5.0-alpha.3", "@k8slens/node-fetch": "^6.5.0-alpha.3",
"@k8slens/react-application": "^1.0.0-alpha.6", "@k8slens/react-application": "^1.0.0-alpha.7",
"@k8slens/resizing-anchor": "^1.0.0-alpha.9", "@k8slens/resizing-anchor": "^1.0.0-alpha.10",
"@k8slens/run-many": "^1.0.0-alpha.7", "@k8slens/resource-templates": "^1.0.0-alpha.1",
"@k8slens/startable-stoppable": "^1.0.0-alpha.6", "@k8slens/routing": "^1.0.0-alpha.5",
"@k8slens/utilities": "^1.0.0-alpha.6", "@k8slens/run-many": "^1.0.0-alpha.8",
"@k8slens/startable-stoppable": "^1.0.0-alpha.7",
"@k8slens/tooltip": "^1.0.0-alpha.5",
"@k8slens/utilities": "^1.0.0-alpha.7",
"@kubernetes/client-node": "^0.18.1",
"@material-ui/core": "^4.12.3",
"@material-ui/lab": "^4.0.0-alpha.60",
"@ogre-tools/fp": "^16.1.0", "@ogre-tools/fp": "^16.1.0",
"@ogre-tools/injectable": "^16.1.0", "@ogre-tools/injectable": "^16.1.0",
"@ogre-tools/injectable-extension-for-auto-registration": "^16.1.0", "@ogre-tools/injectable-extension-for-auto-registration": "^16.1.0",
"@ogre-tools/injectable-extension-for-mobx": "^16.1.0", "@ogre-tools/injectable-extension-for-mobx": "^16.1.0",
"@ogre-tools/injectable-react": "^16.1.0", "@ogre-tools/injectable-react": "^16.1.0",
"mobx": "^6.9.0" "@sentry/electron": "^3.0.8",
"@sentry/integrations": "^6.19.3",
"ansi_up": "^5.2.1",
"auto-bind": "^4.0.0",
"await-lock": "^2.2.2",
"byline": "^5.0.0",
"chalk": "^4.1.2",
"chart.js": "^2.9.4",
"chokidar": "^3.5.3",
"color": "^3.2.1",
"conf": "^10.2.0",
"crypto-js": "^4.1.1",
"dompurify": "^2.4.4",
"electron-devtools-installer": "^3.2.0",
"electron-updater": "^4.6.5",
"electron-window-state": "^5.0.3",
"fs-extra": "^9.0.1",
"glob-to-regexp": "^0.4.1",
"grapheme-splitter": "^1.0.4",
"handlebars": "^4.7.7",
"history": "^4.10.1",
"hpagent": "^1.2.0",
"http-proxy": "^1.18.1",
"immer": "^9.0.21",
"joi": "^17.9.1",
"js-yaml": "^4.1.0",
"lodash": "^4.17.15",
"marked": "^4.2.12",
"mobx": "^6.9.0",
"mobx-observable-history": "^2.0.3",
"mobx-react": "^7.6.0",
"mobx-utils": "^6.0.4",
"moment": "^2.29.4",
"moment-timezone": "^0.5.40",
"monaco-editor": "^0.38.0",
"node-pty": "0.10.1",
"npm": "^9.6.7",
"p-limit": "^3.1.0",
"path-to-regexp": "^6.2.0",
"proper-lockfile": "^4.1.2",
"query-string": "^7.1.3",
"randomcolor": "^0.6.2",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^17.0.2",
"react-material-ui-carousel": "^2.3.11",
"react-router": "^5.3.4",
"react-router-dom": "^5.3.4",
"react-select": "^5.7.0",
"react-select-event": "^5.5.1",
"react-table": "^7.8.0",
"react-virtualized-auto-sizer": "^1.0.7",
"react-window": "^1.8.8",
"readable-stream": "^3.6.2",
"rfc6902": "^5.0.1",
"selfsigned": "^2.1.1",
"semver": "^7.3.8",
"stoppable": "^1.1.0",
"tar": "^6.1.13",
"tcp-port-used": "^1.0.2",
"tempy": "1.0.1",
"type-fest": "^2.14.0",
"typed-emitter": "^1.4.0",
"typed-regex": "^0.0.8",
"url-parse": "^1.5.10",
"uuid": "^8.3.2",
"win-ca": "^3.5.0",
"winston": "^3.8.2",
"winston-transport-browserconsole": "^1.0.5",
"ws": "^8.12.1",
"xterm": "^4.19.0",
"xterm-addon-fit": "^0.5.0",
"xterm-link-provider": "^1.3.1"
}, },
"devDependencies": { "devDependencies": {
"@electron/rebuild": "^3.2.10", "@electron/rebuild": "^3.2.10",
"@k8slens/generate-tray-icons": "^6.5.0-alpha.7", "@k8slens/generate-tray-icons": "^6.5.0-alpha.7",
"@k8slens/test-utils": "^1.0.0-alpha.7", "@k8slens/test-utils": "^1.0.0-alpha.8",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@swc/cli": "^0.1.62", "@swc/cli": "^0.1.62",
"@swc/core": "^1.3.53", "@swc/core": "^1.3.53",
@ -238,6 +324,7 @@
"copy-webpack-plugin": "^11.0.0", "copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"css-loader": "^6.7.2", "css-loader": "^6.7.2",
"electron": "^22.3.10",
"electron-builder": "^23.6.0", "electron-builder": "^23.6.0",
"electron-notarize": "^0.3.0", "electron-notarize": "^0.3.0",
"esbuild-loader": "^2.20.0", "esbuild-loader": "^2.20.0",

4401
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,13 @@
{ {
"name": "lens-monorepo", "name": "lens-monorepo",
"private": true, "private": true,
"workspaces": [ "workspaces": [
"packages/**/*", "packages/**/*",
"open-lens" "open-lens"
], ],
"scripts": { "scripts": {
"all:reinstall": "npm run clean:node_modules && npm run all:install", "all:reinstall": "npm run clean:node_modules && npm run all:install",
"all:install": "npx --yes --package npm@9.6.5 npm install", "all:install": "npx --yes --package npm@^9.6.7 npm install",
"adr:create": "echo \"What is the title?\"; read title; adr new \"$title\"", "adr:create": "echo \"What is the title?\"; read title; adr new \"$title\"",
"adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision", "adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision",
"adr:update-readme": "adr update", "adr:update-readme": "adr update",
@ -44,9 +42,10 @@
"adr": "^1.4.3", "adr": "^1.4.3",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"lerna": "^6.6.1", "lerna": "^6.6.1",
"npm": "^9.6.7",
"rimraf": "^4.4.1" "rimraf": "^4.4.1"
}, },
"engines": { "engines": {
"npm": "^9.6.5" "npm": "^9.6.7"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/keyboard-shortcuts", "name": "@k8slens/keyboard-shortcuts",
"private": false, "private": false,
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"description": "Keyboard shortcuts for Lens", "description": "Keyboard shortcuts for Lens",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -44,6 +44,6 @@
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@k8slens/cluster-settings", "name": "@k8slens/cluster-settings",
"version": "6.5.0-alpha.7", "version": "6.5.0-alpha.8",
"description": "Injection token exporter for cluster settings configuration", "description": "Injection token exporter for cluster settings configuration",
"license": "MIT", "license": "MIT",
"type": "commonjs", "type": "commonjs",
@ -19,7 +19,7 @@
"build": "lens-webpack-build" "build": "lens-webpack-build"
}, },
"devDependencies": { "devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"rimraf": "^4.4.1" "rimraf": "^4.4.1"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -3,6 +3,196 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 6.5.0-alpha.15 (2023-05-23)
# 6.5.0-alpha.14 (2023-05-23)
### Bug Fixes
* Use correct path for node-shell shell PTY ([99e6b77](https://github.com/lensapp/lens/commit/99e6b77fc1c5a74cfef90981b8b0162b46ecfb43))
### Reverts
* Revert "chore: Extract sidebar item injection token into separate package" ([8f4aa49](https://github.com/lensapp/lens/commit/8f4aa497cc54655f83813d57c224f77dd1472141))
* Revert "chore: Rename sidebar item injectable files" ([cb0e876](https://github.com/lensapp/lens/commit/cb0e8764aca9e0d28e6e23c5ae87a5ab6d414065))
* Revert "chore: Convert sidebarItemInjectionToken to use InjectWithMetadata instead of duplicating the IDs" ([93bc41f](https://github.com/lensapp/lens/commit/93bc41f9a3f47f5c777c882c9241f4fd5e3f1952))
* Revert "chore: Fixup tests snapshots to match new testid behaviour" ([9276df0](https://github.com/lensapp/lens/commit/9276df05924794d30d7d97bc79cf701a6106e8ec))
* Revert "chore: Fix lint" ([d90bdf6](https://github.com/lensapp/lens/commit/d90bdf6f1497cb25f17788a4170feba31d366b74))
* Revert "chore: Fix more lint" ([813705f](https://github.com/lensapp/lens/commit/813705fe9097012cd7fc62a8d543d1f7bc2be2ed))
* Revert "chore: Fix IDs for some sidebar items" ([753c8bf](https://github.com/lensapp/lens/commit/753c8bfa85ccc74980553bb512b5038ff18767a2))
* Revert "chore: Improve title formatting for Horizontal/Vertical Pod Autoscalers" ([d4c12be](https://github.com/lensapp/lens/commit/d4c12becfc9020009d64f48e4c8f9dd3b7725bb6))
* Revert "fix: Fix formatting of custom resource sidebar items" ([5608a19](https://github.com/lensapp/lens/commit/5608a199be1067039403b85abe776fab928a956c))
* Revert "chore: Fix integration tests failing due to helm testid's changing" ([96b7ecb](https://github.com/lensapp/lens/commit/96b7ecbaddedd45cc667cc2d6c25fdc0813557ec))
* Revert "chore: Fix tests after rebase" ([1b43de5](https://github.com/lensapp/lens/commit/1b43de50fe6431367bf259799f5e0b42f6b38ad9))
* Revert "fix: Custom Resource Definitions should be the first entry in the side bar" ([1099e65](https://github.com/lensapp/lens/commit/1099e65c52c62153b3d28d0654fffaaa6f6715a7))
* Revert "fix: Custom Resource Definitions sidebar item should navigate to the correct route" ([7d46cb8](https://github.com/lensapp/lens/commit/7d46cb845d0f1748c0f83a8dc34bbe783270ca2c))
* Revert "chore: Cleanup custom resource route definition" ([40f1180](https://github.com/lensapp/lens/commit/40f118057925a3b946f5dcc60162bad7e8b12e58))
* Revert "chore: Factor out NavigateToCustomResources type" ([d3cf708](https://github.com/lensapp/lens/commit/d3cf7088d6c37860984ce0295a3d8a5c528c2a66))
* Revert "chore: Move around Custom Resource and Custom Resource Definition files to simplify names" ([5f4cdbc](https://github.com/lensapp/lens/commit/5f4cdbc51950c04804139e9b961cfe394ad4ae30))
# 6.5.0-alpha.13 (2023-05-16)
### Bug Fixes
* Switch to using IAsyncComputed to resolve bad setState error within ClusterOverview from react ([4f8e470](https://github.com/lensapp/lens/commit/4f8e4707f929eee04ff1345c9e93f00d50ac0a92))
# 6.5.0-alpha.12 (2023-05-16)
### Bug Fixes
* Don't crash when hovering hotbar menu index ([9d51ef2](https://github.com/lensapp/lens/commit/9d51ef2aa69c6c9df0fd57281b25131a10efd27a))
# 6.5.0-alpha.11 (2023-05-11)
### Bug Fixes
* Add test as repro, and fix bug about kube API details not opening ([bb400ae](https://github.com/lensapp/lens/commit/bb400ae66797fe160567e6b728d85d5e79caef4d))
* Bring back search filters for pods which were accidentally removed previously ([9c7be39](https://github.com/lensapp/lens/commit/9c7be39eb135b747945f76f61811695d2f96c761))
* Do not crash when opening details of a helm release ([40af0d3](https://github.com/lensapp/lens/commit/40af0d31c529e252a45c7370852755c4e63067a7))
* Kludge cluster settings not opening when extension introduces new settings without ID when title contains spaces ([e8491ca](https://github.com/lensapp/lens/commit/e8491ca2d39971d06842f6741eae042554fbc9a0))
# 6.5.0-alpha.10 (2023-05-09)
# 6.5.0-alpha.9 (2023-05-04)
### Bug Fixes
* Add checks to KubeObject constructor to ensure shape ([bf6af58](https://github.com/lensapp/lens/commit/bf6af58d80552a16be7a547f772902b138a12fbd))
* add routingFeature to getDiForUnitTesting ([b33a8b4](https://github.com/lensapp/lens/commit/b33a8b49607935450f70b1d5535431ba416fc22e))
* change class name behaviour to limit snapshot diffs ([bfb2b8e](https://github.com/lensapp/lens/commit/bfb2b8e6591891b529d5cf0f8757ff8b7080e004))
* **core:** hide update button if downloading of an update fails ([f697742](https://github.com/lensapp/lens/commit/f6977428daa3f61482e7066689ebf7092b0fb2b1))
* Fix selfLink being missing from requestKubeResource ([b90e04e](https://github.com/lensapp/lens/commit/b90e04e02dfd18896d5f08f1bc36f90179635797))
* lint:fix ([76c11aa](https://github.com/lensapp/lens/commit/76c11aa697e3ada81c876fe8a3ac6e33b4ce8cb9))
* observableHistoryInjectionToken and 1 revert for GlobalOverride ([8c0220c](https://github.com/lensapp/lens/commit/8c0220c353c9047a2a4df570b598c31868b5f7e2))
* Only show Update Channel preferences when applicable ([43cedae](https://github.com/lensapp/lens/commit/43cedae7b05eaa7f932f2718939f7b856a1b86c5))
* Remove incorrect timeout on standard info notifications ([bcf95a6](https://github.com/lensapp/lens/commit/bcf95a65f1d2be91fa613f0da9d0ae978faaef75))
* removed as-legacy-globals-for-extension-api ([f1f2634](https://github.com/lensapp/lens/commit/f1f26344900b99c70b2bed2f453ed27574d7b417))
* removed dependencies: [reactApplicationFeature], ([0dae159](https://github.com/lensapp/lens/commit/0dae1594baabbd06e798f9a1b4c132cee998bb65))
### Features
* Add deleting subNamespaces to contextMenu ([89cf491](https://github.com/lensapp/lens/commit/89cf491bc0aa80ee398f8b5dc39ec7c69d00c7bb))
* Add removing subNamespaces to Namespace route ([aa95002](https://github.com/lensapp/lens/commit/aa950026a3162abf6322afb4b5c5bf56f9f7e10f))
* Adjust container status colors to be distinguable with red/green filter ([#7621](https://github.com/lensapp/lens/issues/7621)) ([3532fc1](https://github.com/lensapp/lens/commit/3532fc1dab918190fa76199a9d7b04d6efe40c47))
* Compute the kubectl download version map at build time ([0bd7b1f](https://github.com/lensapp/lens/commit/0bd7b1fe92a173379c8a5a1ab7e13cf9e4f8223b))
* Improve formatting error messages from apiKube ([3439472](https://github.com/lensapp/lens/commit/3439472065e6b850e286f6a34bccc23b827b8e28))
* Introduce API for changing the status bar colour ([06a0dce](https://github.com/lensapp/lens/commit/06a0dce612b67084f8f36ba552ea23f8ac071201))
* Introduce injectables to remove subNamespaces ([c557225](https://github.com/lensapp/lens/commit/c5572257bd6a32a2f05fc78f54ece428f54389fe))
* Never auto-close error notifications ([561d8db](https://github.com/lensapp/lens/commit/561d8dbc09581ff21aa79e85f3903c45e99ac33b))
# 6.5.0-alpha.6 (2023-04-12)
# 6.5.0-alpha.5 (2023-04-12)
# 6.5.0-alpha.4 (2023-04-12)
### Bug Fixes
* Fix tests by recreating non-specific injection token ([c0ebe60](https://github.com/lensapp/lens/commit/c0ebe605c4d36c0d98454e25565818f75ffb1b69))
* Referencing apiManager should not throw ([#7468](https://github.com/lensapp/lens/issues/7468)) ([351f9d4](https://github.com/lensapp/lens/commit/351f9d492f6e52e9e97d17d71e2bbdbbde4ea2db))
* remove platform specific injectable file names ([9b0318b](https://github.com/lensapp/lens/commit/9b0318b493fe2e49a34b8a4cb3d0bef1600759b8))
### Features
* Allow built versions to specify an environment ([#7495](https://github.com/lensapp/lens/issues/7495)) ([128b05d](https://github.com/lensapp/lens/commit/128b05d4d46344a511398f654865c133c6e36514))
### Reverts
* Revert "Renderer file logging through IPC" (#7393) ([5409324](https://github.com/lensapp/lens/commit/54093242367717292312df01905d052b66017953)), closes [#7393](https://github.com/lensapp/lens/issues/7393)
# 6.5.0-alpha.3 (2023-03-15)
# 6.5.0-alpha.2 (2023-03-14)
# 6.5.0-alpha.1 (2023-03-14)
### Reverts
* Revert "Renderer file logging transport (#6795)" (#7245) ([ec81af4](https://github.com/lensapp/lens/commit/ec81af4e6c5f8d0c25469a56dfa602894f85734b)), closes [#6795](https://github.com/lensapp/lens/issues/6795) [#7245](https://github.com/lensapp/lens/issues/7245) [#544](https://github.com/lensapp/lens/issues/544)
# 6.4.0-beta.13 (2023-02-03)
# 6.4.0-beta.12 (2023-02-01)
# 6.4.0-beta.11 (2023-02-01)
# 6.4.0-beta.10 (2023-01-27)
# 6.4.0-beta.9 (2023-01-27)
# 6.4.0-beta.8 (2023-01-27)
# 6.4.0-beta.7 (2023-01-27)
# 6.4.0-beta.6 (2023-01-26)
# 6.4.0-beta.5 (2023-01-26)
# 6.4.0-beta.4 (2023-01-26)
# 6.4.0-beta.3 (2023-01-26)
# 6.5.0-alpha.13 (2023-05-16) # 6.5.0-alpha.13 (2023-05-16)

View File

@ -3,7 +3,7 @@
"productName": "", "productName": "",
"description": "Lens Desktop Core", "description": "Lens Desktop Core",
"homepage": "https://github.com/lensapp/lens", "homepage": "https://github.com/lensapp/lens",
"version": "6.5.0-alpha.13", "version": "6.5.0-alpha.15",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/lensapp/lens.git" "url": "git+https://github.com/lensapp/lens.git"
@ -102,94 +102,14 @@
], ],
"runtime": "@side/jest-runtime" "runtime": "@side/jest-runtime"
}, },
"dependencies": {
"@astronautlabs/jsonpath": "^1.1.0",
"@hapi/call": "^9.0.1",
"@hapi/subtext": "^7.1.0",
"@kubernetes/client-node": "^0.18.1",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@material-ui/styles": "^4.11.5",
"@sentry/electron": "^3.0.8",
"@sentry/integrations": "^6.19.3",
"@side/jest-runtime": "^1.1.0",
"ansi_up": "^5.2.1",
"auto-bind": "^4.0.0",
"await-lock": "^2.2.2",
"byline": "^5.0.0",
"chalk": "^4.1.2",
"chart.js": "^2.9.4",
"chokidar": "^3.5.3",
"color": "^3.2.1",
"conf": "^10.2.0",
"crypto-js": "^4.1.1",
"dompurify": "^2.4.4",
"electron": "^22.3.10",
"electron-devtools-installer": "^3.2.0",
"electron-updater": "^4.6.5",
"electron-window-state": "^5.0.3",
"filehound": "^1.17.6",
"fs-extra": "^9.0.1",
"glob-to-regexp": "^0.4.1",
"grapheme-splitter": "^1.0.4",
"handlebars": "^4.7.7",
"history": "^4.10.1",
"hpagent": "^1.2.0",
"http-proxy": "^1.18.1",
"immer": "^9.0.21",
"joi": "^17.9.1",
"js-yaml": "^4.1.0",
"lodash": "^4.17.15",
"marked": "^4.2.12",
"md5-file": "^5.0.0",
"moment": "^2.29.4",
"moment-timezone": "^0.5.40",
"node-pty": "0.10.1",
"npm": "^9.6.5",
"p-limit": "^3.1.0",
"path-to-regexp": "^6.2.0",
"proper-lockfile": "^4.1.2",
"query-string": "^7.1.3",
"randomcolor": "^0.6.2",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^17.0.2",
"react-material-ui-carousel": "^2.3.11",
"react-router": "^5.3.4",
"react-router-dom": "^5.3.4",
"react-select": "^5.7.0",
"react-select-event": "^5.5.1",
"react-table": "^7.8.0",
"react-virtualized-auto-sizer": "^1.0.7",
"react-window": "^1.8.8",
"readable-stream": "^3.6.0",
"rfc6902": "^5.0.1",
"selfsigned": "^2.1.1",
"semver": "^7.3.8",
"stoppable": "^1.1.0",
"tar": "^6.1.13",
"tcp-port-used": "^1.0.2",
"tempy": "1.0.1",
"type-fest": "^2.14.0",
"typed-emitter": "^1.4.0",
"typed-regex": "^0.0.8",
"url-parse": "^1.5.10",
"uuid": "^8.3.2",
"win-ca": "^3.5.0",
"winston": "^3.8.2",
"winston-transport-browserconsole": "^1.0.5",
"ws": "^8.12.1",
"xterm": "^4.19.0",
"xterm-addon-fit": "^0.5.0",
"xterm-link-provider": "^1.3.1"
},
"devDependencies": { "devDependencies": {
"@async-fn/jest": "1.6.4", "@async-fn/jest": "1.6.4",
"@k8slens/messaging-fake-bridge": "^1.0.0-alpha.7", "@k8slens/messaging-fake-bridge": "^1.0.0-alpha.8",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/test-utils": "^1.0.0-alpha.3",
"@ogre-tools/linkable": "^16.1.0", "@ogre-tools/linkable": "^16.1.0",
"@sentry/types": "^6.19.7", "@sentry/types": "^6.19.7",
"@side/jest-runtime": "^1.1.0",
"@swc/cli": "^0.1.62", "@swc/cli": "^0.1.62",
"@swc/core": "^1.3.53", "@swc/core": "^1.3.53",
"@swc/jest": "^0.2.26", "@swc/jest": "^0.2.26",
@ -286,6 +206,8 @@
"webpack-node-externals": "^3.0.0" "webpack-node-externals": "^3.0.0"
}, },
"peerDependencies": { "peerDependencies": {
"@hapi/call": "^9.0.1",
"@hapi/subtext": "^7.1.0",
"@k8slens/application": "^6.5.0-alpha.0", "@k8slens/application": "^6.5.0-alpha.0",
"@k8slens/application-for-electron-main": "^6.5.0-alpha.0", "@k8slens/application-for-electron-main": "^6.5.0-alpha.0",
"@k8slens/button": "^1.0.0-alpha.5", "@k8slens/button": "^1.0.0-alpha.5",
@ -309,18 +231,87 @@
"@k8slens/run-many": "^1.0.0-alpha.1", "@k8slens/run-many": "^1.0.0-alpha.1",
"@k8slens/startable-stoppable": "^1.0.0-alpha.1", "@k8slens/startable-stoppable": "^1.0.0-alpha.1",
"@k8slens/table-tokens": "^6.5.0-alpha.7", "@k8slens/table-tokens": "^6.5.0-alpha.7",
"@k8slens/test-utils": "^1.0.0-alpha.3",
"@k8slens/tooltip": "^1.0.0-alpha.5", "@k8slens/tooltip": "^1.0.0-alpha.5",
"@k8slens/utilities": "^1.0.0-alpha.1", "@k8slens/utilities": "^1.0.0-alpha.1",
"@kubernetes/client-node": "^0.18.1",
"@material-ui/core": "^4.12.3",
"@material-ui/lab": "^4.0.0-alpha.60",
"@ogre-tools/fp": "^16.1.0", "@ogre-tools/fp": "^16.1.0",
"@ogre-tools/injectable": "^16.1.0", "@ogre-tools/injectable": "^16.1.0",
"@ogre-tools/injectable-extension-for-auto-registration": "^16.1.0", "@ogre-tools/injectable-extension-for-auto-registration": "^16.1.0",
"@ogre-tools/injectable-extension-for-mobx": "^16.1.0", "@ogre-tools/injectable-extension-for-mobx": "^16.1.0",
"@ogre-tools/injectable-react": "^16.1.0", "@ogre-tools/injectable-react": "^16.1.0",
"@sentry/electron": "^3.0.8",
"@sentry/integrations": "^6.19.3",
"ansi_up": "^5.2.1",
"auto-bind": "^4.0.0",
"await-lock": "^2.2.2",
"byline": "^5.0.0",
"chalk": "^4.1.2",
"chart.js": "^2.9.4",
"chokidar": "^3.5.3",
"color": "^3.2.1",
"conf": "^10.2.0",
"crypto-js": "^4.1.1",
"dompurify": "^2.4.4",
"electron": "^22.3.10",
"electron-devtools-installer": "^3.2.0",
"electron-updater": "^4.6.5",
"electron-window-state": "^5.0.3",
"fs-extra": "^9.0.1",
"glob-to-regexp": "^0.4.1",
"grapheme-splitter": "^1.0.4",
"handlebars": "^4.7.7",
"history": "^4.10.1",
"hpagent": "^1.2.0",
"http-proxy": "^1.18.1",
"immer": "^9.0.21",
"joi": "^17.9.1",
"js-yaml": "^4.1.0",
"lodash": "^4.17.15",
"marked": "^4.2.12",
"mobx": "^6.9.0", "mobx": "^6.9.0",
"mobx-observable-history": "^2.0.3", "mobx-observable-history": "^2.0.3",
"mobx-react": "^7.6.0", "mobx-react": "^7.6.0",
"mobx-utils": "^6.0.4", "mobx-utils": "^6.0.4",
"monaco-editor": "^0.38.0" "moment": "^2.29.4",
"moment-timezone": "^0.5.40",
"monaco-editor": "^0.38.0",
"node-pty": "0.10.1",
"npm": "^9.6.7",
"path-to-regexp": "^6.2.0",
"proper-lockfile": "^4.1.2",
"query-string": "^7.1.3",
"randomcolor": "^0.6.2",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^17.0.2",
"react-material-ui-carousel": "^2.3.11",
"react-router": "^5.3.4",
"react-router-dom": "^5.3.4",
"react-select": "^5.7.0",
"react-select-event": "^5.5.1",
"react-table": "^7.8.0",
"react-virtualized-auto-sizer": "^1.0.7",
"react-window": "^1.8.8",
"rfc6902": "^5.0.1",
"selfsigned": "^2.1.1",
"semver": "^7.3.8",
"stoppable": "^1.1.0",
"tar": "^6.1.13",
"tcp-port-used": "^1.0.2",
"tempy": "1.0.1",
"type-fest": "^2.14.0",
"typed-emitter": "^1.4.0",
"typed-regex": "^0.0.8",
"url-parse": "^1.5.10",
"uuid": "^8.3.2",
"win-ca": "^3.5.0",
"winston": "^3.8.2",
"winston-transport-browserconsole": "^1.0.5",
"ws": "^8.12.1",
"xterm": "^4.19.0",
"xterm-addon-fit": "^0.5.0",
"xterm-link-provider": "^1.3.1"
} }
} }

View File

@ -95,7 +95,7 @@ export class NodeShellSession extends ShellSession {
break; break;
} }
await this.openShellProcess(this.dependencies.directoryContainingKubectl, args, env); await this.openShellProcess(await this.kubectl.getPath(), args, env);
} }
protected createNodeShellPod(coreApi: CoreV1Api) { protected createNodeShellPod(coreApi: CoreV1Api) {

View File

@ -1,6 +1,6 @@
{ {
"name": "@k8slens/ensure-binaries", "name": "@k8slens/ensure-binaries",
"version": "6.5.0-alpha.6", "version": "6.5.0-alpha.7",
"description": "CLI for downloading configured versions of the bundled versions of CLIs", "description": "CLI for downloading configured versions of the bundled versions of CLIs",
"main": "dist/index.js", "main": "dist/index.js",
"license": "MIT", "license": "MIT",

View File

@ -3,6 +3,109 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 6.5.0-alpha.15 (2023-05-23)
# 6.5.0-alpha.14 (2023-05-23)
# 6.5.0-alpha.13 (2023-05-16)
# 6.5.0-alpha.12 (2023-05-16)
# 6.5.0-alpha.11 (2023-05-11)
# 6.5.0-alpha.10 (2023-05-09)
# 6.5.0-alpha.9 (2023-05-04)
### Features
* Compute the kubectl download version map at build time ([0bd7b1f](https://github.com/lensapp/lens/commit/0bd7b1fe92a173379c8a5a1ab7e13cf9e4f8223b))
# 6.5.0-alpha.6 (2023-04-12)
# 6.5.0-alpha.5 (2023-04-12)
# 6.5.0-alpha.4 (2023-04-12)
# 6.5.0-alpha.3 (2023-03-15)
# 6.5.0-alpha.2 (2023-03-14)
# 6.5.0-alpha.1 (2023-03-14)
# 6.4.0-beta.13 (2023-02-03)
# 6.4.0-beta.12 (2023-02-01)
# 6.4.0-beta.11 (2023-02-01)
# 6.4.0-beta.10 (2023-01-27)
# 6.4.0-beta.9 (2023-01-27)
# 6.4.0-beta.8 (2023-01-27)
# 6.4.0-beta.7 (2023-01-27)
# 6.4.0-beta.6 (2023-01-26)
# 6.4.0-beta.5 (2023-01-26)
# 6.4.0-beta.4 (2023-01-26)
# 6.4.0-beta.3 (2023-01-26)
# 6.5.0-alpha.13 (2023-05-16) # 6.5.0-alpha.13 (2023-05-16)

View File

@ -2,7 +2,7 @@
"name": "@k8slens/extensions", "name": "@k8slens/extensions",
"productName": "OpenLens extensions", "productName": "OpenLens extensions",
"description": "OpenLens - Open Source Kubernetes IDE: extensions", "description": "OpenLens - Open Source Kubernetes IDE: extensions",
"version": "6.5.0-alpha.13", "version": "6.5.0-alpha.15",
"copyright": "© 2022 OpenLens Authors", "copyright": "© 2022 OpenLens Authors",
"license": "MIT", "license": "MIT",
"main": "dist/extension-api.js", "main": "dist/extension-api.js",
@ -25,7 +25,7 @@
"clean": "rimraf dist/" "clean": "rimraf dist/"
}, },
"dependencies": { "dependencies": {
"@k8slens/core": "6.5.0-alpha.13" "@k8slens/core": "6.5.0-alpha.15"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^16.18.25", "@types/node": "^16.18.25",

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/webpack", "name": "@k8slens/webpack",
"private": false, "private": false,
"version": "6.5.0-alpha.8", "version": "6.5.0-alpha.9",
"description": "Webpack configurations and scripts for Lens packages.", "description": "Webpack configurations and scripts for Lens packages.",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/kube-object", "name": "@k8slens/kube-object",
"private": false, "private": false,
"version": "1.0.0-alpha.5", "version": "1.0.0-alpha.6",
"description": "Injection tokens for list layout", "description": "Injection tokens for list layout",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -43,6 +43,6 @@
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/jest": "^6.5.0-alpha.5", "@k8slens/jest": "^6.5.0-alpha.5",
"@k8slens/typescript": "^6.5.0-alpha.3", "@k8slens/typescript": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -3,6 +3,68 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.0.0-alpha.9 (2023-05-23)
# 6.5.0-alpha.14 (2023-05-23)
# 6.5.0-alpha.13 (2023-05-16)
# 6.5.0-alpha.12 (2023-05-16)
# 6.5.0-alpha.11 (2023-05-11)
# 6.5.0-alpha.9 (2023-05-04)
### Features
* Compute the kubectl download version map at build time ([0bd7b1f](https://github.com/lensapp/lens/commit/0bd7b1fe92a173379c8a5a1ab7e13cf9e4f8223b))
# 1.0.0-alpha.8 (2023-05-23)
# 6.5.0-alpha.14 (2023-05-23)
# 6.5.0-alpha.13 (2023-05-16)
# 6.5.0-alpha.12 (2023-05-16)
# 6.5.0-alpha.11 (2023-05-11)
# 6.5.0-alpha.9 (2023-05-04)
### Features
* Compute the kubectl download version map at build time ([0bd7b1f](https://github.com/lensapp/lens/commit/0bd7b1fe92a173379c8a5a1ab7e13cf9e4f8223b))
# 1.0.0-alpha.6 (2023-05-16) # 1.0.0-alpha.6 (2023-05-16)

View File

@ -97,18 +97,18 @@
], ],
[ [
"1.24", "1.24",
"1.24.13" "1.24.14"
], ],
[ [
"1.25", "1.25",
"1.25.9" "1.25.10"
], ],
[ [
"1.26", "1.26",
"1.26.4" "1.26.5"
], ],
[ [
"1.27", "1.27",
"1.27.1" "1.27.2"
] ]
] ]

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/kubectl-versions", "name": "@k8slens/kubectl-versions",
"private": false, "private": false,
"version": "1.0.0-alpha.6", "version": "1.0.0-alpha.9",
"description": "Package of kubectl versions at build time", "description": "Package of kubectl versions at build time",
"files": [ "files": [
"dist" "dist"
@ -30,7 +30,7 @@
"@ogre-tools/injectable": "^16.1.0" "@ogre-tools/injectable": "^16.1.0"
}, },
"devDependencies": { "devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@swc/cli": "^0.1.62", "@swc/cli": "^0.1.62",
"@swc/core": "^1.3.53", "@swc/core": "^1.3.53",
"fast-xml-parser": "^4.2.2", "fast-xml-parser": "^4.2.2",

View File

@ -3,6 +3,54 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.0.0-alpha.13 (2023-05-23)
# 6.5.0-alpha.14 (2023-05-23)
# 6.5.0-alpha.13 (2023-05-16)
# 6.5.0-alpha.12 (2023-05-16)
# 6.5.0-alpha.11 (2023-05-11)
# 6.5.0-alpha.10 (2023-05-09)
# 6.5.0-alpha.9 (2023-05-04)
# 6.5.0-alpha.6 (2023-04-12)
# 6.5.0-alpha.5 (2023-04-12)
# 6.5.0-alpha.4 (2023-04-12)
# 6.5.0-alpha.3 (2023-03-15)
**Note:** Version bump only for package @k8slens/legacy-extension-example
# 1.0.0-alpha.11 (2023-05-16) # 1.0.0-alpha.11 (2023-05-16)

View File

@ -2,7 +2,7 @@
"name": "@k8slens/legacy-extension-example", "name": "@k8slens/legacy-extension-example",
"private": false, "private": false,
"description": "An example bundled Lens extensions using the v1 API", "description": "An example bundled Lens extensions using the v1 API",
"version": "1.0.0-alpha.11", "version": "1.0.0-alpha.13",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
"dist" "dist"
@ -36,7 +36,7 @@
"lint:fix": "lens-lint --fix" "lint:fix": "lens-lint --fix"
}, },
"devDependencies": { "devDependencies": {
"@k8slens/extensions": "^6.5.0-alpha.13", "@k8slens/extensions": "^6.5.0-alpha.15",
"@types/node": "^16.18.25", "@types/node": "^16.18.25",
"typescript": "^4.9.5", "typescript": "^4.9.5",
"webpack": "^5.81.0", "webpack": "^5.81.0",

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/legacy-global-di", "name": "@k8slens/legacy-global-di",
"private": false, "private": false,
"version": "1.0.0-alpha.4", "version": "1.0.0-alpha.5",
"description": "Injection tokens for implementing metrics for Lens", "description": "Injection tokens for implementing metrics for Lens",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -37,6 +37,6 @@
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/jest": "^6.5.0-alpha.5", "@k8slens/jest": "^6.5.0-alpha.5",
"@k8slens/typescript": "^6.5.0-alpha.3", "@k8slens/typescript": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/list-layout", "name": "@k8slens/list-layout",
"private": false, "private": false,
"version": "1.0.0-alpha.5", "version": "1.0.0-alpha.6",
"description": "Injection tokens for list layout", "description": "Injection tokens for list layout",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -41,6 +41,6 @@
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/jest": "^6.5.0-alpha.5", "@k8slens/jest": "^6.5.0-alpha.5",
"@k8slens/typescript": "^6.5.0-alpha.3", "@k8slens/typescript": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/logger", "name": "@k8slens/logger",
"private": false, "private": false,
"version": "1.0.0-alpha.6", "version": "1.0.0-alpha.7",
"description": "Highly extendable logger in the Lens.", "description": "Highly extendable logger in the Lens.",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -41,6 +41,6 @@
"@k8slens/eslint-config": "6.5.0-alpha.1", "@k8slens/eslint-config": "6.5.0-alpha.1",
"@k8slens/jest": "^6.5.0-alpha.5", "@k8slens/jest": "^6.5.0-alpha.5",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/webpack": "^6.5.0-alpha.6" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/metrics", "name": "@k8slens/metrics",
"private": false, "private": false,
"version": "6.5.0-alpha.8", "version": "6.5.0-alpha.9",
"description": "Injection tokens for implementing metrics for Lens", "description": "Injection tokens for implementing metrics for Lens",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -40,6 +40,6 @@
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/jest": "^6.5.0-alpha.5", "@k8slens/jest": "^6.5.0-alpha.5",
"@k8slens/typescript": "^6.5.0-alpha.3", "@k8slens/typescript": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -3,6 +3,221 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 6.5.0-alpha.10 (2023-05-23)
### Bug Fixes
* Fix setting milestone on new release PRs ([597dd36](https://github.com/lensapp/lens/commit/597dd365807e53bccf6926927ab03bd5194c7ee8))
* Switch to using authenticated GitHub API to increase rate limit ([84f6a6a](https://github.com/lensapp/lens/commit/84f6a6a5ac2c731e03fe9994ae37dc1d83d429ed))
# 6.5.0-alpha.14 (2023-05-23)
# 6.5.0-alpha.11 (2023-05-11)
# 6.5.0-alpha.9 (2023-05-04)
# 6.5.0-alpha.8 (2023-04-20)
### Bug Fixes
* Make sure that the @k8slens/core dep in @k8slens/extensions is exact ([799a3cb](https://github.com/lensapp/lens/commit/799a3cbd1cc025514d822db8263c3e1ef747a446))
# 6.5.0-alpha.7 (2023-04-18)
### Bug Fixes
* Fix running release tool ([03349c2](https://github.com/lensapp/lens/commit/03349c232b14c3b5085fc994ecbf2fe4ba56e98a))
### Features
* Compute the kubectl download version map at build time ([0bd7b1f](https://github.com/lensapp/lens/commit/0bd7b1fe92a173379c8a5a1ab7e13cf9e4f8223b))
# 6.5.0-alpha.4 (2023-04-12)
### Bug Fixes
* Add check in release-tool for no relevant PRs ([#7478](https://github.com/lensapp/lens/issues/7478)) ([b22d7af](https://github.com/lensapp/lens/commit/b22d7af2915bbaccc1d8a8c2c3ff247667f5d61b))
# 6.5.0-alpha.2 (2023-03-14)
# 6.5.0-alpha.1 (2023-03-14)
# 6.4.0-beta.13 (2023-02-03)
# 6.4.0-beta.12 (2023-02-01)
# 6.4.0-beta.11 (2023-02-01)
# 6.4.0-beta.10 (2023-01-27)
# 6.4.0-beta.9 (2023-01-27)
# 6.4.0-beta.8 (2023-01-27)
# 6.4.0-beta.7 (2023-01-27)
# 6.4.0-beta.6 (2023-01-26)
# 6.4.0-beta.5 (2023-01-26)
# 6.4.0-beta.4 (2023-01-26)
# 6.4.0-beta.3 (2023-01-26)
# 6.5.0-alpha.9 (2023-05-23)
### Bug Fixes
* Switch to using authenticated GitHub API to increase rate limit ([84f6a6a](https://github.com/lensapp/lens/commit/84f6a6a5ac2c731e03fe9994ae37dc1d83d429ed))
# 6.5.0-alpha.14 (2023-05-23)
# 6.5.0-alpha.11 (2023-05-11)
# 6.5.0-alpha.9 (2023-05-04)
# 6.5.0-alpha.8 (2023-04-20)
### Bug Fixes
* Make sure that the @k8slens/core dep in @k8slens/extensions is exact ([799a3cb](https://github.com/lensapp/lens/commit/799a3cbd1cc025514d822db8263c3e1ef747a446))
# 6.5.0-alpha.7 (2023-04-18)
### Bug Fixes
* Fix running release tool ([03349c2](https://github.com/lensapp/lens/commit/03349c232b14c3b5085fc994ecbf2fe4ba56e98a))
### Features
* Compute the kubectl download version map at build time ([0bd7b1f](https://github.com/lensapp/lens/commit/0bd7b1fe92a173379c8a5a1ab7e13cf9e4f8223b))
# 6.5.0-alpha.4 (2023-04-12)
### Bug Fixes
* Add check in release-tool for no relevant PRs ([#7478](https://github.com/lensapp/lens/issues/7478)) ([b22d7af](https://github.com/lensapp/lens/commit/b22d7af2915bbaccc1d8a8c2c3ff247667f5d61b))
# 6.5.0-alpha.2 (2023-03-14)
# 6.5.0-alpha.1 (2023-03-14)
# 6.4.0-beta.13 (2023-02-03)
# 6.4.0-beta.12 (2023-02-01)
# 6.4.0-beta.11 (2023-02-01)
# 6.4.0-beta.10 (2023-01-27)
# 6.4.0-beta.9 (2023-01-27)
# 6.4.0-beta.8 (2023-01-27)
# 6.4.0-beta.7 (2023-01-27)
# 6.4.0-beta.6 (2023-01-26)
# 6.4.0-beta.5 (2023-01-26)
# 6.4.0-beta.4 (2023-01-26)
# 6.4.0-beta.3 (2023-01-26)
# 6.5.0-alpha.7 (2023-05-11) # 6.5.0-alpha.7 (2023-05-11)

View File

@ -1,6 +1,6 @@
{ {
"name": "@k8slens/release-tool", "name": "@k8slens/release-tool",
"version": "6.5.0-alpha.7", "version": "6.5.0-alpha.10",
"description": "Release tool for lens monorepo", "description": "Release tool for lens monorepo",
"license": "MIT", "license": "MIT",
"private": true, "private": true,
@ -11,11 +11,14 @@
}, },
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {
"@octokit/core": "^4.2.1",
"@swc/cli": "^0.1.62", "@swc/cli": "^0.1.62",
"@swc/core": "^1.3.53", "@swc/core": "^1.3.53",
"@types/inquirer": "^9.0.3", "@types/inquirer": "^9.0.3",
"@types/node": "^16.18.25", "@types/node": "^16.18.25",
"@types/semver": "^7.3.13", "@types/semver": "^7.3.13",
"install": "^0.13.0",
"npm": "^9.6.7",
"rimraf": "^4.4.1" "rimraf": "^4.4.1"
}, },
"dependencies": { "dependencies": {

View File

@ -5,12 +5,14 @@
*/ */
import assert from "assert"; import assert from "assert";
import chalk from "chalk"; import chalk from "chalk";
import child_process, { ExecFileOptions, spawn as _spawn } from "child_process"; import child_process, { spawn as _spawn } from "child_process";
import { readFile } from "fs/promises"; import { readFile } from "fs/promises";
import inquirer from "inquirer"; import inquirer from "inquirer";
import { createInterface, ReadLine } from "readline"; import { createInterface, ReadLine } from "readline";
import semver from "semver"; import semver from "semver";
import { promisify } from "util"; import { promisify } from "util";
import { Octokit } from "@octokit/core";
import type { components } from "@octokit/openapi-types";
type SemVer = semver.SemVer; type SemVer = semver.SemVer;
@ -24,11 +26,15 @@ const exec = ((cmd, ...args) => {
return _exec(cmd, ...args as any[]); return _exec(cmd, ...args as any[]);
}) as typeof _exec; }) as typeof _exec;
const execFile = (file: string, args: string[], opts?: ExecFileOptions) => { const execFile = ((file, ...rest) => {
console.log("EXEC", file, args); if (Array.isArray(rest[0])) {
console.log("EXEC-FILE", file, rest[0]);
} else {
console.log("EXEC-FILE", file);
}
return _execFile(file, args, opts); return _execFile(file, ...rest as [any, any]);
}; }) as typeof _execFile;
const spawn = ((file, ...args) => { const spawn = ((file, ...args) => {
console.log("SPAWN", file); console.log("SPAWN", file);
@ -49,26 +55,16 @@ async function pipeExecFile(file: string, args: string[], opts?: { stdin: string
await p; await p;
} }
const octokit = new Octokit({
auth: process.env.GITHUB_TOKEN || (await execFile("gh", ["auth", "token"])).stdout.trim(),
});
interface GithubPrData { interface GithubPrData {
author: { authorLogin: string | undefined;
login: string; labels: components["schemas"]["label"][];
}; mergeCommitSha: string;
labels: {
id: string;
name: string;
description: string;
color: string;
}[];
mergeCommit: {
oid: string;
};
mergedAt: string; mergedAt: string;
milestone: { milestone: components["schemas"]["milestone"];
number: number;
title: string;
description: string;
dueOn: null | string;
};
number: number; number: number;
title: string; title: string;
} }
@ -168,6 +164,39 @@ function formatVersionForPickingPrs(version: SemVer): string {
return `${version.major}.${version.minor}.${version.patch+1}`; return `${version.major}.${version.minor}.${version.patch+1}`;
} }
async function deleteAndClosePreviousReleaseBranch(prBase: string, prBranch: string) {
const pullRequests = await octokit.request("GET /repos/{owner}/{repo}/pulls", {
owner: "lensapp",
repo: "lens",
headers: {
'X-GitHub-Api-Version': '2022-11-28'
},
});
const previousReleasePR = pullRequests.data.find(pr => pr.base.ref === prBase && pr.head.ref === prBranch);
if (!previousReleasePR) {
return;
}
await octokit.request("PATCH /repos/{owner}/{repo}/pulls/{pull_number}", {
owner: "lensapp",
repo: "lens",
pull_number: previousReleasePR.number,
state: "closed",
headers: {
'X-GitHub-Api-Version': '2022-11-28'
},
});
await pipeExecFile("git", [
"push",
"origin",
"--delete",
prBranch,
]);
}
async function createReleaseBranchAndCommit(prBase: string, version: SemVer, prBody: string): Promise<void> { async function createReleaseBranchAndCommit(prBase: string, version: SemVer, prBody: string): Promise<void> {
const prBranch = `release/v${version.format()}`; const prBranch = `release/v${version.format()}`;
@ -185,19 +214,54 @@ async function createReleaseBranchAndCommit(prBase: string, version: SemVer, prB
throw error; throw error;
} }
await deleteAndClosePreviousReleaseBranch(prBase, prBranch);
await pipeExecFile("git", ["push", "--set-upstream", "origin", prBranch]); await pipeExecFile("git", ["push", "--set-upstream", "origin", prBranch]);
await pipeExecFile("gh", [ const newReleasePR = await octokit.request("POST /repos/{owner}/{repo}/pulls", {
"pr", owner: "lensapp",
"create", repo: "lens",
"--base", prBase, title: `Release ${version.format()}`,
"--title", `Release ${version.format()}`, head: prBranch,
"--label", "skip-changelog", base: prBase,
"--label", "release", body: prBody,
"--milestone", formatSemverForMilestone(version), draft: false,
"--body-file", "-", maintainer_can_modify: true,
], { headers: {
stdin: prBody, 'X-GitHub-Api-Version': '2022-11-28'
},
});
await octokit.request("POST /repos/{owner}/{repo}/issues/{issue_number}/labels", {
owner: "lensapp",
repo: "lens",
issue_number: newReleasePR.data.number,
labels: ["release", "skip-changelog"],
headers: {
'X-GitHub-Api-Version': '2022-11-28'
},
});
const milestones = await octokit.request("GET /repos/{owner}/{repo}/milestones", {
owner: "lensapp",
repo: "lens",
headers: {
'X-GitHub-Api-Version': '2022-11-28'
},
});
const milestoneTitle = formatSemverForMilestone(version);
const milestoneNumber = milestones.data.find(milestone => milestone.title === milestoneTitle)?.number;
if (!milestoneNumber) {
throw new Error(`Cannot find milestone for ${milestoneTitle}`);
}
await octokit.request("PATCH /repos/{owner}/{repo}/issues/{issue_number}", {
owner: "lensapp",
repo: "lens",
issue_number: newReleasePR.data.number,
milestone: milestoneNumber,
headers: {
'X-GitHub-Api-Version': '2022-11-28'
},
}); });
} }
@ -220,22 +284,26 @@ async function getRelevantPRs(previousReleasedVersion: string, baseBranch: strin
console.log(`retrieving previous 200 PRs from ${baseBranch}...`); console.log(`retrieving previous 200 PRs from ${baseBranch}...`);
const milestone = formatVersionForPickingPrs(await getCurrentVersionOfSubPackage("core")); const milestone = formatVersionForPickingPrs(await getCurrentVersionOfSubPackage("core"));
const getMergedPrsArgs = [ const mergedPrsDataPromises = [1, 2, 3, 4, 5].map(page => octokit.request("GET /repos/{owner}/{repo}/pulls", {
"gh", owner: "lensapp",
"pr", repo: "lens",
"list", headers: {
"--limit=500", // Should be big enough, if not we need to release more often ;) 'X-GitHub-Api-Version': '2022-11-28'
"--state=merged", },
`--base=${baseBranch}`, state: "closed",
"--json mergeCommit,title,author,labels,number,milestone,mergedAt", base: baseBranch,
]; per_page: 100,
page,
}));
const milestoneRelevantPrs = (await Promise.all(mergedPrsDataPromises))
.flatMap(response => response.data)
.filter(pr => pr.milestone?.title === milestone)
.filter(pr => (pr.merged_at !== null && pr.merge_commit_sha !== null));
const mergedPrs = JSON.parse((await exec(getMergedPrsArgs.join(" "), { encoding: "utf-8" })).stdout) as GithubPrData[];
const milestoneRelevantPrs = mergedPrs.filter(pr => pr.milestone?.title === milestone);
const relevantPrsQuery = await Promise.all( const relevantPrsQuery = await Promise.all(
milestoneRelevantPrs.map(async pr => ({ milestoneRelevantPrs.map(async pr => ({
pr, pr,
stdout: (await exec(`git tag v${previousReleasedVersion} --no-contains ${pr.mergeCommit.oid}`)).stdout, stdout: (await exec(`git tag v${previousReleasedVersion} --no-contains ${pr.merge_commit_sha}`)).stdout,
})), })),
); );
@ -243,16 +311,21 @@ async function getRelevantPRs(previousReleasedVersion: string, baseBranch: strin
.filter(query => query.stdout) .filter(query => query.stdout)
.map(query => query.pr) .map(query => query.pr)
.filter(pr => pr.labels.every(label => label.name !== "skip-changelog")) .filter(pr => pr.labels.every(label => label.name !== "skip-changelog"))
.map(pr => ({ .map((pr): ExtendedGithubPrData => ({
...pr, authorLogin: pr.user?.login,
mergedAt: new Date(pr.mergedAt), labels: pr.labels,
mergeCommitSha: pr.merge_commit_sha as string,
number: pr.number,
title: pr.title,
milestone: pr.milestone as components["schemas"]["milestone"],
mergedAt: new Date(pr.merged_at as string),
shouldAttemptCherryPick: baseBranch === "master", shouldAttemptCherryPick: baseBranch === "master",
})) }))
.sort(sortExtendedGithubPrData); .sort(sortExtendedGithubPrData);
} }
function formatPrEntry(pr: ExtendedGithubPrData) { function formatPrEntry(pr: ExtendedGithubPrData) {
return `- ${pr.title} (**[#${pr.number}](https://github.com/lensapp/lens/pull/${pr.number})**) https://github.com/${pr.author.login}`; return `- ${pr.title} (**[#${pr.number}](https://github.com/lensapp/lens/pull/${pr.number})**) https://github.com/${pr.authorLogin}`;
} }
const isEnhancementPr = (pr: ExtendedGithubPrData) => pr.labels.some(label => label.name === "enhancement"); const isEnhancementPr = (pr: ExtendedGithubPrData) => pr.labels.some(label => label.name === "enhancement");
@ -331,7 +404,7 @@ async function cherryPickCommits(prs: ExtendedGithubPrData[]): Promise<void> {
for (const pr of prs) { for (const pr of prs) {
if (pr.shouldAttemptCherryPick) { if (pr.shouldAttemptCherryPick) {
await cherryPickCommit(pr.mergeCommit.oid); await cherryPickCommit(pr.mergeCommitSha);
} else { } else {
console.log(`Skipping cherry picking of #${pr.number} - ${pr.title}`); console.log(`Skipping cherry picking of #${pr.number} - ${pr.title}`);
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/routing", "name": "@k8slens/routing",
"private": false, "private": false,
"version": "1.0.0-alpha.9", "version": "1.0.0-alpha.10",
"description": "Highly extendable routing in the Lens.", "description": "Highly extendable routing in the Lens.",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -48,7 +48,7 @@
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@testing-library/react": "^12.1.5", "@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^13.5.0" "@testing-library/user-event": "^13.5.0"
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/application", "name": "@k8slens/application",
"private": false, "private": false,
"version": "6.5.0-alpha.8", "version": "6.5.0-alpha.9",
"description": "Package for creating Lens applications", "description": "Package for creating Lens applications",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -42,6 +42,6 @@
"devDependencies": { "devDependencies": {
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/application-for-electron-main", "name": "@k8slens/application-for-electron-main",
"private": false, "private": false,
"version": "6.5.0-alpha.7", "version": "6.5.0-alpha.8",
"description": "Electron's main specifics for creating Lens applications", "description": "Electron's main specifics for creating Lens applications",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -42,7 +42,7 @@
"devDependencies": { "devDependencies": {
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@ogre-tools/test-utils": "^16.1.0" "@ogre-tools/test-utils": "^16.1.0"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/legacy-extensions", "name": "@k8slens/legacy-extensions",
"private": false, "private": false,
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"description": "Package for Lens extensions using the v1 API", "description": "Package for Lens extensions using the v1 API",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -34,6 +34,6 @@
}, },
"devDependencies": { "devDependencies": {
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/feature-core", "name": "@k8slens/feature-core",
"private": false, "private": false,
"version": "6.5.0-alpha.7", "version": "6.5.0-alpha.8",
"description": "Code that is common to all Features and those registering them.", "description": "Code that is common to all Features and those registering them.",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -35,6 +35,6 @@
}, },
"devDependencies": { "devDependencies": {
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/messaging", "name": "@k8slens/messaging",
"private": false, "private": false,
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"description": "An abstraction for messaging between Lens environments", "description": "An abstraction for messaging between Lens environments",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -42,6 +42,6 @@
}, },
"devDependencies": { "devDependencies": {
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/computed-channel", "name": "@k8slens/computed-channel",
"private": false, "private": false,
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"description": "MobX-like computed between channels", "description": "MobX-like computed between channels",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -43,8 +43,8 @@
}, },
"devDependencies": { "devDependencies": {
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/messaging-fake-bridge": "^1.0.0-alpha.7", "@k8slens/messaging-fake-bridge": "^1.0.0-alpha.8",
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"type-fest": "^2.14.0" "type-fest": "^2.14.0"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/messaging-for-main", "name": "@k8slens/messaging-for-main",
"private": false, "private": false,
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"description": "Implementations for 'messaging' in Electron main", "description": "Implementations for 'messaging' in Electron main",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -42,6 +42,6 @@
}, },
"devDependencies": { "devDependencies": {
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -84,11 +84,11 @@ describe("send-message-to-channel", () => {
it("sends the message to individual frames in webcontents", () => { it("sends the message to individual frames in webcontents", () => {
expect(sendToFrameMock.mock.calls).toEqual([ expect(sendToFrameMock.mock.calls).toEqual([
["first", [42, 126], "some-channel", "some-message"], ["first", [126, 42], "some-channel", "some-message"],
["first", [84, 168], "some-channel", "some-message"], ["first", [168, 84], "some-channel", "some-message"],
["second", [42, 126], "some-channel", "some-message"], ["second", [126, 42], "some-channel", "some-message"],
["second", [84, 168], "some-channel", "some-message"], ["second", [168, 84], "some-channel", "some-message"],
]); ]);
}); });
}); });

View File

@ -31,7 +31,7 @@ const sendMessageToChannelInjectable = getInjectable({
(channelId: string, ...args: any[]) => webContent.send(channelId, ...args), (channelId: string, ...args: any[]) => webContent.send(channelId, ...args),
...[...frameIds].map(({ frameId, processId }) => (channelId: string, ...args: any[]) => { ...[...frameIds].map(({ frameId, processId }) => (channelId: string, ...args: any[]) => {
webContent.sendToFrame([frameId, processId], channelId, ...args); webContent.sendToFrame([processId, frameId], channelId, ...args);
}), }),
]), ]),

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/messaging-for-renderer", "name": "@k8slens/messaging-for-renderer",
"private": false, "private": false,
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"description": "Implementations for 'messaging' in Electron renderer", "description": "Implementations for 'messaging' in Electron renderer",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -43,6 +43,6 @@
}, },
"devDependencies": { "devDependencies": {
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/messaging-fake-bridge", "name": "@k8slens/messaging-fake-bridge",
"private": false, "private": false,
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"description": "Fake implementation to bridge multiple dependency injection containers.", "description": "Fake implementation to bridge multiple dependency injection containers.",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -42,6 +42,6 @@
}, },
"devDependencies": { "devDependencies": {
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/react-application", "name": "@k8slens/react-application",
"private": false, "private": false,
"version": "1.0.0-alpha.6", "version": "1.0.0-alpha.7",
"description": "Package for React Application", "description": "Package for React Application",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -48,7 +48,7 @@
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@testing-library/react": "^12.1.5" "@testing-library/react": "^12.1.5"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/button", "name": "@k8slens/button",
"private": false, "private": false,
"version": "1.0.0-alpha.9", "version": "1.0.0-alpha.10",
"description": "Highly extendable button in the Lens.", "description": "Highly extendable button in the Lens.",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -46,7 +46,7 @@
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@testing-library/react": "^12.1.5", "@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^12.8.3" "@testing-library/user-event": "^12.8.3"
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/error-boundary", "name": "@k8slens/error-boundary",
"private": false, "private": false,
"version": "1.0.0-alpha.9", "version": "1.0.0-alpha.10",
"description": "Highly extendable error-boundary in the Lens.", "description": "Highly extendable error-boundary in the Lens.",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -51,7 +51,7 @@
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@testing-library/react": "^12.1.5", "@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^13.5.0" "@testing-library/user-event": "^13.5.0"
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/resizing-anchor", "name": "@k8slens/resizing-anchor",
"private": false, "private": false,
"version": "1.0.0-alpha.9", "version": "1.0.0-alpha.10",
"description": "Highly extendable resizing-anchor in the Lens.", "description": "Highly extendable resizing-anchor in the Lens.",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -49,6 +49,6 @@
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/tooltip", "name": "@k8slens/tooltip",
"private": false, "private": false,
"version": "1.0.0-alpha.9", "version": "1.0.0-alpha.10",
"description": "Highly extendable tooltip in the Lens.", "description": "Highly extendable tooltip in the Lens.",
"type": "commonjs", "type": "commonjs",
"files": [ "files": [
@ -46,7 +46,7 @@
"@async-fn/jest": "^1.6.4", "@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.4",
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@testing-library/react": "^12.1.5", "@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^12.8.3" "@testing-library/user-event": "^12.8.3"
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/event-emitter", "name": "@k8slens/event-emitter",
"private": false, "private": false,
"version": "1.0.0-alpha.5", "version": "1.0.0-alpha.6",
"description": "Event emitter", "description": "Event emitter",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -34,6 +34,6 @@
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/jest": "^6.5.0-alpha.5", "@k8slens/jest": "^6.5.0-alpha.5",
"@k8slens/typescript": "^6.5.0-alpha.3", "@k8slens/typescript": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@k8slens/run-many", "name": "@k8slens/run-many",
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"type": "commonjs", "type": "commonjs",
"description": "A package containing runMany and runManySync", "description": "A package containing runMany and runManySync",
"publishConfig": { "publishConfig": {
@ -34,7 +34,7 @@
"uuid": "^8.3.2" "uuid": "^8.3.2"
}, },
"devDependencies": { "devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@types/uuid": "^9.0.1" "@types/uuid": "^9.0.1"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/startable-stoppable", "name": "@k8slens/startable-stoppable",
"private": false, "private": false,
"version": "1.0.0-alpha.6", "version": "1.0.0-alpha.7",
"description": "TBD", "description": "TBD",
"type": "commonjs", "type": "commonjs",
"publishConfig": { "publishConfig": {
@ -29,6 +29,6 @@
}, },
"devDependencies": { "devDependencies": {
"@k8slens/eslint-config": "^6.5.0-alpha.3", "@k8slens/eslint-config": "^6.5.0-alpha.3",
"@k8slens/webpack": "^6.5.0-alpha.8" "@k8slens/webpack": "^6.5.0-alpha.9"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@k8slens/test-utils", "name": "@k8slens/test-utils",
"version": "1.0.0-alpha.7", "version": "1.0.0-alpha.8",
"description": "A collection of utilities for testing", "description": "A collection of utilities for testing",
"type": "commonjs", "type": "commonjs",
"main": "dist/index.js", "main": "dist/index.js",
@ -33,7 +33,7 @@
"react-dom": "^17.0.2" "react-dom": "^17.0.2"
}, },
"devDependencies": { "devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@types/lodash": "^4.14.191" "@types/lodash": "^4.14.191"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "@k8slens/utilities", "name": "@k8slens/utilities",
"description": "A collection of useful types", "description": "A collection of useful types",
"version": "1.0.0-alpha.6", "version": "1.0.0-alpha.7",
"type": "commonjs", "type": "commonjs",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
@ -41,7 +41,7 @@
"typed-regex": "^0.0.8" "typed-regex": "^0.0.8"
}, },
"devDependencies": { "devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.8", "@k8slens/webpack": "^6.5.0-alpha.9",
"@types/crypto-js": "^4.1.1", "@types/crypto-js": "^4.1.1",
"@types/lodash": "^4.14.191", "@types/lodash": "^4.14.191",
"@types/react": "^17.0.2", "@types/react": "^17.0.2",