From d36b9180d1ffe89e71cc58748290d33df7c533c9 Mon Sep 17 00:00:00 2001 From: Ilya Maroz <37909603+ilyamore88@users.noreply.github.com> Date: Thu, 23 Nov 2023 21:19:14 +0000 Subject: [PATCH 1/3] fix(playground): build script (#61) * feat(dom-adapters): export caret adapter * fix(playground): change imports, add dependency --- packages/dom-adapters/src/index.ts | 2 +- packages/playground/package.json | 1 + packages/playground/src/App.vue | 2 +- packages/playground/src/components/Input.vue | 2 +- packages/playground/tsconfig.json | 3 +++ yarn.lock | 3 ++- 6 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/dom-adapters/src/index.ts b/packages/dom-adapters/src/index.ts index 59bb656d..d79b8ef5 100644 --- a/packages/dom-adapters/src/index.ts +++ b/packages/dom-adapters/src/index.ts @@ -1 +1 @@ -console.log('dom-adapters'); +export * from './caret/CaretAdapter.js'; diff --git a/packages/playground/package.json b/packages/playground/package.json index 13a08604..64e1afa7 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -11,6 +11,7 @@ "lint:fix": "yarn lint --fix" }, "dependencies": { + "@editorjs/dom-adapters": "workspace:^", "@editorjs/model": "workspace:^", "vue": "^3.3.4" }, diff --git a/packages/playground/src/App.vue b/packages/playground/src/App.vue index 2555e1c9..3c1c48fc 100644 --- a/packages/playground/src/App.vue +++ b/packages/playground/src/App.vue @@ -1,7 +1,7 @@