From 06737021c610457784e6bf8e1a6051c34c71fbd6 Mon Sep 17 00:00:00 2001 From: tiye Date: Thu, 12 Nov 2026 23:59:05 +0800 Subject: [PATCH] Upgrade Respo Guidebook to Calcit 0.42.1 --- README.md | 4 ++-- calcit.cirru | 12 ++++++------ deps.cirru | 2 +- package.json | 2 +- yarn.lock | 10 +++++----- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 7b55836..15ea3b4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Respo Guidebook -开发使用配对的 Calcit CLI 和 `@calcit/procs` 0.41.1,并从正式标签解析 Docs Workflow 0.1.0 与 Reel 0.11.0。更新依赖后重新生成前端。 +开发使用配对的 Calcit CLI 和 `@calcit/procs` 0.42.1,并从正式标签解析 Docs Workflow 0.1.0 与 Reel 0.11.0。更新依赖后重新生成前端。 Guide 说明当前 Ref/watch、Option、event handler/app dispatch、名义 Store 和宿主边界。 旧 Beginner Guide、部分 Guide 实现说明和 API 仍有历史片段,尚未全部迁移或独立执行;站点构建通过不代表 @@ -9,7 +9,7 @@ Guide 说明当前 Ref/watch、Option、event handler/app dispatch、名义 Stor ## 开发与验收 -Node 24、Yarn 4.18.0、正式 0.41.1 CLI。 +Node 24、Yarn 4.18.0、正式 0.42.1 CLI。 ```bash corepack enable diff --git a/calcit.cirru b/calcit.cirru index dd3d1c3..916c41a 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -38,7 +38,7 @@ :timestamp $ shared/date-now-snapshot , &unit :examples $ [] - :schema $ quote $ Fn docs-workflow.schema/Op (-> Unit) (:features :js-ffi) + :schema $ quote $ Fn docs-workflow.schema/Op (-> Unit) (:features :io :js-ffi :state) 'main! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn main! () (register-languages!) println "|Running mode:" $ if config/dev? |dev |release @@ -50,7 +50,7 @@ browser/set-interval! persist-storage! 60000 println "|App started." :examples $ [] - :schema $ quote $ Fn (-> Unit) (:features :js-ffi) + :schema $ quote $ Fn (-> Unit) (:features :io :js-ffi :state) 'mount-target $ %{} 'CodeEntry (:doc |) :code $ quote $ defn mount-target () .unwrap $ respo-browser/query-selector |.app @@ -62,13 +62,13 @@ reset! *reel $ typed/apply-control updater @*reel control , &unit :examples $ [] - :schema $ quote $ Fn typed/Control (-> Unit) (:features :js-ffi) + :schema $ quote $ Fn typed/Control (-> Unit) (:features :io :js-ffi :state) 'persist-storage! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn persist-storage! () (js/console.log |persist) browser/storage-set! (:storage-key config/site) format-cirru-edn $ :store @*reel :examples $ [] - :schema $ quote $ Fn (-> Unit) (:features :js-ffi) + :schema $ quote $ Fn (-> Unit) (:features :js-ffi :state) 'reload! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn reload! () if (nil? build-errors) @@ -79,14 +79,14 @@ hud! |error build-errors , &unit :examples $ [] - :schema $ quote $ Fn (-> Unit) (:features :js-ffi) + :schema $ quote $ Fn (-> Unit) (:features :io :js-ffi :state) 'render-app! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn render-app! () render-with! (mount-target) fn () $ comp-container @*reel schema/docs on-control! , dispatch! :examples $ [] - :schema $ quote $ Fn (-> Unit) (:features :js-ffi) + :schema $ quote $ Fn (-> Unit) (:features :io :js-ffi :state) :ns $ %{} 'NsEntry (:doc |) :code $ quote $ ns app.main :require diff --git a/deps.cirru b/deps.cirru index d46d8ba..2edbd1b 100644 --- a/deps.cirru +++ b/deps.cirru @@ -1,4 +1,4 @@ -{} (:calcit-version |0.41.1) +{} (:calcit-version |0.42.1) :version |0.0.4 :dependencies $ {} (|Respo/reel.calcit |0.11.0) |Respo/respo-markdown.calcit |0.8.2 diff --git a/package.json b/package.json index bb0f731..0a73fde 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "packageManager": "yarn@4.18.0", "dependencies": { - "@calcit/procs": "0.41.1" + "@calcit/procs": "0.42.1" }, "devDependencies": { "bottom-tip": "^0.1.5", diff --git a/yarn.lock b/yarn.lock index 995657f..7ff03cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,15 +12,15 @@ __metadata: languageName: node linkType: hard -"@calcit/procs@npm:0.41.1": - version: 0.41.1 - resolution: "@calcit/procs@npm:0.41.1" +"@calcit/procs@npm:0.42.1": + version: 0.42.1 + resolution: "@calcit/procs@npm:0.42.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/f14d3d61fdfc3fef4b7b215cc4c2be3923950b42ea19333d94e3fc689631545b2e6f56a8da31246971c7beaf1283d6f55a3af469a20bd9cb80be9352996d413f + checksum: 10c0/58e306e7bc72b258e07c33dae4d543241cd0c7ed6830262628bf61c734453d7907ef453af0b25a770ba911e9ce6ede19f869d9a78decea4589cf4ae1f7c40629 languageName: node linkType: hard @@ -688,7 +688,7 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@calcit/procs": "npm:0.41.1" + "@calcit/procs": "npm:0.42.1" bottom-tip: "npm:^0.1.5" cirru-color: "npm:^0.2.3" github-markdown-css: "npm:^5.3.0"