From 5c349ad91b7e2ef3db4f8eeffd41c137970e9501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=B8=87=E7=9B=9B?= <33458935+sws797@users.noreply.github.com> Date: Wed, 25 Dec 2024 22:16:53 +0800 Subject: [PATCH] Update package.json: add "slate-dom": "workspace:*", to help IDE identify import xx from "slate-dom" (#5784) --- package.json | 1 + yarn.lock | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 69b34f32a0..65ade27ecb 100644 --- a/package.json +++ b/package.json @@ -110,6 +110,7 @@ "shell-quote": "^1.8.1", "simple-git-hooks": "^2.9.0", "slate": "workspace:*", + "slate-dom": "workspace:*", "slate-history": "workspace:*", "slate-hyperscript": "workspace:*", "slate-react": "workspace:*", diff --git a/yarn.lock b/yarn.lock index 09e5db2e19..208836066d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13258,7 +13258,7 @@ __metadata: languageName: node linkType: hard -"slate-dom@npm:^0.111.0, slate-dom@workspace:packages/slate-dom": +"slate-dom@npm:^0.111.0, slate-dom@workspace:*, slate-dom@workspace:packages/slate-dom": version: 0.0.0-use.local resolution: "slate-dom@workspace:packages/slate-dom" dependencies: @@ -13385,6 +13385,7 @@ __metadata: shell-quote: "npm:^1.8.1" simple-git-hooks: "npm:^2.9.0" slate: "workspace:*" + slate-dom: "workspace:*" slate-history: "workspace:*" slate-hyperscript: "workspace:*" slate-react: "workspace:*"