From 4ea698645d6ec5674216d26ef8181f0613ff5e36 Mon Sep 17 00:00:00 2001 From: Kinneyzhang Date: Sat, 5 Sep 2026 05:25:30 +0800 Subject: [PATCH] build: adopt ETAF 0.2.1 for Research Shelf --- README.md | 2 +- README.zh-CN.md | 2 +- etaf-playground.el | 8 ++++---- tests/etaf-playground-tests.el | 16 ++++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 61f11d0..35c0177 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ into the right-hand preview. Saving a source file also refreshes by default. `etaf-playground-register-example` is available when a companion needs a non-conventional root or feature name. -ETAF Playground 0.2.1 declares ETAF 0.1.1, ETAF UI 0.1.0, and ETAF SQLite +ETAF Playground 0.2.2 declares ETAF 0.2.1, ETAF UI 0.1.0, and ETAF SQLite 0.1.0 so the bundled Research Shelf companion has a complete install closure. Preview placement uses the standard Emacs `display-buffer` action stored in diff --git a/README.zh-CN.md b/README.zh-CN.md index 5cc190c..8437441 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -18,7 +18,7 @@ ETAF Playground 是通用的应用构建工作区:左侧编辑同一个应用 也会刷新。若 root 或 feature 不遵循命名约定,可在 companion 中调用 `etaf-playground-register-example` 注册覆盖。 -ETAF Playground 0.2.1 会声明 ETAF 0.1.1、ETAF UI 0.1.0 与 ETAF SQLite +ETAF Playground 0.2.2 会声明 ETAF 0.2.1、ETAF UI 0.1.0 与 ETAF SQLite 0.1.0,保证内置 Research Shelf companion 的安装依赖闭包完整。 预览位置使用标准 Emacs `display-buffer` action,由 diff --git a/etaf-playground.el b/etaf-playground.el index 200c774..560c809 100644 --- a/etaf-playground.el +++ b/etaf-playground.el @@ -3,8 +3,8 @@ ;; SPDX-License-Identifier: GPL-3.0-or-later ;; Author: ETAF contributors -;; Version: 0.2.1 -;; Package-Requires: ((emacs "29.1") (etaf "0.1.1") (etaf-sqlite "0.1.0") (etaf-ui "0.1.0")) +;; Version: 0.2.2 +;; Package-Requires: ((emacs "29.1") (etaf "0.2.1") (etaf-sqlite "0.1.0") (etaf-ui "0.1.0")) ;; Keywords: tools, convenience, ui ;;; Commentary: @@ -34,7 +34,7 @@ (require 'button) (define-error 'etaf-playground-dependency-error - "ETAF Playground requires TP 1.0.1 or newer with tp-transaction") + "ETAF Playground requires TP 2.0.0 or newer with tp-transaction") (defun etaf-playground--ensure-runtime () "Load ETAF runtime dependencies or report an actionable TP mismatch." @@ -43,7 +43,7 @@ (file-missing (if (member "tp-transaction" condition) (signal 'etaf-playground-dependency-error - (list :required-package '(tp "1.0.1") + (list :required-package '(tp "2.0.0") :missing-feature 'tp-transaction :original-condition condition)) (signal (car condition) (cdr condition)))))) diff --git a/tests/etaf-playground-tests.el b/tests/etaf-playground-tests.el index 8374c68..72cc79f 100644 --- a/tests/etaf-playground-tests.el +++ b/tests/etaf-playground-tests.el @@ -70,14 +70,14 @@ (playground (etaf-playground-test--package-description (expand-file-name "etaf-playground/etaf-playground.el" workspace)))) - (should (equal (package-desc-version tp) '(1 0 1))) - (should (equal (package-desc-version ebox) '(2 0 1))) + (should (equal (package-desc-version tp) '(2 0 0))) + (should (equal (package-desc-version ebox) '(3 0 0))) (should (member '(tp (1 0 1)) (package-desc-reqs ebox))) - (should (equal (package-desc-version etaf) '(0 1 1))) - (should (member '(ebox (2 0 1)) (package-desc-reqs etaf))) - (should (member '(tp (1 0 1)) (package-desc-reqs etaf))) - (should (equal (package-desc-version playground) '(0 2 1))) - (should (member '(etaf (0 1 1)) (package-desc-reqs playground))) + (should (equal (package-desc-version etaf) '(0 2 1))) + (should (member '(ebox (3 0 0)) (package-desc-reqs etaf))) + (should (member '(tp (2 0 0)) (package-desc-reqs etaf))) + (should (equal (package-desc-version playground) '(0 2 2))) + (should (member '(etaf (0 2 1)) (package-desc-reqs playground))) (should (member '(etaf-ui (0 1 0)) (package-desc-reqs playground))) (should (member '(etaf-sqlite (0 1 0)) @@ -98,7 +98,7 @@ (should-error (etaf-playground--ensure-runtime) :type 'etaf-playground-dependency-error))) (should (equal (plist-get (cdr condition) :required-package) - '(tp "1.0.1"))) + '(tp "2.0.0"))) (should (eq (plist-get (cdr condition) :missing-feature) 'tp-transaction))))))