From 9e4a79639c43d68549c62b07ec73b72163867f99 Mon Sep 17 00:00:00 2001 From: tiye Date: Sun, 1 Nov 2026 17:17:40 +0800 Subject: [PATCH] Migrate Diffview to Calcit 0.32.1 and make diff rendering branches explicit --- .yarnrc.yml | 1 + README.md | 76 +++++++++++++--------- calcit.cirru | 176 ++++++++++++++++++++------------------------------- deps.cirru | 8 +-- package.json | 6 +- yarn.lock | 10 +-- 6 files changed, 130 insertions(+), 147 deletions(-) diff --git a/.yarnrc.yml b/.yarnrc.yml index 3186f3f..d8e6c67 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1 +1,2 @@ nodeLinker: node-modules +npmMinimalAgeGate: 60 diff --git a/README.md b/README.md index d787e2e..f673e1c 100644 --- a/README.md +++ b/README.md @@ -6,35 +6,53 @@ Diffview http://r.tiye.me/Memkits/diffview/ -### 使用者影响:正式 Calcit 0.30.1 配对 - -CLI/runtime 继续正式 **0.30.1**,同步精确正式 Reel 0.6.42、UI 0.8.1、Respo 0.16.126, -及传递 JS-FFI 0.2.6、Router 0.8.38。请重新安装完整依赖图、生成 JS 并刷新,勿混装旧 alpha 缓存。 -启动改为先恢复存档成功,再首次渲染/注册保存,避免解析失败后被默认状态覆盖;不吞掉异常或清空原值。 -行/词差异、Sorted/Swap/Clear、快捷键或存档格式/key 不变;旧 Struct/Map 恢复合同及真实 HUD 保留。 -7 处 Option unwrap-or 改为方法,保留空字符串/false 默认值;7 个 DOM 回调补实际 EventHandler 合同, -comp-checked 的处理器参数从错误的 RespoEvent Struct 改为真实 Map 事件/dispatch Fn 合同,不伪装为封闭业务 Op。 -19 处 CSS 长度/关键字按原渲染规则改为等价 String,不改变尺寸、颜色或布局。 -完整 strict、原六项业务回归和 COS 内置 verify 保留;不新增验证脚本、concurrently、预算、强转或测试框架。 -删除旧 alpha 的 npm 预批准例外,正式包按普通安装策略验证,不新增正式包例外。 -不改原前端/服务器路径;PR 只预览,不部署生产。正常刷新恢复不代表坏存档验收;进展见 [#46](https://github.com/Memkits/diffview/issues/46)。 - -Use paired formal Calcit / `@calcit/procs` 0.30.1 and the canonical `calcit.cirru` / `deps.cirru` files. -Retired `compact.cirru` and `package.cirru` snapshots are ignored and rejected -by CI. Dependencies are resolved with `caps --ci --strict`. - -Released COS action v1.2.0 validates HTML references and verifies public uploads; -no extra CDN checker is needed. Existing external fonts and server paths remain -unchanged. -Each PR run uses its own preview prefix (`pr////`). -Fork and Dependabot PRs retain all checks and builds but do not upload previews; ordinary Actions deployment secrets are not provided to Dependabot. -Runs queue per PR and separately for production, without cancelling uploads. -The six existing runtime checks cover diff behavior, not CDN verification. - -`yarn build` compiles the default JS browser entry and builds once, using -`VITE_BASE_URL` when set. `yarn dev` compiles initially and starts Vite; run -`calcit calcit.cirru -w` in another terminal for live edits. CI keeps canonical, -all-definition/strict checks, toolchain verification and the existing business tests. +### 使用者影响:正式 Calcit 0.32.1 配对 + +CLI 与 `@calcit/procs` 更新到正式 **0.32.1**,需要重新安装依赖、生成 JS 并刷新。 +新类型标注由官方 CLI 格式化迁移。行/词差异、Sorted、Swap、Clear、原 ⌘ 快捷键、 +持久化格式及 `diffview` key 保持。启动仍先恢复存档,再渲染/注册保存;恢复失败仍报错, +不吞异常或使用默认值覆盖输入。本轮没有执行新的坏存档故障验收,[#46](https://github.com/Memkits/diffview/issues/46) 的现场验证限制保留。 + +差异展示组件的四处隐式 nil 分支改为明确结果:非词模式行高为空字符串,与原 +Respo style formatter 对 nil 的输出一致;三处 class 拼接按模式选择完整字符串, +避免用空字符串替代 nil 后额外留下尾空格。其他 27 个定义的代码、schema、文档与测试元数据 +在官方规范化视图中一致;真实 `hud!` 保留,应用 unsafe 为零。 + +依赖使用精确正式 Reel 0.7.0、UI 0.9.0、Respo 0.17.1,传递 JS-FFI 0.2.9; +UI 的 Router 0.9.0-alpha.4 沿用其已发布图,不以未配对版本替代。 +入口显式绑定既有开放 dispatch slot;原 Fn 在 enum? 检查后 +处理 Reel 匿名控制或业务 Enum,受检 updater 和 StoreData 合同不变,不伪标为封闭名义 Op。 +新解析候选 npm 包版本的包龄为 60 分钟,正常复用 yarn.lock 不重新等待;没有例外。 +lock 仅更新 procs 版本和校验值,原 undici Dependabot PR 不混入本次迁移。 + +### 安装、检查与构建 + +使用官方 Calcit 0.32.1、Caps 0.1.1、Node.js 24、Yarn 4.18.0: + +```sh +caps --ci --strict +corepack yarn install --immutable +caps verify --toolchain +calcit --check-only --all-defs +calcit fix --workflow strict --verify +corepack yarn build +node --test scripts/upgrade.test.mjs +``` + +`yarn dev` 首次编译后启动 Vite;持续编译在另一终端运行 `calcit calcit.cirru -w`。 +项目源码为 `calcit.cirru`、`deps.cirru`,不提交 compact/package Snapshot 或 js-out/dist。 +使用官方结构化 CLI 查询/修改 Snapshot,不以文本解析、补丁或 diff 检查它。 + +本轮完整检查 206/206(含依赖)、五 namespace 公开定义 28/28、strict workflow +passed 且 diagnostics=[]、原六项 JS 业务回归、前端构建、Caps 五模块和工具链配对通过; +deprecated-call、dynamic-method、unsafe 均为零。没有 definition-attached tests,不把空测试算通过。 +实际页面验证中文/emoji 输入、行/词模式切换、Sorted、Swap、⌘E 和正常刷新恢复,error/warn 为空。 +这不代表所有开放异构状态已消除 Dynamic。 + +保留全部原 CI 与既有 SHA pins,不增加 checker、测试框架或 concurrently。 +COS v1.2.0 内置逐文件验证;同仓库 PR 仅独立 `pr////` 前端预览, +fork/Dependabot 仍检查和构建但不上传。生产仍按原队列及 rsync 路径执行,外部字体地址不变。 +本轮只提交 PR,不合并或部署生产。 ### 历史:0.30.1-alpha.5 源码迁移 diff --git a/calcit.cirru b/calcit.cirru index 1d1886c..3f92bd5 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -6,7 +6,7 @@ {} (:description |) (:init-fn 'app.main/main!) (:mode :js) (:reload-fn 'app.main/reload!) (:target :browser) :feature-policy $ {} :modules $ [] |respo.calcit/ |respo-ui.calcit/ |reel.calcit/ |js-ffi/ - :type-slots $ {} + :type-slots $ {} $ :dispatch-op 'Dynamic :files $ {} 'app.comp.container $ %{} 'FileEntry :defs $ {} @@ -20,12 +20,11 @@ :style $ {} $ :cursor |pointer <> text css/font-fancy :examples $ [] - :schema $ :: 'Fn $ {} (:return 'respo.schema/Component) - :args $ [] 'Bool 'String $ :: 'Fn - {} (:return 'Unit) - :args $ [] (:: 'Map 'Tag 'Dynamic) - :: 'Fn $ {} (:rest 'Dynamic) (:return 'Unit) - :args $ [] 'Dynamic + :schema $ quote $ Fn Bool String + Fn (Map Tag Dynamic) + Fn Dynamic & Dynamic $ -> Unit + -> Unit + -> respo.schema/Component 'comp-container $ %{} 'CodeEntry (:doc |) :code $ quote $ defcomp comp-container (reel) let @@ -57,10 +56,9 @@ :value $ :old-text store :placeholder "|Old text" :on-input $ fn (e d!) - hint-fn $ {} (:return 'Unit) - :args $ [] (:: 'Map 'Tag 'Dynamic) - :: 'Fn $ {} (:return 'Unit) (:rest 'Dynamic) - :args $ [] 'Dynamic + hint-fn $ Fn (Map Tag Dynamic) + Fn Dynamic & Dynamic $ -> Unit + -> Unit d! $ :: :write-old $ .unwrap-or (get e :value) | :spell-check false :autofocus true @@ -70,50 +68,45 @@ :value $ :new-text store :placeholder "|New text" :on-input $ fn (e d!) - hint-fn $ {} (:return 'Unit) - :args $ [] (:: 'Map 'Tag 'Dynamic) - :: 'Fn $ {} (:return 'Unit) (:rest 'Dynamic) - :args $ [] 'Dynamic + hint-fn $ Fn (Map Tag Dynamic) + Fn Dynamic & Dynamic $ -> Unit + -> Unit d! $ :: :write-new $ .unwrap-or (get e :value) | :spellcheck false when dev? $ comp-reel (>> states :reel) (reel-view/view-data reel) ({}) when dev? $ comp-inspect |Store store $ {} (:bottom |0px) :examples $ [] - :schema $ :: 'Fn $ {} (:return 'respo.schema/Component) - :args $ [] $ :: 'reel.typed/State 'Enum 'app.schema/StoreData - :features $ #{} :js-ffi + :schema $ quote $ Fn (reel.typed/State Enum app.schema/StoreData) (-> respo.schema/Component) (:features :js-ffi) 'comp-diff-view $ %{} 'CodeEntry (:doc |) :code $ quote $ defcomp comp-diff-view (changes by-word?) list-> {} (:class-name css/flex) :style $ {} (:padding-bottom |80px) (:overflow |auto) - :line-height $ if by-word? |20px + :line-height $ if by-word? |20px | -> changes $ map-indexed $ fn (idx chunk) [] idx $ let tok $ :value chunk cond .unwrap-or (:removed chunk) false div $ {} (:inner-text tok) - :class-name $ str-spaced style-line style-removed $ if by-word? style-word-mode + :class-name $ if by-word? (str-spaced style-line style-removed style-word-mode) (str-spaced style-line style-removed) :title $ str "|Removed " (:count chunk) "| chunks" (.unwrap-or (:added chunk) false) div $ {} (:inner-text tok) - :class-name $ str-spaced style-line style-added $ if by-word? style-word-mode + :class-name $ if by-word? (str-spaced style-line style-added style-word-mode) (str-spaced style-line style-added) :title $ str "|Added " (:count chunk) "| chunks" true $ div $ {} (:inner-text tok) - :class-name $ str-spaced style-line style-no-change $ if by-word? style-word-mode + :class-name $ if by-word? (str-spaced style-line style-no-change style-word-mode) (str-spaced style-line style-no-change) ; :title $ str (:count chunk) "| chunks reversed" :examples $ [] - :schema $ :: 'Fn $ {} (:return 'respo.schema/Component) - :args $ [] (:: 'List 'app.schema/DiffChunk) 'Bool + :schema $ quote $ Fn (List app.schema/DiffChunk) Bool (-> respo.schema/Component) 'comp-divider $ %{} 'CodeEntry (:doc |) :code $ quote $ defcomp comp-divider () div $ {} $ :style {} (:width |1px) :background-color $ hsl 0 0 94 :examples $ [] - :schema $ :: 'Fn $ {} (:return 'respo.schema/Component) - :args $ [] + :schema $ quote $ Fn (-> respo.schema/Component) 'comp-toolbar $ %{} 'CodeEntry (:doc |) :code $ quote $ defcomp comp-toolbar (show-result? sorted? by-word?) div @@ -124,44 +117,38 @@ div {} $ :class-name css/row-center comp-checked show-result? "|Result?(⌘ e)" $ fn (e d!) - hint-fn $ {} (:return 'Unit) - :args $ [] (:: 'Map 'Tag 'Dynamic) - :: 'Fn $ {} (:return 'Unit) (:rest 'Dynamic) - :args $ [] 'Dynamic + hint-fn $ Fn (Map Tag Dynamic) + Fn Dynamic & Dynamic $ -> Unit + -> Unit d! $ :: :toggle-result =< 16 nil comp-checked sorted? |Sorted $ fn (e d!) - hint-fn $ {} (:return 'Unit) - :args $ [] (:: 'Map 'Tag 'Dynamic) - :: 'Fn $ {} (:return 'Unit) (:rest 'Dynamic) - :args $ [] 'Dynamic + hint-fn $ Fn (Map Tag Dynamic) + Fn Dynamic & Dynamic $ -> Unit + -> Unit d! $ :: :toggle-sorted =< 16 nil comp-checked by-word? |ByWord $ fn (e d!) - hint-fn $ {} (:return 'Unit) - :args $ [] (:: 'Map 'Tag 'Dynamic) - :: 'Fn $ {} (:return 'Unit) (:rest 'Dynamic) - :args $ [] 'Dynamic + hint-fn $ Fn (Map Tag Dynamic) + Fn Dynamic & Dynamic $ -> Unit + -> Unit d! $ :: :toggle-word =< 16 nil a $ {} (:class-name css/link) (:inner-text |Swap) (:title "|⌘ i") :on-click $ fn (e d!) - hint-fn $ {} (:return 'Unit) - :args $ [] (:: 'Map 'Tag 'Dynamic) - :: 'Fn $ {} (:return 'Unit) (:rest 'Dynamic) - :args $ [] 'Dynamic + hint-fn $ Fn (Map Tag Dynamic) + Fn Dynamic & Dynamic $ -> Unit + -> Unit d! $ :: :swap-text =< 16 nil a $ {} (:class-name css/link) (:inner-text |Clear) (:title "|⌘ k") :on-click $ fn (e d!) - hint-fn $ {} (:return 'Unit) - :args $ [] (:: 'Map 'Tag 'Dynamic) - :: 'Fn $ {} (:return 'Unit) (:rest 'Dynamic) - :args $ [] 'Dynamic + hint-fn $ Fn (Map Tag Dynamic) + Fn Dynamic & Dynamic $ -> Unit + -> Unit d! $ :: :clear-text :examples $ [] - :schema $ :: 'Fn $ {} (:return 'respo.schema/Component) - :args $ [] 'Bool 'Bool 'Bool + :schema $ quote $ Fn Bool Bool Bool (-> respo.schema/Component) 'sort-by-line $ %{} 'CodeEntry (:doc |) :code $ quote $ defn sort-by-line (text) join-string @@ -169,38 +156,37 @@ fn (a b) (&compare a b) , &newline :examples $ [] - :schema $ :: 'Fn $ {} (:return 'String) - :args $ [] 'String + :schema $ quote $ Fn String (-> String) 'style-added $ %{} 'CodeEntry (:doc |) :code $ quote $ defstyle style-added {} $ |& $ {} :background-color $ hsl 200 100 92 :examples $ [] - :schema $ :: 'String + :schema $ quote String 'style-line $ %{} 'CodeEntry (:doc |) :code $ quote $ defstyle style-line {} $ |& $ {} (:line-height |24px) (:font-size |12px) (:font-family ui/font-code) (:margin |0px) (:padding "|0 8px") (:white-space |pre) (:overflow-x |auto) :examples $ [] - :schema $ :: 'String + :schema $ quote String 'style-no-change $ %{} 'CodeEntry (:doc |) :code $ quote $ defstyle style-no-change {} $ |& $ {} :color $ hsl 0 0 80 :line-height |15px :examples $ [] - :schema $ :: 'String + :schema $ quote String 'style-removed $ %{} 'CodeEntry (:doc |) :code $ quote $ defstyle style-removed {} $ |& $ {} :background-color $ hsl 0 100 78 :color |white :examples $ [] - :schema $ :: 'String + :schema $ quote String 'style-text $ %{} 'CodeEntry (:doc |) :code $ quote $ defstyle style-text {} $ |& $ {} (:font-family ui/font-code) (:line-height |20px) (:font-size |12px) (:white-space |pre) (:overflow |auto) (:border |none) (:padding "|8px 8px 80px 8px") (:resize |none) :examples $ [] - :schema $ :: 'String + :schema $ quote String 'style-toolbar $ %{} 'CodeEntry (:doc |) :code $ quote $ defstyle style-toolbar {} $ |& $ {} @@ -208,12 +194,12 @@ :line-height |32px :padding "|0 8px" :examples $ [] - :schema $ :: 'String + :schema $ quote String 'style-word-mode $ %{} 'CodeEntry (:doc |) :code $ quote $ defstyle style-word-mode {} $ |& $ {} (:display |inline) (:white-space |pre-wrap) :examples $ [] - :schema $ :: 'String + :schema $ quote String :ns $ %{} 'NsEntry (:doc |) :code $ quote $ ns app.comp.container :require @@ -234,12 +220,12 @@ :code $ quote $ def dev? = |dev $ .unwrap-or (get-env |mode) |release :examples $ [] - :schema $ :: 'Bool + :schema $ quote Bool 'site $ %{} 'CodeEntry (:doc |) :code $ quote $ def site {} (:title |Diffview) (:storage-key |diffview) :examples $ [] - :schema $ :: 'Map 'Tag 'String + :schema $ quote $ Map Tag String :ns $ %{} 'NsEntry (:doc |) :code $ quote $ ns app.config 'app.main $ %{} 'FileEntry @@ -247,7 +233,7 @@ '*reel $ %{} 'CodeEntry (:doc |) :code $ quote $ defref *reel (typed-reel/new-reel schema/store) :examples $ [] - :schema $ :: 'Ref $ :: 'reel.typed/State 'Enum 'app.schema/StoreData + :schema $ quote $ Ref (reel.typed/State Enum app.schema/StoreData) 'dispatch! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn dispatch! (op) when config/dev? $ js/console.log |Dispatch: op @@ -260,9 +246,7 @@ raise "|Expected one operation enum" , &unit :examples $ [] - :schema $ :: 'Fn $ {} (:return 'Unit) - :args $ [] 'Dynamic - :features $ #{} :js-ffi + :schema $ quote $ Fn Dynamic (-> Unit) (:features :js-ffi) 'main! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn main! () if config/dev? $ load-console-formatter! @@ -274,22 +258,15 @@ (:none) &unit render-app! add-watch! *reel :changes $ fn (r p) - hint-fn $ {} - :args $ [] (:: 'reel.typed/State 'Enum 'app.schema/StoreData) (:: 'reel.typed/State 'Enum 'app.schema/StoreData) - :return 'Unit + hint-fn $ Fn (reel.typed/State Enum app.schema/StoreData) (reel.typed/State Enum app.schema/StoreData) (-> Unit) render-app! listen-devtools! |a dispatch! browser/add-event-listener! |beforeunload $ fn (event) - hint-fn $ {} - :args $ [] 'js-ffi.browser/EventHost - :return 'Unit + hint-fn $ Fn js-ffi.browser/EventHost $ -> Unit persist-storage! repeat! 60 persist-storage! browser/add-event-listener! |keydown $ fn (event) - hint-fn $ {} - :args $ [] 'js-ffi.browser/EventHost - :return 'Unit - :features $ #{} :js-ffi + hint-fn $ Fn js-ffi.browser/EventHost (-> Unit) (:features :js-ffi) let host $ browser/keyboard-event-host event key $ .-key host @@ -304,50 +281,41 @@ true &unit println "|App started." :examples $ [] - :schema $ :: 'Fn $ {} (:return 'Unit) - :args $ [] - :features $ #{} :js-ffi + :schema $ quote $ Fn (-> Unit) (:features :js-ffi) 'mount-target $ %{} 'CodeEntry (:doc |) :code $ quote $ defn mount-target () let document-host $ js-cast js/document 'respo.dom/DomDocument document-host .query-selector |.app :examples $ [] - :schema $ :: 'Fn $ {} - :args $ [] - :features $ #{} :js-ffi - :return $ :: 'JsNullish 'respo.dom/DomElement + :schema $ quote $ Fn + -> $ JsNullish respo.dom/DomElement + :features :js-ffi 'persist-storage! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn persist-storage! () browser/storage-set! .unwrap-or (get config/site :storage-key) | format-cirru-edn $ &struct:to-map $ :store @*reel :examples $ [] - :schema $ :: 'Fn $ {} (:return 'Unit) - :args $ [] - :features $ #{} :js-ffi + :schema $ quote $ Fn (-> Unit) (:features :js-ffi) 'reload! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn reload! () if (js-nullish? build-errors) do (remove-watch! *reel :changes) (clear-cache!) add-watch! *reel :changes $ fn (reel prev) - hint-fn $ {} - :args $ [] (:: 'reel.typed/State 'Enum 'app.schema/StoreData) (:: 'reel.typed/State 'Enum 'app.schema/StoreData) - :return 'Unit + hint-fn $ Fn (reel.typed/State Enum app.schema/StoreData) (reel.typed/State Enum app.schema/StoreData) (-> Unit) render-app! reset! *reel $ typed-reel/refresh updater @*reel schema/store hud! |ok~ |Ok hud! |error build-errors , &unit :examples $ [] - :schema $ :: 'Fn $ {} (:return 'Unit) - :args $ [] + :schema $ quote $ Fn (-> Unit) 'render-app! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn render-app! () render! (mount-target) (comp-container @*reel) dispatch! :examples $ [] - :schema $ :: 'Fn $ {} (:return 'Unit) - :args $ [] + :schema $ quote $ Fn (-> Unit) 'repeat! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn repeat! (duration cb) browser/set-timeout! @@ -355,11 +323,10 @@ * 1000 duration , &unit :examples $ [] - :schema $ :: 'Fn $ {} (:return 'Unit) - :args $ [] 'Number $ :: 'Fn - {} (:return 'Unit) - :args $ [] - :features $ #{} :js-ffi + :schema $ quote $ Fn Number + Fn $ -> Unit + -> Unit + :features :js-ffi :ns $ %{} 'NsEntry (:doc |) :code $ quote $ ns app.main :require @@ -378,14 +345,14 @@ :defs $ {} 'DiffChunk $ %{} 'CodeEntry (:doc |) :code $ quote $ defstruct DiffChunk (:value 'String) - :added $ :: 'Option 'Bool - :removed $ :: 'Option 'Bool + :added $ quote $ Option Bool + :removed $ quote $ Option Bool :count 'Number :examples $ [] - :schema $ :: 'StructDef + :schema $ quote StructDef 'StoreData $ %{} 'CodeEntry (:doc |) :code $ quote $ defstruct StoreData - :states $ :: 'Map 'Tag 'Dynamic + :states $ quote $ Map Tag Dynamic :page 'Tag :sorted? 'Bool :show-result? 'Bool @@ -393,12 +360,10 @@ :old-text 'String :new-text 'String :examples $ [] - :schema $ :: 'StructDef + :schema $ quote StructDef 'normalize-store $ %{} 'CodeEntry (:doc |) :code $ quote $ defn normalize-store (raw) - hint-fn $ {} - :args $ [] 'Dynamic - :return 'app.schema/StoreData + hint-fn $ Fn Dynamic $ -> app.schema/StoreData decode-map-as if (struct? raw) (&struct:to-map raw) raw , 'app.schema/StoreData @@ -407,7 +372,7 @@ :code $ quote $ def store StoreData :states ({}) :page :editor :sorted? false :show-result? false :by-word? false :old-text | :new-text | :examples $ [] - :schema $ :: 'app.schema/StoreData + :schema $ quote app.schema/StoreData :ns $ %{} 'NsEntry (:doc |) :code $ quote $ ns app.schema 'app.updater $ %{} 'FileEntry @@ -437,8 +402,7 @@ assoc :new-text $ :old-text store _ $ do (eprintln "|Unkown op:" op) store :examples $ [] - :schema $ :: 'Fn $ {} (:return 'app.schema/StoreData) - :args $ [] 'app.schema/StoreData 'Enum 'String 'Number + :schema $ quote $ Fn app.schema/StoreData Enum String Number (-> app.schema/StoreData) :ns $ %{} 'NsEntry (:doc |) :code $ quote $ ns app.updater :require diff --git a/deps.cirru b/deps.cirru index d3c311e..f044b50 100644 --- a/deps.cirru +++ b/deps.cirru @@ -1,6 +1,6 @@ -{} (:calcit-version |0.30.1) +{} (:calcit-version |0.32.1) :version |0.1.3 - :dependencies $ {} (|Respo/reel.calcit |0.6.42) - |Respo/respo-ui.calcit |0.8.1 - |Respo/respo.calcit |0.16.126 + :dependencies $ {} (|Respo/reel.calcit |0.7.0) + |Respo/respo-ui.calcit |0.9.0 + |Respo/respo.calcit |0.17.1 diff --git a/package.json b/package.json index 6a96423..2aae3ab 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "calcit-workflow", "version": "0.1.3", - "description": "ClojureScript workflow using Calcit Editor", + "description": "Online text diff viewer built with Calcit and Respo", "main": "index.js", "repository": { "type": "git", - "url": "git@github.com:mvc-works/calcit-workflow.git" + "url": "https://github.com/Memkits/diffview.git" }, "author": "jiyinyiyong", "license": "MIT", @@ -20,7 +20,7 @@ "vite": "8.3.3" }, "dependencies": { - "@calcit/procs": "0.30.1", + "@calcit/procs": "0.32.1", "diff": "^8.0.2" } } diff --git a/yarn.lock b/yarn.lock index 2cc8960..41b1f29 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,15 +12,15 @@ __metadata: languageName: node linkType: hard -"@calcit/procs@npm:0.30.1": - version: 0.30.1 - resolution: "@calcit/procs@npm:0.30.1" +"@calcit/procs@npm:0.32.1": + version: 0.32.1 + resolution: "@calcit/procs@npm:0.32.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/a0f00e3c0c9b3a5a2aea8b97e09f2692aa25039a48a2f7ccb345801fdbc546cbf3bb34ee268a58526baba9fb697781bb7929a5d1f6622816c9422c6c3ba8537b + checksum: 10c0/54c505396a4653e643d24eaa71bf9a029b48034cabcd68ce47b2b40b565cf04a4693ac47c7feb34b8e84936621a397802743bffd3134ddeb37b08d23ef113923 languageName: node linkType: hard @@ -201,7 +201,7 @@ __metadata: version: 0.0.0-use.local resolution: "calcit-workflow@workspace:." dependencies: - "@calcit/procs": "npm:0.30.1" + "@calcit/procs": "npm:0.32.1" bottom-tip: "npm:^0.1.5" diff: "npm:^8.0.2" vite: "npm:8.3.3"