diff --git a/README.md b/README.md index efbe040..4c2c44b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ http://r.tiye.me/Memkits/diffview/ ### 使用者影响 -CLI 与 `@calcit/procs` 配对升级到正式 **0.40.0**,需要重新安装完整模块图、 +CLI 与 `@calcit/procs` 配对升级到正式 **0.41.0**,需要重新安装完整模块图、 生成 JS 并完整刷新,不能跨工具链热重载旧 Reel。依赖使用正式 Reel **0.10.0**、 UI **0.15.2**、Respo **0.19.5**、JS-FFI **0.2.13**,传递 Router **0.12.2**。 不使用 main/hash 或 alpha,不关闭 Caps strict 解决冲突。 @@ -31,7 +31,7 @@ DiffChunk、StoreData 和 `Map Tag String` site 配置沿用。存档入口接 ### 安装与原门禁 -使用 Calcit 0.40.0、Caps 0.1.1、Node.js 24、Yarn 4.18.0。 +使用 Calcit 0.41.0、Caps 0.1.1、Node.js 24、Yarn 4.18.0。 Caps 独立安装,见 [官方说明](https://github.com/calcit-lang/caps);Corepack/Yarn 不会安装它。 新解析 npm 包保留 60 分钟年龄门禁,无单包例外。lock 只更新 procs 配对;已有 undici Dependabot #48 单独保留。 diff --git a/calcit.cirru b/calcit.cirru index b6b786d..4137cef 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -81,11 +81,11 @@ , | $ decode-map-as value String :spellcheck false if dev? - Option :some $ comp-typed-reel (>> states :reel) reel $ {} - Option :none + Some $ comp-typed-reel (>> states :reel) reel $ {} + , None if dev? - Option :some $ comp-inspect |Store store $ {} (:bottom |0px) - Option :none + Some $ comp-inspect |Store store $ {} (:bottom |0px) + , None :examples $ [] :schema $ quote $ Fn (reel.typed/State app.schema/Op app.schema/StoreData) (-> respo.schema/Component) (:features :js-ffi) 'comp-diff-view $ %{} 'CodeEntry (:doc |) @@ -243,7 +243,7 @@ '*reel $ %{} 'CodeEntry (:doc |) :code $ quote $ defref *reel (typed-reel/new-reel schema/store) :examples $ [] - :schema $ quote $ Ref (reel.typed/State app.schema/Op app.schema/StoreData) + :schema $ quote $ Ref (reel.typed/State schema/Op schema/StoreData) 'dispatch! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn dispatch! (op) when config/dev? $ js/console.log |Dispatch: op @@ -254,7 +254,7 @@ reset! *reel $ typed-reel/record-op updater @*reel op (generate-id!) (host/now-ms) , &unit :examples $ [] - :schema $ quote $ Fn app.schema/Op (-> Unit) (:features :js-ffi) + :schema $ quote $ Fn schema/Op (-> Unit) (:features :js-ffi) 'main! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn main! () if config/dev? $ load-console-formatter! @@ -361,7 +361,7 @@ :schema $ quote StructDef 'Op $ %{} 'CodeEntry (:doc |) :code $ quote $ defenum Op - :states (List respo.schema/CoordKey) Dynamic + :states (List respo.schema/CoordKey) String :write-old String :write-new String :hydrate-storage app.schema/StoreData @@ -396,12 +396,12 @@ if (struct? raw) (&struct:to-map raw) raw , 'app.schema/StoreData :examples $ [] - :schema $ quote $ Fn Input (-> app.schema/StoreData) (:generics Input) + :schema $ quote $ Fn Input (-> StoreData) (:generics Input) 'store $ %{} 'CodeEntry (:doc |) :code $ quote $ def store StoreData :states ({}) :page :editor :sorted? false :show-result? false :by-word? false :old-text | :new-text | :examples $ [] - :schema $ quote app.schema/StoreData + :schema $ quote StoreData :ns $ %{} 'NsEntry (:doc |) :code $ quote $ ns app.schema 'app.updater $ %{} 'FileEntry @@ -427,7 +427,7 @@ assoc :new-text $ :old-text store _ store :examples $ [] - :schema $ quote $ Fn app.schema/StoreData app.schema/Op String Number (-> app.schema/StoreData) + :schema $ quote $ Fn schema/StoreData schema/Op String Number (-> schema/StoreData) :ns $ %{} 'NsEntry (:doc |) :code $ quote $ ns app.updater :require diff --git a/deps.cirru b/deps.cirru index 8bbf0a2..a126379 100644 --- a/deps.cirru +++ b/deps.cirru @@ -1,5 +1,5 @@ -{} (:calcit-version |0.40.0) +{} (:calcit-version |0.41.0) :version |0.1.5 :dependencies $ {} (|Respo/reel.calcit |0.10.0) |Respo/respo-ui.calcit |0.15.2 diff --git a/package.json b/package.json index b0eae41..f3ca247 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "vite": "8.3.3" }, "dependencies": { - "@calcit/procs": "0.40.0", + "@calcit/procs": "0.41.0", "diff": "^8.0.2" } } diff --git a/yarn.lock b/yarn.lock index 6fd0ef1..48a7a7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,15 +12,15 @@ __metadata: languageName: node linkType: hard -"@calcit/procs@npm:0.40.0": - version: 0.40.0 - resolution: "@calcit/procs@npm:0.40.0" +"@calcit/procs@npm:0.41.0": + version: 0.41.0 + resolution: "@calcit/procs@npm:0.41.0" 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/4122eaa8d63fd57826d24c6c072dbd1cb6cdd2934dbfdb4fd0afc03f4aec73f07d71ccba246120c15e198134b7e92a324f1f1900b43c458b02e871354739cf84 + checksum: 10c0/5de94b39e435363d0f80611b63914c9abd6b0afac3c77adf9b9846ac439fce319ac0780697364cabf67b2997d39495a1e72086e1496ac560c51bb57462f37628 languageName: node linkType: hard @@ -201,7 +201,7 @@ __metadata: version: 0.0.0-use.local resolution: "calcit-workflow@workspace:." dependencies: - "@calcit/procs": "npm:0.40.0" + "@calcit/procs": "npm:0.41.0" bottom-tip: "npm:^0.1.5" diff: "npm:^8.0.2" vite: "npm:8.3.3"