From e34fc49c71703cd287559ca4fb23f9f13842b2d0 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Mon, 2 Sep 2024 14:44:07 +0330 Subject: [PATCH] refactor: move all demo from engine to srore package --- packages/{engine => store}/demo/benchmark.mjs | 2 +- packages/{engine => store}/demo/collection.mjs | 0 packages/{engine => store}/demo/data-lost-test.js | 0 packages/{engine => store}/demo/document.mjs | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename packages/{engine => store}/demo/benchmark.mjs (95%) rename packages/{engine => store}/demo/collection.mjs (100%) rename packages/{engine => store}/demo/data-lost-test.js (100%) rename packages/{engine => store}/demo/document.mjs (100%) diff --git a/packages/engine/demo/benchmark.mjs b/packages/store/demo/benchmark.mjs similarity index 95% rename from packages/engine/demo/benchmark.mjs rename to packages/store/demo/benchmark.mjs index 87dce6fb..159501d6 100644 --- a/packages/engine/demo/benchmark.mjs +++ b/packages/store/demo/benchmark.mjs @@ -1,5 +1,5 @@ import {createLogger} from '@alwatr/logger'; -import {AlwatrStore, Region} from '@alwatr/store-engine'; +import {AlwatrStore, Region} from '@alwatr/store'; import {waitForTimeout} from '@alwatr/wait'; (async function () { diff --git a/packages/engine/demo/collection.mjs b/packages/store/demo/collection.mjs similarity index 100% rename from packages/engine/demo/collection.mjs rename to packages/store/demo/collection.mjs diff --git a/packages/engine/demo/data-lost-test.js b/packages/store/demo/data-lost-test.js similarity index 100% rename from packages/engine/demo/data-lost-test.js rename to packages/store/demo/data-lost-test.js diff --git a/packages/engine/demo/document.mjs b/packages/store/demo/document.mjs similarity index 100% rename from packages/engine/demo/document.mjs rename to packages/store/demo/document.mjs