From 9d10d38803852e67b0e7cfb9d07947f139f877a2 Mon Sep 17 00:00:00 2001 From: manuelnavarro Date: Tue, 5 Jul 2022 11:04:26 +0200 Subject: [PATCH] build: update `vue` and `vue-template-compiler` versions and `@empathyco` dependencies EX-6556 --- package-lock.json | 48 ++++++++++++++--------------- package.json | 12 ++++---- src/adapter/adapter.ts | 4 +-- src/adapter/standard-api-adapter.ts | 6 ++-- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/package-lock.json b/package-lock.json index af7bb873..35613470 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,22 +1,22 @@ { "name": "@empathyco/x-archetype", - "version": "0.8.0", + "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@empathyco/x-archetype", - "version": "0.8.0", + "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "@empathyco/x-adapter": "^8.0.0-alpha.2", - "@empathyco/x-adapter-platform": "^1.0.0-alpha.22", - "@empathyco/x-components": "^3.0.0-alpha.121", + "@empathyco/x-adapter": "^8.0.0-alpha.3", + "@empathyco/x-adapter-platform": "^1.0.0-alpha.25", + "@empathyco/x-components": "^3.0.0-alpha.123", "@empathyco/x-deep-merge": "^1.3.0-alpha.19", - "@empathyco/x-types": "^10.0.0-alpha.26", + "@empathyco/x-types": "^10.0.0-alpha.27", "@empathyco/x-utils": "^1.0.0-alpha.5", "tslib": "~2.3.0", - "vue": "^2.6.0", + "vue": "~2.6.14", "vue-class-component": "~7.1.0", "vue-i18n": "~8.21.0", "vue-property-decorator": "~8.3.0", @@ -71,7 +71,7 @@ "source-map-loader": "~1.1.3", "start-server-and-test": "~1.14.0", "typescript": "~4.6.2", - "vue-template-compiler": "^2.6.0" + "vue-template-compiler": "~2.6.14" } }, "node_modules/@achrinza/node-ipc": { @@ -2301,20 +2301,20 @@ } }, "node_modules/@empathyco/x-adapter-platform": { - "version": "1.0.0-alpha.22", - "resolved": "https://registry.npmjs.org/@empathyco/x-adapter-platform/-/x-adapter-platform-1.0.0-alpha.22.tgz", - "integrity": "sha512-uu/vBsvbLzGBFRo4M76bQCeLiTXoQQSZtUED8pmG2HlwSZco1s1AlB2w61AmmW3QJBrY5ZFCBFZXbArt13wQuQ==", + "version": "1.0.0-alpha.25", + "resolved": "https://registry.npmjs.org/@empathyco/x-adapter-platform/-/x-adapter-platform-1.0.0-alpha.25.tgz", + "integrity": "sha512-ZfKzFVvkDTp01rZ+JYm0g4oxhl4KPOc1lNHnMj1L9JqfQKJ+vgJtZjFNE3dKQLhDV0HAw3vNniiD7Q5rKTN47Q==", "dependencies": { - "@empathyco/x-adapter": "^8.0.0-alpha.2", - "@empathyco/x-types": "^10.0.0-alpha.26", + "@empathyco/x-adapter": "^8.0.0-alpha.3", + "@empathyco/x-types": "^10.0.0-alpha.27", "@empathyco/x-utils": "^1.0.0-alpha.5", "tslib": "~2.3.0" } }, "node_modules/@empathyco/x-components": { - "version": "3.0.0-alpha.121", - "resolved": "https://registry.npmjs.org/@empathyco/x-components/-/x-components-3.0.0-alpha.121.tgz", - "integrity": "sha512-yjs7RzEykdVF0T+FTqOO65lQZjBf+BZz98TCSfBX5Lib6JVHijO13PcH7xFsSzmGgSqiC7tUv/5nnXn43VfzRw==", + "version": "3.0.0-alpha.123", + "resolved": "https://registry.npmjs.org/@empathyco/x-components/-/x-components-3.0.0-alpha.123.tgz", + "integrity": "sha512-mwFnIZImJXXmV1u67ONX0woDjuZUaRm4SHblkDFsOUU1G7W5AxjSFmttFDbr1lMO0DF6dx0n2MeQftg8TxOjsA==", "dependencies": { "@empathyco/x-adapter": "^8.0.0-alpha.3", "@empathyco/x-deep-merge": "^1.3.0-alpha.19", @@ -28710,20 +28710,20 @@ } }, "@empathyco/x-adapter-platform": { - "version": "1.0.0-alpha.22", - "resolved": "https://registry.npmjs.org/@empathyco/x-adapter-platform/-/x-adapter-platform-1.0.0-alpha.22.tgz", - "integrity": "sha512-uu/vBsvbLzGBFRo4M76bQCeLiTXoQQSZtUED8pmG2HlwSZco1s1AlB2w61AmmW3QJBrY5ZFCBFZXbArt13wQuQ==", + "version": "1.0.0-alpha.25", + "resolved": "https://registry.npmjs.org/@empathyco/x-adapter-platform/-/x-adapter-platform-1.0.0-alpha.25.tgz", + "integrity": "sha512-ZfKzFVvkDTp01rZ+JYm0g4oxhl4KPOc1lNHnMj1L9JqfQKJ+vgJtZjFNE3dKQLhDV0HAw3vNniiD7Q5rKTN47Q==", "requires": { - "@empathyco/x-adapter": "^8.0.0-alpha.2", - "@empathyco/x-types": "^10.0.0-alpha.26", + "@empathyco/x-adapter": "^8.0.0-alpha.3", + "@empathyco/x-types": "^10.0.0-alpha.27", "@empathyco/x-utils": "^1.0.0-alpha.5", "tslib": "~2.3.0" } }, "@empathyco/x-components": { - "version": "3.0.0-alpha.121", - "resolved": "https://registry.npmjs.org/@empathyco/x-components/-/x-components-3.0.0-alpha.121.tgz", - "integrity": "sha512-yjs7RzEykdVF0T+FTqOO65lQZjBf+BZz98TCSfBX5Lib6JVHijO13PcH7xFsSzmGgSqiC7tUv/5nnXn43VfzRw==", + "version": "3.0.0-alpha.123", + "resolved": "https://registry.npmjs.org/@empathyco/x-components/-/x-components-3.0.0-alpha.123.tgz", + "integrity": "sha512-mwFnIZImJXXmV1u67ONX0woDjuZUaRm4SHblkDFsOUU1G7W5AxjSFmttFDbr1lMO0DF6dx0n2MeQftg8TxOjsA==", "requires": { "@empathyco/x-adapter": "^8.0.0-alpha.3", "@empathyco/x-deep-merge": "^1.3.0-alpha.19", diff --git a/package.json b/package.json index a32c7665..151bbf1a 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "csv:json": "csv-json ./output ./src/i18n/messages" }, "dependencies": { - "@empathyco/x-adapter": "^8.0.0-alpha.2", - "@empathyco/x-components": "^3.0.0-alpha.121", - "@empathyco/x-adapter-platform": "^1.0.0-alpha.22", + "@empathyco/x-adapter": "^8.0.0-alpha.3", + "@empathyco/x-components": "^3.0.0-alpha.123", + "@empathyco/x-adapter-platform": "^1.0.0-alpha.25", "@empathyco/x-deep-merge": "^1.3.0-alpha.19", - "@empathyco/x-types": "^10.0.0-alpha.26", + "@empathyco/x-types": "^10.0.0-alpha.27", "@empathyco/x-utils": "^1.0.0-alpha.5", "tslib": "~2.3.0", - "vue": "^2.6.0", + "vue": "~2.6.14", "vue-class-component": "~7.1.0", "vue-i18n": "~8.21.0", "vue-property-decorator": "~8.3.0", @@ -86,7 +86,7 @@ "source-map-loader": "~1.1.3", "start-server-and-test": "~1.14.0", "typescript": "~4.6.2", - "vue-template-compiler": "^2.6.0" + "vue-template-compiler": "~2.6.14" }, "prettier": "@empathyco/eslint-plugin-x/prettier-config", "gitHooks": { diff --git a/src/adapter/adapter.ts b/src/adapter/adapter.ts index d4a16bf1..896fbc08 100644 --- a/src/adapter/adapter.ts +++ b/src/adapter/adapter.ts @@ -2,7 +2,7 @@ import { platformAdapter, PlatformRecommendationsRequest, PlatformResult, - recommendationsRequestMutableSchema, + recommendationsRequestSchema, resultSchema } from '@empathyco/x-adapter-platform'; import { RecommendationsRequest, Result } from '@empathyco/x-types'; @@ -25,7 +25,7 @@ resultSchema.$override>({ season: 'season' }); -recommendationsRequestMutableSchema.$override< +recommendationsRequestSchema.$override< RecommendationsRequest, Partial >({ diff --git a/src/adapter/standard-api-adapter.ts b/src/adapter/standard-api-adapter.ts index 6106d74e..a8f1ff64 100644 --- a/src/adapter/standard-api-adapter.ts +++ b/src/adapter/standard-api-adapter.ts @@ -1,7 +1,7 @@ import { FacetsConfig, facetsConfig, - numberFilterMutableSchema, + numberFilterSchema, platformAdapter, resultSchema } from '@empathyco/x-adapter-platform'; @@ -57,11 +57,11 @@ Object.assign(facetsConfig, { // TODO: Rename to currentPrice '__prices.current.value': { modelName: 'NumberRangeFacet', - schema: numberFilterMutableSchema + schema: numberFilterSchema }, // TODO: Rename to previousPrice '__prices.original.value': { modelName: 'NumberRangeFacet', - schema: numberFilterMutableSchema + schema: numberFilterSchema } });