From 075d66478937a49f20e68007c8189530bd1edc93 Mon Sep 17 00:00:00 2001 From: jldec Date: Fri, 31 May 2024 20:03:38 +0100 Subject: [PATCH] fix merge (helper file rename) breakage --- inlang/source-code/sdk/load-test/load-test.ts | 2 +- inlang/source-code/sdk/src/persistence/store.test.ts | 7 +------ inlang/source-code/sdk/src/persistence/store.ts | 2 +- inlang/source-code/sdk/src/v2/shim.test.ts | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/inlang/source-code/sdk/load-test/load-test.ts b/inlang/source-code/sdk/load-test/load-test.ts index 19e73931e4..b30c03837a 100644 --- a/inlang/source-code/sdk/load-test/load-test.ts +++ b/inlang/source-code/sdk/load-test/load-test.ts @@ -9,7 +9,7 @@ import { createMessageBundle, addSlots, injectJSONNewlines, -} from "../src/v2/createMessageBundle.js" +} from "../src/v2/helper.js" import { MessageBundle } from "../src/v2/types.js" import { createEffect } from "../src/reactivity/solid.js" diff --git a/inlang/source-code/sdk/src/persistence/store.test.ts b/inlang/source-code/sdk/src/persistence/store.test.ts index 68007f8850..126a4929c5 100644 --- a/inlang/source-code/sdk/src/persistence/store.test.ts +++ b/inlang/source-code/sdk/src/persistence/store.test.ts @@ -1,12 +1,7 @@ import { test, expect } from "vitest" import { createNodeishMemoryFs } from "../test-utilities/index.js" import type { MessageBundle } from "../v2/types.js" -import { - createMessageBundle, - createMessage, - injectJSONNewlines, - addSlots, -} from "../v2/createMessageBundle.js" +import { createMessageBundle, createMessage, injectJSONNewlines, addSlots } from "../v2/helper.js" import { openStore, readJSON, writeJSON } from "./store.js" const locales = ["en", "de"] diff --git a/inlang/source-code/sdk/src/persistence/store.ts b/inlang/source-code/sdk/src/persistence/store.ts index ca37ee3bc9..065443b412 100644 --- a/inlang/source-code/sdk/src/persistence/store.ts +++ b/inlang/source-code/sdk/src/persistence/store.ts @@ -1,5 +1,5 @@ import type { MessageBundle } from "../v2/types.js" -import { addSlots, removeSlots, injectJSONNewlines } from "../v2/createMessageBundle.js" +import { addSlots, removeSlots, injectJSONNewlines } from "../v2/helper.js" import { getDirname, type NodeishFilesystem } from "@lix-js/fs" import { acquireFileLock } from "./filelock/acquireFileLock.js" import { releaseLock } from "./filelock/releaseLock.js" diff --git a/inlang/source-code/sdk/src/v2/shim.test.ts b/inlang/source-code/sdk/src/v2/shim.test.ts index 22213ea324..9b74803ec6 100644 --- a/inlang/source-code/sdk/src/v2/shim.test.ts +++ b/inlang/source-code/sdk/src/v2/shim.test.ts @@ -1,7 +1,7 @@ import { test, expect } from "vitest" import * as V2 from "./types.js" import * as V1 from "@inlang/message" -import { createMessageBundle, createMessage } from "./createMessageBundle.js" +import { createMessageBundle, createMessage } from "./helper.js" import { toV1Message, fromV1Message } from "./shim.js" import { Value } from "@sinclair/typebox/value"