From 109fda7fdcdf036d5799a75528135ab719d47690 Mon Sep 17 00:00:00 2001 From: "Ricardo M." Date: Mon, 9 Dec 2024 22:04:16 +0100 Subject: [PATCH] chore(build): Merge `xml-schema-ts` package into `kaoto` --- .github/workflows/build-lint-test.yml | 2 +- .github/workflows/deploy-main.yml | 2 +- .github/workflows/e2e-tests.yml | 2 +- .github/workflows/release-pipeline.yml | 2 +- package.json | 2 +- packages/ui/package.json | 1 - .../services/xml-schema-document.service.ts | 2 +- packages/ui/src/stubs/data-mapper.ts | 23 +- .../DocumentFragmentNodeList.ts | 0 .../src => ui/src/xml-schema-ts}/QName.ts | 0 .../src/xml-schema-ts}/SchemaBuilder.ts | 0 .../src => ui/src/xml-schema-ts}/SchemaKey.ts | 0 .../src/xml-schema-ts}/TypeReceiver.ts | 0 .../src => ui/src/xml-schema-ts}/XmlSchema.ts | 0 .../src/xml-schema-ts}/XmlSchemaAnnotated.ts | 0 .../xml-schema-ts}/XmlSchemaAnyAttribute.ts | 0 .../XmlSchemaCollection.test.ts | 28 +- .../src/xml-schema-ts}/XmlSchemaCollection.ts | 1 - .../src/xml-schema-ts}/XmlSchemaContent.ts | 0 .../xml-schema-ts}/XmlSchemaContentModel.ts | 0 .../XmlSchemaContentProcessing.ts | 0 .../xml-schema-ts}/XmlSchemaContentType.ts | 0 .../XmlSchemaDerivationMethod.ts | 0 .../xml-schema-ts}/XmlSchemaDocumentation.ts | 0 .../src/xml-schema-ts}/XmlSchemaForm.ts | 0 .../src/xml-schema-ts}/XmlSchemaGroup.ts | 0 .../xml-schema-ts}/XmlSchemaItemWithRef.ts | 0 .../XmlSchemaItemWithRefBase.ts | 0 .../src/xml-schema-ts}/XmlSchemaNotation.ts | 0 .../src/xml-schema-ts}/XmlSchemaObject.ts | 0 .../src/xml-schema-ts}/XmlSchemaType.ts | 0 .../src/xml-schema-ts}/XmlSchemaUse.ts | 0 .../src/xml-schema-ts}/XmlSchemaXPath.ts | 0 .../annotation/XmlSchemaAnnotation.ts | 0 .../annotation/XmlSchemaAnnotationItem.ts | 0 .../annotation/XmlSchemaAppInfo.ts | 0 .../annotation/XmlSchemaDocumentation.ts | 0 .../attribute/XmlSchemaAttribute.ts | 0 .../attribute/XmlSchemaAttributeGroup.ts | 0 .../XmlSchemaAttributeGroupMember.ts | 0 .../attribute/XmlSchemaAttributeGroupRef.ts | 0 .../attribute/XmlSchemaAttributeOrGroupRef.ts | 0 .../complex/XmlSchemaComplexContent.ts | 0 .../XmlSchemaComplexContentExtension.ts | 0 .../XmlSchemaComplexContentRestriction.ts | 0 .../complex/XmlSchemaComplexType.ts | 0 .../src => ui/src/xml-schema-ts}/constants.ts | 0 .../constraint/XmlSchemaIdentityConstraint.ts | 0 .../xml-schema-ts}/constraint/XmlSchemaKey.ts | 0 .../constraint/XmlSchemaKeyref.ts | 0 .../constraint/XmlSchemaUnique.ts | 0 .../DefaultExtensionDeserializer.ts | 0 .../extensions/DefaultExtensionSerializer.ts | 0 .../extensions/ExtensionDeserializer.ts | 0 .../extensions/ExtensionRegistry.ts | 0 .../extensions/ExtensionSerializer.ts | 0 .../external/XmlSchemaExternal.ts | 0 .../external/XmlSchemaImport.ts | 0 .../external/XmlSchemaInclude.ts | 0 .../external/XmlSchemaRedefine.ts | 0 .../facet/XmlSchemaEnumerationFacet.ts | 0 .../xml-schema-ts}/facet/XmlSchemaFacet.ts | 0 .../facet/XmlSchemaFacetConstructor.ts | 0 .../facet/XmlSchemaFractionDigitsFacet.ts | 0 .../facet/XmlSchemaLengthFacet.ts | 0 .../facet/XmlSchemaMaxExclusiveFacet.ts | 0 .../facet/XmlSchemaMaxInclusiveFacet.ts | 0 .../facet/XmlSchemaMaxLengthFacet.ts | 0 .../facet/XmlSchemaMinExclusiveFacet.ts | 0 .../facet/XmlSchemaMinInclusiveFacet.ts | 0 .../facet/XmlSchemaMinLengthFacet.ts | 0 .../facet/XmlSchemaNumericFacet.ts | 0 .../facet/XmlSchemaPatternFacet.ts | 0 .../facet/XmlSchemaTotalDigitsFacet.ts | 0 .../facet/XmlSchemaWhiteSpaceFacet.ts | 0 .../src => ui/src/xml-schema-ts}/index.ts | 29 +- .../xml-schema-ts}/particle/XmlSchemaAll.ts | 0 .../particle/XmlSchemaAllMember.ts | 0 .../xml-schema-ts}/particle/XmlSchemaAny.ts | 0 .../particle/XmlSchemaChoice.ts | 0 .../particle/XmlSchemaChoiceMember.ts | 0 .../particle/XmlSchemaElement.ts | 0 .../particle/XmlSchemaGroupParticle.ts | 0 .../particle/XmlSchemaGroupRef.ts | 0 .../particle/XmlSchemaParticle.ts | 0 .../particle/XmlSchemaSequence.ts | 0 .../particle/XmlSchemaSequenceMember.ts | 0 .../resolver/CollectionURIResolver.ts | 0 .../resolver/DefaultURIResolver.ts | 0 .../xml-schema-ts}/resolver/URIResolver.ts | 0 .../simple/XmlSchemaSimpleContent.ts | 0 .../simple/XmlSchemaSimpleContentExtension.ts | 0 .../XmlSchemaSimpleContentRestriction.ts | 0 .../simple/XmlSchemaSimpleType.ts | 0 .../simple/XmlSchemaSimpleTypeContent.ts | 0 .../simple/XmlSchemaSimpleTypeList.ts | 0 .../simple/XmlSchemaSimpleTypeRestriction.ts | 0 .../simple/XmlSchemaSimpleTypeUnion.ts | 0 .../xml-schema-ts/test-resources/Account.xsd | 0 .../xml-schema-ts/test-resources/Cart.xsd | 0 .../test-resources/ExampleOrder.xml | 0 .../test-resources/NamedTypes.xsd | 0 .../test-resources/NoTopElement.xsd | 0 .../test-resources/ShipOrder.xsd | 0 .../ShipOrderEmptyFirstLine.xsd | 0 .../test-resources/ShipOrderToShipOrder.xsl | 0 .../ShipOrderToShipOrderInvalidForEach.xsl | 0 .../test-resources/TestDocument.xsd | 0 .../test-resources/account-ns.xsd | 0 .../xml-schema-ts/test-resources/account.xsd | 0 .../test-resources/camel-spring.xsd | 0 .../xml-schema-ts/test-resources/cart-ns.xsd | 0 .../xml-schema-ts/test-resources/cart.xsd | 0 .../xml-schema-ts/test-resources/hello.xsd | 0 .../xml-schema-ts/test-resources/hello.xsl | 0 .../test-resources/shiporder-ns.xsd | 0 .../test-resources/shiporder.xsd | 0 .../xml-schema-ts}/utils/NamespaceContext.ts | 0 .../utils/NamespaceContextOwner.ts | 0 .../utils/NamespacePrefixList.ts | 0 .../utils/NodeNamespaceContext.ts | 0 .../xml-schema-ts}/utils/ObjectMap.test.ts | 0 .../src/xml-schema-ts}/utils/ObjectMap.ts | 0 .../xml-schema-ts}/utils/PrefixCollector.ts | 0 .../src/xml-schema-ts}/utils/XDOMUtil.ts | 0 .../xml-schema-ts}/utils/XmlSchemaNamed.ts | 0 .../utils/XmlSchemaNamedImpl.ts | 0 .../utils/XmlSchemaNamedType.ts | 0 .../utils/XmlSchemaNamedWithForm.ts | 0 .../utils/XmlSchemaNamedWithFormImpl.ts | 0 .../utils/XmlSchemaObjectBase.ts | 0 .../src/xml-schema-ts}/utils/XmlSchemaRef.ts | 0 .../xml-schema-ts}/utils/XmlSchemaRefBase.ts | 0 .../src/xml-schema-ts}/xml-parser.test.ts | 7 +- packages/ui/tsconfig.cjs.json | 2 +- packages/xml-schema-ts/.lintstagedrc.json | 3 - packages/xml-schema-ts/README.md | 16 - packages/xml-schema-ts/babel.config.cjs | 8 - packages/xml-schema-ts/jest.config.js | 48 -- packages/xml-schema-ts/jest.setup.ts | 20 - packages/xml-schema-ts/package.json | 46 -- packages/xml-schema-ts/tsconfig.cjs.json | 13 - packages/xml-schema-ts/tsconfig.esm.json | 13 - packages/xml-schema-ts/tsconfig.json | 29 -- yarn.lock | 483 +----------------- 145 files changed, 69 insertions(+), 713 deletions(-) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/DocumentFragmentNodeList.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/QName.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/SchemaBuilder.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/SchemaKey.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/TypeReceiver.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchema.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaAnnotated.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaAnyAttribute.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaCollection.test.ts (91%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaCollection.ts (99%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaContent.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaContentModel.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaContentProcessing.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaContentType.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaDerivationMethod.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaDocumentation.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaForm.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaGroup.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaItemWithRef.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaItemWithRefBase.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaNotation.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaObject.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaType.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaUse.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/XmlSchemaXPath.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/annotation/XmlSchemaAnnotation.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/annotation/XmlSchemaAnnotationItem.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/annotation/XmlSchemaAppInfo.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/annotation/XmlSchemaDocumentation.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/attribute/XmlSchemaAttribute.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/attribute/XmlSchemaAttributeGroup.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/attribute/XmlSchemaAttributeGroupMember.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/attribute/XmlSchemaAttributeGroupRef.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/attribute/XmlSchemaAttributeOrGroupRef.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/complex/XmlSchemaComplexContent.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/complex/XmlSchemaComplexContentExtension.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/complex/XmlSchemaComplexContentRestriction.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/complex/XmlSchemaComplexType.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/constants.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/constraint/XmlSchemaIdentityConstraint.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/constraint/XmlSchemaKey.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/constraint/XmlSchemaKeyref.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/constraint/XmlSchemaUnique.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/extensions/DefaultExtensionDeserializer.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/extensions/DefaultExtensionSerializer.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/extensions/ExtensionDeserializer.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/extensions/ExtensionRegistry.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/extensions/ExtensionSerializer.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/external/XmlSchemaExternal.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/external/XmlSchemaImport.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/external/XmlSchemaInclude.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/external/XmlSchemaRedefine.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaEnumerationFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaFacetConstructor.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaFractionDigitsFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaLengthFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaMaxExclusiveFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaMaxInclusiveFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaMaxLengthFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaMinExclusiveFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaMinInclusiveFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaMinLengthFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaNumericFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaPatternFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaTotalDigitsFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/facet/XmlSchemaWhiteSpaceFacet.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/index.ts (81%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaAll.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaAllMember.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaAny.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaChoice.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaChoiceMember.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaElement.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaGroupParticle.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaGroupRef.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaParticle.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaSequence.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/particle/XmlSchemaSequenceMember.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/resolver/CollectionURIResolver.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/resolver/DefaultURIResolver.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/resolver/URIResolver.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/simple/XmlSchemaSimpleContent.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/simple/XmlSchemaSimpleContentExtension.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/simple/XmlSchemaSimpleContentRestriction.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/simple/XmlSchemaSimpleType.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/simple/XmlSchemaSimpleTypeContent.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/simple/XmlSchemaSimpleTypeList.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/simple/XmlSchemaSimpleTypeRestriction.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/simple/XmlSchemaSimpleTypeUnion.ts (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/Account.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/Cart.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/ExampleOrder.xml (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/NamedTypes.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/NoTopElement.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/ShipOrder.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/ShipOrderEmptyFirstLine.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/ShipOrderToShipOrder.xsl (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/ShipOrderToShipOrderInvalidForEach.xsl (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/TestDocument.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/account-ns.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/account.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/camel-spring.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/cart-ns.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/cart.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/hello.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/hello.xsl (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/shiporder-ns.xsd (100%) rename packages/{ => ui/src}/xml-schema-ts/test-resources/shiporder.xsd (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/NamespaceContext.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/NamespaceContextOwner.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/NamespacePrefixList.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/NodeNamespaceContext.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/ObjectMap.test.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/ObjectMap.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/PrefixCollector.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XDOMUtil.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XmlSchemaNamed.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XmlSchemaNamedImpl.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XmlSchemaNamedType.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XmlSchemaNamedWithForm.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XmlSchemaNamedWithFormImpl.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XmlSchemaObjectBase.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XmlSchemaRef.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/utils/XmlSchemaRefBase.ts (100%) rename packages/{xml-schema-ts/src => ui/src/xml-schema-ts}/xml-parser.test.ts (77%) delete mode 100644 packages/xml-schema-ts/.lintstagedrc.json delete mode 100644 packages/xml-schema-ts/README.md delete mode 100644 packages/xml-schema-ts/babel.config.cjs delete mode 100644 packages/xml-schema-ts/jest.config.js delete mode 100644 packages/xml-schema-ts/jest.setup.ts delete mode 100644 packages/xml-schema-ts/package.json delete mode 100644 packages/xml-schema-ts/tsconfig.cjs.json delete mode 100644 packages/xml-schema-ts/tsconfig.esm.json delete mode 100644 packages/xml-schema-ts/tsconfig.json diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index c7996f749..e0868505a 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -38,7 +38,7 @@ jobs: # Build packages excluding @kaoto/camel-catalog since it was build during installing dependencies - name: Build packages - run: yarn workspaces foreach --verbose --all --topological-dev --exclude @kaoto/camel-catalog --exclude @kaoto/xml-schema-ts run build + run: yarn workspaces foreach --verbose --all --topological-dev --exclude @kaoto/camel-catalog run build # Run tests - name: ๐Ÿงช Run tests diff --git a/.github/workflows/deploy-main.yml b/.github/workflows/deploy-main.yml index bd030572d..1b7f603de 100644 --- a/.github/workflows/deploy-main.yml +++ b/.github/workflows/deploy-main.yml @@ -44,7 +44,7 @@ jobs: # Build packages excluding @kaoto/camel-catalog since it was build during installing dependencies - name: '๐Ÿ”ง Build packages' run: | - yarn workspaces foreach --verbose --all --topological-dev --exclude @kaoto/camel-catalog --exclude @kaoto/xml-schema-ts run build + yarn workspaces foreach --verbose --all --topological-dev --exclude @kaoto/camel-catalog run build - name: '๐Ÿ”ง Tar UI Dist' shell: bash diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index b1eb09c44..bdcbc8018 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -45,7 +45,7 @@ jobs: # Build packages excluding @kaoto/camel-catalog since it was build during installing dependencies - name: Build packages - run: yarn workspaces foreach --verbose --all --topological-dev --exclude @kaoto/camel-catalog --exclude @kaoto/xml-schema-ts run build + run: yarn workspaces foreach --verbose --all --topological-dev --exclude @kaoto/camel-catalog run build # Build lib - name: Build @kaoto/kaoto package in lib mode diff --git a/.github/workflows/release-pipeline.yml b/.github/workflows/release-pipeline.yml index f9e844958..e24b217ff 100644 --- a/.github/workflows/release-pipeline.yml +++ b/.github/workflows/release-pipeline.yml @@ -105,7 +105,7 @@ jobs: - name: '๐Ÿ”ง Build packages' run: | - yarn workspaces foreach --verbose --all --topological-dev --exclude @kaoto/camel-catalog --exclude @kaoto/xml-schema-ts run build + yarn workspaces foreach --verbose --all --topological-dev --exclude @kaoto/camel-catalog run build - name: '๐Ÿ›ฐ๏ธ Login to Container Registry' uses: docker/login-action@v3 diff --git a/package.json b/package.json index a4c516973..9724d9246 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "typescript": "5.5.4" }, "scripts": { - "postinstall": "yarn workspace @kaoto/camel-catalog run build && yarn workspace @kaoto/xml-schema-ts run build", + "postinstall": "yarn workspace @kaoto/camel-catalog run build", "version": "lerna version", "publish": "lerna publish from-package" }, diff --git a/packages/ui/package.json b/packages/ui/package.json index 50f4ea8ac..f13b37340 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -53,7 +53,6 @@ "dependencies": { "@dnd-kit/core": "^6.1.0", "@kaoto-next/uniforms-patternfly": "^0.7.14", - "@kaoto/xml-schema-ts": "workspace:*", "@kie-tools-core/editor": "0.32.0", "@kie-tools-core/notifications": "0.32.0", "@types/uuid": "^10.0.0", diff --git a/packages/ui/src/services/xml-schema-document.service.ts b/packages/ui/src/services/xml-schema-document.service.ts index 756db00b4..6416f0c15 100644 --- a/packages/ui/src/services/xml-schema-document.service.ts +++ b/packages/ui/src/services/xml-schema-document.service.ts @@ -28,7 +28,7 @@ import { XmlSchemaSimpleType, XmlSchemaType, XmlSchemaUse, -} from '@kaoto/xml-schema-ts'; +} from '../xml-schema-ts'; import { BaseDocument, BaseField, ITypeFragment } from '../models/datamapper/document'; import { Types } from '../models/datamapper/types'; import { DocumentType } from '../models/datamapper/path'; diff --git a/packages/ui/src/stubs/data-mapper.ts b/packages/ui/src/stubs/data-mapper.ts index ae0948deb..fe1cae7ee 100644 --- a/packages/ui/src/stubs/data-mapper.ts +++ b/packages/ui/src/stubs/data-mapper.ts @@ -1,9 +1,10 @@ -import { parse } from 'yaml'; -import { DATAMAPPER_ID_PREFIX, XSLT_COMPONENT_NAME } from '../utils'; import fs from 'fs'; -import { XmlSchemaDocumentService } from '../services/xml-schema-document.service'; -import { DocumentType } from '../models/datamapper/path'; +import path from 'path'; +import { parse } from 'yaml'; import { IDocument, PrimitiveDocument } from '../models/datamapper/document'; +import { DocumentType } from '../models/datamapper/path'; +import { XmlSchemaDocumentService } from '../services/xml-schema-document.service'; +import { DATAMAPPER_ID_PREFIX, XSLT_COMPONENT_NAME } from '../utils'; export const datamapperRouteDefinitionStub = parse(` from: @@ -18,25 +19,25 @@ export const datamapperRouteDefinitionStub = parse(` uri: ${XSLT_COMPONENT_NAME}:transform.xsl`); export const shipOrderXsd = fs - .readFileSync(__dirname + '/../../../xml-schema-ts/test-resources/ShipOrder.xsd') + .readFileSync(path.resolve(__dirname, '../xml-schema-ts/test-resources/ShipOrder.xsd')) .toString(); export const testDocumentXsd = fs - .readFileSync(__dirname + '/../../../xml-schema-ts/test-resources/TestDocument.xsd') + .readFileSync(path.resolve(__dirname, '../xml-schema-ts/test-resources/TestDocument.xsd')) .toString(); export const noTopElementXsd = fs - .readFileSync(__dirname + '/../../../xml-schema-ts/test-resources/NoTopElement.xsd') + .readFileSync(path.resolve(__dirname, '../xml-schema-ts/test-resources/NoTopElement.xsd')) .toString(); export const camelSpringXsd = fs - .readFileSync(__dirname + '/../../../xml-schema-ts/test-resources/camel-spring.xsd') + .readFileSync(path.resolve(__dirname, '../xml-schema-ts/test-resources/camel-spring.xsd')) .toString(); export const shipOrderToShipOrderXslt = fs - .readFileSync(__dirname + '/../../../xml-schema-ts/test-resources/ShipOrderToShipOrder.xsl') + .readFileSync(path.resolve(__dirname, '../xml-schema-ts/test-resources/ShipOrderToShipOrder.xsl')) .toString(); export const shipOrderToShipOrderInvalidForEachXslt = fs - .readFileSync(__dirname + '/../../../xml-schema-ts/test-resources/ShipOrderToShipOrderInvalidForEach.xsl') + .readFileSync(path.resolve(__dirname, '../xml-schema-ts/test-resources/ShipOrderToShipOrderInvalidForEach.xsl')) .toString(); export const shipOrderEmptyFirstLineXsd = fs - .readFileSync(__dirname + '/../../../xml-schema-ts/test-resources/ShipOrderEmptyFirstLine.xsd') + .readFileSync(path.resolve(__dirname, '../xml-schema-ts/test-resources/ShipOrderEmptyFirstLine.xsd')) .toString(); export class TestUtil { diff --git a/packages/xml-schema-ts/src/DocumentFragmentNodeList.ts b/packages/ui/src/xml-schema-ts/DocumentFragmentNodeList.ts similarity index 100% rename from packages/xml-schema-ts/src/DocumentFragmentNodeList.ts rename to packages/ui/src/xml-schema-ts/DocumentFragmentNodeList.ts diff --git a/packages/xml-schema-ts/src/QName.ts b/packages/ui/src/xml-schema-ts/QName.ts similarity index 100% rename from packages/xml-schema-ts/src/QName.ts rename to packages/ui/src/xml-schema-ts/QName.ts diff --git a/packages/xml-schema-ts/src/SchemaBuilder.ts b/packages/ui/src/xml-schema-ts/SchemaBuilder.ts similarity index 100% rename from packages/xml-schema-ts/src/SchemaBuilder.ts rename to packages/ui/src/xml-schema-ts/SchemaBuilder.ts diff --git a/packages/xml-schema-ts/src/SchemaKey.ts b/packages/ui/src/xml-schema-ts/SchemaKey.ts similarity index 100% rename from packages/xml-schema-ts/src/SchemaKey.ts rename to packages/ui/src/xml-schema-ts/SchemaKey.ts diff --git a/packages/xml-schema-ts/src/TypeReceiver.ts b/packages/ui/src/xml-schema-ts/TypeReceiver.ts similarity index 100% rename from packages/xml-schema-ts/src/TypeReceiver.ts rename to packages/ui/src/xml-schema-ts/TypeReceiver.ts diff --git a/packages/xml-schema-ts/src/XmlSchema.ts b/packages/ui/src/xml-schema-ts/XmlSchema.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchema.ts rename to packages/ui/src/xml-schema-ts/XmlSchema.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaAnnotated.ts b/packages/ui/src/xml-schema-ts/XmlSchemaAnnotated.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaAnnotated.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaAnnotated.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaAnyAttribute.ts b/packages/ui/src/xml-schema-ts/XmlSchemaAnyAttribute.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaAnyAttribute.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaAnyAttribute.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaCollection.test.ts b/packages/ui/src/xml-schema-ts/XmlSchemaCollection.test.ts similarity index 91% rename from packages/xml-schema-ts/src/XmlSchemaCollection.test.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaCollection.test.ts index cf66d6044..21a8b7c72 100644 --- a/packages/xml-schema-ts/src/XmlSchemaCollection.test.ts +++ b/packages/ui/src/xml-schema-ts/XmlSchemaCollection.test.ts @@ -1,23 +1,23 @@ -import { XmlSchemaCollection } from './XmlSchemaCollection'; import fs from 'fs'; +import path from 'path'; import { QName } from './QName'; -import { XmlSchemaComplexType } from './complex/XmlSchemaComplexType'; -import { XmlSchemaAttribute } from './attribute/XmlSchemaAttribute'; +import { XmlSchemaCollection } from './XmlSchemaCollection'; import { XmlSchemaUse } from './XmlSchemaUse'; -import { XmlSchemaSequence } from './particle/XmlSchemaSequence'; -import { XmlSchemaElement } from './particle/XmlSchemaElement'; +import { XmlSchemaAttribute } from './attribute/XmlSchemaAttribute'; import { XmlSchemaAttributeGroupRef } from './attribute/XmlSchemaAttributeGroupRef'; -import { XmlSchemaSimpleType } from './simple/XmlSchemaSimpleType'; -import { screen } from '@testing-library/react'; import { XmlSchemaComplexContentExtension } from './complex/XmlSchemaComplexContentExtension'; +import { XmlSchemaComplexType } from './complex/XmlSchemaComplexType'; +import { XmlSchemaElement } from './particle/XmlSchemaElement'; +import { XmlSchemaSequence } from './particle/XmlSchemaSequence'; +import { XmlSchemaSimpleType } from './simple/XmlSchemaSimpleType'; describe('XmlSchemaCollection', () => { - const orderXsd = fs.readFileSync(__dirname + '/../test-resources/ShipOrder.xsd').toString(); - const testXsd = fs.readFileSync(__dirname + '/../test-resources/TestDocument.xsd').toString(); - const namedTypesXsd = fs.readFileSync(__dirname + '/../test-resources/NamedTypes.xsd').toString(); - const camelSpringXsd = fs.readFileSync(__dirname + '/../test-resources/camel-spring.xsd').toString(); + const orderXsd = fs.readFileSync(path.resolve(__dirname, 'test-resources/ShipOrder.xsd')).toString(); + const testXsd = fs.readFileSync(path.resolve(__dirname, 'test-resources/TestDocument.xsd')).toString(); + const namedTypesXsd = fs.readFileSync(path.resolve(__dirname, 'test-resources/NamedTypes.xsd')).toString(); + const camelSpringXsd = fs.readFileSync(path.resolve(__dirname, 'test-resources/camel-spring.xsd')).toString(); const orderXsdEmptyFirstLine = fs - .readFileSync(__dirname + '/../test-resources/ShipOrderEmptyFirstLine.xsd') + .readFileSync(path.resolve(__dirname, 'test-resources/ShipOrderEmptyFirstLine.xsd')) .toString(); it('should parse ShipOrder XML schema', () => { @@ -111,7 +111,6 @@ describe('XmlSchemaCollection', () => { const element1SequenceMembers = element1Sequence.getItems(); expect(element1SequenceMembers.length).toEqual(1); const element1Simple1 = element1SequenceMembers[0] as XmlSchemaElement; - const element1Simple1SchemaType = element1Simple1.getSchemaType(); expect(element1Simple1.getWireName()?.getNamespaceURI()).toEqual(''); expect(element1Simple1.getWireName()?.getLocalPart()).toEqual('Element1Simple1'); }); @@ -136,7 +135,8 @@ describe('XmlSchemaCollection', () => { try { collection.read(orderXsdEmptyFirstLine, () => {}); } catch (error) { - expect(error.message).toContain('an XML declaration must be at the start of the document'); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + expect((error as any).message).toContain('an XML declaration must be at the start of the document'); return; } fail('No error was thrown'); diff --git a/packages/xml-schema-ts/src/XmlSchemaCollection.ts b/packages/ui/src/xml-schema-ts/XmlSchemaCollection.ts similarity index 99% rename from packages/xml-schema-ts/src/XmlSchemaCollection.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaCollection.ts index eb1b8a64e..52e83e82e 100644 --- a/packages/xml-schema-ts/src/XmlSchemaCollection.ts +++ b/packages/ui/src/xml-schema-ts/XmlSchemaCollection.ts @@ -556,7 +556,6 @@ export class XmlSchemaCollection { return null; } const uri = name.getNamespaceURI(); - const entries = this.schemas.entries(); for (const entry of Array.from(this.schemas.entries())) { if (entry[0].getNamespace() === uri) { const group = entry[1].getAttributeGroupByQName(name); diff --git a/packages/xml-schema-ts/src/XmlSchemaContent.ts b/packages/ui/src/xml-schema-ts/XmlSchemaContent.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaContent.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaContent.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaContentModel.ts b/packages/ui/src/xml-schema-ts/XmlSchemaContentModel.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaContentModel.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaContentModel.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaContentProcessing.ts b/packages/ui/src/xml-schema-ts/XmlSchemaContentProcessing.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaContentProcessing.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaContentProcessing.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaContentType.ts b/packages/ui/src/xml-schema-ts/XmlSchemaContentType.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaContentType.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaContentType.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaDerivationMethod.ts b/packages/ui/src/xml-schema-ts/XmlSchemaDerivationMethod.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaDerivationMethod.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaDerivationMethod.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaDocumentation.ts b/packages/ui/src/xml-schema-ts/XmlSchemaDocumentation.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaDocumentation.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaDocumentation.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaForm.ts b/packages/ui/src/xml-schema-ts/XmlSchemaForm.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaForm.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaForm.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaGroup.ts b/packages/ui/src/xml-schema-ts/XmlSchemaGroup.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaGroup.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaGroup.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaItemWithRef.ts b/packages/ui/src/xml-schema-ts/XmlSchemaItemWithRef.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaItemWithRef.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaItemWithRef.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaItemWithRefBase.ts b/packages/ui/src/xml-schema-ts/XmlSchemaItemWithRefBase.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaItemWithRefBase.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaItemWithRefBase.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaNotation.ts b/packages/ui/src/xml-schema-ts/XmlSchemaNotation.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaNotation.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaNotation.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaObject.ts b/packages/ui/src/xml-schema-ts/XmlSchemaObject.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaObject.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaObject.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaType.ts b/packages/ui/src/xml-schema-ts/XmlSchemaType.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaType.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaType.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaUse.ts b/packages/ui/src/xml-schema-ts/XmlSchemaUse.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaUse.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaUse.ts diff --git a/packages/xml-schema-ts/src/XmlSchemaXPath.ts b/packages/ui/src/xml-schema-ts/XmlSchemaXPath.ts similarity index 100% rename from packages/xml-schema-ts/src/XmlSchemaXPath.ts rename to packages/ui/src/xml-schema-ts/XmlSchemaXPath.ts diff --git a/packages/xml-schema-ts/src/annotation/XmlSchemaAnnotation.ts b/packages/ui/src/xml-schema-ts/annotation/XmlSchemaAnnotation.ts similarity index 100% rename from packages/xml-schema-ts/src/annotation/XmlSchemaAnnotation.ts rename to packages/ui/src/xml-schema-ts/annotation/XmlSchemaAnnotation.ts diff --git a/packages/xml-schema-ts/src/annotation/XmlSchemaAnnotationItem.ts b/packages/ui/src/xml-schema-ts/annotation/XmlSchemaAnnotationItem.ts similarity index 100% rename from packages/xml-schema-ts/src/annotation/XmlSchemaAnnotationItem.ts rename to packages/ui/src/xml-schema-ts/annotation/XmlSchemaAnnotationItem.ts diff --git a/packages/xml-schema-ts/src/annotation/XmlSchemaAppInfo.ts b/packages/ui/src/xml-schema-ts/annotation/XmlSchemaAppInfo.ts similarity index 100% rename from packages/xml-schema-ts/src/annotation/XmlSchemaAppInfo.ts rename to packages/ui/src/xml-schema-ts/annotation/XmlSchemaAppInfo.ts diff --git a/packages/xml-schema-ts/src/annotation/XmlSchemaDocumentation.ts b/packages/ui/src/xml-schema-ts/annotation/XmlSchemaDocumentation.ts similarity index 100% rename from packages/xml-schema-ts/src/annotation/XmlSchemaDocumentation.ts rename to packages/ui/src/xml-schema-ts/annotation/XmlSchemaDocumentation.ts diff --git a/packages/xml-schema-ts/src/attribute/XmlSchemaAttribute.ts b/packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttribute.ts similarity index 100% rename from packages/xml-schema-ts/src/attribute/XmlSchemaAttribute.ts rename to packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttribute.ts diff --git a/packages/xml-schema-ts/src/attribute/XmlSchemaAttributeGroup.ts b/packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttributeGroup.ts similarity index 100% rename from packages/xml-schema-ts/src/attribute/XmlSchemaAttributeGroup.ts rename to packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttributeGroup.ts diff --git a/packages/xml-schema-ts/src/attribute/XmlSchemaAttributeGroupMember.ts b/packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttributeGroupMember.ts similarity index 100% rename from packages/xml-schema-ts/src/attribute/XmlSchemaAttributeGroupMember.ts rename to packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttributeGroupMember.ts diff --git a/packages/xml-schema-ts/src/attribute/XmlSchemaAttributeGroupRef.ts b/packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttributeGroupRef.ts similarity index 100% rename from packages/xml-schema-ts/src/attribute/XmlSchemaAttributeGroupRef.ts rename to packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttributeGroupRef.ts diff --git a/packages/xml-schema-ts/src/attribute/XmlSchemaAttributeOrGroupRef.ts b/packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttributeOrGroupRef.ts similarity index 100% rename from packages/xml-schema-ts/src/attribute/XmlSchemaAttributeOrGroupRef.ts rename to packages/ui/src/xml-schema-ts/attribute/XmlSchemaAttributeOrGroupRef.ts diff --git a/packages/xml-schema-ts/src/complex/XmlSchemaComplexContent.ts b/packages/ui/src/xml-schema-ts/complex/XmlSchemaComplexContent.ts similarity index 100% rename from packages/xml-schema-ts/src/complex/XmlSchemaComplexContent.ts rename to packages/ui/src/xml-schema-ts/complex/XmlSchemaComplexContent.ts diff --git a/packages/xml-schema-ts/src/complex/XmlSchemaComplexContentExtension.ts b/packages/ui/src/xml-schema-ts/complex/XmlSchemaComplexContentExtension.ts similarity index 100% rename from packages/xml-schema-ts/src/complex/XmlSchemaComplexContentExtension.ts rename to packages/ui/src/xml-schema-ts/complex/XmlSchemaComplexContentExtension.ts diff --git a/packages/xml-schema-ts/src/complex/XmlSchemaComplexContentRestriction.ts b/packages/ui/src/xml-schema-ts/complex/XmlSchemaComplexContentRestriction.ts similarity index 100% rename from packages/xml-schema-ts/src/complex/XmlSchemaComplexContentRestriction.ts rename to packages/ui/src/xml-schema-ts/complex/XmlSchemaComplexContentRestriction.ts diff --git a/packages/xml-schema-ts/src/complex/XmlSchemaComplexType.ts b/packages/ui/src/xml-schema-ts/complex/XmlSchemaComplexType.ts similarity index 100% rename from packages/xml-schema-ts/src/complex/XmlSchemaComplexType.ts rename to packages/ui/src/xml-schema-ts/complex/XmlSchemaComplexType.ts diff --git a/packages/xml-schema-ts/src/constants.ts b/packages/ui/src/xml-schema-ts/constants.ts similarity index 100% rename from packages/xml-schema-ts/src/constants.ts rename to packages/ui/src/xml-schema-ts/constants.ts diff --git a/packages/xml-schema-ts/src/constraint/XmlSchemaIdentityConstraint.ts b/packages/ui/src/xml-schema-ts/constraint/XmlSchemaIdentityConstraint.ts similarity index 100% rename from packages/xml-schema-ts/src/constraint/XmlSchemaIdentityConstraint.ts rename to packages/ui/src/xml-schema-ts/constraint/XmlSchemaIdentityConstraint.ts diff --git a/packages/xml-schema-ts/src/constraint/XmlSchemaKey.ts b/packages/ui/src/xml-schema-ts/constraint/XmlSchemaKey.ts similarity index 100% rename from packages/xml-schema-ts/src/constraint/XmlSchemaKey.ts rename to packages/ui/src/xml-schema-ts/constraint/XmlSchemaKey.ts diff --git a/packages/xml-schema-ts/src/constraint/XmlSchemaKeyref.ts b/packages/ui/src/xml-schema-ts/constraint/XmlSchemaKeyref.ts similarity index 100% rename from packages/xml-schema-ts/src/constraint/XmlSchemaKeyref.ts rename to packages/ui/src/xml-schema-ts/constraint/XmlSchemaKeyref.ts diff --git a/packages/xml-schema-ts/src/constraint/XmlSchemaUnique.ts b/packages/ui/src/xml-schema-ts/constraint/XmlSchemaUnique.ts similarity index 100% rename from packages/xml-schema-ts/src/constraint/XmlSchemaUnique.ts rename to packages/ui/src/xml-schema-ts/constraint/XmlSchemaUnique.ts diff --git a/packages/xml-schema-ts/src/extensions/DefaultExtensionDeserializer.ts b/packages/ui/src/xml-schema-ts/extensions/DefaultExtensionDeserializer.ts similarity index 100% rename from packages/xml-schema-ts/src/extensions/DefaultExtensionDeserializer.ts rename to packages/ui/src/xml-schema-ts/extensions/DefaultExtensionDeserializer.ts diff --git a/packages/xml-schema-ts/src/extensions/DefaultExtensionSerializer.ts b/packages/ui/src/xml-schema-ts/extensions/DefaultExtensionSerializer.ts similarity index 100% rename from packages/xml-schema-ts/src/extensions/DefaultExtensionSerializer.ts rename to packages/ui/src/xml-schema-ts/extensions/DefaultExtensionSerializer.ts diff --git a/packages/xml-schema-ts/src/extensions/ExtensionDeserializer.ts b/packages/ui/src/xml-schema-ts/extensions/ExtensionDeserializer.ts similarity index 100% rename from packages/xml-schema-ts/src/extensions/ExtensionDeserializer.ts rename to packages/ui/src/xml-schema-ts/extensions/ExtensionDeserializer.ts diff --git a/packages/xml-schema-ts/src/extensions/ExtensionRegistry.ts b/packages/ui/src/xml-schema-ts/extensions/ExtensionRegistry.ts similarity index 100% rename from packages/xml-schema-ts/src/extensions/ExtensionRegistry.ts rename to packages/ui/src/xml-schema-ts/extensions/ExtensionRegistry.ts diff --git a/packages/xml-schema-ts/src/extensions/ExtensionSerializer.ts b/packages/ui/src/xml-schema-ts/extensions/ExtensionSerializer.ts similarity index 100% rename from packages/xml-schema-ts/src/extensions/ExtensionSerializer.ts rename to packages/ui/src/xml-schema-ts/extensions/ExtensionSerializer.ts diff --git a/packages/xml-schema-ts/src/external/XmlSchemaExternal.ts b/packages/ui/src/xml-schema-ts/external/XmlSchemaExternal.ts similarity index 100% rename from packages/xml-schema-ts/src/external/XmlSchemaExternal.ts rename to packages/ui/src/xml-schema-ts/external/XmlSchemaExternal.ts diff --git a/packages/xml-schema-ts/src/external/XmlSchemaImport.ts b/packages/ui/src/xml-schema-ts/external/XmlSchemaImport.ts similarity index 100% rename from packages/xml-schema-ts/src/external/XmlSchemaImport.ts rename to packages/ui/src/xml-schema-ts/external/XmlSchemaImport.ts diff --git a/packages/xml-schema-ts/src/external/XmlSchemaInclude.ts b/packages/ui/src/xml-schema-ts/external/XmlSchemaInclude.ts similarity index 100% rename from packages/xml-schema-ts/src/external/XmlSchemaInclude.ts rename to packages/ui/src/xml-schema-ts/external/XmlSchemaInclude.ts diff --git a/packages/xml-schema-ts/src/external/XmlSchemaRedefine.ts b/packages/ui/src/xml-schema-ts/external/XmlSchemaRedefine.ts similarity index 100% rename from packages/xml-schema-ts/src/external/XmlSchemaRedefine.ts rename to packages/ui/src/xml-schema-ts/external/XmlSchemaRedefine.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaEnumerationFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaEnumerationFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaEnumerationFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaEnumerationFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaFacetConstructor.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaFacetConstructor.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaFacetConstructor.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaFacetConstructor.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaFractionDigitsFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaFractionDigitsFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaFractionDigitsFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaFractionDigitsFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaLengthFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaLengthFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaLengthFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaLengthFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaMaxExclusiveFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaMaxExclusiveFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaMaxExclusiveFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaMaxExclusiveFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaMaxInclusiveFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaMaxInclusiveFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaMaxInclusiveFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaMaxInclusiveFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaMaxLengthFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaMaxLengthFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaMaxLengthFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaMaxLengthFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaMinExclusiveFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaMinExclusiveFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaMinExclusiveFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaMinExclusiveFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaMinInclusiveFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaMinInclusiveFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaMinInclusiveFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaMinInclusiveFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaMinLengthFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaMinLengthFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaMinLengthFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaMinLengthFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaNumericFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaNumericFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaNumericFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaNumericFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaPatternFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaPatternFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaPatternFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaPatternFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaTotalDigitsFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaTotalDigitsFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaTotalDigitsFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaTotalDigitsFacet.ts diff --git a/packages/xml-schema-ts/src/facet/XmlSchemaWhiteSpaceFacet.ts b/packages/ui/src/xml-schema-ts/facet/XmlSchemaWhiteSpaceFacet.ts similarity index 100% rename from packages/xml-schema-ts/src/facet/XmlSchemaWhiteSpaceFacet.ts rename to packages/ui/src/xml-schema-ts/facet/XmlSchemaWhiteSpaceFacet.ts diff --git a/packages/xml-schema-ts/src/index.ts b/packages/ui/src/xml-schema-ts/index.ts similarity index 81% rename from packages/xml-schema-ts/src/index.ts rename to packages/ui/src/xml-schema-ts/index.ts index fa40c2691..047a94273 100644 --- a/packages/xml-schema-ts/src/index.ts +++ b/packages/ui/src/xml-schema-ts/index.ts @@ -1,31 +1,32 @@ -export { QNameMap } from './utils/ObjectMap'; -export { XmlSchema } from './XmlSchema'; -export { XmlSchemaAll } from './particle/XmlSchemaAll'; -export { XmlSchemaAny } from './particle/XmlSchemaAny'; -export { XmlSchemaAllMember } from './particle/XmlSchemaAllMember'; export { XmlSchemaAttribute } from './attribute/XmlSchemaAttribute'; export { XmlSchemaAttributeGroup } from './attribute/XmlSchemaAttributeGroup'; -export { XmlSchemaAttributeGroupMember } from './attribute/XmlSchemaAttributeGroupMember'; export { XmlSchemaAttributeGroupRef } from './attribute/XmlSchemaAttributeGroupRef'; export { XmlSchemaAttributeOrGroupRef } from './attribute/XmlSchemaAttributeOrGroupRef'; -export { XmlSchemaChoice } from './particle/XmlSchemaChoice'; -export { XmlSchemaChoiceMember } from './particle/XmlSchemaChoiceMember'; -export { XmlSchemaCollection } from './XmlSchemaCollection'; export { XmlSchemaComplexContentExtension } from './complex/XmlSchemaComplexContentExtension'; export { XmlSchemaComplexContentRestriction } from './complex/XmlSchemaComplexContentRestriction'; export { XmlSchemaComplexType } from './complex/XmlSchemaComplexType'; -export { XmlSchemaContentModel } from './XmlSchemaContentModel'; +export { XmlSchemaAll } from './particle/XmlSchemaAll'; +export { XmlSchemaAny } from './particle/XmlSchemaAny'; +export { XmlSchemaChoice } from './particle/XmlSchemaChoice'; export { XmlSchemaElement } from './particle/XmlSchemaElement'; -export { XmlSchemaGroup } from './XmlSchemaGroup'; export { XmlSchemaGroupParticle } from './particle/XmlSchemaGroupParticle'; export { XmlSchemaGroupRef } from './particle/XmlSchemaGroupRef'; -export { XmlSchemaObjectBase } from './utils/XmlSchemaObjectBase'; export { XmlSchemaParticle } from './particle/XmlSchemaParticle'; -export { XmlSchemaRef } from './utils/XmlSchemaRef'; export { XmlSchemaSequence } from './particle/XmlSchemaSequence'; -export { XmlSchemaSequenceMember } from './particle/XmlSchemaSequenceMember'; export { XmlSchemaSimpleContentExtension } from './simple/XmlSchemaSimpleContentExtension'; export { XmlSchemaSimpleContentRestriction } from './simple/XmlSchemaSimpleContentRestriction'; export { XmlSchemaSimpleType } from './simple/XmlSchemaSimpleType'; +export { QNameMap } from './utils/ObjectMap'; +export { XmlSchemaRef } from './utils/XmlSchemaRef'; +export { XmlSchema } from './XmlSchema'; +export { XmlSchemaCollection } from './XmlSchemaCollection'; +export { XmlSchemaContentModel } from './XmlSchemaContentModel'; +export { XmlSchemaGroup } from './XmlSchemaGroup'; export { XmlSchemaType } from './XmlSchemaType'; export { XmlSchemaUse } from './XmlSchemaUse'; + +export type { XmlSchemaAttributeGroupMember } from './attribute/XmlSchemaAttributeGroupMember'; +export type { XmlSchemaAllMember } from './particle/XmlSchemaAllMember'; +export type { XmlSchemaChoiceMember } from './particle/XmlSchemaChoiceMember'; +export type { XmlSchemaSequenceMember } from './particle/XmlSchemaSequenceMember'; +export type { XmlSchemaObjectBase } from './utils/XmlSchemaObjectBase'; diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaAll.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaAll.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaAll.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaAll.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaAllMember.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaAllMember.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaAllMember.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaAllMember.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaAny.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaAny.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaAny.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaAny.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaChoice.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaChoice.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaChoice.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaChoice.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaChoiceMember.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaChoiceMember.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaChoiceMember.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaChoiceMember.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaElement.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaElement.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaElement.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaElement.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaGroupParticle.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaGroupParticle.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaGroupParticle.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaGroupParticle.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaGroupRef.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaGroupRef.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaGroupRef.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaGroupRef.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaParticle.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaParticle.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaParticle.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaParticle.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaSequence.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaSequence.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaSequence.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaSequence.ts diff --git a/packages/xml-schema-ts/src/particle/XmlSchemaSequenceMember.ts b/packages/ui/src/xml-schema-ts/particle/XmlSchemaSequenceMember.ts similarity index 100% rename from packages/xml-schema-ts/src/particle/XmlSchemaSequenceMember.ts rename to packages/ui/src/xml-schema-ts/particle/XmlSchemaSequenceMember.ts diff --git a/packages/xml-schema-ts/src/resolver/CollectionURIResolver.ts b/packages/ui/src/xml-schema-ts/resolver/CollectionURIResolver.ts similarity index 100% rename from packages/xml-schema-ts/src/resolver/CollectionURIResolver.ts rename to packages/ui/src/xml-schema-ts/resolver/CollectionURIResolver.ts diff --git a/packages/xml-schema-ts/src/resolver/DefaultURIResolver.ts b/packages/ui/src/xml-schema-ts/resolver/DefaultURIResolver.ts similarity index 100% rename from packages/xml-schema-ts/src/resolver/DefaultURIResolver.ts rename to packages/ui/src/xml-schema-ts/resolver/DefaultURIResolver.ts diff --git a/packages/xml-schema-ts/src/resolver/URIResolver.ts b/packages/ui/src/xml-schema-ts/resolver/URIResolver.ts similarity index 100% rename from packages/xml-schema-ts/src/resolver/URIResolver.ts rename to packages/ui/src/xml-schema-ts/resolver/URIResolver.ts diff --git a/packages/xml-schema-ts/src/simple/XmlSchemaSimpleContent.ts b/packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleContent.ts similarity index 100% rename from packages/xml-schema-ts/src/simple/XmlSchemaSimpleContent.ts rename to packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleContent.ts diff --git a/packages/xml-schema-ts/src/simple/XmlSchemaSimpleContentExtension.ts b/packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleContentExtension.ts similarity index 100% rename from packages/xml-schema-ts/src/simple/XmlSchemaSimpleContentExtension.ts rename to packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleContentExtension.ts diff --git a/packages/xml-schema-ts/src/simple/XmlSchemaSimpleContentRestriction.ts b/packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleContentRestriction.ts similarity index 100% rename from packages/xml-schema-ts/src/simple/XmlSchemaSimpleContentRestriction.ts rename to packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleContentRestriction.ts diff --git a/packages/xml-schema-ts/src/simple/XmlSchemaSimpleType.ts b/packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleType.ts similarity index 100% rename from packages/xml-schema-ts/src/simple/XmlSchemaSimpleType.ts rename to packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleType.ts diff --git a/packages/xml-schema-ts/src/simple/XmlSchemaSimpleTypeContent.ts b/packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleTypeContent.ts similarity index 100% rename from packages/xml-schema-ts/src/simple/XmlSchemaSimpleTypeContent.ts rename to packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleTypeContent.ts diff --git a/packages/xml-schema-ts/src/simple/XmlSchemaSimpleTypeList.ts b/packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleTypeList.ts similarity index 100% rename from packages/xml-schema-ts/src/simple/XmlSchemaSimpleTypeList.ts rename to packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleTypeList.ts diff --git a/packages/xml-schema-ts/src/simple/XmlSchemaSimpleTypeRestriction.ts b/packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleTypeRestriction.ts similarity index 100% rename from packages/xml-schema-ts/src/simple/XmlSchemaSimpleTypeRestriction.ts rename to packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleTypeRestriction.ts diff --git a/packages/xml-schema-ts/src/simple/XmlSchemaSimpleTypeUnion.ts b/packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleTypeUnion.ts similarity index 100% rename from packages/xml-schema-ts/src/simple/XmlSchemaSimpleTypeUnion.ts rename to packages/ui/src/xml-schema-ts/simple/XmlSchemaSimpleTypeUnion.ts diff --git a/packages/xml-schema-ts/test-resources/Account.xsd b/packages/ui/src/xml-schema-ts/test-resources/Account.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/Account.xsd rename to packages/ui/src/xml-schema-ts/test-resources/Account.xsd diff --git a/packages/xml-schema-ts/test-resources/Cart.xsd b/packages/ui/src/xml-schema-ts/test-resources/Cart.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/Cart.xsd rename to packages/ui/src/xml-schema-ts/test-resources/Cart.xsd diff --git a/packages/xml-schema-ts/test-resources/ExampleOrder.xml b/packages/ui/src/xml-schema-ts/test-resources/ExampleOrder.xml similarity index 100% rename from packages/xml-schema-ts/test-resources/ExampleOrder.xml rename to packages/ui/src/xml-schema-ts/test-resources/ExampleOrder.xml diff --git a/packages/xml-schema-ts/test-resources/NamedTypes.xsd b/packages/ui/src/xml-schema-ts/test-resources/NamedTypes.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/NamedTypes.xsd rename to packages/ui/src/xml-schema-ts/test-resources/NamedTypes.xsd diff --git a/packages/xml-schema-ts/test-resources/NoTopElement.xsd b/packages/ui/src/xml-schema-ts/test-resources/NoTopElement.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/NoTopElement.xsd rename to packages/ui/src/xml-schema-ts/test-resources/NoTopElement.xsd diff --git a/packages/xml-schema-ts/test-resources/ShipOrder.xsd b/packages/ui/src/xml-schema-ts/test-resources/ShipOrder.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/ShipOrder.xsd rename to packages/ui/src/xml-schema-ts/test-resources/ShipOrder.xsd diff --git a/packages/xml-schema-ts/test-resources/ShipOrderEmptyFirstLine.xsd b/packages/ui/src/xml-schema-ts/test-resources/ShipOrderEmptyFirstLine.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/ShipOrderEmptyFirstLine.xsd rename to packages/ui/src/xml-schema-ts/test-resources/ShipOrderEmptyFirstLine.xsd diff --git a/packages/xml-schema-ts/test-resources/ShipOrderToShipOrder.xsl b/packages/ui/src/xml-schema-ts/test-resources/ShipOrderToShipOrder.xsl similarity index 100% rename from packages/xml-schema-ts/test-resources/ShipOrderToShipOrder.xsl rename to packages/ui/src/xml-schema-ts/test-resources/ShipOrderToShipOrder.xsl diff --git a/packages/xml-schema-ts/test-resources/ShipOrderToShipOrderInvalidForEach.xsl b/packages/ui/src/xml-schema-ts/test-resources/ShipOrderToShipOrderInvalidForEach.xsl similarity index 100% rename from packages/xml-schema-ts/test-resources/ShipOrderToShipOrderInvalidForEach.xsl rename to packages/ui/src/xml-schema-ts/test-resources/ShipOrderToShipOrderInvalidForEach.xsl diff --git a/packages/xml-schema-ts/test-resources/TestDocument.xsd b/packages/ui/src/xml-schema-ts/test-resources/TestDocument.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/TestDocument.xsd rename to packages/ui/src/xml-schema-ts/test-resources/TestDocument.xsd diff --git a/packages/xml-schema-ts/test-resources/account-ns.xsd b/packages/ui/src/xml-schema-ts/test-resources/account-ns.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/account-ns.xsd rename to packages/ui/src/xml-schema-ts/test-resources/account-ns.xsd diff --git a/packages/xml-schema-ts/test-resources/account.xsd b/packages/ui/src/xml-schema-ts/test-resources/account.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/account.xsd rename to packages/ui/src/xml-schema-ts/test-resources/account.xsd diff --git a/packages/xml-schema-ts/test-resources/camel-spring.xsd b/packages/ui/src/xml-schema-ts/test-resources/camel-spring.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/camel-spring.xsd rename to packages/ui/src/xml-schema-ts/test-resources/camel-spring.xsd diff --git a/packages/xml-schema-ts/test-resources/cart-ns.xsd b/packages/ui/src/xml-schema-ts/test-resources/cart-ns.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/cart-ns.xsd rename to packages/ui/src/xml-schema-ts/test-resources/cart-ns.xsd diff --git a/packages/xml-schema-ts/test-resources/cart.xsd b/packages/ui/src/xml-schema-ts/test-resources/cart.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/cart.xsd rename to packages/ui/src/xml-schema-ts/test-resources/cart.xsd diff --git a/packages/xml-schema-ts/test-resources/hello.xsd b/packages/ui/src/xml-schema-ts/test-resources/hello.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/hello.xsd rename to packages/ui/src/xml-schema-ts/test-resources/hello.xsd diff --git a/packages/xml-schema-ts/test-resources/hello.xsl b/packages/ui/src/xml-schema-ts/test-resources/hello.xsl similarity index 100% rename from packages/xml-schema-ts/test-resources/hello.xsl rename to packages/ui/src/xml-schema-ts/test-resources/hello.xsl diff --git a/packages/xml-schema-ts/test-resources/shiporder-ns.xsd b/packages/ui/src/xml-schema-ts/test-resources/shiporder-ns.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/shiporder-ns.xsd rename to packages/ui/src/xml-schema-ts/test-resources/shiporder-ns.xsd diff --git a/packages/xml-schema-ts/test-resources/shiporder.xsd b/packages/ui/src/xml-schema-ts/test-resources/shiporder.xsd similarity index 100% rename from packages/xml-schema-ts/test-resources/shiporder.xsd rename to packages/ui/src/xml-schema-ts/test-resources/shiporder.xsd diff --git a/packages/xml-schema-ts/src/utils/NamespaceContext.ts b/packages/ui/src/xml-schema-ts/utils/NamespaceContext.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/NamespaceContext.ts rename to packages/ui/src/xml-schema-ts/utils/NamespaceContext.ts diff --git a/packages/xml-schema-ts/src/utils/NamespaceContextOwner.ts b/packages/ui/src/xml-schema-ts/utils/NamespaceContextOwner.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/NamespaceContextOwner.ts rename to packages/ui/src/xml-schema-ts/utils/NamespaceContextOwner.ts diff --git a/packages/xml-schema-ts/src/utils/NamespacePrefixList.ts b/packages/ui/src/xml-schema-ts/utils/NamespacePrefixList.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/NamespacePrefixList.ts rename to packages/ui/src/xml-schema-ts/utils/NamespacePrefixList.ts diff --git a/packages/xml-schema-ts/src/utils/NodeNamespaceContext.ts b/packages/ui/src/xml-schema-ts/utils/NodeNamespaceContext.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/NodeNamespaceContext.ts rename to packages/ui/src/xml-schema-ts/utils/NodeNamespaceContext.ts diff --git a/packages/xml-schema-ts/src/utils/ObjectMap.test.ts b/packages/ui/src/xml-schema-ts/utils/ObjectMap.test.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/ObjectMap.test.ts rename to packages/ui/src/xml-schema-ts/utils/ObjectMap.test.ts diff --git a/packages/xml-schema-ts/src/utils/ObjectMap.ts b/packages/ui/src/xml-schema-ts/utils/ObjectMap.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/ObjectMap.ts rename to packages/ui/src/xml-schema-ts/utils/ObjectMap.ts diff --git a/packages/xml-schema-ts/src/utils/PrefixCollector.ts b/packages/ui/src/xml-schema-ts/utils/PrefixCollector.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/PrefixCollector.ts rename to packages/ui/src/xml-schema-ts/utils/PrefixCollector.ts diff --git a/packages/xml-schema-ts/src/utils/XDOMUtil.ts b/packages/ui/src/xml-schema-ts/utils/XDOMUtil.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XDOMUtil.ts rename to packages/ui/src/xml-schema-ts/utils/XDOMUtil.ts diff --git a/packages/xml-schema-ts/src/utils/XmlSchemaNamed.ts b/packages/ui/src/xml-schema-ts/utils/XmlSchemaNamed.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XmlSchemaNamed.ts rename to packages/ui/src/xml-schema-ts/utils/XmlSchemaNamed.ts diff --git a/packages/xml-schema-ts/src/utils/XmlSchemaNamedImpl.ts b/packages/ui/src/xml-schema-ts/utils/XmlSchemaNamedImpl.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XmlSchemaNamedImpl.ts rename to packages/ui/src/xml-schema-ts/utils/XmlSchemaNamedImpl.ts diff --git a/packages/xml-schema-ts/src/utils/XmlSchemaNamedType.ts b/packages/ui/src/xml-schema-ts/utils/XmlSchemaNamedType.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XmlSchemaNamedType.ts rename to packages/ui/src/xml-schema-ts/utils/XmlSchemaNamedType.ts diff --git a/packages/xml-schema-ts/src/utils/XmlSchemaNamedWithForm.ts b/packages/ui/src/xml-schema-ts/utils/XmlSchemaNamedWithForm.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XmlSchemaNamedWithForm.ts rename to packages/ui/src/xml-schema-ts/utils/XmlSchemaNamedWithForm.ts diff --git a/packages/xml-schema-ts/src/utils/XmlSchemaNamedWithFormImpl.ts b/packages/ui/src/xml-schema-ts/utils/XmlSchemaNamedWithFormImpl.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XmlSchemaNamedWithFormImpl.ts rename to packages/ui/src/xml-schema-ts/utils/XmlSchemaNamedWithFormImpl.ts diff --git a/packages/xml-schema-ts/src/utils/XmlSchemaObjectBase.ts b/packages/ui/src/xml-schema-ts/utils/XmlSchemaObjectBase.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XmlSchemaObjectBase.ts rename to packages/ui/src/xml-schema-ts/utils/XmlSchemaObjectBase.ts diff --git a/packages/xml-schema-ts/src/utils/XmlSchemaRef.ts b/packages/ui/src/xml-schema-ts/utils/XmlSchemaRef.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XmlSchemaRef.ts rename to packages/ui/src/xml-schema-ts/utils/XmlSchemaRef.ts diff --git a/packages/xml-schema-ts/src/utils/XmlSchemaRefBase.ts b/packages/ui/src/xml-schema-ts/utils/XmlSchemaRefBase.ts similarity index 100% rename from packages/xml-schema-ts/src/utils/XmlSchemaRefBase.ts rename to packages/ui/src/xml-schema-ts/utils/XmlSchemaRefBase.ts diff --git a/packages/xml-schema-ts/src/xml-parser.test.ts b/packages/ui/src/xml-schema-ts/xml-parser.test.ts similarity index 77% rename from packages/xml-schema-ts/src/xml-parser.test.ts rename to packages/ui/src/xml-schema-ts/xml-parser.test.ts index 98afab7ee..ff3b97fc0 100644 --- a/packages/xml-schema-ts/src/xml-parser.test.ts +++ b/packages/ui/src/xml-schema-ts/xml-parser.test.ts @@ -1,11 +1,12 @@ -import * as fs from 'fs'; +import fs from 'fs'; +import path from 'path'; describe.skip('XML parser', () => { describe('DOMParser', () => { const parser = new DOMParser(); it('should parse XML schema', () => { - const orderXsd = fs.readFileSync(__dirname + '/../../../../test-resources/ShipOrder.xsd').toString(); + const orderXsd = fs.readFileSync(path.resolve(__dirname, 'test-resources/ShipOrder.xsd')).toString(); const xmlDoc = parser.parseFromString(orderXsd, 'text/xml'); expect(xmlDoc).toBeDefined(); const schema = xmlDoc.getElementsByTagName('xs:schema')[0]; @@ -22,7 +23,7 @@ describe.skip('XML parser', () => { }); it('should parse XML document', () => { - const orderXml = fs.readFileSync(__dirname + '/../../../../test-resources/ExampleOrder.xml').toString(); + const orderXml = fs.readFileSync(path.resolve(__dirname, 'test-resources/ExampleOrder.xml')).toString(); const xmlDoc = parser.parseFromString(orderXml, 'text/xml'); expect(xmlDoc).toBeDefined(); }); diff --git a/packages/ui/tsconfig.cjs.json b/packages/ui/tsconfig.cjs.json index afed6cc1b..2883f3d40 100644 --- a/packages/ui/tsconfig.cjs.json +++ b/packages/ui/tsconfig.cjs.json @@ -3,7 +3,7 @@ "compilerOptions": { "allowSyntheticDefaultImports": true, "esModuleInterop": true, - "target": "ES5", + "target": "ES2020", "outDir": "lib/cjs", }, } diff --git a/packages/xml-schema-ts/.lintstagedrc.json b/packages/xml-schema-ts/.lintstagedrc.json deleted file mode 100644 index cafe25df7..000000000 --- a/packages/xml-schema-ts/.lintstagedrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "*.ts": "yarn workspace @datamapper-poc/xml-schema-ts run eslint \"src/**/*.ts\"", -} diff --git a/packages/xml-schema-ts/README.md b/packages/xml-schema-ts/README.md deleted file mode 100644 index 88e158055..000000000 --- a/packages/xml-schema-ts/README.md +++ /dev/null @@ -1,16 +0,0 @@ -XmlSchemaTS - XML Schema Parser written in TypeScript, ported from Apache XmlSchema -============================================== - -This is supposed to be a minimal porting from [Apache XmlSchema](https://ws.apache.org/xmlschema/) -to TypeScript for what is required for the Data Mapper with using standard DOMParser. -The main focus is to parse the XML schema file and build a Data Mapper Document model. - -Always honor the upstream for the internal design so we can share the common sense. -https://github.com/apache/ws-xmlschema - -See this test case for the basic usage -https://github.com/KaotoIO/datamapper-poc/blob/main/packages/ui/src/util/xsd/XmlSchemaCollection.test.ts - -### Behavioral Changes -- From what I understand from XML Schema definition, the top level elements are always assigned to the target namespace. In order to achieve this behavior, I made the following change - - https://github.com/KaotoIO/datamapper-poc/commit/92be1f4b21d37194bf627a845c785aa9462dab16#diff-f4482bd2efd45dc85f74b837385f37fde87ddb67c49dde92608c37549185b3adR35-R36 \ No newline at end of file diff --git a/packages/xml-schema-ts/babel.config.cjs b/packages/xml-schema-ts/babel.config.cjs deleted file mode 100644 index d40df42bf..000000000 --- a/packages/xml-schema-ts/babel.config.cjs +++ /dev/null @@ -1,8 +0,0 @@ -// eslint-disable-next-line no-undef -module.exports = { - presets: [ - ['@babel/preset-env', { targets: { node: 'current' } }], - ['@babel/preset-react', { runtime: 'automatic' }], - '@babel/preset-typescript', - ], -}; diff --git a/packages/xml-schema-ts/jest.config.js b/packages/xml-schema-ts/jest.config.js deleted file mode 100644 index 48c95ec7c..000000000 --- a/packages/xml-schema-ts/jest.config.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -export default { - testEnvironment: 'jsdom', - reporters: ['default'], - setupFilesAfterEnv: ['./jest.setup.ts'], - moduleDirectories: ['node_modules'], - testMatch: ['**/?(*.)+(test).[tj]s?(x)'], - modulePathIgnorePatterns: ['dist'], - - // Indicates whether the coverage information should be collected while executing the test - collectCoverage: true, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - collectCoverageFrom: [ - // Collect coverage from all ts and tsx files in the src folder - 'src/**/*.{ts,tsx}', - // Ignore all test files - '!src/**/*.test.{ts,tsx}', - // Ignore all declaration files - '!src/**/*.d.ts', - ], - - // The directory where Jest should output its coverage files - coverageDirectory: 'coverage', - - // An array of regexp pattern strings used to skip coverage collection - coveragePathIgnorePatterns: ['\\\\node_modules\\\\'], - - // Indicates which provider should be used to instrument code for coverage - coverageProvider: 'babel', -}; diff --git a/packages/xml-schema-ts/jest.setup.ts b/packages/xml-schema-ts/jest.setup.ts deleted file mode 100644 index e9bb7f2aa..000000000 --- a/packages/xml-schema-ts/jest.setup.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import '@testing-library/jest-dom'; diff --git a/packages/xml-schema-ts/package.json b/packages/xml-schema-ts/package.json deleted file mode 100644 index fbf7d7110..000000000 --- a/packages/xml-schema-ts/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@kaoto/xml-schema-ts", - "version": "2.2.0-dev", - "type": "module", - "description": "Kaoto XmlSchemaTS", - "repository": "https://github.com/KaotoIO/kaoto", - "repositoryDirectory": "packages/xml-schema-ts", - "author": "The Kaoto Team", - "private": true, - "license": "Apache License v2.0", - "types": "./dist/esm/index.d.ts", - "main": "./dist/esm/index.js", - "exports": { - ".": { - "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.js" - } - }, - "files": [ - "dist" - ], - "scripts": { - "build": "rimraf dist && tsc --build tsconfig.cjs.json && tsc --build tsconfig.esm.json", - "test": "jest", - "test:watch": "jest --watch", - "lint": "yarn eslint \"src/**/*.{ts,tsx}\"", - "lint:fix": "yarn lint:code --fix" - }, - "devDependencies": { - "@babel/core": "^7.23.2", - "@babel/preset-env": "^7.21.5", - "@babel/preset-typescript": "^7.21.5", - "@testing-library/jest-dom": "^6.4.2", - "@types/jest": "^29.5.12", - "eslint": "^8.45.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jest": "^27.2.1", - "eslint-plugin-prettier": "^5.0.0", - "jest": "^29.7.0", - "prettier": "^3.0.0", - "rimraf": "^6.0.0", - "typescript": "^5.4.2", - "vite": "^5.4.0" - } -} diff --git a/packages/xml-schema-ts/tsconfig.cjs.json b/packages/xml-schema-ts/tsconfig.cjs.json deleted file mode 100644 index 7bd691fdf..000000000 --- a/packages/xml-schema-ts/tsconfig.cjs.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "baseUrl": "src", - "outDir": "dist/cjs", - "rootDir": "src", - "module": "commonjs", - "target": "es6", - "esModuleInterop": true, - "moduleResolution": "node" - }, - "include": ["src"] -} diff --git a/packages/xml-schema-ts/tsconfig.esm.json b/packages/xml-schema-ts/tsconfig.esm.json deleted file mode 100644 index 147793c44..000000000 --- a/packages/xml-schema-ts/tsconfig.esm.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "baseUrl": "src", - "outDir": "dist/esm", - "rootDir": "src", - "module": "es6", - "target": "es6", - "esModuleInterop": true, - "moduleResolution": "node" - }, - "include": ["src"] -} diff --git a/packages/xml-schema-ts/tsconfig.json b/packages/xml-schema-ts/tsconfig.json deleted file mode 100644 index 64a09d2f2..000000000 --- a/packages/xml-schema-ts/tsconfig.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "exclude": ["node_modules"], - "compilerOptions": { - "lib": ["ES2020", "DOM", "DOM.Iterable"], - "target": "ES2020", - "module": "ESNext", - "moduleResolution": "Bundler", - "useDefineForClassFields": true, - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "resolveJsonModule": true, - "noImplicitAny": false, - "noImplicitThis": true, - "removeComments": true, - "strictNullChecks": true, - "experimentalDecorators": true, - "downlevelIteration": true, - "skipLibCheck": true, - "jsx": "react-jsx", - "types": [ - "@testing-library/jest-dom", - "@types/jest", - "@types/node", - ], - } -} diff --git a/yarn.lock b/yarn.lock index c392b3f98..b9bcfd9c6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2090,7 +2090,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.6.1": +"@eslint-community/regexpp@npm:^4.10.0": version: 4.10.1 resolution: "@eslint-community/regexpp@npm:4.10.1" checksum: 10/54f13817caf90545502d7a19e1b61df79087aee9584342ffc558b6d067530764a47f1c484f493f43e2c70cfdff59ccfd5f26df2af298c4ad528469e599bd1d53 @@ -2115,23 +2115,6 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" - dependencies: - ajv: "npm:^6.12.4" - debug: "npm:^4.3.2" - espree: "npm:^9.6.0" - globals: "npm:^13.19.0" - ignore: "npm:^5.2.0" - import-fresh: "npm:^3.2.1" - js-yaml: "npm:^4.1.0" - minimatch: "npm:^3.1.2" - strip-json-comments: "npm:^3.1.1" - checksum: 10/7a3b14f4b40fc1a22624c3f84d9f467a3d9ea1ca6e9a372116cb92507e485260359465b58e25bcb6c9981b155416b98c9973ad9b796053fd7b3f776a6946bce8 - languageName: node - linkType: hard - "@eslint/eslintrc@npm:^3.1.0": version: 3.1.0 resolution: "@eslint/eslintrc@npm:3.1.0" @@ -2149,13 +2132,6 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 10/3c501ce8a997cf6cbbaf4ed358af5492875e3550c19b9621413b82caa9ae5382c584b0efa79835639e6e0ddaa568caf3499318e5bdab68643ef4199dce5eb0a0 - languageName: node - linkType: hard - "@eslint/js@npm:9.10.0, @eslint/js@npm:^9.10.0": version: 9.10.0 resolution: "@eslint/js@npm:9.10.0" @@ -2195,17 +2171,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" - dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.2" - debug: "npm:^4.3.1" - minimatch: "npm:^3.0.5" - checksum: 10/3ffb24ecdfab64014a230e127118d50a1a04d11080cbb748bc21629393d100850496456bbcb4e8c438957fe0934430d731042f1264d6a167b62d32fc2863580a - languageName: node - linkType: hard - "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -2213,13 +2178,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.3 - resolution: "@humanwhocodes/object-schema@npm:2.0.3" - checksum: 10/05bb99ed06c16408a45a833f03a732f59bf6184795d4efadd33238ff8699190a8c871ad1121241bb6501589a9598dc83bf25b99dcbcf41e155cdf36e35e937a3 - languageName: node - linkType: hard - "@humanwhocodes/retry@npm:^0.3.0": version: 0.3.0 resolution: "@humanwhocodes/retry@npm:0.3.0" @@ -2868,7 +2826,6 @@ __metadata: "@eslint/js": "npm:^9.10.0" "@kaoto-next/uniforms-patternfly": "npm:^0.7.14" "@kaoto/camel-catalog": "workspace:*" - "@kaoto/xml-schema-ts": "workspace:*" "@kie-tools-core/editor": "npm:0.32.0" "@kie-tools-core/notifications": "npm:0.32.0" "@patternfly/patternfly": "npm:5.4.2" @@ -2955,28 +2912,6 @@ __metadata: languageName: unknown linkType: soft -"@kaoto/xml-schema-ts@workspace:*, @kaoto/xml-schema-ts@workspace:packages/xml-schema-ts": - version: 0.0.0-use.local - resolution: "@kaoto/xml-schema-ts@workspace:packages/xml-schema-ts" - dependencies: - "@babel/core": "npm:^7.23.2" - "@babel/preset-env": "npm:^7.21.5" - "@babel/preset-typescript": "npm:^7.21.5" - "@testing-library/jest-dom": "npm:^6.4.2" - "@types/jest": "npm:^29.5.12" - eslint: "npm:^8.45.0" - eslint-config-prettier: "npm:^9.0.0" - eslint-plugin-import: "npm:^2.26.0" - eslint-plugin-jest: "npm:^27.2.1" - eslint-plugin-prettier: "npm:^5.0.0" - jest: "npm:^29.7.0" - prettier: "npm:^3.0.0" - rimraf: "npm:^6.0.0" - typescript: "npm:^5.4.2" - vite: "npm:^5.4.0" - languageName: unknown - linkType: soft - "@kie-tools-core/backend@npm:0.32.0": version: 0.32.0 resolution: "@kie-tools-core/backend@npm:0.32.0" @@ -5493,21 +5428,6 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:^6.4.2": - version: 6.5.0 - resolution: "@testing-library/jest-dom@npm:6.5.0" - dependencies: - "@adobe/css-tools": "npm:^4.4.0" - aria-query: "npm:^5.0.0" - chalk: "npm:^3.0.0" - css.escape: "npm:^1.5.1" - dom-accessibility-api: "npm:^0.6.3" - lodash: "npm:^4.17.21" - redent: "npm:^3.0.0" - checksum: 10/3d2080888af5fd7306f57448beb5a23f55d965e265b5e53394fffc112dfb0678d616a5274ff0200c46c7618f293520f86fc8562eecd8bdbc0dbb3294d63ec431 - languageName: node - linkType: hard - "@testing-library/react@npm:^16.0.0": version: 16.0.0 resolution: "@testing-library/react@npm:16.0.0" @@ -6193,7 +6113,7 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^29.4.0, @types/jest@npm:^29.5.12": +"@types/jest@npm:^29.4.0": version: 29.5.12 resolution: "@types/jest@npm:29.5.12" dependencies: @@ -6214,20 +6134,13 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10/1a3c3e06236e4c4aab89499c428d585527ce50c24fe8259e8b3926d3df4cfbbbcf306cfc73ddfb66cbafc973116efd15967020b0f738f63e09e64c7d260519e7 languageName: node linkType: hard -"@types/json5@npm:^0.0.29": - version: 0.0.29 - resolution: "@types/json5@npm:0.0.29" - checksum: 10/4e5aed58cabb2bbf6f725da13421aa50a49abb6bc17bfab6c31b8774b073fa7b50d557c61f961a09a85f6056151190f8ac95f13f5b48136ba5841f7d4484ec56 - languageName: node - linkType: hard - "@types/lodash@npm:^4, @types/lodash@npm:^4.14.172": version: 4.17.13 resolution: "@types/lodash@npm:4.17.13" @@ -6371,7 +6284,7 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.3.12, @types/semver@npm:^7.3.4": +"@types/semver@npm:^7.3.4": version: 7.5.8 resolution: "@types/semver@npm:7.5.8" checksum: 10/3496808818ddb36deabfe4974fd343a78101fa242c4690044ccdc3b95dcf8785b494f5d628f2f47f38a702f8db9c53c67f47d7818f2be1b79f2efb09692e1178 @@ -6542,16 +6455,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/scope-manager@npm:5.62.0" - dependencies: - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/visitor-keys": "npm:5.62.0" - checksum: 10/e827770baa202223bc0387e2fd24f630690809e460435b7dc9af336c77322290a770d62bd5284260fa881c86074d6a9fd6c97b07382520b115f6786b8ed499da - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:8.5.0": version: 8.5.0 resolution: "@typescript-eslint/scope-manager@npm:8.5.0" @@ -6577,13 +6480,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/types@npm:5.62.0" - checksum: 10/24e8443177be84823242d6729d56af2c4b47bfc664dd411a1d730506abf2150d6c31bdefbbc6d97c8f91043e3a50e0c698239dcb145b79bb6b0c34469aaf6c45 - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.5.0": version: 8.5.0 resolution: "@typescript-eslint/types@npm:8.5.0" @@ -6591,24 +6487,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" - dependencies: - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/visitor-keys": "npm:5.62.0" - debug: "npm:^4.3.4" - globby: "npm:^11.1.0" - is-glob: "npm:^4.0.3" - semver: "npm:^7.3.7" - tsutils: "npm:^3.21.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/06c975eb5f44b43bd19fadc2e1023c50cf87038fe4c0dd989d4331c67b3ff509b17fa60a3251896668ab4d7322bdc56162a9926971218d2e1a1874d2bef9a52e - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:8.5.0": version: 8.5.0 resolution: "@typescript-eslint/typescript-estree@npm:8.5.0" @@ -6642,34 +6520,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^5.10.0": - version: 5.62.0 - resolution: "@typescript-eslint/utils@npm:5.62.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@types/json-schema": "npm:^7.0.9" - "@types/semver": "npm:^7.3.12" - "@typescript-eslint/scope-manager": "npm:5.62.0" - "@typescript-eslint/types": "npm:5.62.0" - "@typescript-eslint/typescript-estree": "npm:5.62.0" - eslint-scope: "npm:^5.1.1" - semver: "npm:^7.3.7" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10/15ef13e43998a082b15f85db979f8d3ceb1f9ce4467b8016c267b1738d5e7cdb12aa90faf4b4e6dd6486c236cf9d33c463200465cf25ff997dbc0f12358550a1 - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" - dependencies: - "@typescript-eslint/types": "npm:5.62.0" - eslint-visitor-keys: "npm:^3.3.0" - checksum: 10/dc613ab7569df9bbe0b2ca677635eb91839dfb2ca2c6fa47870a5da4f160db0b436f7ec0764362e756d4164e9445d49d5eb1ff0b87f4c058946ae9d8c92eb388 - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.5.0": version: 8.5.0 resolution: "@typescript-eslint/visitor-keys@npm:8.5.0" @@ -6680,7 +6530,7 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.0.0, @ungap/structured-clone@npm:^1.2.0": +"@ungap/structured-clone@npm:^1.0.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" checksum: 10/c6fe89a505e513a7592e1438280db1c075764793a2397877ff1351721fe8792a966a5359769e30242b3cd023f2efb9e63ca2ca88019d73b564488cc20e3eab12 @@ -7030,7 +6880,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.1.0, acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.4.1, acorn@npm:^8.8.1, acorn@npm:^8.9.0": +"acorn@npm:^8.1.0, acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.4.1, acorn@npm:^8.8.1": version: 8.12.0 resolution: "acorn@npm:8.12.0" bin: @@ -7329,7 +7179,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7, array-includes@npm:^3.1.8": +"array-includes@npm:^3.1.6, array-includes@npm:^3.1.8": version: 3.1.8 resolution: "array-includes@npm:3.1.8" dependencies: @@ -7364,21 +7214,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.3": - version: 1.2.5 - resolution: "array.prototype.findlastindex@npm:1.2.5" - dependencies: - call-bind: "npm:^1.0.7" - define-properties: "npm:^1.2.1" - es-abstract: "npm:^1.23.2" - es-errors: "npm:^1.3.0" - es-object-atoms: "npm:^1.0.0" - es-shim-unscopables: "npm:^1.0.2" - checksum: 10/7c5c821f357cd53ab6cc305de8086430dd8d7a2485db87b13f843e868055e9582b1fd338f02338f67fc3a1603ceaf9610dd2a470b0b506f9d18934780f95b246 - languageName: node - linkType: hard - -"array.prototype.flat@npm:^1.3.1, array.prototype.flat@npm:^1.3.2": +"array.prototype.flat@npm:^1.3.1": version: 1.3.2 resolution: "array.prototype.flat@npm:1.3.2" dependencies: @@ -10143,7 +9979,7 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:^9.0.0, eslint-config-prettier@npm:^9.1.0": +"eslint-config-prettier@npm:^9.1.0": version: 9.1.0 resolution: "eslint-config-prettier@npm:9.1.0" peerDependencies: @@ -10154,94 +9990,6 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:^0.3.9": - version: 0.3.9 - resolution: "eslint-import-resolver-node@npm:0.3.9" - dependencies: - debug: "npm:^3.2.7" - is-core-module: "npm:^2.13.0" - resolve: "npm:^1.22.4" - checksum: 10/d52e08e1d96cf630957272e4f2644dcfb531e49dcfd1edd2e07e43369eb2ec7a7d4423d417beee613201206ff2efa4eb9a582b5825ee28802fc7c71fcd53ca83 - languageName: node - linkType: hard - -"eslint-module-utils@npm:^2.8.0": - version: 2.8.1 - resolution: "eslint-module-utils@npm:2.8.1" - dependencies: - debug: "npm:^3.2.7" - peerDependenciesMeta: - eslint: - optional: true - checksum: 10/3e7892c0a984c963632da56b30ccf8254c29b535467138f91086c2ecdb2ebd10e2be61b54e553f30e5abf1d14d47a7baa0dac890e3a658fd3cd07dca63afbe6d - languageName: node - linkType: hard - -"eslint-plugin-import@npm:^2.26.0": - version: 2.29.1 - resolution: "eslint-plugin-import@npm:2.29.1" - dependencies: - array-includes: "npm:^3.1.7" - array.prototype.findlastindex: "npm:^1.2.3" - array.prototype.flat: "npm:^1.3.2" - array.prototype.flatmap: "npm:^1.3.2" - debug: "npm:^3.2.7" - doctrine: "npm:^2.1.0" - eslint-import-resolver-node: "npm:^0.3.9" - eslint-module-utils: "npm:^2.8.0" - hasown: "npm:^2.0.0" - is-core-module: "npm:^2.13.1" - is-glob: "npm:^4.0.3" - minimatch: "npm:^3.1.2" - object.fromentries: "npm:^2.0.7" - object.groupby: "npm:^1.0.1" - object.values: "npm:^1.1.7" - semver: "npm:^6.3.1" - tsconfig-paths: "npm:^3.15.0" - peerDependencies: - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: 10/5865f05c38552145423c535326ec9a7113ab2305c7614c8b896ff905cfabc859c8805cac21e979c9f6f742afa333e6f62f812eabf891a7e8f5f0b853a32593c1 - languageName: node - linkType: hard - -"eslint-plugin-jest@npm:^27.2.1": - version: 27.9.0 - resolution: "eslint-plugin-jest@npm:27.9.0" - dependencies: - "@typescript-eslint/utils": "npm:^5.10.0" - peerDependencies: - "@typescript-eslint/eslint-plugin": ^5.0.0 || ^6.0.0 || ^7.0.0 - eslint: ^7.0.0 || ^8.0.0 - jest: "*" - peerDependenciesMeta: - "@typescript-eslint/eslint-plugin": - optional: true - jest: - optional: true - checksum: 10/bca54347280c06c56516faea76042134dd74355c2de6c23361ba0e8736ecc01c62b144eea7eda7570ea4f4ee511c583bb8dab00d7153a1bd1740eb77b0038fd4 - languageName: node - linkType: hard - -"eslint-plugin-prettier@npm:^5.0.0": - version: 5.1.3 - resolution: "eslint-plugin-prettier@npm:5.1.3" - dependencies: - prettier-linter-helpers: "npm:^1.0.0" - synckit: "npm:^0.8.6" - peerDependencies: - "@types/eslint": ">=8.0.0" - eslint: ">=8.0.0" - eslint-config-prettier: "*" - prettier: ">=3.0.0" - peerDependenciesMeta: - "@types/eslint": - optional: true - eslint-config-prettier: - optional: true - checksum: 10/4f26a30444adc61ed692cdb5a9f7e8d9f5794f0917151051e66755ce032a08c3cc72c8b5d56101412e90f6d77035bd8194ea8731e9c16aacdd5ae345a8dae188 - languageName: node - linkType: hard - "eslint-plugin-prettier@npm:^5.2.1": version: 5.2.1 resolution: "eslint-plugin-prettier@npm:5.2.1" @@ -10299,26 +10047,6 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^5.1.1": - version: 5.1.1 - resolution: "eslint-scope@npm:5.1.1" - dependencies: - esrecurse: "npm:^4.3.0" - estraverse: "npm:^4.1.1" - checksum: 10/c541ef384c92eb5c999b7d3443d80195fcafb3da335500946f6db76539b87d5826c8f2e1d23bf6afc3154ba8cd7c8e566f8dc00f1eea25fdf3afc8fb9c87b238 - languageName: node - linkType: hard - -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" - dependencies: - esrecurse: "npm:^4.3.0" - estraverse: "npm:^5.2.0" - checksum: 10/5c660fb905d5883ad018a6fea2b49f3cb5b1cbf2cd4bd08e98646e9864f9bc2c74c0839bed2d292e90a4a328833accc197c8f0baed89cbe8d605d6f918465491 - languageName: node - linkType: hard - "eslint-scope@npm:^8.0.2": version: 8.0.2 resolution: "eslint-scope@npm:8.0.2" @@ -10329,7 +10057,7 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 10/3f357c554a9ea794b094a09bd4187e5eacd1bc0d0653c3adeb87962c548e6a1ab8f982b86963ae1337f5d976004146536dcee5d0e2806665b193fbfbf1a9231b @@ -10343,54 +10071,6 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.45.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.2.0" - "@eslint-community/regexpp": "npm:^4.6.1" - "@eslint/eslintrc": "npm:^2.1.4" - "@eslint/js": "npm:8.57.0" - "@humanwhocodes/config-array": "npm:^0.11.14" - "@humanwhocodes/module-importer": "npm:^1.0.1" - "@nodelib/fs.walk": "npm:^1.2.8" - "@ungap/structured-clone": "npm:^1.2.0" - ajv: "npm:^6.12.4" - chalk: "npm:^4.0.0" - cross-spawn: "npm:^7.0.2" - debug: "npm:^4.3.2" - doctrine: "npm:^3.0.0" - escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^7.2.2" - eslint-visitor-keys: "npm:^3.4.3" - espree: "npm:^9.6.1" - esquery: "npm:^1.4.2" - esutils: "npm:^2.0.2" - fast-deep-equal: "npm:^3.1.3" - file-entry-cache: "npm:^6.0.1" - find-up: "npm:^5.0.0" - glob-parent: "npm:^6.0.2" - globals: "npm:^13.19.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.2.0" - imurmurhash: "npm:^0.1.4" - is-glob: "npm:^4.0.0" - is-path-inside: "npm:^3.0.3" - js-yaml: "npm:^4.1.0" - json-stable-stringify-without-jsonify: "npm:^1.0.1" - levn: "npm:^0.4.1" - lodash.merge: "npm:^4.6.2" - minimatch: "npm:^3.1.2" - natural-compare: "npm:^1.4.0" - optionator: "npm:^0.9.3" - strip-ansi: "npm:^6.0.1" - text-table: "npm:^0.2.0" - bin: - eslint: bin/eslint.js - checksum: 10/00496e218b23747a7a9817bf58b522276d0dc1f2e546dceb4eea49f9871574088f72f1f069a6b560ef537efa3a75261b8ef70e51ef19033da1cc4c86a755ef15 - languageName: node - linkType: hard - "eslint@npm:^9.10.0": version: 9.10.0 resolution: "eslint@npm:9.10.0" @@ -10463,17 +10143,6 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.6.0, espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" - dependencies: - acorn: "npm:^8.9.0" - acorn-jsx: "npm:^5.3.2" - eslint-visitor-keys: "npm:^3.4.1" - checksum: 10/255ab260f0d711a54096bdeda93adff0eadf02a6f9b92f02b323e83a2b7fc258797919437ad331efec3930475feb0142c5ecaaf3cdab4befebd336d47d3f3134 - languageName: node - linkType: hard - "esprima@npm:^4.0.0, esprima@npm:^4.0.1, esprima@npm:~4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -10484,15 +10153,6 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2": - version: 1.5.0 - resolution: "esquery@npm:1.5.0" - dependencies: - estraverse: "npm:^5.1.0" - checksum: 10/e65fcdfc1e0ff5effbf50fb4f31ea20143ae5df92bb2e4953653d8d40aa4bc148e0d06117a592ce4ea53eeab1dafdfded7ea7e22a5be87e82d73757329a1b01d - languageName: node - linkType: hard - "esquery@npm:^1.5.0": version: 1.6.0 resolution: "esquery@npm:1.6.0" @@ -10511,13 +10171,6 @@ __metadata: languageName: node linkType: hard -"estraverse@npm:^4.1.1": - version: 4.3.0 - resolution: "estraverse@npm:4.3.0" - checksum: 10/3f67ad02b6dbfaddd9ea459cf2b6ef4ecff9a6082a7af9d22e445b9abc082ad9ca47e1825557b293fcdae477f4714e561123e30bb6a5b2f184fb2bad4a9497eb - languageName: node - linkType: hard - "estraverse@npm:^5.1.0, estraverse@npm:^5.2.0, estraverse@npm:^5.3.0": version: 5.3.0 resolution: "estraverse@npm:5.3.0" @@ -10892,15 +10545,6 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" - dependencies: - flat-cache: "npm:^3.0.4" - checksum: 10/099bb9d4ab332cb93c48b14807a6918a1da87c45dce91d4b61fd40e6505d56d0697da060cb901c729c90487067d93c9243f5da3dc9c41f0358483bfdebca736b - languageName: node - linkType: hard - "file-entry-cache@npm:^8.0.0": version: 8.0.0 resolution: "file-entry-cache@npm:8.0.0" @@ -11013,17 +10657,6 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^3.0.4": - version: 3.2.0 - resolution: "flat-cache@npm:3.2.0" - dependencies: - flatted: "npm:^3.2.9" - keyv: "npm:^4.5.3" - rimraf: "npm:^3.0.2" - checksum: 10/02381c6ece5e9fa5b826c9bbea481d7fd77645d96e4b0b1395238124d581d10e56f17f723d897b6d133970f7a57f0fab9148cbbb67237a0a0ffe794ba60c0c70 - languageName: node - linkType: hard - "flat-cache@npm:^4.0.0": version: 4.0.1 resolution: "flat-cache@npm:4.0.1" @@ -11603,15 +11236,6 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.24.0 - resolution: "globals@npm:13.24.0" - dependencies: - type-fest: "npm:^0.20.2" - checksum: 10/62c5b1997d06674fc7191d3e01e324d3eda4d65ac9cc4e78329fa3b5c4fd42a0e1c8722822497a6964eee075255ce21ccf1eec2d83f92ef3f06653af4d0ee28e - languageName: node - linkType: hard - "globals@npm:^14.0.0": version: 14.0.0 resolution: "globals@npm:14.0.0" @@ -12292,7 +11916,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.8.1": +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.8.1": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" dependencies: @@ -13498,17 +13122,6 @@ __metadata: languageName: node linkType: hard -"json5@npm:^1.0.2": - version: 1.0.2 - resolution: "json5@npm:1.0.2" - dependencies: - minimist: "npm:^1.2.0" - bin: - json5: lib/cli.js - checksum: 10/a78d812dbbd5642c4f637dd130954acfd231b074965871c3e28a5bbd571f099d623ecf9161f1960c4ddf68e0cc98dee8bebfdb94a71ad4551f85a1afc94b63f6 - languageName: node - linkType: hard - "json5@npm:^2.2.2, json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" @@ -13607,7 +13220,7 @@ __metadata: languageName: unknown linkType: soft -"keyv@npm:^4.5.3, keyv@npm:^4.5.4": +"keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -15038,7 +14651,7 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.7, object.fromentries@npm:^2.0.8": +"object.fromentries@npm:^2.0.8": version: 2.0.8 resolution: "object.fromentries@npm:2.0.8" dependencies: @@ -15050,18 +14663,7 @@ __metadata: languageName: node linkType: hard -"object.groupby@npm:^1.0.1": - version: 1.0.3 - resolution: "object.groupby@npm:1.0.3" - dependencies: - call-bind: "npm:^1.0.7" - define-properties: "npm:^1.2.1" - es-abstract: "npm:^1.23.2" - checksum: 10/44cb86dd2c660434be65f7585c54b62f0425b0c96b5c948d2756be253ef06737da7e68d7106e35506ce4a44d16aa85a413d11c5034eb7ce5579ec28752eb42d0 - languageName: node - linkType: hard - -"object.values@npm:^1.1.6, object.values@npm:^1.1.7, object.values@npm:^1.2.0": +"object.values@npm:^1.1.6, object.values@npm:^1.2.0": version: 1.2.0 resolution: "object.values@npm:1.2.0" dependencies: @@ -16542,7 +16144,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.14.2, resolve@npm:^1.20.0, resolve@npm:^1.22.1, resolve@npm:^1.22.4, resolve@npm:^1.22.8, resolve@npm:~1.22.1, resolve@npm:~1.22.2": +"resolve@npm:^1.14.2, resolve@npm:^1.20.0, resolve@npm:^1.22.1, resolve@npm:^1.22.8, resolve@npm:~1.22.1, resolve@npm:~1.22.2": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -16568,7 +16170,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin, resolve@patch:resolve@npm%3A~1.22.1#optional!builtin, resolve@patch:resolve@npm%3A~1.22.2#optional!builtin": +"resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin, resolve@patch:resolve@npm%3A~1.22.1#optional!builtin, resolve@patch:resolve@npm%3A~1.22.2#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -16635,17 +16237,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.2": - version: 3.0.2 - resolution: "rimraf@npm:3.0.2" - dependencies: - glob: "npm:^7.1.3" - bin: - rimraf: bin.js - checksum: 10/063ffaccaaaca2cfd0ef3beafb12d6a03dd7ff1260d752d62a6077b5dfff6ae81bea571f655bb6b589d366930ec1bdd285d40d560c0dae9b12f125e54eb743d5 - languageName: node - linkType: hard - "rimraf@npm:^6.0.0": version: 6.0.1 resolution: "rimraf@npm:6.0.1" @@ -18112,16 +17703,6 @@ __metadata: languageName: node linkType: hard -"synckit@npm:^0.8.6": - version: 0.8.8 - resolution: "synckit@npm:0.8.8" - dependencies: - "@pkgr/core": "npm:^0.1.0" - tslib: "npm:^2.6.2" - checksum: 10/2864a5c3e689ad5b991bebbd8a583c5682c4fa08a4f39986b510b6b5d160c08fc3672444069f8f96ed6a9d12772879c674c1f61e728573eadfa90af40a765b74 - languageName: node - linkType: hard - "synckit@npm:^0.9.1": version: 0.9.1 resolution: "synckit@npm:0.9.1" @@ -18420,18 +18001,6 @@ __metadata: languageName: node linkType: hard -"tsconfig-paths@npm:^3.15.0": - version: 3.15.0 - resolution: "tsconfig-paths@npm:3.15.0" - dependencies: - "@types/json5": "npm:^0.0.29" - json5: "npm:^1.0.2" - minimist: "npm:^1.2.6" - strip-bom: "npm:^3.0.0" - checksum: 10/2041beaedc6c271fc3bedd12e0da0cc553e65d030d4ff26044b771fac5752d0460944c0b5e680f670c2868c95c664a256cec960ae528888db6ded83524e33a14 - languageName: node - linkType: hard - "tsconfig-paths@npm:^4.2.0": version: 4.2.0 resolution: "tsconfig-paths@npm:4.2.0" @@ -18443,7 +18012,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.13.0, tslib@npm:^1.8.1": +"tslib@npm:^1.13.0": version: 1.14.1 resolution: "tslib@npm:1.14.1" checksum: 10/7dbf34e6f55c6492637adb81b555af5e3b4f9cc6b998fb440dac82d3b42bdc91560a35a5fb75e20e24a076c651438234da6743d139e4feabf0783f3cdfe1dddb @@ -18471,17 +18040,6 @@ __metadata: languageName: node linkType: hard -"tsutils@npm:^3.21.0": - version: 3.21.0 - resolution: "tsutils@npm:3.21.0" - dependencies: - tslib: "npm:^1.8.1" - peerDependencies: - typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - checksum: 10/ea036bec1dd024e309939ffd49fda7a351c0e87a1b8eb049570dd119d447250e2c56e0e6c00554e8205760e7417793fdebff752a46e573fbe07d4f375502a5b2 - languageName: node - linkType: hard - "tuf-js@npm:^2.2.1": version: 2.2.1 resolution: "tuf-js@npm:2.2.1" @@ -18525,13 +18083,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.20.2": - version: 0.20.2 - resolution: "type-fest@npm:0.20.2" - checksum: 10/8907e16284b2d6cfa4f4817e93520121941baba36b39219ea36acfe64c86b9dbc10c9941af450bd60832c8f43464974d51c0957f9858bc66b952b66b6914cbb9 - languageName: node - linkType: hard - "type-fest@npm:^0.21.3": version: 0.21.3 resolution: "type-fest@npm:0.21.3"