From 628d5a1661154382d2291df441c832164643edfd Mon Sep 17 00:00:00 2001 From: "Ricardo M." Date: Thu, 29 Feb 2024 08:47:44 +0100 Subject: [PATCH] chore(release): 2.0.0-TP2-RC2 --- packages/ui/package.json | 2 +- .../ui/src/components/MetadataEditor/MetadataEditor.test.tsx | 2 +- packages/ui/src/components/MetadataEditor/MetadataEditor.tsx | 2 +- packages/ui/src/models/camel/kamelet-resource.test.ts | 2 +- .../src/models/visualization/flows/pipe-visual-entity.test.ts | 2 +- .../flows/support/camel-component-schema.service.ts | 2 +- .../visualization/flows/support/kamelet-schema.service.test.ts | 2 +- .../models/visualization/metadata/beans-entity-handler.test.ts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/ui/package.json b/packages/ui/package.json index eab32fd51..e2fb735f5 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -56,6 +56,7 @@ "ajv-formats": "^2.1.1", "clsx": "^2.1.0", "html-to-image": "^1.11.11", + "lodash.clonedeep": "^4.5.0", "lodash.get": "^4.4.2", "lodash.isempty": "^4.4.0", "lodash.set": "^4.3.2", @@ -107,7 +108,6 @@ "jest": "^29.4.2", "jest-canvas-mock": "^2.5.2", "jest-environment-jsdom": "^29.4.2", - "lodash.clonedeep": "^4.5.0", "prettier": "^3.0.0", "react-test-renderer": "^18.2.0", "rimraf": "^5.0.5", diff --git a/packages/ui/src/components/MetadataEditor/MetadataEditor.test.tsx b/packages/ui/src/components/MetadataEditor/MetadataEditor.test.tsx index a7e68ab85..d82809eec 100644 --- a/packages/ui/src/components/MetadataEditor/MetadataEditor.test.tsx +++ b/packages/ui/src/components/MetadataEditor/MetadataEditor.test.tsx @@ -1,7 +1,7 @@ import { MetadataEditor } from './MetadataEditor'; import { mockModel, mockSchema } from './TestUtil'; import { fireEvent, render, screen } from '@testing-library/react'; -import cloneDeep from 'lodash/cloneDeep'; +import cloneDeep from 'lodash.cloneDeep'; describe('MetadataEditor.tsx', () => { test('component renders', () => { diff --git a/packages/ui/src/components/MetadataEditor/MetadataEditor.tsx b/packages/ui/src/components/MetadataEditor/MetadataEditor.tsx index 33234540b..e511b98b9 100644 --- a/packages/ui/src/components/MetadataEditor/MetadataEditor.tsx +++ b/packages/ui/src/components/MetadataEditor/MetadataEditor.tsx @@ -1,5 +1,5 @@ import { Split, SplitItem, Stack, StackItem, Title } from '@patternfly/react-core'; -import cloneDeep from 'lodash/cloneDeep'; +import cloneDeep from 'lodash.cloneDeep'; import { forwardRef, useEffect, useImperativeHandle, useRef, useState } from 'react'; import { JSONSchemaBridge } from 'uniforms-bridge-json-schema'; import { SchemaService } from '../Form'; diff --git a/packages/ui/src/models/camel/kamelet-resource.test.ts b/packages/ui/src/models/camel/kamelet-resource.test.ts index 2576e05d8..86131ab60 100644 --- a/packages/ui/src/models/camel/kamelet-resource.test.ts +++ b/packages/ui/src/models/camel/kamelet-resource.test.ts @@ -4,7 +4,7 @@ import { CamelComponentFilterService } from '../visualization/flows/support/came import { createCamelResource } from './camel-resource'; import { KameletResource } from './kamelet-resource'; import { SourceSchemaType } from './source-schema-type'; -import cloneDeep from 'lodash/cloneDeep'; +import cloneDeep from 'lodash.cloneDeep'; describe('KameletResource', () => { it('should create a new KameletResource', () => { diff --git a/packages/ui/src/models/visualization/flows/pipe-visual-entity.test.ts b/packages/ui/src/models/visualization/flows/pipe-visual-entity.test.ts index 676ee51b6..ec5239a50 100644 --- a/packages/ui/src/models/visualization/flows/pipe-visual-entity.test.ts +++ b/packages/ui/src/models/visualization/flows/pipe-visual-entity.test.ts @@ -1,6 +1,6 @@ import * as catalogIndex from '@kaoto-next/camel-catalog/index.json'; import { Pipe } from '@kaoto-next/camel-catalog/types'; -import cloneDeep from 'lodash/cloneDeep'; +import cloneDeep from 'lodash.cloneDeep'; import { pipeJson } from '../../../stubs/pipe'; import { EntityType } from '../../camel/entities'; import { CatalogKind } from '../../catalog-kind'; diff --git a/packages/ui/src/models/visualization/flows/support/camel-component-schema.service.ts b/packages/ui/src/models/visualization/flows/support/camel-component-schema.service.ts index 23592f26b..a08e5db8b 100644 --- a/packages/ui/src/models/visualization/flows/support/camel-component-schema.service.ts +++ b/packages/ui/src/models/visualization/flows/support/camel-component-schema.service.ts @@ -1,5 +1,5 @@ import { ProcessorDefinition } from '@kaoto-next/camel-catalog/types'; -import cloneDeep from 'lodash/cloneDeep'; +import cloneDeep from 'lodash.cloneDeep'; import { CamelUriHelper, ROOT_PATH, isDefined } from '../../../../utils'; import { ICamelComponentDefinition } from '../../../camel-components-catalog'; import { CatalogKind } from '../../../catalog-kind'; diff --git a/packages/ui/src/models/visualization/flows/support/kamelet-schema.service.test.ts b/packages/ui/src/models/visualization/flows/support/kamelet-schema.service.test.ts index 83557562f..5688cc9ed 100644 --- a/packages/ui/src/models/visualization/flows/support/kamelet-schema.service.test.ts +++ b/packages/ui/src/models/visualization/flows/support/kamelet-schema.service.test.ts @@ -1,4 +1,4 @@ -import cloneDeep from 'lodash/cloneDeep'; +import cloneDeep from 'lodash.cloneDeep'; import { CatalogKind } from '../../../catalog-kind'; import { CamelCatalogService } from '../camel-catalog.service'; import { KameletSchemaService } from './kamelet-schema.service'; diff --git a/packages/ui/src/models/visualization/metadata/beans-entity-handler.test.ts b/packages/ui/src/models/visualization/metadata/beans-entity-handler.test.ts index 5ed822f8b..029230937 100644 --- a/packages/ui/src/models/visualization/metadata/beans-entity-handler.test.ts +++ b/packages/ui/src/models/visualization/metadata/beans-entity-handler.test.ts @@ -1,5 +1,5 @@ import * as catalogIndex from '@kaoto-next/camel-catalog/index.json'; -import cloneDeep from 'lodash/cloneDeep'; +import cloneDeep from 'lodash.cloneDeep'; import * as routeStub from '../../../stubs/camel-route'; import * as kameletStub from '../../../stubs/kamelet-route'; import { CamelRouteResource, KameletResource, PipeResource } from '../../camel';