diff --git a/.github/workflows/upload.yaml b/.github/workflows/upload.yaml index d8e4b43..9f3f352 100644 --- a/.github/workflows/upload.yaml +++ b/.github/workflows/upload.yaml @@ -14,23 +14,26 @@ jobs: - uses: actions/checkout@v7.0.1 - uses: actions/setup-node@v6.5.0 with: - node-version: 22 - - uses: calcit-lang/setup-calcit@v1.5.1 + node-version: 24 + - uses: calcit-lang/setup-calcit@v1.5.2 with: - version: "0.46.0" + deps-file: deps.cirru + caps-version: "0.1.2" tools: calcit,caps - name: Install dependencies run: | set -euo pipefail corepack enable yarn install --immutable - caps --ci + caps --strict --ci + caps verify --toolchain - name: Validate Calcit run: | set -euo pipefail calcit calcit.cirru edit format git diff --exit-code -- calcit.cirru calcit calcit.cirru --check-only + calcit calcit.cirru --check-only --all-defs --summary-only --format json calcit calcit.cirru fix --workflow strict --verify - name: Build run: yarn build diff --git a/README.md b/README.md index cbb16ed..bfebf84 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Screen notes > Put some notes on screen. +开发构建使用 Calcit 和 `@calcit/procs` 0.53.0,配套 Respo 0.20.5 与 UI 0.16.11。升级后重新安装依赖并生成前端资源;桌面使用方式保持不变。 + ### Usage ```bash diff --git a/calcit.cirru b/calcit.cirru index 347f665..9d9e1f6 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -183,7 +183,7 @@ :schema $ quote respo.dom/DomElement 'reload! $ %{} 'CodeEntry (:doc |) :code $ quote $ defn reload! () - if (nil? build-errors) + if (js-nullish? build-errors) do (remove-watch! *notes :changes) (render-app!) add-watch! *notes :changes $ fn (s p) (render-app!) , &unit diff --git a/deps.cirru b/deps.cirru index 0bcf8dd..b56f9b0 100644 --- a/deps.cirru +++ b/deps.cirru @@ -1,4 +1,4 @@ -{} (:calcit-version |0.46.0) +{} (:calcit-version |0.53.0) :version |0.0.1 - :dependencies $ {} (|Respo/respo.calcit |0.20.0) - |Respo/respo-ui.calcit |0.16.6 + :dependencies $ {} (|Respo/respo.calcit |0.20.5) + |Respo/respo-ui.calcit |0.16.11 diff --git a/package.json b/package.json index 104e84c..fa0e1e0 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "vite": "^7.0.0" }, "dependencies": { - "@calcit/procs": "0.46.0", + "@calcit/procs": "0.53.0", "feather-icons": "^4.9.0", "shortid": "^2.2.14" }, diff --git a/yarn.lock b/yarn.lock index bab3dfb..2e794fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,15 +12,15 @@ __metadata: languageName: node linkType: hard -"@calcit/procs@npm:0.46.0": - version: 0.46.0 - resolution: "@calcit/procs@npm:0.46.0" +"@calcit/procs@npm:0.53.0": + version: 0.53.0 + resolution: "@calcit/procs@npm:0.53.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/7af9221968310d53e8bd3ae678748a6fcb409809da3a545892fb0d1139c06a2ad12d566b3f46c2942a0efd70a8302bc3601c4fbc04b44680a1fee5c496c95736 + checksum: 10c0/c4019ecb1e4bd5768404d70310d538d1c835df62641379ec3cdd1266b1cb37f0dea9558850bd5ce67b5109501467f36c04a4f0394d6c1a767374ec1453fbcdc5 languageName: node linkType: hard @@ -452,7 +452,7 @@ __metadata: version: 0.0.0-use.local resolution: "calcit-workflow@workspace:." dependencies: - "@calcit/procs": "npm:0.46.0" + "@calcit/procs": "npm:0.53.0" bottom-tip: "npm:^0.1.2" feather-icons: "npm:^4.9.0" shortid: "npm:^2.2.14"