From 7576723da43257992a059adbf3dac6bdb5e9b518 Mon Sep 17 00:00:00 2001 From: "Ivan C. Sanches" Date: Tue, 9 Aug 2022 20:30:14 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20update=20to=20use=20latest=20exp?= =?UTF-8?q?orts=20from=20tab=20(#11)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 14 +++++++------- package.json | 4 ++-- src/index.ts | 4 ++++ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5dc6350..16961e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "sanity-naive-html-serializer": "^1.3.0", - "sanity-translations-tab": "^2.0.0" + "sanity-translations-tab": "^2.0.3" }, "devDependencies": { "@sanity/types": "^2.11.0", @@ -13410,9 +13410,9 @@ } }, "node_modules/sanity-translations-tab": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/sanity-translations-tab/-/sanity-translations-tab-2.0.2.tgz", - "integrity": "sha512-leI+pYBQyPWki/lR+wyktuqLASHM5L+tUUVMEnq/3fi6PYZVLMFNIAcFVuHv406PdaxAFqsq4K78OESQIt4qWw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/sanity-translations-tab/-/sanity-translations-tab-2.0.3.tgz", + "integrity": "sha512-Eog4la5T80yMvG29HLPbgpfkBBTTL4+iZPf3UbLW3c+vLEFJPgSl0BeKzmsBWDsIFL8TfTrIXVekuRhilRgGTw==", "dependencies": { "@sanity/client": "^2.11.0", "@sanity/ui": "^0.37.2", @@ -26859,9 +26859,9 @@ } }, "sanity-translations-tab": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/sanity-translations-tab/-/sanity-translations-tab-2.0.2.tgz", - "integrity": "sha512-leI+pYBQyPWki/lR+wyktuqLASHM5L+tUUVMEnq/3fi6PYZVLMFNIAcFVuHv406PdaxAFqsq4K78OESQIt4qWw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/sanity-translations-tab/-/sanity-translations-tab-2.0.3.tgz", + "integrity": "sha512-Eog4la5T80yMvG29HLPbgpfkBBTTL4+iZPf3UbLW3c+vLEFJPgSl0BeKzmsBWDsIFL8TfTrIXVekuRhilRgGTw==", "requires": { "@sanity/client": "^2.11.0", "@sanity/ui": "^0.37.2", diff --git a/package.json b/package.json index 8524794..5b00147 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.0.1", + "version": "2.0.2", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -57,6 +57,6 @@ }, "dependencies": { "sanity-naive-html-serializer": "^1.3.0", - "sanity-translations-tab": "^2.0.0" + "sanity-translations-tab": "^2.0.3" } } diff --git a/src/index.ts b/src/index.ts index da6d4b5..9eda5c6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,6 +9,8 @@ import { defaultStopTypes, customSerializers, Adapter, + documentLevelPatch, + fieldLevelPatch, } from 'sanity-translations-tab' import { TransifexAdapter } from './transifexAdapter' @@ -37,6 +39,8 @@ const defaultFieldLevelConfig: ConfigOptions = { export { TranslationsTab, findLatestDraft, + documentLevelPatch, + fieldLevelPatch, BaseDocumentDeserializer, BaseDocumentSerializer, BaseDocumentMerger,