Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace @konveyor/lib-ui with @migtools/lib-ui #1471

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,8 @@
"webpack-dev-server": "^4.8.1"
},
"dependencies": {
"https-proxy-agent": "^5.0.0",
"compression": "^1.7.4",
"@hot-loader/react-dom": "^17.0.1",
"@konveyor/lib-ui": "^5.1.2",
"@migtools/lib-ui": "^8.4.1",
"@patternfly/react-core": "^4.115.5",
"@patternfly/react-icons": "^4.9.5",
"@patternfly/react-styles": "^4.8.5",
Expand All @@ -90,13 +88,15 @@
"@types/redux-saga": "^0.10.5",
"axios": "^0.21.4",
"classnames": "^2.2.6",
"compression": "^1.7.4",
"connected-react-router": "^6.9.1",
"dayjs": "^1.9.5",
"ejs": "^3.1.7",
"express": "^4.17.1",
"formik": "^2.1.4",
"history": "^4.9.0",
"http-proxy-middleware": "^2.0.0",
"https-proxy-agent": "^5.0.0",
"ip-range-check": "^0.2.0",
"is-cidr": "^4.0.2",
"is-ip": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/cluster/duck/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
CoreNamespacedResource,
CoreNamespacedResourceKind,
IClusterClient,
} from '@konveyor/lib-ui';
} from '@migtools/lib-ui';
import {
createMigClusterSecret,
createMigCluster,
Expand Down
2 changes: 1 addition & 1 deletion src/app/common/duck/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
import { IAlertModalObj } from './types';
import { certErrorOccurred } from '../../auth/duck/slice';
import { DefaultRootState } from '../../../configureStore';
import { ClientFactory, IClusterClient } from '@konveyor/lib-ui';
import { ClientFactory, IClusterClient } from '@migtools/lib-ui';
import {
CommonResource,
CommonResourceKind,
Expand Down
2 changes: 1 addition & 1 deletion src/app/debug/duck/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
import { alertErrorTimeout } from '../../common/duck/slice';
import debugReducer from '.';
import { DefaultRootState } from '../../../configureStore';
import { ClientFactory } from '@konveyor/lib-ui';
import { ClientFactory } from '@migtools/lib-ui';
import { IDiscoveryClient } from '../../../client/discoveryClient';
import {
DebugTreeDiscoveryResource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
import tableStyles from '@patternfly/react-styles/css/components/Table/table';
import { useSortState } from '../../../../common/duck/hooks';
import { getClusterInfo } from '../helpers';
import { StatusIcon, StatusType } from '@konveyor/lib-ui';
import { StatusIcon, StatusType } from '@migtools/lib-ui';
import ClusterActionsDropdown from './ClusterActionsDropdown';
import IconWithText from '../../../../common/components/IconWithText';
import { ICluster } from '../../../../cluster/duck/types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
Title,
Alert,
} from '@patternfly/react-core';
import { StatusIcon, StatusType } from '@konveyor/lib-ui';
import { StatusIcon, StatusType } from '@migtools/lib-ui';
import { IPlanPersistentVolume } from '../../../../../plan/duck/types';
import { usePausedPollingEffect } from '../../../../../common/context';
import { OptionLike, OptionWithValue } from '../../../../../common/components/SimpleSelect';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import tableStyles from '@patternfly/react-styles/css/components/Table/table';
import { useSortState } from '../../../../common/duck/hooks';
import { getStorageInfo } from '../helpers';
import IconWithText from '../../../../common/components/IconWithText';
import { StatusIcon, StatusType } from '@konveyor/lib-ui';
import { StatusIcon, StatusType } from '@migtools/lib-ui';
import StorageActionsDropdown from './StorageActionsDropdown';
import { IStorage } from '../../../../storage/duck/types';
import { IPlanCountByResourceName } from '../../../../common/duck/types';
Expand Down
2 changes: 1 addition & 1 deletion src/app/logs/duck/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { PayloadAction } from '@reduxjs/toolkit';
import { useSelector } from 'react-redux';
import { planSelectors } from '../../plan/duck';
import { ICluster, IMigCluster } from '../../cluster/duck/types';
import { ClientFactory } from '@konveyor/lib-ui';
import { ClientFactory } from '@migtools/lib-ui';
import { IDiscoveryClient } from '../../../client/discoveryClient';
import { DiscoveryFactory } from '../../../client/discovery_factory';

Expand Down
2 changes: 1 addition & 1 deletion src/app/plan/duck/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import {
} from './types';
import { IMigHook } from '../../home/pages/HooksPage/types';
import { MigResource, MigResourceKind } from '../../../client/helpers';
import { ClientFactory, IClusterClient } from '@konveyor/lib-ui';
import { ClientFactory, IClusterClient } from '@migtools/lib-ui';
import { IDiscoveryClient } from '../../../client/discoveryClient';
import {
DiscoveryResource,
Expand Down
2 changes: 1 addition & 1 deletion src/app/storage/duck/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
CoreNamespacedResource,
CoreNamespacedResourceKind,
IClusterClient,
} from '@konveyor/lib-ui';
} from '@migtools/lib-ui';
import { MigResource, MigResourceKind } from '../../../client/helpers';

function fetchMigStorageRefs(
Expand Down
2 changes: 1 addition & 1 deletion src/client/discovery_factory.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DiscoveryClient } from './discoveryClient';
import { ResponseType } from 'axios';
import { TokenExpiryHandler } from './resources/common';
import { ClientFactoryMissingUserError } from '@konveyor/lib-ui';
import { ClientFactoryMissingUserError } from '@migtools/lib-ui';

export class ClientFactoryMissingDiscoveryApi extends Error {
constructor() {
Expand Down
2 changes: 1 addition & 1 deletion src/client/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NamespacedResource, IGroupVersionKindPlural } from '@konveyor/lib-ui';
import { NamespacedResource, IGroupVersionKindPlural } from '@migtools/lib-ui';

export class MigResource extends NamespacedResource {
private _gvk: IGroupVersionKindPlural;
Expand Down
2 changes: 1 addition & 1 deletion src/client/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ClusterClient } from '@konveyor/lib-ui';
import { ClusterClient } from '@migtools/lib-ui';
import { AxiosError } from 'axios';
export interface IMetaTypeMeta {
apiVersion: string;
Expand Down
2 changes: 1 addition & 1 deletion src/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import planSagas from './app/plan/duck/sagas';
import logSagas from './app/logs/duck/sagas';
import clusterSagas from './app/cluster/duck/sagas';
import storageSagas from './app/storage/duck/sagas';
import { setTokenExpiryHandler } from '@konveyor/lib-ui';
import { setTokenExpiryHandler } from '@migtools/lib-ui';

import { ClusterActions } from './app/cluster/duck/actions';
import { initFromStorage, initMigMeta } from './app/auth/duck/slice';
Expand Down
Loading