1
0
mirror of https://github.com/lensapp/lens.git synced 2024-12-01 02:25:52 +03:00

chore: update package version

Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
Gabriel 2023-05-30 17:00:49 +02:00 committed by Gabriel Accettola
parent da1d35d1de
commit d28da8e7ac
7 changed files with 14 additions and 16 deletions

9
package-lock.json generated
View File

@ -34313,6 +34313,7 @@
"peerDependencies": {
"@hapi/call": "^9.0.1",
"@hapi/subtext": "^7.1.0",
"@k8slens/animate": "^1.0.0-alpha.0",
"@k8slens/application": "^6.5.0-alpha.0",
"@k8slens/application-for-electron-main": "^6.5.0-alpha.0",
"@k8slens/button": "^1.0.0-alpha.5",
@ -35527,7 +35528,7 @@
},
"packages/ui-components/animate": {
"name": "@k8slens/animate",
"version": "1.0.0",
"version": "1.0.0-alpha.0",
"license": "MIT",
"devDependencies": {
"@k8slens/eslint-config": "^6.5.0",
@ -35536,9 +35537,9 @@
"peerDependencies": {
"@k8slens/feature-core": "^6.5.0-alpha.0",
"@k8slens/utilities": "^1.0.0-alpha.1",
"@ogre-tools/injectable": "^16.1.0",
"@ogre-tools/injectable-extension-for-auto-registration": "^16.1.0",
"@ogre-tools/injectable-react": "^16.1.0",
"@ogre-tools/injectable": "^17.1.0",
"@ogre-tools/injectable-extension-for-auto-registration": "^17.1.0",
"@ogre-tools/injectable-react": "^17.1.0",
"react": "^17.0.2"
}
},

View File

@ -206,6 +206,7 @@
"peerDependencies": {
"@hapi/call": "^9.0.1",
"@hapi/subtext": "^7.1.0",
"@k8slens/animate": "^1.0.0-alpha.0",
"@k8slens/application": "^6.5.0-alpha.0",
"@k8slens/application-for-electron-main": "^6.5.0-alpha.0",
"@k8slens/button": "^1.0.0-alpha.5",

View File

@ -9,13 +9,12 @@ import React from "react";
import { createPortal } from "react-dom";
import { disposeOnUnmount, observer } from "mobx-react";
import { reaction } from "mobx";
import { Animate } from "@k8slens/animate";
import { Animate, requestAnimationFrameInjectable } from "@k8slens/animate";
import type { StrictReactNode } from "@k8slens/utilities";
import { cssNames, noop, stopPropagation } from "@k8slens/utilities";
import type { ObservableHistory } from "mobx-observable-history";
import { withInjectables } from "@ogre-tools/injectable-react";
import { observableHistoryInjectionToken } from "@k8slens/routing";
import { requestAnimationFrameInjectable } from "@k8slens/animate";
// todo: refactor + handle animation-end in props.onClose()?

View File

@ -9,7 +9,7 @@ import { getOverrideFsWithFakes } from "../test-utils/override-fs-with-fakes";
import terminalSpawningPoolInjectable from "./components/dock/terminal/terminal-spawning-pool.injectable";
import hostedClusterIdInjectable from "./cluster-frame-context/hosted-cluster-id.injectable";
import { runInAction } from "mobx";
import { requestAnimationFrameInjectable } from "@k8slens/animate";
import { animateFeature, requestAnimationFrameInjectable } from "@k8slens/animate";
import startTopbarStateSyncInjectable from "./components/layout/top-bar/start-state-sync.injectable";
import watchHistoryStateInjectable from "./remote-helpers/watch-history-state.injectable";
import legacyOnChannelListenInjectable from "./ipc/legacy-channel-listen.injectable";
@ -21,7 +21,6 @@ import { registerFeature } from "@k8slens/feature-core";
import { messagingFeature, testUtils as messagingTestUtils } from "@k8slens/messaging";
import { routingFeature } from "@k8slens/routing";
import { loggerFeature } from "@k8slens/logger";
import { animateFeature } from "@k8slens/animate";
export const getDiForUnitTesting = () => {
const environment = "renderer";

View File

@ -160,7 +160,7 @@ module.exports = {
// React specific rules
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react-hooks/exhaustive-deps": "off",
"react/require-default-props": "off",
"react/function-component-definition": "off",
"react/prop-types": "off",

View File

@ -1,7 +1,7 @@
{
"name": "@k8slens/animate",
"private": false,
"version": "1.0.0",
"version": "1.0.0-alpha.0",
"description": "Highly extendable animate in the Lens.",
"type": "commonjs",
"files": [
@ -35,9 +35,9 @@
"peerDependencies": {
"@k8slens/feature-core": "^6.5.0-alpha.0",
"@k8slens/utilities": "^1.0.0-alpha.1",
"@ogre-tools/injectable-react": "^16.1.0",
"@ogre-tools/injectable": "^16.1.0",
"@ogre-tools/injectable-extension-for-auto-registration": "^16.1.0",
"@ogre-tools/injectable-react": "^17.1.0",
"@ogre-tools/injectable": "^17.1.0",
"@ogre-tools/injectable-extension-for-auto-registration": "^17.1.0",
"react": "^17.0.2"
},
"devDependencies": {

View File

@ -30,9 +30,7 @@ describe("<Icon> href technical tests", () => {
setLegacyGlobalDiForExtensionApi(di, environment);
runInAction(() => {
registerFeature(di,
loggerFeature,
);
registerFeature(di, loggerFeature);
});
logger = {