From 9a9fbdaf409350b8b1fc75aa34a2eaaaa3b5606c Mon Sep 17 00:00:00 2001 From: tiye Date: Thu, 12 Nov 2026 03:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=20ClojureScript=20=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E7=AB=99=E5=88=B0=20Calcit=200.41.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- calcit.cirru | 6 +++--- deps.cirru | 2 +- package.json | 2 +- yarn.lock | 10 +++++----- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5db3bbd..36f216f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ClojureScript, beginners' home page ### 使用者影响 -升级到 Calcit 和 `@calcit/procs` **0.41.0** 后,请重新安装依赖、生成 JS 并刷新页面。导航、十份展示示例、代码高亮、旧 Map 存档和页面 HUD 继续适用。`content/*.cljs` 仍作为页面示例展示。 +升级到 Calcit 和 `@calcit/procs` **0.41.1** 后,请重新安装依赖、生成 JS 并刷新页面。导航、十份展示示例、代码高亮、旧 Map 存档和页面 HUD 继续适用。`content/*.cljs` 仍作为页面示例展示。 Logo 切换使用 `RespoEvent` 和具名 `Action`,状态路径校验为 `CoordKey`。开发面板直接使用类型化 Reel,渲染进入 Respo 的 memo frame。依赖配对正式 Respo **0.19.5**、Reel **0.11.0**、Markdown **0.8.2**、UI **0.15.2**、JS-FFI **0.2.13**,传递 Router **0.12.2**。 页面只派发具名 `Action`,Reel 面板和快捷键单独接收 `reel.typed/Control`,两者在更新状态时用联合类型匹配,缺席的工具 Logo 保持为 `Option`。Highlight.js 注册回调使用具名宿主类型。 diff --git a/calcit.cirru b/calcit.cirru index b3a3732..3c685e3 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -274,11 +274,11 @@ (:none) &unit render-app! add-watch! *reel :changes $ fn (r p) - hint-fn $ Fn (reel.typed/State app.schema/Action app.schema/Store) (reel.typed/State app.schema/Action app.schema/Store) (-> Unit) + hint-fn $ Fn (reel.typed/State schema/Action schema/Store) (reel.typed/State schema/Action schema/Store) (-> Unit) render-app! listen-devtools! |a on-control! browser/add-event-listener! |beforeunload $ fn (event) - hint-fn $ Fn js-ffi.browser/EventHost $ -> Unit + hint-fn $ Fn browser/EventHost $ -> Unit save-store! dispatch! $ schema/Action :pick-case $ decode-map-as (rand-int 10) Number println "|App started." @@ -302,7 +302,7 @@ if (js-nullish? build-errors) do (remove-watch! *reel :changes) (clear-cache!) add-watch! *reel :changes $ fn (reel prev) - hint-fn $ Fn (reel.typed/State app.schema/Action app.schema/Store) (reel.typed/State app.schema/Action app.schema/Store) (-> Unit) + hint-fn $ Fn (reel.typed/State schema/Action schema/Store) (reel.typed/State schema/Action schema/Store) (-> Unit) render-app! reset! *reel $ typed-reel/refresh updater @*reel schema/store hud! |ok~ |Ok diff --git a/deps.cirru b/deps.cirru index 8b7bfe3..2ec76bf 100644 --- a/deps.cirru +++ b/deps.cirru @@ -1,4 +1,4 @@ -{} (:calcit-version |0.41.0) (:version |0.1.1) +{} (:calcit-version |0.41.1) (:version |0.1.1) :dependencies $ {} |Respo/respo.calcit |0.19.5 |Respo/reel.calcit |0.11.0 diff --git a/package.json b/package.json index a648759..52a3a60 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "vite": "8.3.3" }, "dependencies": { - "@calcit/procs": "0.41.0", + "@calcit/procs": "0.41.1", "@calcit/std": "^0.0.2", "cirru-color": "^0.2.4", "copy-text-to-clipboard": "^3.2.2", diff --git a/yarn.lock b/yarn.lock index f4b8203..9ef14cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,15 +12,15 @@ __metadata: languageName: node linkType: hard -"@calcit/procs@npm:0.41.0": - version: 0.41.0 - resolution: "@calcit/procs@npm:0.41.0" +"@calcit/procs@npm:0.41.1": + version: 0.41.1 + resolution: "@calcit/procs@npm:0.41.1" dependencies: "@calcit/finger-vec": "npm:0.1.1" "@calcit/ternary-tree": "npm:0.0.26" "@cirru/parser.ts": "npm:0.0.10" "@cirru/writer.ts": "npm:^0.1.9" - checksum: 10c0/5de94b39e435363d0f80611b63914c9abd6b0afac3c77adf9b9846ac439fce319ac0780697364cabf67b2997d39495a1e72086e1496ac560c51bb57462f37628 + checksum: 10c0/f14d3d61fdfc3fef4b7b215cc4c2be3923950b42ea19333d94e3fc689631545b2e6f56a8da31246971c7beaf1283d6f55a3af469a20bd9cb80be9352996d413f languageName: node linkType: hard @@ -229,7 +229,7 @@ __metadata: version: 0.0.0-use.local resolution: "clojure-script-org@workspace:." dependencies: - "@calcit/procs": "npm:0.41.0" + "@calcit/procs": "npm:0.41.1" "@calcit/std": "npm:^0.0.2" bottom-tip: "npm:^0.1.5" cirru-color: "npm:^0.2.4"